]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
7f8ebbfdf28183317ed05a24cd7dc9e1c6480eb5
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 if (str)
1041 Py_DECREF(str);
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049 }
1050
1051 SWIGRUNTIMEINLINE void
1052 SWIG_Python_NullRef(const char *type)
1053 {
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059 }
1060
1061 SWIGRUNTIME int
1062 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063 {
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084 }
1085
1086 SWIGRUNTIME int
1087 SWIG_Python_ArgFail(int argnum)
1088 {
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097 }
1098
1099
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104 /* Convert a pointer value */
1105 SWIGRUNTIME int
1106 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137 #else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155 #endif
1156
1157 type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172 type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195 }
1196
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIGRUNTIME void *
1199 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209 }
1210
1211 /* Convert a packed value value */
1212 SWIGRUNTIME int
1213 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219 #else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224 #endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232 type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242 }
1243
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject *
1246 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254 #else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260 #endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276 }
1277
1278 SWIGRUNTIME PyObject *
1279 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287 #else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293 #endif
1294 return robj;
1295 }
1296
1297 /* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312 #else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320 #endif
1321 return (swig_type_info **) type_pointer;
1322 }
1323
1324 /*
1325 Search for a swig_type_info structure
1326 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331 }
1332
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335 #ifdef __cplusplus
1336 }
1337 #endif
1338
1339
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1341
1342 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1343 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1344 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1345 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1346 #define SWIGTYPE_p_wxMenu swig_types[4]
1347 #define SWIGTYPE_p_wxFontData swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxPrintData swig_types[7]
1350 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1351 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1352 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1353 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1354 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1355 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1356 #define SWIGTYPE_p_wxFont swig_types[14]
1357 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1358 #define SWIGTYPE_p_wxRegion swig_types[16]
1359 #define SWIGTYPE_ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1362 #define SWIGTYPE_p_int swig_types[20]
1363 #define SWIGTYPE_p_wxSize swig_types[21]
1364 #define SWIGTYPE_p_wxDC swig_types[22]
1365 #define SWIGTYPE_p_wxIcon swig_types[23]
1366 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1367 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1368 #define SWIGTYPE_p_wxColourData swig_types[26]
1369 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1370 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1371 #define SWIGTYPE_p_form_ops_t swig_types[29]
1372 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1373 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1374 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1375 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1376 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1377 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1378 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1379 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1380 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1381 #define SWIGTYPE_p_wxPrinter swig_types[39]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1383 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1384 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1385 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1386 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1387 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1388 #define SWIGTYPE_p_wxRect swig_types[46]
1389 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1390 #define SWIGTYPE_p_char swig_types[48]
1391 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1392 #define SWIGTYPE_p_wxFrame swig_types[50]
1393 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1394 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1395 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1396 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1397 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1398 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1399 #define SWIGTYPE_p_wxPoint swig_types[57]
1400 #define SWIGTYPE_p_wxObject swig_types[58]
1401 #define SWIGTYPE_p_unsigned_long swig_types[59]
1402 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1403 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1407 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1408 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1409 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1410 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1411 #define SWIGTYPE_p_wxWindow swig_types[69]
1412 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1413 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1414 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1415 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1416 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1417 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1418 #define SWIGTYPE_p_wxString swig_types[76]
1419 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1420 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1421 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1422 #define SWIGTYPE_p_wxDialog swig_types[80]
1423 #define SWIGTYPE_p_wxPanel swig_types[81]
1424 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1425 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1426 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1427 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1428 #define SWIGTYPE_p_wxBitmap swig_types[86]
1429 #define SWIGTYPE_unsigned_int swig_types[87]
1430 #define SWIGTYPE_p_unsigned_int swig_types[88]
1431 #define SWIGTYPE_p_unsigned_char swig_types[89]
1432 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1434 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1435 #define SWIGTYPE_p_wxColour swig_types[93]
1436 #define SWIGTYPE_p_wxToolBar swig_types[94]
1437 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1438 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1439 static swig_type_info *swig_types[98];
1440
1441 /* -------- TYPES TABLE (END) -------- */
1442
1443
1444 /*-----------------------------------------------
1445 @(target):= _windows_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_windows_
1448
1449 #define SWIG_name "_windows_"
1450
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1453
1454
1455 static const wxString wxPyEmptyString(wxEmptyString);
1456 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1457
1458
1459
1460 #include <limits.h>
1461
1462
1463 SWIGINTERN int
1464 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1465 const char *errmsg)
1466 {
1467 if (value < min_value) {
1468 if (errmsg) {
1469 PyErr_Format(PyExc_OverflowError,
1470 "value %ld is less than '%s' minimum %ld",
1471 value, errmsg, min_value);
1472 }
1473 return 0;
1474 } else if (value > max_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is greater than '%s' maximum %ld",
1478 value, errmsg, max_value);
1479 }
1480 return 0;
1481 }
1482 return 1;
1483 }
1484
1485
1486 SWIGINTERN int
1487 SWIG_AsVal_long(PyObject* obj, long* val)
1488 {
1489 if (PyNumber_Check(obj)) {
1490 if (val) *val = PyInt_AsLong(obj);
1491 return 1;
1492 }
1493 else {
1494 SWIG_type_error("number", obj);
1495 }
1496 return 0;
1497 }
1498
1499
1500 #if INT_MAX != LONG_MAX
1501 SWIGINTERN int
1502 SWIG_AsVal_int(PyObject *obj, int *val)
1503 {
1504 const char* errmsg = val ? "int" : (char*)0;
1505 long v;
1506 if (SWIG_AsVal_long(obj, &v)) {
1507 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1508 if (val) *val = (int)(v);
1509 return 1;
1510 } else {
1511 return 0;
1512 }
1513 } else {
1514 PyErr_Clear();
1515 }
1516 if (val) {
1517 SWIG_type_error(errmsg, obj);
1518 }
1519 return 0;
1520 }
1521 #else
1522 SWIGINTERNSHORT int
1523 SWIG_AsVal_int(PyObject *obj, int *val)
1524 {
1525 return SWIG_AsVal_long(obj,(long*)val);
1526 }
1527 #endif
1528
1529
1530 SWIGINTERNSHORT int
1531 SWIG_As_int(PyObject* obj)
1532 {
1533 int v;
1534 if (!SWIG_AsVal_int(obj, &v)) {
1535 /*
1536 this is needed to make valgrind/purify happier.
1537 */
1538 memset((void*)&v, 0, sizeof(int));
1539 }
1540 return v;
1541 }
1542
1543
1544 SWIGINTERNSHORT long
1545 SWIG_As_long(PyObject* obj)
1546 {
1547 long v;
1548 if (!SWIG_AsVal_long(obj, &v)) {
1549 /*
1550 this is needed to make valgrind/purify happier.
1551 */
1552 memset((void*)&v, 0, sizeof(long));
1553 }
1554 return v;
1555 }
1556
1557
1558 SWIGINTERNSHORT int
1559 SWIG_Check_int(PyObject* obj)
1560 {
1561 return SWIG_AsVal_int(obj, (int*)0);
1562 }
1563
1564
1565 SWIGINTERNSHORT int
1566 SWIG_Check_long(PyObject* obj)
1567 {
1568 return SWIG_AsVal_long(obj, (long*)0);
1569 }
1570
1571
1572 SWIGINTERN int
1573 SWIG_AsVal_bool(PyObject *obj, bool *val)
1574 {
1575 if (obj == Py_True) {
1576 if (val) *val = true;
1577 return 1;
1578 }
1579 if (obj == Py_False) {
1580 if (val) *val = false;
1581 return 1;
1582 }
1583 int res = 0;
1584 if (SWIG_AsVal_int(obj, &res)) {
1585 if (val) *val = res ? true : false;
1586 return 1;
1587 } else {
1588 PyErr_Clear();
1589 }
1590 if (val) {
1591 SWIG_type_error("bool", obj);
1592 }
1593 return 0;
1594 }
1595
1596
1597 SWIGINTERNSHORT bool
1598 SWIG_As_bool(PyObject* obj)
1599 {
1600 bool v;
1601 if (!SWIG_AsVal_bool(obj, &v)) {
1602 /*
1603 this is needed to make valgrind/purify happier.
1604 */
1605 memset((void*)&v, 0, sizeof(bool));
1606 }
1607 return v;
1608 }
1609
1610
1611 SWIGINTERNSHORT int
1612 SWIG_Check_bool(PyObject* obj)
1613 {
1614 return SWIG_AsVal_bool(obj, (bool*)0);
1615 }
1616
1617
1618 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1619 #define SWIG_From_int PyInt_FromLong
1620 /*@@*/
1621
1622
1623 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1624 PyObject* o2;
1625 PyObject* o3;
1626
1627 if (!target) {
1628 target = o;
1629 } else if (target == Py_None) {
1630 Py_DECREF(Py_None);
1631 target = o;
1632 } else {
1633 if (!PyTuple_Check(target)) {
1634 o2 = target;
1635 target = PyTuple_New(1);
1636 PyTuple_SetItem(target, 0, o2);
1637 }
1638 o3 = PyTuple_New(1);
1639 PyTuple_SetItem(o3, 0, o);
1640
1641 o2 = target;
1642 target = PySequence_Concat(o2, o3);
1643 Py_DECREF(o2);
1644 Py_DECREF(o3);
1645 }
1646 return target;
1647 }
1648
1649
1650
1651 SWIGINTERN int
1652 SWIG_AsVal_double(PyObject *obj, double* val)
1653 {
1654 if (PyNumber_Check(obj)) {
1655 if (val) *val = PyFloat_AsDouble(obj);
1656 return 1;
1657 }
1658 else {
1659 SWIG_type_error("number", obj);
1660 }
1661 return 0;
1662 }
1663
1664
1665 SWIGINTERNSHORT double
1666 SWIG_As_double(PyObject* obj)
1667 {
1668 double v;
1669 if (!SWIG_AsVal_double(obj, &v)) {
1670 /*
1671 this is needed to make valgrind/purify happier.
1672 */
1673 memset((void*)&v, 0, sizeof(double));
1674 }
1675 return v;
1676 }
1677
1678
1679 SWIGINTERNSHORT int
1680 SWIG_Check_double(PyObject* obj)
1681 {
1682 return SWIG_AsVal_double(obj, (double*)0);
1683 }
1684
1685
1686 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1687 #define SWIG_From_double PyFloat_FromDouble
1688 /*@@*/
1689
1690 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1691 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1692 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1693 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1694 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1695 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1696
1697 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1698 #define SWIG_From_long PyInt_FromLong
1699 /*@@*/
1700
1701
1702
1703 static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1704 wxRect r;
1705 self->GetFieldRect(i, r);
1706 return r;
1707 }
1708 static const wxString wxPySplitterNameStr(wxT("splitter"));
1709 static const wxString wxPySashNameStr(wxT("sashWindow"));
1710 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1711
1712 #include <wx/popupwin.h>
1713
1714
1715 class wxPyPopupTransientWindow : public wxPopupTransientWindow
1716 {
1717 public:
1718 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1719 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1720 : wxPopupTransientWindow(parent, style) {}
1721
1722 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1723 DEC_PYCALLBACK__(OnDismiss);
1724 DEC_PYCALLBACK_BOOL_(CanDismiss);
1725 PYPRIVATE;
1726 };
1727
1728
1729 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1730 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1731 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1732
1733
1734 #include <wx/tipwin.h>
1735
1736 static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1737 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1738 }
1739
1740 #include <wx/tipwin.h>
1741
1742
1743 #include <wx/vscroll.h>
1744
1745
1746 class wxPyVScrolledWindow : public wxVScrolledWindow
1747 {
1748 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1749 public:
1750 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1751
1752 wxPyVScrolledWindow(wxWindow *parent,
1753 wxWindowID id = wxID_ANY,
1754 const wxPoint& pos = wxDefaultPosition,
1755 const wxSize& size = wxDefaultSize,
1756 long style = 0,
1757 const wxString& name = wxPyPanelNameStr)
1758 : wxVScrolledWindow(parent, id, pos, size, style, name)
1759 {}
1760
1761 // Overridable virtuals
1762
1763 // this function must be overridden in the derived class and it should
1764 // return the height of the given line in pixels
1765 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1766
1767
1768 // this function doesn't have to be overridden but it may be useful to do
1769 // it if calculating the lines heights is a relatively expensive operation
1770 // as it gives the user code a possibility to calculate several of them at
1771 // once
1772 //
1773 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1774 // shouldn't rely on the latter being called for all lines in the interval
1775 // specified here. It is also possible that OnGetLineHeight() will be
1776 // called for the lines outside of this interval, so this is really just a
1777 // hint, not a promise.
1778 //
1779 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1780 // usual
1781 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1782
1783
1784 // when the number of lines changes, we try to estimate the total height
1785 // of all lines which is a rather expensive operation in terms of lines
1786 // access, so if the user code may estimate the average height
1787 // better/faster than we do, it should override this function to implement
1788 // its own logic
1789 //
1790 // this function should return the best guess for the total height it may
1791 // make
1792 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1793
1794
1795 // Also expose some other interesting protected methods
1796
1797
1798 // find the index of the line we need to show at the top of the window such
1799 // that the last (fully or partially) visible line is the given one
1800 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1801 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1802
1803 // get the total height of the lines between lineMin (inclusive) and
1804 // lineMax (exclusive)
1805 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1806 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1807
1808
1809 PYPRIVATE;
1810 };
1811
1812 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1813
1814 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1815 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1816 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1817
1818
1819 SWIGINTERN int
1820 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1821 {
1822 long v = 0;
1823 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1824 SWIG_type_error("unsigned number", obj);
1825 }
1826 else if (val)
1827 *val = (unsigned long)v;
1828 return 1;
1829 }
1830
1831
1832 SWIGINTERNSHORT unsigned long
1833 SWIG_As_unsigned_SS_long(PyObject* obj)
1834 {
1835 unsigned long v;
1836 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1837 /*
1838 this is needed to make valgrind/purify happier.
1839 */
1840 memset((void*)&v, 0, sizeof(unsigned long));
1841 }
1842 return v;
1843 }
1844
1845
1846 SWIGINTERNSHORT int
1847 SWIG_Check_unsigned_SS_long(PyObject* obj)
1848 {
1849 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1850 }
1851
1852
1853 SWIGINTERNSHORT PyObject*
1854 SWIG_From_unsigned_SS_long(unsigned long value)
1855 {
1856 return (value > LONG_MAX) ?
1857 PyLong_FromUnsignedLong(value)
1858 : PyInt_FromLong((long)(value));
1859 }
1860
1861
1862 #include <wx/vlbox.h>
1863
1864 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1865
1866 class wxPyVListBox : public wxVListBox
1867 {
1868 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1869 public:
1870 wxPyVListBox() : wxVListBox() {}
1871
1872 wxPyVListBox(wxWindow *parent,
1873 wxWindowID id = wxID_ANY,
1874 const wxPoint& pos = wxDefaultPosition,
1875 const wxSize& size = wxDefaultSize,
1876 long style = 0,
1877 const wxString& name = wxPyVListBoxNameStr)
1878 : wxVListBox(parent, id, pos, size, style, name)
1879 {}
1880
1881 // Overridable virtuals
1882
1883 // the derived class must implement this function to actually draw the item
1884 // with the given index on the provided DC
1885 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1886 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1887
1888
1889 // the derived class must implement this method to return the height of the
1890 // specified item
1891 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1892 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1893
1894
1895 // this method may be used to draw separators between the lines; note that
1896 // the rectangle may be modified, typically to deflate it a bit before
1897 // passing to OnDrawItem()
1898 //
1899 // the base class version doesn't do anything
1900 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1901 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1902
1903
1904 // this method is used to draw the items background and, maybe, a border
1905 // around it
1906 //
1907 // the base class version implements a reasonable default behaviour which
1908 // consists in drawing the selected item with the standard background
1909 // colour and drawing a border around the item if it is either selected or
1910 // current
1911 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1912 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1913
1914
1915 PYPRIVATE;
1916 };
1917
1918 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1919
1920 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1921 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1922 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1923 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1924
1925
1926 static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
1927 unsigned long cookie = 0;
1928 int selected = self->GetFirstSelected(cookie);
1929 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1930 PyObject* tup = PyTuple_New(2);
1931 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1932 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1933 wxPyEndBlockThreads(blocked);
1934 return tup;
1935 }
1936 static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
1937 int selected = self->GetNextSelected(cookie);
1938 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1939 PyObject* tup = PyTuple_New(2);
1940 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1941 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1942 wxPyEndBlockThreads(blocked);
1943 return tup;
1944 }
1945
1946 #include <wx/htmllbox.h>
1947
1948
1949 class wxPyHtmlListBox : public wxHtmlListBox
1950 {
1951 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1952 public:
1953 wxPyHtmlListBox() : wxHtmlListBox() {}
1954
1955 wxPyHtmlListBox(wxWindow *parent,
1956 wxWindowID id = wxID_ANY,
1957 const wxPoint& pos = wxDefaultPosition,
1958 const wxSize& size = wxDefaultSize,
1959 long style = 0,
1960 const wxString& name = wxPyVListBoxNameStr)
1961 : wxHtmlListBox(parent, id, pos, size, style, name)
1962 {}
1963
1964 // Overridable virtuals
1965
1966 // this method must be implemented in the derived class and should return
1967 // the body (i.e. without <html>) of the HTML for the given item
1968 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1969
1970 // this function may be overridden to decorate HTML returned by OnGetItem()
1971 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1972
1973 // TODO:
1974 // // this method allows to customize the selection appearance: it may be used
1975 // // to specify the colour of the text which normally has the given colour
1976 // // colFg when it is inside the selection
1977 // //
1978 // // by default, the original colour is not used at all and all text has the
1979 // // same (default for this system) colour inside selection
1980 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1981
1982 // // this is the same as GetSelectedTextColour() but allows to customize the
1983 // // background colour -- this is even more rarely used as you can change it
1984 // // globally using SetSelectionBackground()
1985 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1986
1987
1988 PYPRIVATE;
1989 };
1990
1991
1992 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1993
1994 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1995 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1996
1997
1998
1999
2000
2001 #ifndef wxHAS_TASK_BAR_ICON
2002 // implement dummy classes for platforms that don't have it
2003
2004 class wxTaskBarIcon : public wxEvtHandler
2005 {
2006 public:
2007 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2008 };
2009
2010
2011 class wxTaskBarIconEvent : public wxEvent
2012 {
2013 public:
2014 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2015 { wxPyRaiseNotImplemented(); }
2016 virtual wxEvent* Clone() const { return NULL; }
2017 bool IsOk() const { return false; }
2018 bool IsIconInstalled() const { return false; }
2019 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2020 bool RemoveIcon() { return false; }
2021 bool PopupMenu(wxMenu *menu) { return false; }
2022 };
2023
2024 enum {
2025 wxEVT_TASKBAR_MOVE = 0,
2026 wxEVT_TASKBAR_LEFT_DOWN = 0,
2027 wxEVT_TASKBAR_LEFT_UP = 0,
2028 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2029 wxEVT_TASKBAR_RIGHT_UP = 0,
2030 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2031 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2032 };
2033
2034
2035 #else
2036 // Otherwise make a class that can virtualize CreatePopupMenu
2037 class wxPyTaskBarIcon : public wxTaskBarIcon
2038 {
2039 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2040 public:
2041 wxPyTaskBarIcon() : wxTaskBarIcon()
2042 {}
2043
2044 wxMenu* CreatePopupMenu() {
2045 wxMenu *rval = NULL;
2046 bool found;
2047 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2048 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2049 PyObject* ro;
2050 wxMenu* ptr;
2051 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2052 if (ro) {
2053 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2054 rval = ptr;
2055 Py_DECREF(ro);
2056 }
2057 }
2058 wxPyEndBlockThreads(blocked);
2059 if (! found)
2060 rval = wxTaskBarIcon::CreatePopupMenu();
2061 return rval;
2062 }
2063
2064 PYPRIVATE;
2065 };
2066
2067 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2068
2069 #endif
2070
2071 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2072 self->RemoveIcon();
2073 delete self;
2074 }
2075 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2076 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2077 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2078 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2079 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2080 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
2081 static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2082 wxArrayString arr;
2083 self->GetFilenames(arr);
2084 return wxArrayString2PyList_helper(arr);
2085 }
2086 static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2087 wxArrayString arr;
2088 self->GetPaths(arr);
2089 return wxArrayString2PyList_helper(arr);
2090 }
2091 static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2092 return wxArrayInt2PyList_helper(self->GetSelections());
2093 }
2094 static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
2095 return new wxSingleChoiceDialog(parent, message, caption,
2096 choices, choices_array, NULL, style, pos);
2097 }
2098 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2099
2100 #include <wx/mdi.h>
2101
2102 // C++ version of Python aware wxWindow
2103 class wxPyWindow : public wxWindow
2104 {
2105 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2106 public:
2107 wxPyWindow() : wxWindow() {}
2108 wxPyWindow(wxWindow* parent, const wxWindowID id,
2109 const wxPoint& pos = wxDefaultPosition,
2110 const wxSize& size = wxDefaultSize,
2111 long style = 0,
2112 const wxString& name = wxPyPanelNameStr)
2113 : wxWindow(parent, id, pos, size, style, name) {}
2114
2115 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2116
2117 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2118 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2119 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2120 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2121
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2125
2126 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2127 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2128
2129 DEC_PYCALLBACK__(InitDialog);
2130 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2131 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2132 DEC_PYCALLBACK_BOOL_(Validate);
2133
2134 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2135 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2136 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2137
2138 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2139 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2140
2141 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
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_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2177
2178 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2179
2180 // C++ version of Python aware wxPanel
2181 class wxPyPanel : public wxPanel
2182 {
2183 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2184 public:
2185 wxPyPanel() : wxPanel() {}
2186 wxPyPanel(wxWindow* parent, const wxWindowID id,
2187 const wxPoint& pos = wxDefaultPosition,
2188 const wxSize& size = wxDefaultSize,
2189 long style = 0,
2190 const wxString& name = wxPyPanelNameStr)
2191 : wxPanel(parent, id, pos, size, style, name) {}
2192
2193 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2194
2195
2196 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2197 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2198 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2199 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2200
2201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2203 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2204
2205 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2206 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2207
2208 DEC_PYCALLBACK__(InitDialog);
2209 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2210 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2211 DEC_PYCALLBACK_BOOL_(Validate);
2212
2213 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2214 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2215 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2216
2217 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2218 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2219
2220 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2221 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2222
2223 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2224
2225 PYPRIVATE;
2226 };
2227
2228 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2229
2230 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2231 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2232 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2233 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2234
2235 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2236 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2237 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2238
2239 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2240 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2241
2242 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2243 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2244 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2245 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2246
2247 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2248 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2249 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2250
2251 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2252 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2253
2254 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2255 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2256
2257 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2258
2259 // C++ version of Python aware wxScrolledWindow
2260 class wxPyScrolledWindow : public wxScrolledWindow
2261 {
2262 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2263 public:
2264 wxPyScrolledWindow() : wxScrolledWindow() {}
2265 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2266 const wxPoint& pos = wxDefaultPosition,
2267 const wxSize& size = wxDefaultSize,
2268 long style = 0,
2269 const wxString& name = wxPyPanelNameStr)
2270 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2271
2272 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
2273
2274 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2275 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2276 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2277 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2278
2279 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2280 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2281 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2282
2283 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2284 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2285
2286 DEC_PYCALLBACK__(InitDialog);
2287 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2288 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2289 DEC_PYCALLBACK_BOOL_(Validate);
2290
2291 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2292 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2293 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2294
2295 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2296 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2297
2298 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2299 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2300
2301 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2302
2303 PYPRIVATE;
2304 };
2305
2306 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2307
2308 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2309 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2310 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2311 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2312
2313 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2314 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2315 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2316
2317 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2318 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2319
2320 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2321 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2322 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2323 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2324
2325 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2326 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2327 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2328
2329 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2330 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2331
2332 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2333 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2334
2335 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2336
2337
2338 #include "wx/wxPython/printfw.h"
2339
2340
2341 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2342 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2343 static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2344 PyObject* data;
2345 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2346 data = PyString_FromStringAndSize(self->GetPrivData(),
2347 self->GetPrivDataLen());
2348 wxPyEndBlockThreads(blocked);
2349 return data;
2350 }
2351 static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2352 if (! PyString_Check(data)) {
2353 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2354 "Expected string object"));
2355 return /* NULL */ ;
2356 }
2357
2358 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2359 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2360 wxPyEndBlockThreads(blocked);
2361 }
2362
2363
2364 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2365
2366 // Since this one would be tough and ugly to do with the Macros...
2367 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2368 bool hadErr = false;
2369 bool found;
2370
2371 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2372 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2373 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2374 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2375 PyObject* val;
2376
2377 val = PyTuple_GetItem(result, 0);
2378 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2379 else hadErr = true;
2380
2381 val = PyTuple_GetItem(result, 1);
2382 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2383 else hadErr = true;
2384
2385 val = PyTuple_GetItem(result, 2);
2386 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2387 else hadErr = true;
2388
2389 val = PyTuple_GetItem(result, 3);
2390 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2391 else hadErr = true;
2392 }
2393 else
2394 hadErr = true;
2395
2396 if (hadErr) {
2397 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2398 PyErr_Print();
2399 }
2400 Py_DECREF(result);
2401 }
2402 wxPyEndBlockThreads(blocked);
2403 if (! found)
2404 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2405 }
2406
2407 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2408 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2409 }
2410
2411
2412 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2413 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2414 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2415 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2416 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2417 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2418 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2419
2420
2421
2422
2423
2424 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2425 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2426 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2427
2428
2429 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2430 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2431 bool rval=false; \
2432 bool found; \
2433 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2434 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2435 PyObject* win = wxPyMake_wxObject(a,false); \
2436 PyObject* dc = wxPyMake_wxObject(&b,false); \
2437 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2438 Py_DECREF(win); \
2439 Py_DECREF(dc); \
2440 } \
2441 wxPyEndBlockThreads(blocked); \
2442 if (! found) \
2443 rval = PCLASS::CBNAME(a, b); \
2444 return rval; \
2445 } \
2446 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2447 return PCLASS::CBNAME(a, b); \
2448 }
2449
2450
2451
2452
2453 class wxPyPrintPreview : public wxPrintPreview
2454 {
2455 DECLARE_CLASS(wxPyPrintPreview)
2456 public:
2457 wxPyPrintPreview(wxPyPrintout* printout,
2458 wxPyPrintout* printoutForPrinting,
2459 wxPrintDialogData* data=NULL)
2460 : wxPrintPreview(printout, printoutForPrinting, data)
2461 {}
2462 wxPyPrintPreview(wxPyPrintout* printout,
2463 wxPyPrintout* printoutForPrinting,
2464 wxPrintData* data=NULL)
2465 : wxPrintPreview(printout, printoutForPrinting, data)
2466 {}
2467
2468 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2469 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2470 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2471 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2472 DEC_PYCALLBACK_VOID_INT(SetZoom);
2473 DEC_PYCALLBACK_BOOL_BOOL(Print);
2474 DEC_PYCALLBACK_VOID_(DetermineScaling);
2475
2476 PYPRIVATE;
2477 };
2478
2479 // Stupid renamed classes... Fix this in 2.5...
2480 #if defined(__WXMSW__)
2481 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2482 #elif defined(__WXMAC__)
2483 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2484 #else
2485 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2486 #endif
2487
2488 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2489 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2490 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2491 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2492 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2493 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2494 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2495
2496
2497 class wxPyPreviewFrame : public wxPreviewFrame
2498 {
2499 DECLARE_CLASS(wxPyPreviewFrame);
2500 public:
2501 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2502 const wxString& title,
2503 const wxPoint& pos = wxDefaultPosition,
2504 const wxSize& size = wxDefaultSize,
2505 long style = wxDEFAULT_FRAME_STYLE,
2506 const wxString& name = wxPyFrameNameStr)
2507 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2508 {}
2509
2510 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2511 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2512
2513 DEC_PYCALLBACK_VOID_(Initialize);
2514 DEC_PYCALLBACK_VOID_(CreateCanvas);
2515 DEC_PYCALLBACK_VOID_(CreateControlBar);
2516
2517 PYPRIVATE;
2518 };
2519
2520 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2521
2522 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2523 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2524 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2525
2526
2527 class wxPyPreviewControlBar : public wxPreviewControlBar
2528 {
2529 DECLARE_CLASS(wxPyPreviewControlBar);
2530 public:
2531 wxPyPreviewControlBar(wxPrintPreview *preview,
2532 long buttons,
2533 wxWindow *parent,
2534 const wxPoint& pos = wxDefaultPosition,
2535 const wxSize& size = wxDefaultSize,
2536 long style = 0,
2537 const wxString& name = wxPyPanelNameStr)
2538 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2539 {}
2540
2541 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2542
2543 DEC_PYCALLBACK_VOID_(CreateButtons);
2544 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2545
2546 PYPRIVATE;
2547 };
2548
2549 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2550 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2551 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2552
2553 #ifdef __cplusplus
2554 extern "C" {
2555 #endif
2556 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxWindow *arg1 = (wxWindow *) 0 ;
2559 int arg2 = (int) (int)-1 ;
2560 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2561 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2562 wxSize const &arg4_defvalue = wxDefaultSize ;
2563 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2564 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2565 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2566 wxString *arg6 = (wxString *) &arg6_defvalue ;
2567 wxPanel *result;
2568 wxPoint temp3 ;
2569 wxSize temp4 ;
2570 bool temp6 = false ;
2571 PyObject * obj0 = 0 ;
2572 PyObject * obj1 = 0 ;
2573 PyObject * obj2 = 0 ;
2574 PyObject * obj3 = 0 ;
2575 PyObject * obj4 = 0 ;
2576 PyObject * obj5 = 0 ;
2577 char *kwnames[] = {
2578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2579 };
2580
2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2583 if (SWIG_arg_fail(1)) SWIG_fail;
2584 if (obj1) {
2585 {
2586 arg2 = (int const)(SWIG_As_int(obj1));
2587 if (SWIG_arg_fail(2)) SWIG_fail;
2588 }
2589 }
2590 if (obj2) {
2591 {
2592 arg3 = &temp3;
2593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2594 }
2595 }
2596 if (obj3) {
2597 {
2598 arg4 = &temp4;
2599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2600 }
2601 }
2602 if (obj4) {
2603 {
2604 arg5 = (long)(SWIG_As_long(obj4));
2605 if (SWIG_arg_fail(5)) SWIG_fail;
2606 }
2607 }
2608 if (obj5) {
2609 {
2610 arg6 = wxString_in_helper(obj5);
2611 if (arg6 == NULL) SWIG_fail;
2612 temp6 = true;
2613 }
2614 }
2615 {
2616 if (!wxPyCheckForApp()) SWIG_fail;
2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
2618 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2619
2620 wxPyEndAllowThreads(__tstate);
2621 if (PyErr_Occurred()) SWIG_fail;
2622 }
2623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2624 {
2625 if (temp6)
2626 delete arg6;
2627 }
2628 return resultobj;
2629 fail:
2630 {
2631 if (temp6)
2632 delete arg6;
2633 }
2634 return NULL;
2635 }
2636
2637
2638 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2639 PyObject *resultobj;
2640 wxPanel *result;
2641 char *kwnames[] = {
2642 NULL
2643 };
2644
2645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2646 {
2647 if (!wxPyCheckForApp()) SWIG_fail;
2648 PyThreadState* __tstate = wxPyBeginAllowThreads();
2649 result = (wxPanel *)new wxPanel();
2650
2651 wxPyEndAllowThreads(__tstate);
2652 if (PyErr_Occurred()) SWIG_fail;
2653 }
2654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2655 return resultobj;
2656 fail:
2657 return NULL;
2658 }
2659
2660
2661 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2662 PyObject *resultobj;
2663 wxPanel *arg1 = (wxPanel *) 0 ;
2664 wxWindow *arg2 = (wxWindow *) 0 ;
2665 int arg3 = (int) (int)-1 ;
2666 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2667 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2668 wxSize const &arg5_defvalue = wxDefaultSize ;
2669 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2670 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2671 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2672 wxString *arg7 = (wxString *) &arg7_defvalue ;
2673 bool result;
2674 wxPoint temp4 ;
2675 wxSize temp5 ;
2676 bool temp7 = false ;
2677 PyObject * obj0 = 0 ;
2678 PyObject * obj1 = 0 ;
2679 PyObject * obj2 = 0 ;
2680 PyObject * obj3 = 0 ;
2681 PyObject * obj4 = 0 ;
2682 PyObject * obj5 = 0 ;
2683 PyObject * obj6 = 0 ;
2684 char *kwnames[] = {
2685 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2686 };
2687
2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2690 if (SWIG_arg_fail(1)) SWIG_fail;
2691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2692 if (SWIG_arg_fail(2)) SWIG_fail;
2693 if (obj2) {
2694 {
2695 arg3 = (int const)(SWIG_As_int(obj2));
2696 if (SWIG_arg_fail(3)) SWIG_fail;
2697 }
2698 }
2699 if (obj3) {
2700 {
2701 arg4 = &temp4;
2702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2703 }
2704 }
2705 if (obj4) {
2706 {
2707 arg5 = &temp5;
2708 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2709 }
2710 }
2711 if (obj5) {
2712 {
2713 arg6 = (long)(SWIG_As_long(obj5));
2714 if (SWIG_arg_fail(6)) SWIG_fail;
2715 }
2716 }
2717 if (obj6) {
2718 {
2719 arg7 = wxString_in_helper(obj6);
2720 if (arg7 == NULL) SWIG_fail;
2721 temp7 = true;
2722 }
2723 }
2724 {
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2727
2728 wxPyEndAllowThreads(__tstate);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 {
2732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2733 }
2734 {
2735 if (temp7)
2736 delete arg7;
2737 }
2738 return resultobj;
2739 fail:
2740 {
2741 if (temp7)
2742 delete arg7;
2743 }
2744 return NULL;
2745 }
2746
2747
2748 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2749 PyObject *resultobj;
2750 wxPanel *arg1 = (wxPanel *) 0 ;
2751 PyObject * obj0 = 0 ;
2752 char *kwnames[] = {
2753 (char *) "self", NULL
2754 };
2755
2756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2758 if (SWIG_arg_fail(1)) SWIG_fail;
2759 {
2760 PyThreadState* __tstate = wxPyBeginAllowThreads();
2761 (arg1)->InitDialog();
2762
2763 wxPyEndAllowThreads(__tstate);
2764 if (PyErr_Occurred()) SWIG_fail;
2765 }
2766 Py_INCREF(Py_None); resultobj = Py_None;
2767 return resultobj;
2768 fail:
2769 return NULL;
2770 }
2771
2772
2773 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2774 PyObject *resultobj;
2775 wxPanel *arg1 = (wxPanel *) 0 ;
2776 PyObject * obj0 = 0 ;
2777 char *kwnames[] = {
2778 (char *) "self", NULL
2779 };
2780
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2783 if (SWIG_arg_fail(1)) SWIG_fail;
2784 {
2785 PyThreadState* __tstate = wxPyBeginAllowThreads();
2786 (arg1)->SetFocus();
2787
2788 wxPyEndAllowThreads(__tstate);
2789 if (PyErr_Occurred()) SWIG_fail;
2790 }
2791 Py_INCREF(Py_None); resultobj = Py_None;
2792 return resultobj;
2793 fail:
2794 return NULL;
2795 }
2796
2797
2798 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2799 PyObject *resultobj;
2800 wxPanel *arg1 = (wxPanel *) 0 ;
2801 PyObject * obj0 = 0 ;
2802 char *kwnames[] = {
2803 (char *) "self", NULL
2804 };
2805
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
2807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2808 if (SWIG_arg_fail(1)) SWIG_fail;
2809 {
2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
2811 (arg1)->SetFocusIgnoringChildren();
2812
2813 wxPyEndAllowThreads(__tstate);
2814 if (PyErr_Occurred()) SWIG_fail;
2815 }
2816 Py_INCREF(Py_None); resultobj = Py_None;
2817 return resultobj;
2818 fail:
2819 return NULL;
2820 }
2821
2822
2823 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2824 PyObject *resultobj;
2825 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2826 wxVisualAttributes result;
2827 PyObject * obj0 = 0 ;
2828 char *kwnames[] = {
2829 (char *) "variant", NULL
2830 };
2831
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2833 if (obj0) {
2834 {
2835 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2836 if (SWIG_arg_fail(1)) SWIG_fail;
2837 }
2838 }
2839 {
2840 if (!wxPyCheckForApp()) SWIG_fail;
2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
2842 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2843
2844 wxPyEndAllowThreads(__tstate);
2845 if (PyErr_Occurred()) SWIG_fail;
2846 }
2847 {
2848 wxVisualAttributes * resultptr;
2849 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2851 }
2852 return resultobj;
2853 fail:
2854 return NULL;
2855 }
2856
2857
2858 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
2859 PyObject *obj;
2860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2861 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2862 Py_INCREF(obj);
2863 return Py_BuildValue((char *)"");
2864 }
2865 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2866 PyObject *resultobj;
2867 wxWindow *arg1 = (wxWindow *) 0 ;
2868 int arg2 = (int) (int)-1 ;
2869 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2870 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2871 wxSize const &arg4_defvalue = wxDefaultSize ;
2872 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2873 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2874 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2875 wxString *arg6 = (wxString *) &arg6_defvalue ;
2876 wxScrolledWindow *result;
2877 wxPoint temp3 ;
2878 wxSize temp4 ;
2879 bool temp6 = false ;
2880 PyObject * obj0 = 0 ;
2881 PyObject * obj1 = 0 ;
2882 PyObject * obj2 = 0 ;
2883 PyObject * obj3 = 0 ;
2884 PyObject * obj4 = 0 ;
2885 PyObject * obj5 = 0 ;
2886 char *kwnames[] = {
2887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2888 };
2889
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2892 if (SWIG_arg_fail(1)) SWIG_fail;
2893 if (obj1) {
2894 {
2895 arg2 = (int const)(SWIG_As_int(obj1));
2896 if (SWIG_arg_fail(2)) SWIG_fail;
2897 }
2898 }
2899 if (obj2) {
2900 {
2901 arg3 = &temp3;
2902 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2903 }
2904 }
2905 if (obj3) {
2906 {
2907 arg4 = &temp4;
2908 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2909 }
2910 }
2911 if (obj4) {
2912 {
2913 arg5 = (long)(SWIG_As_long(obj4));
2914 if (SWIG_arg_fail(5)) SWIG_fail;
2915 }
2916 }
2917 if (obj5) {
2918 {
2919 arg6 = wxString_in_helper(obj5);
2920 if (arg6 == NULL) SWIG_fail;
2921 temp6 = true;
2922 }
2923 }
2924 {
2925 if (!wxPyCheckForApp()) SWIG_fail;
2926 PyThreadState* __tstate = wxPyBeginAllowThreads();
2927 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2928
2929 wxPyEndAllowThreads(__tstate);
2930 if (PyErr_Occurred()) SWIG_fail;
2931 }
2932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2933 {
2934 if (temp6)
2935 delete arg6;
2936 }
2937 return resultobj;
2938 fail:
2939 {
2940 if (temp6)
2941 delete arg6;
2942 }
2943 return NULL;
2944 }
2945
2946
2947 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2948 PyObject *resultobj;
2949 wxScrolledWindow *result;
2950 char *kwnames[] = {
2951 NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2955 {
2956 if (!wxPyCheckForApp()) SWIG_fail;
2957 PyThreadState* __tstate = wxPyBeginAllowThreads();
2958 result = (wxScrolledWindow *)new wxScrolledWindow();
2959
2960 wxPyEndAllowThreads(__tstate);
2961 if (PyErr_Occurred()) SWIG_fail;
2962 }
2963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2964 return resultobj;
2965 fail:
2966 return NULL;
2967 }
2968
2969
2970 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2971 PyObject *resultobj;
2972 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2973 wxWindow *arg2 = (wxWindow *) 0 ;
2974 int arg3 = (int) (int)-1 ;
2975 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2976 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2977 wxSize const &arg5_defvalue = wxDefaultSize ;
2978 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2979 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
2980 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2981 wxString *arg7 = (wxString *) &arg7_defvalue ;
2982 bool result;
2983 wxPoint temp4 ;
2984 wxSize temp5 ;
2985 bool temp7 = false ;
2986 PyObject * obj0 = 0 ;
2987 PyObject * obj1 = 0 ;
2988 PyObject * obj2 = 0 ;
2989 PyObject * obj3 = 0 ;
2990 PyObject * obj4 = 0 ;
2991 PyObject * obj5 = 0 ;
2992 PyObject * obj6 = 0 ;
2993 char *kwnames[] = {
2994 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2995 };
2996
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
2999 if (SWIG_arg_fail(1)) SWIG_fail;
3000 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3001 if (SWIG_arg_fail(2)) SWIG_fail;
3002 if (obj2) {
3003 {
3004 arg3 = (int const)(SWIG_As_int(obj2));
3005 if (SWIG_arg_fail(3)) SWIG_fail;
3006 }
3007 }
3008 if (obj3) {
3009 {
3010 arg4 = &temp4;
3011 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3012 }
3013 }
3014 if (obj4) {
3015 {
3016 arg5 = &temp5;
3017 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3018 }
3019 }
3020 if (obj5) {
3021 {
3022 arg6 = (long)(SWIG_As_long(obj5));
3023 if (SWIG_arg_fail(6)) SWIG_fail;
3024 }
3025 }
3026 if (obj6) {
3027 {
3028 arg7 = wxString_in_helper(obj6);
3029 if (arg7 == NULL) SWIG_fail;
3030 temp7 = true;
3031 }
3032 }
3033 {
3034 PyThreadState* __tstate = wxPyBeginAllowThreads();
3035 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3036
3037 wxPyEndAllowThreads(__tstate);
3038 if (PyErr_Occurred()) SWIG_fail;
3039 }
3040 {
3041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3042 }
3043 {
3044 if (temp7)
3045 delete arg7;
3046 }
3047 return resultobj;
3048 fail:
3049 {
3050 if (temp7)
3051 delete arg7;
3052 }
3053 return NULL;
3054 }
3055
3056
3057 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3058 PyObject *resultobj;
3059 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3060 int arg2 ;
3061 int arg3 ;
3062 int arg4 ;
3063 int arg5 ;
3064 int arg6 = (int) 0 ;
3065 int arg7 = (int) 0 ;
3066 bool arg8 = (bool) false ;
3067 PyObject * obj0 = 0 ;
3068 PyObject * obj1 = 0 ;
3069 PyObject * obj2 = 0 ;
3070 PyObject * obj3 = 0 ;
3071 PyObject * obj4 = 0 ;
3072 PyObject * obj5 = 0 ;
3073 PyObject * obj6 = 0 ;
3074 PyObject * obj7 = 0 ;
3075 char *kwnames[] = {
3076 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3077 };
3078
3079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3081 if (SWIG_arg_fail(1)) SWIG_fail;
3082 {
3083 arg2 = (int)(SWIG_As_int(obj1));
3084 if (SWIG_arg_fail(2)) SWIG_fail;
3085 }
3086 {
3087 arg3 = (int)(SWIG_As_int(obj2));
3088 if (SWIG_arg_fail(3)) SWIG_fail;
3089 }
3090 {
3091 arg4 = (int)(SWIG_As_int(obj3));
3092 if (SWIG_arg_fail(4)) SWIG_fail;
3093 }
3094 {
3095 arg5 = (int)(SWIG_As_int(obj4));
3096 if (SWIG_arg_fail(5)) SWIG_fail;
3097 }
3098 if (obj5) {
3099 {
3100 arg6 = (int)(SWIG_As_int(obj5));
3101 if (SWIG_arg_fail(6)) SWIG_fail;
3102 }
3103 }
3104 if (obj6) {
3105 {
3106 arg7 = (int)(SWIG_As_int(obj6));
3107 if (SWIG_arg_fail(7)) SWIG_fail;
3108 }
3109 }
3110 if (obj7) {
3111 {
3112 arg8 = (bool)(SWIG_As_bool(obj7));
3113 if (SWIG_arg_fail(8)) SWIG_fail;
3114 }
3115 }
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 Py_INCREF(Py_None); resultobj = Py_None;
3124 return resultobj;
3125 fail:
3126 return NULL;
3127 }
3128
3129
3130 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3133 int arg2 ;
3134 int arg3 ;
3135 PyObject * obj0 = 0 ;
3136 PyObject * obj1 = 0 ;
3137 PyObject * obj2 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self",(char *) "x",(char *) "y", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3144 if (SWIG_arg_fail(1)) SWIG_fail;
3145 {
3146 arg2 = (int)(SWIG_As_int(obj1));
3147 if (SWIG_arg_fail(2)) SWIG_fail;
3148 }
3149 {
3150 arg3 = (int)(SWIG_As_int(obj2));
3151 if (SWIG_arg_fail(3)) SWIG_fail;
3152 }
3153 {
3154 PyThreadState* __tstate = wxPyBeginAllowThreads();
3155 (arg1)->Scroll(arg2,arg3);
3156
3157 wxPyEndAllowThreads(__tstate);
3158 if (PyErr_Occurred()) SWIG_fail;
3159 }
3160 Py_INCREF(Py_None); resultobj = Py_None;
3161 return resultobj;
3162 fail:
3163 return NULL;
3164 }
3165
3166
3167 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3168 PyObject *resultobj;
3169 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3170 int arg2 ;
3171 int result;
3172 PyObject * obj0 = 0 ;
3173 PyObject * obj1 = 0 ;
3174 char *kwnames[] = {
3175 (char *) "self",(char *) "orient", NULL
3176 };
3177
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3180 if (SWIG_arg_fail(1)) SWIG_fail;
3181 {
3182 arg2 = (int)(SWIG_As_int(obj1));
3183 if (SWIG_arg_fail(2)) SWIG_fail;
3184 }
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 {
3193 resultobj = SWIG_From_int((int)(result));
3194 }
3195 return resultobj;
3196 fail:
3197 return NULL;
3198 }
3199
3200
3201 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3202 PyObject *resultobj;
3203 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3204 int arg2 ;
3205 int arg3 ;
3206 PyObject * obj0 = 0 ;
3207 PyObject * obj1 = 0 ;
3208 PyObject * obj2 = 0 ;
3209 char *kwnames[] = {
3210 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3211 };
3212
3213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3215 if (SWIG_arg_fail(1)) SWIG_fail;
3216 {
3217 arg2 = (int)(SWIG_As_int(obj1));
3218 if (SWIG_arg_fail(2)) SWIG_fail;
3219 }
3220 {
3221 arg3 = (int)(SWIG_As_int(obj2));
3222 if (SWIG_arg_fail(3)) SWIG_fail;
3223 }
3224 {
3225 PyThreadState* __tstate = wxPyBeginAllowThreads();
3226 (arg1)->SetScrollPageSize(arg2,arg3);
3227
3228 wxPyEndAllowThreads(__tstate);
3229 if (PyErr_Occurred()) SWIG_fail;
3230 }
3231 Py_INCREF(Py_None); resultobj = Py_None;
3232 return resultobj;
3233 fail:
3234 return NULL;
3235 }
3236
3237
3238 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3239 PyObject *resultobj;
3240 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3241 int arg2 ;
3242 int arg3 ;
3243 PyObject * obj0 = 0 ;
3244 PyObject * obj1 = 0 ;
3245 PyObject * obj2 = 0 ;
3246 char *kwnames[] = {
3247 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3252 if (SWIG_arg_fail(1)) SWIG_fail;
3253 {
3254 arg2 = (int)(SWIG_As_int(obj1));
3255 if (SWIG_arg_fail(2)) SWIG_fail;
3256 }
3257 {
3258 arg3 = (int)(SWIG_As_int(obj2));
3259 if (SWIG_arg_fail(3)) SWIG_fail;
3260 }
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 (arg1)->SetScrollRate(arg2,arg3);
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 Py_INCREF(Py_None); resultobj = Py_None;
3269 return resultobj;
3270 fail:
3271 return NULL;
3272 }
3273
3274
3275 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3278 int *arg2 = (int *) 0 ;
3279 int *arg3 = (int *) 0 ;
3280 int temp2 ;
3281 int res2 = 0 ;
3282 int temp3 ;
3283 int res3 = 0 ;
3284 PyObject * obj0 = 0 ;
3285 char *kwnames[] = {
3286 (char *) "self", NULL
3287 };
3288
3289 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3290 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3293 if (SWIG_arg_fail(1)) SWIG_fail;
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 Py_INCREF(Py_None); resultobj = Py_None;
3302 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3303 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3304 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3305 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3315 bool arg2 ;
3316 bool arg3 ;
3317 PyObject * obj0 = 0 ;
3318 PyObject * obj1 = 0 ;
3319 PyObject * obj2 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3326 if (SWIG_arg_fail(1)) SWIG_fail;
3327 {
3328 arg2 = (bool)(SWIG_As_bool(obj1));
3329 if (SWIG_arg_fail(2)) SWIG_fail;
3330 }
3331 {
3332 arg3 = (bool)(SWIG_As_bool(obj2));
3333 if (SWIG_arg_fail(3)) SWIG_fail;
3334 }
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 (arg1)->EnableScrolling(arg2,arg3);
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 Py_INCREF(Py_None); resultobj = Py_None;
3343 return resultobj;
3344 fail:
3345 return NULL;
3346 }
3347
3348
3349 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj;
3351 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3352 int *arg2 = (int *) 0 ;
3353 int *arg3 = (int *) 0 ;
3354 int temp2 ;
3355 int res2 = 0 ;
3356 int temp3 ;
3357 int res3 = 0 ;
3358 PyObject * obj0 = 0 ;
3359 char *kwnames[] = {
3360 (char *) "self", NULL
3361 };
3362
3363 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3364 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3367 if (SWIG_arg_fail(1)) SWIG_fail;
3368 {
3369 PyThreadState* __tstate = wxPyBeginAllowThreads();
3370 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3371
3372 wxPyEndAllowThreads(__tstate);
3373 if (PyErr_Occurred()) SWIG_fail;
3374 }
3375 Py_INCREF(Py_None); resultobj = Py_None;
3376 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3377 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3378 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3379 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3380 return resultobj;
3381 fail:
3382 return NULL;
3383 }
3384
3385
3386 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3387 PyObject *resultobj;
3388 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3389 double arg2 ;
3390 double arg3 ;
3391 PyObject * obj0 = 0 ;
3392 PyObject * obj1 = 0 ;
3393 PyObject * obj2 = 0 ;
3394 char *kwnames[] = {
3395 (char *) "self",(char *) "xs",(char *) "ys", NULL
3396 };
3397
3398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3400 if (SWIG_arg_fail(1)) SWIG_fail;
3401 {
3402 arg2 = (double)(SWIG_As_double(obj1));
3403 if (SWIG_arg_fail(2)) SWIG_fail;
3404 }
3405 {
3406 arg3 = (double)(SWIG_As_double(obj2));
3407 if (SWIG_arg_fail(3)) SWIG_fail;
3408 }
3409 {
3410 PyThreadState* __tstate = wxPyBeginAllowThreads();
3411 (arg1)->SetScale(arg2,arg3);
3412
3413 wxPyEndAllowThreads(__tstate);
3414 if (PyErr_Occurred()) SWIG_fail;
3415 }
3416 Py_INCREF(Py_None); resultobj = Py_None;
3417 return resultobj;
3418 fail:
3419 return NULL;
3420 }
3421
3422
3423 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3424 PyObject *resultobj;
3425 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3426 double result;
3427 PyObject * obj0 = 0 ;
3428 char *kwnames[] = {
3429 (char *) "self", NULL
3430 };
3431
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3434 if (SWIG_arg_fail(1)) SWIG_fail;
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 {
3443 resultobj = SWIG_From_double((double)(result));
3444 }
3445 return resultobj;
3446 fail:
3447 return NULL;
3448 }
3449
3450
3451 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3452 PyObject *resultobj;
3453 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3454 double result;
3455 PyObject * obj0 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "self", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3462 if (SWIG_arg_fail(1)) SWIG_fail;
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
3470 {
3471 resultobj = SWIG_From_double((double)(result));
3472 }
3473 return resultobj;
3474 fail:
3475 return NULL;
3476 }
3477
3478
3479 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3480 PyObject *resultobj;
3481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3482 wxPoint *arg2 = 0 ;
3483 wxPoint result;
3484 wxPoint temp2 ;
3485 PyObject * obj0 = 0 ;
3486 PyObject * obj1 = 0 ;
3487
3488 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3490 if (SWIG_arg_fail(1)) SWIG_fail;
3491 {
3492 arg2 = &temp2;
3493 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3494 }
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3498
3499 wxPyEndAllowThreads(__tstate);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
3502 {
3503 wxPoint * resultptr;
3504 resultptr = new wxPoint((wxPoint &)(result));
3505 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3506 }
3507 return resultobj;
3508 fail:
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3514 PyObject *resultobj;
3515 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3516 int arg2 ;
3517 int arg3 ;
3518 int *arg4 = (int *) 0 ;
3519 int *arg5 = (int *) 0 ;
3520 int temp4 ;
3521 int res4 = 0 ;
3522 int temp5 ;
3523 int res5 = 0 ;
3524 PyObject * obj0 = 0 ;
3525 PyObject * obj1 = 0 ;
3526 PyObject * obj2 = 0 ;
3527
3528 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3529 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3530 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3532 if (SWIG_arg_fail(1)) SWIG_fail;
3533 {
3534 arg2 = (int)(SWIG_As_int(obj1));
3535 if (SWIG_arg_fail(2)) SWIG_fail;
3536 }
3537 {
3538 arg3 = (int)(SWIG_As_int(obj2));
3539 if (SWIG_arg_fail(3)) SWIG_fail;
3540 }
3541 {
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
3543 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3544
3545 wxPyEndAllowThreads(__tstate);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
3548 Py_INCREF(Py_None); resultobj = Py_None;
3549 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3550 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3551 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3552 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3553 return resultobj;
3554 fail:
3555 return NULL;
3556 }
3557
3558
3559 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3560 int argc;
3561 PyObject *argv[4];
3562 int ii;
3563
3564 argc = PyObject_Length(args);
3565 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3566 argv[ii] = PyTuple_GetItem(args,ii);
3567 }
3568 if (argc == 2) {
3569 int _v;
3570 {
3571 void *ptr;
3572 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3573 _v = 0;
3574 PyErr_Clear();
3575 } else {
3576 _v = 1;
3577 }
3578 }
3579 if (_v) {
3580 {
3581 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3582 }
3583 if (_v) {
3584 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3585 }
3586 }
3587 }
3588 if (argc == 3) {
3589 int _v;
3590 {
3591 void *ptr;
3592 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3593 _v = 0;
3594 PyErr_Clear();
3595 } else {
3596 _v = 1;
3597 }
3598 }
3599 if (_v) {
3600 _v = SWIG_Check_int(argv[1]);
3601 if (_v) {
3602 _v = SWIG_Check_int(argv[2]);
3603 if (_v) {
3604 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3605 }
3606 }
3607 }
3608 }
3609
3610 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3611 return NULL;
3612 }
3613
3614
3615 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3616 PyObject *resultobj;
3617 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3618 wxPoint *arg2 = 0 ;
3619 wxPoint result;
3620 wxPoint temp2 ;
3621 PyObject * obj0 = 0 ;
3622 PyObject * obj1 = 0 ;
3623
3624 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3626 if (SWIG_arg_fail(1)) SWIG_fail;
3627 {
3628 arg2 = &temp2;
3629 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3630 }
3631 {
3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
3633 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3634
3635 wxPyEndAllowThreads(__tstate);
3636 if (PyErr_Occurred()) SWIG_fail;
3637 }
3638 {
3639 wxPoint * resultptr;
3640 resultptr = new wxPoint((wxPoint &)(result));
3641 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3642 }
3643 return resultobj;
3644 fail:
3645 return NULL;
3646 }
3647
3648
3649 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3650 PyObject *resultobj;
3651 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3652 int arg2 ;
3653 int arg3 ;
3654 int *arg4 = (int *) 0 ;
3655 int *arg5 = (int *) 0 ;
3656 int temp4 ;
3657 int res4 = 0 ;
3658 int temp5 ;
3659 int res5 = 0 ;
3660 PyObject * obj0 = 0 ;
3661 PyObject * obj1 = 0 ;
3662 PyObject * obj2 = 0 ;
3663
3664 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3665 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3666 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3668 if (SWIG_arg_fail(1)) SWIG_fail;
3669 {
3670 arg2 = (int)(SWIG_As_int(obj1));
3671 if (SWIG_arg_fail(2)) SWIG_fail;
3672 }
3673 {
3674 arg3 = (int)(SWIG_As_int(obj2));
3675 if (SWIG_arg_fail(3)) SWIG_fail;
3676 }
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 Py_INCREF(Py_None); resultobj = Py_None;
3685 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3686 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3687 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3688 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3689 return resultobj;
3690 fail:
3691 return NULL;
3692 }
3693
3694
3695 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3696 int argc;
3697 PyObject *argv[4];
3698 int ii;
3699
3700 argc = PyObject_Length(args);
3701 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3702 argv[ii] = PyTuple_GetItem(args,ii);
3703 }
3704 if (argc == 2) {
3705 int _v;
3706 {
3707 void *ptr;
3708 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3709 _v = 0;
3710 PyErr_Clear();
3711 } else {
3712 _v = 1;
3713 }
3714 }
3715 if (_v) {
3716 {
3717 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3718 }
3719 if (_v) {
3720 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3721 }
3722 }
3723 }
3724 if (argc == 3) {
3725 int _v;
3726 {
3727 void *ptr;
3728 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3729 _v = 0;
3730 PyErr_Clear();
3731 } else {
3732 _v = 1;
3733 }
3734 }
3735 if (_v) {
3736 _v = SWIG_Check_int(argv[1]);
3737 if (_v) {
3738 _v = SWIG_Check_int(argv[2]);
3739 if (_v) {
3740 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3741 }
3742 }
3743 }
3744 }
3745
3746 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3747 return NULL;
3748 }
3749
3750
3751 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj;
3753 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3754 PyObject * obj0 = 0 ;
3755 char *kwnames[] = {
3756 (char *) "self", NULL
3757 };
3758
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3761 if (SWIG_arg_fail(1)) SWIG_fail;
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 (arg1)->AdjustScrollbars();
3765
3766 wxPyEndAllowThreads(__tstate);
3767 if (PyErr_Occurred()) SWIG_fail;
3768 }
3769 Py_INCREF(Py_None); resultobj = Py_None;
3770 return resultobj;
3771 fail:
3772 return NULL;
3773 }
3774
3775
3776 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3777 PyObject *resultobj;
3778 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3779 wxScrollWinEvent *arg2 = 0 ;
3780 int result;
3781 PyObject * obj0 = 0 ;
3782 PyObject * obj1 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self",(char *) "event", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail;
3790 {
3791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3792 if (SWIG_arg_fail(2)) SWIG_fail;
3793 if (arg2 == NULL) {
3794 SWIG_null_ref("wxScrollWinEvent");
3795 }
3796 if (SWIG_arg_fail(2)) SWIG_fail;
3797 }
3798 {
3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
3800 result = (int)(arg1)->CalcScrollInc(*arg2);
3801
3802 wxPyEndAllowThreads(__tstate);
3803 if (PyErr_Occurred()) SWIG_fail;
3804 }
3805 {
3806 resultobj = SWIG_From_int((int)(result));
3807 }
3808 return resultobj;
3809 fail:
3810 return NULL;
3811 }
3812
3813
3814 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3815 PyObject *resultobj;
3816 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3817 wxWindow *arg2 = (wxWindow *) 0 ;
3818 PyObject * obj0 = 0 ;
3819 PyObject * obj1 = 0 ;
3820 char *kwnames[] = {
3821 (char *) "self",(char *) "target", NULL
3822 };
3823
3824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
3825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3826 if (SWIG_arg_fail(1)) SWIG_fail;
3827 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3828 if (SWIG_arg_fail(2)) SWIG_fail;
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 (arg1)->SetTargetWindow(arg2);
3832
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 Py_INCREF(Py_None); resultobj = Py_None;
3837 return resultobj;
3838 fail:
3839 return NULL;
3840 }
3841
3842
3843 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3844 PyObject *resultobj;
3845 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3846 wxWindow *result;
3847 PyObject * obj0 = 0 ;
3848 char *kwnames[] = {
3849 (char *) "self", NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
3853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail;
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3858
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 {
3863 resultobj = wxPyMake_wxObject(result, 0);
3864 }
3865 return resultobj;
3866 fail:
3867 return NULL;
3868 }
3869
3870
3871 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
3872 PyObject *resultobj;
3873 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3874 wxDC *arg2 = 0 ;
3875 PyObject * obj0 = 0 ;
3876 PyObject * obj1 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "self",(char *) "dc", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
3882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3883 if (SWIG_arg_fail(1)) SWIG_fail;
3884 {
3885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3886 if (SWIG_arg_fail(2)) SWIG_fail;
3887 if (arg2 == NULL) {
3888 SWIG_null_ref("wxDC");
3889 }
3890 if (SWIG_arg_fail(2)) SWIG_fail;
3891 }
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 (arg1)->DoPrepareDC(*arg2);
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 Py_INCREF(Py_None); resultobj = Py_None;
3900 return resultobj;
3901 fail:
3902 return NULL;
3903 }
3904
3905
3906 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3907 PyObject *resultobj;
3908 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3909 wxVisualAttributes result;
3910 PyObject * obj0 = 0 ;
3911 char *kwnames[] = {
3912 (char *) "variant", NULL
3913 };
3914
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3916 if (obj0) {
3917 {
3918 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3919 if (SWIG_arg_fail(1)) SWIG_fail;
3920 }
3921 }
3922 {
3923 if (!wxPyCheckForApp()) SWIG_fail;
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 {
3931 wxVisualAttributes * resultptr;
3932 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3934 }
3935 return resultobj;
3936 fail:
3937 return NULL;
3938 }
3939
3940
3941 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
3942 PyObject *obj;
3943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3944 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3945 Py_INCREF(obj);
3946 return Py_BuildValue((char *)"");
3947 }
3948 static int _wrap_FrameNameStr_set(PyObject *) {
3949 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3950 return 1;
3951 }
3952
3953
3954 static PyObject *_wrap_FrameNameStr_get(void) {
3955 PyObject *pyobj;
3956
3957 {
3958 #if wxUSE_UNICODE
3959 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3960 #else
3961 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3962 #endif
3963 }
3964 return pyobj;
3965 }
3966
3967
3968 static int _wrap_DialogNameStr_set(PyObject *) {
3969 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
3970 return 1;
3971 }
3972
3973
3974 static PyObject *_wrap_DialogNameStr_get(void) {
3975 PyObject *pyobj;
3976
3977 {
3978 #if wxUSE_UNICODE
3979 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
3980 #else
3981 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
3982 #endif
3983 }
3984 return pyobj;
3985 }
3986
3987
3988 static int _wrap_StatusLineNameStr_set(PyObject *) {
3989 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
3990 return 1;
3991 }
3992
3993
3994 static PyObject *_wrap_StatusLineNameStr_get(void) {
3995 PyObject *pyobj;
3996
3997 {
3998 #if wxUSE_UNICODE
3999 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4000 #else
4001 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4002 #endif
4003 }
4004 return pyobj;
4005 }
4006
4007
4008 static int _wrap_ToolBarNameStr_set(PyObject *) {
4009 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4010 return 1;
4011 }
4012
4013
4014 static PyObject *_wrap_ToolBarNameStr_get(void) {
4015 PyObject *pyobj;
4016
4017 {
4018 #if wxUSE_UNICODE
4019 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4020 #else
4021 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4022 #endif
4023 }
4024 return pyobj;
4025 }
4026
4027
4028 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4029 PyObject *resultobj;
4030 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4031 bool arg2 = (bool) true ;
4032 PyObject * obj0 = 0 ;
4033 PyObject * obj1 = 0 ;
4034 char *kwnames[] = {
4035 (char *) "self",(char *) "maximize", NULL
4036 };
4037
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4040 if (SWIG_arg_fail(1)) SWIG_fail;
4041 if (obj1) {
4042 {
4043 arg2 = (bool)(SWIG_As_bool(obj1));
4044 if (SWIG_arg_fail(2)) SWIG_fail;
4045 }
4046 }
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 (arg1)->Maximize(arg2);
4050
4051 wxPyEndAllowThreads(__tstate);
4052 if (PyErr_Occurred()) SWIG_fail;
4053 }
4054 Py_INCREF(Py_None); resultobj = Py_None;
4055 return resultobj;
4056 fail:
4057 return NULL;
4058 }
4059
4060
4061 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj;
4063 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4064 PyObject * obj0 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "self", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4071 if (SWIG_arg_fail(1)) SWIG_fail;
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 (arg1)->Restore();
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 Py_INCREF(Py_None); resultobj = Py_None;
4080 return resultobj;
4081 fail:
4082 return NULL;
4083 }
4084
4085
4086 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4087 PyObject *resultobj;
4088 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4089 bool arg2 = (bool) true ;
4090 PyObject * obj0 = 0 ;
4091 PyObject * obj1 = 0 ;
4092 char *kwnames[] = {
4093 (char *) "self",(char *) "iconize", NULL
4094 };
4095
4096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4098 if (SWIG_arg_fail(1)) SWIG_fail;
4099 if (obj1) {
4100 {
4101 arg2 = (bool)(SWIG_As_bool(obj1));
4102 if (SWIG_arg_fail(2)) SWIG_fail;
4103 }
4104 }
4105 {
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 (arg1)->Iconize(arg2);
4108
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 Py_INCREF(Py_None); resultobj = Py_None;
4113 return resultobj;
4114 fail:
4115 return NULL;
4116 }
4117
4118
4119 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4120 PyObject *resultobj;
4121 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4122 bool result;
4123 PyObject * obj0 = 0 ;
4124 char *kwnames[] = {
4125 (char *) "self", NULL
4126 };
4127
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4130 if (SWIG_arg_fail(1)) SWIG_fail;
4131 {
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4134
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 {
4139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4140 }
4141 return resultobj;
4142 fail:
4143 return NULL;
4144 }
4145
4146
4147 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj;
4149 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4150 bool result;
4151 PyObject * obj0 = 0 ;
4152 char *kwnames[] = {
4153 (char *) "self", NULL
4154 };
4155
4156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4158 if (SWIG_arg_fail(1)) SWIG_fail;
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 {
4167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4168 }
4169 return resultobj;
4170 fail:
4171 return NULL;
4172 }
4173
4174
4175 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4176 PyObject *resultobj;
4177 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4178 wxIcon result;
4179 PyObject * obj0 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4186 if (SWIG_arg_fail(1)) SWIG_fail;
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4194 {
4195 wxIcon * resultptr;
4196 resultptr = new wxIcon((wxIcon &)(result));
4197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4198 }
4199 return resultobj;
4200 fail:
4201 return NULL;
4202 }
4203
4204
4205 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4206 PyObject *resultobj;
4207 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4208 wxIcon *arg2 = 0 ;
4209 PyObject * obj0 = 0 ;
4210 PyObject * obj1 = 0 ;
4211 char *kwnames[] = {
4212 (char *) "self",(char *) "icon", NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4217 if (SWIG_arg_fail(1)) SWIG_fail;
4218 {
4219 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4220 if (SWIG_arg_fail(2)) SWIG_fail;
4221 if (arg2 == NULL) {
4222 SWIG_null_ref("wxIcon");
4223 }
4224 if (SWIG_arg_fail(2)) SWIG_fail;
4225 }
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 (arg1)->SetIcon((wxIcon const &)*arg2);
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 Py_INCREF(Py_None); resultobj = Py_None;
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4243 wxIconBundle *arg2 = 0 ;
4244 PyObject * obj0 = 0 ;
4245 PyObject * obj1 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "icons", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4252 if (SWIG_arg_fail(1)) SWIG_fail;
4253 {
4254 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4255 if (SWIG_arg_fail(2)) SWIG_fail;
4256 if (arg2 == NULL) {
4257 SWIG_null_ref("wxIconBundle");
4258 }
4259 if (SWIG_arg_fail(2)) SWIG_fail;
4260 }
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4264
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
4268 Py_INCREF(Py_None); resultobj = Py_None;
4269 return resultobj;
4270 fail:
4271 return NULL;
4272 }
4273
4274
4275 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4278 bool arg2 ;
4279 long arg3 = (long) wxFULLSCREEN_ALL ;
4280 bool result;
4281 PyObject * obj0 = 0 ;
4282 PyObject * obj1 = 0 ;
4283 PyObject * obj2 = 0 ;
4284 char *kwnames[] = {
4285 (char *) "self",(char *) "show",(char *) "style", NULL
4286 };
4287
4288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4290 if (SWIG_arg_fail(1)) SWIG_fail;
4291 {
4292 arg2 = (bool)(SWIG_As_bool(obj1));
4293 if (SWIG_arg_fail(2)) SWIG_fail;
4294 }
4295 if (obj2) {
4296 {
4297 arg3 = (long)(SWIG_As_long(obj2));
4298 if (SWIG_arg_fail(3)) SWIG_fail;
4299 }
4300 }
4301 {
4302 PyThreadState* __tstate = wxPyBeginAllowThreads();
4303 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4304
4305 wxPyEndAllowThreads(__tstate);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 {
4309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4310 }
4311 return resultobj;
4312 fail:
4313 return NULL;
4314 }
4315
4316
4317 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4318 PyObject *resultobj;
4319 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4320 bool result;
4321 PyObject * obj0 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "self", NULL
4324 };
4325
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4328 if (SWIG_arg_fail(1)) SWIG_fail;
4329 {
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 {
4337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4338 }
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj;
4347 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4348 wxString *arg2 = 0 ;
4349 bool temp2 = false ;
4350 PyObject * obj0 = 0 ;
4351 PyObject * obj1 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self",(char *) "title", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4358 if (SWIG_arg_fail(1)) SWIG_fail;
4359 {
4360 arg2 = wxString_in_helper(obj1);
4361 if (arg2 == NULL) SWIG_fail;
4362 temp2 = true;
4363 }
4364 {
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 (arg1)->SetTitle((wxString const &)*arg2);
4367
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) SWIG_fail;
4370 }
4371 Py_INCREF(Py_None); resultobj = Py_None;
4372 {
4373 if (temp2)
4374 delete arg2;
4375 }
4376 return resultobj;
4377 fail:
4378 {
4379 if (temp2)
4380 delete arg2;
4381 }
4382 return NULL;
4383 }
4384
4385
4386 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj;
4388 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4389 wxString result;
4390 PyObject * obj0 = 0 ;
4391 char *kwnames[] = {
4392 (char *) "self", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4397 if (SWIG_arg_fail(1)) SWIG_fail;
4398 {
4399 PyThreadState* __tstate = wxPyBeginAllowThreads();
4400 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4401
4402 wxPyEndAllowThreads(__tstate);
4403 if (PyErr_Occurred()) SWIG_fail;
4404 }
4405 {
4406 #if wxUSE_UNICODE
4407 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4408 #else
4409 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4410 #endif
4411 }
4412 return resultobj;
4413 fail:
4414 return NULL;
4415 }
4416
4417
4418 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4421 wxRegion *arg2 = 0 ;
4422 bool result;
4423 PyObject * obj0 = 0 ;
4424 PyObject * obj1 = 0 ;
4425 char *kwnames[] = {
4426 (char *) "self",(char *) "region", NULL
4427 };
4428
4429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4431 if (SWIG_arg_fail(1)) SWIG_fail;
4432 {
4433 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4434 if (SWIG_arg_fail(2)) SWIG_fail;
4435 if (arg2 == NULL) {
4436 SWIG_null_ref("wxRegion");
4437 }
4438 if (SWIG_arg_fail(2)) SWIG_fail;
4439 }
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 {
4448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4449 }
4450 return resultobj;
4451 fail:
4452 return NULL;
4453 }
4454
4455
4456 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4457 PyObject *resultobj;
4458 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4459 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4460 PyObject * obj0 = 0 ;
4461 PyObject * obj1 = 0 ;
4462 char *kwnames[] = {
4463 (char *) "self",(char *) "flags", NULL
4464 };
4465
4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4468 if (SWIG_arg_fail(1)) SWIG_fail;
4469 if (obj1) {
4470 {
4471 arg2 = (int)(SWIG_As_int(obj1));
4472 if (SWIG_arg_fail(2)) SWIG_fail;
4473 }
4474 }
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->RequestUserAttention(arg2);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 Py_INCREF(Py_None); resultobj = Py_None;
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4492 bool result;
4493 PyObject * obj0 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "self", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4500 if (SWIG_arg_fail(1)) SWIG_fail;
4501 {
4502 PyThreadState* __tstate = wxPyBeginAllowThreads();
4503 result = (bool)(arg1)->IsActive();
4504
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 {
4509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4510 }
4511 return resultobj;
4512 fail:
4513 return NULL;
4514 }
4515
4516
4517 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj;
4519 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4520 bool arg2 ;
4521 PyObject * obj0 = 0 ;
4522 PyObject * obj1 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self",(char *) "on", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4529 if (SWIG_arg_fail(1)) SWIG_fail;
4530 {
4531 arg2 = (bool)(SWIG_As_bool(obj1));
4532 if (SWIG_arg_fail(2)) SWIG_fail;
4533 }
4534 {
4535 PyThreadState* __tstate = wxPyBeginAllowThreads();
4536 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4537
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 Py_INCREF(Py_None); resultobj = Py_None;
4542 return resultobj;
4543 fail:
4544 return NULL;
4545 }
4546
4547
4548 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4551 bool result;
4552 PyObject * obj0 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "self", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4559 if (SWIG_arg_fail(1)) SWIG_fail;
4560 {
4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4562 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4563
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
4567 {
4568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4569 }
4570 return resultobj;
4571 fail:
4572 return NULL;
4573 }
4574
4575
4576 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4577 PyObject *obj;
4578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4579 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4580 Py_INCREF(obj);
4581 return Py_BuildValue((char *)"");
4582 }
4583 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4584 PyObject *resultobj;
4585 wxWindow *arg1 = (wxWindow *) 0 ;
4586 int arg2 = (int) (int)-1 ;
4587 wxString const &arg3_defvalue = wxPyEmptyString ;
4588 wxString *arg3 = (wxString *) &arg3_defvalue ;
4589 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4590 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4591 wxSize const &arg5_defvalue = wxDefaultSize ;
4592 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4593 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4594 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4595 wxString *arg7 = (wxString *) &arg7_defvalue ;
4596 wxFrame *result;
4597 bool temp3 = false ;
4598 wxPoint temp4 ;
4599 wxSize temp5 ;
4600 bool temp7 = false ;
4601 PyObject * obj0 = 0 ;
4602 PyObject * obj1 = 0 ;
4603 PyObject * obj2 = 0 ;
4604 PyObject * obj3 = 0 ;
4605 PyObject * obj4 = 0 ;
4606 PyObject * obj5 = 0 ;
4607 PyObject * obj6 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail;
4615 if (obj1) {
4616 {
4617 arg2 = (int const)(SWIG_As_int(obj1));
4618 if (SWIG_arg_fail(2)) SWIG_fail;
4619 }
4620 }
4621 if (obj2) {
4622 {
4623 arg3 = wxString_in_helper(obj2);
4624 if (arg3 == NULL) SWIG_fail;
4625 temp3 = true;
4626 }
4627 }
4628 if (obj3) {
4629 {
4630 arg4 = &temp4;
4631 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4632 }
4633 }
4634 if (obj4) {
4635 {
4636 arg5 = &temp5;
4637 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4638 }
4639 }
4640 if (obj5) {
4641 {
4642 arg6 = (long)(SWIG_As_long(obj5));
4643 if (SWIG_arg_fail(6)) SWIG_fail;
4644 }
4645 }
4646 if (obj6) {
4647 {
4648 arg7 = wxString_in_helper(obj6);
4649 if (arg7 == NULL) SWIG_fail;
4650 temp7 = true;
4651 }
4652 }
4653 {
4654 if (!wxPyCheckForApp()) SWIG_fail;
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4662 {
4663 if (temp3)
4664 delete arg3;
4665 }
4666 {
4667 if (temp7)
4668 delete arg7;
4669 }
4670 return resultobj;
4671 fail:
4672 {
4673 if (temp3)
4674 delete arg3;
4675 }
4676 {
4677 if (temp7)
4678 delete arg7;
4679 }
4680 return NULL;
4681 }
4682
4683
4684 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4685 PyObject *resultobj;
4686 wxFrame *result;
4687 char *kwnames[] = {
4688 NULL
4689 };
4690
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4692 {
4693 if (!wxPyCheckForApp()) SWIG_fail;
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = (wxFrame *)new wxFrame();
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4701 return resultobj;
4702 fail:
4703 return NULL;
4704 }
4705
4706
4707 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4708 PyObject *resultobj;
4709 wxFrame *arg1 = (wxFrame *) 0 ;
4710 wxWindow *arg2 = (wxWindow *) 0 ;
4711 int arg3 = (int) (int)-1 ;
4712 wxString const &arg4_defvalue = wxPyEmptyString ;
4713 wxString *arg4 = (wxString *) &arg4_defvalue ;
4714 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4715 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4716 wxSize const &arg6_defvalue = wxDefaultSize ;
4717 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4718 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4719 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4720 wxString *arg8 = (wxString *) &arg8_defvalue ;
4721 bool result;
4722 bool temp4 = false ;
4723 wxPoint temp5 ;
4724 wxSize temp6 ;
4725 bool temp8 = false ;
4726 PyObject * obj0 = 0 ;
4727 PyObject * obj1 = 0 ;
4728 PyObject * obj2 = 0 ;
4729 PyObject * obj3 = 0 ;
4730 PyObject * obj4 = 0 ;
4731 PyObject * obj5 = 0 ;
4732 PyObject * obj6 = 0 ;
4733 PyObject * obj7 = 0 ;
4734 char *kwnames[] = {
4735 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4736 };
4737
4738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4740 if (SWIG_arg_fail(1)) SWIG_fail;
4741 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4742 if (SWIG_arg_fail(2)) SWIG_fail;
4743 if (obj2) {
4744 {
4745 arg3 = (int const)(SWIG_As_int(obj2));
4746 if (SWIG_arg_fail(3)) SWIG_fail;
4747 }
4748 }
4749 if (obj3) {
4750 {
4751 arg4 = wxString_in_helper(obj3);
4752 if (arg4 == NULL) SWIG_fail;
4753 temp4 = true;
4754 }
4755 }
4756 if (obj4) {
4757 {
4758 arg5 = &temp5;
4759 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4760 }
4761 }
4762 if (obj5) {
4763 {
4764 arg6 = &temp6;
4765 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4766 }
4767 }
4768 if (obj6) {
4769 {
4770 arg7 = (long)(SWIG_As_long(obj6));
4771 if (SWIG_arg_fail(7)) SWIG_fail;
4772 }
4773 }
4774 if (obj7) {
4775 {
4776 arg8 = wxString_in_helper(obj7);
4777 if (arg8 == NULL) SWIG_fail;
4778 temp8 = true;
4779 }
4780 }
4781 {
4782 PyThreadState* __tstate = wxPyBeginAllowThreads();
4783 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4784
4785 wxPyEndAllowThreads(__tstate);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 }
4788 {
4789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4790 }
4791 {
4792 if (temp4)
4793 delete arg4;
4794 }
4795 {
4796 if (temp8)
4797 delete arg8;
4798 }
4799 return resultobj;
4800 fail:
4801 {
4802 if (temp4)
4803 delete arg4;
4804 }
4805 {
4806 if (temp8)
4807 delete arg8;
4808 }
4809 return NULL;
4810 }
4811
4812
4813 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
4814 PyObject *resultobj;
4815 wxFrame *arg1 = (wxFrame *) 0 ;
4816 wxPoint result;
4817 PyObject * obj0 = 0 ;
4818 char *kwnames[] = {
4819 (char *) "self", NULL
4820 };
4821
4822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
4823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4824 if (SWIG_arg_fail(1)) SWIG_fail;
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 {
4833 wxPoint * resultptr;
4834 resultptr = new wxPoint((wxPoint &)(result));
4835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4836 }
4837 return resultobj;
4838 fail:
4839 return NULL;
4840 }
4841
4842
4843 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
4844 PyObject *resultobj;
4845 wxFrame *arg1 = (wxFrame *) 0 ;
4846 PyObject * obj0 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "self", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
4852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4853 if (SWIG_arg_fail(1)) SWIG_fail;
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 (arg1)->SendSizeEvent();
4857
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 Py_INCREF(Py_None); resultobj = Py_None;
4862 return resultobj;
4863 fail:
4864 return NULL;
4865 }
4866
4867
4868 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxFrame *arg1 = (wxFrame *) 0 ;
4871 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4872 PyObject * obj0 = 0 ;
4873 PyObject * obj1 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "self",(char *) "menubar", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
4879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4880 if (SWIG_arg_fail(1)) SWIG_fail;
4881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4882 if (SWIG_arg_fail(2)) SWIG_fail;
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 (arg1)->SetMenuBar(arg2);
4886
4887 wxPyEndAllowThreads(__tstate);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 Py_INCREF(Py_None); resultobj = Py_None;
4891 return resultobj;
4892 fail:
4893 return NULL;
4894 }
4895
4896
4897 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4898 PyObject *resultobj;
4899 wxFrame *arg1 = (wxFrame *) 0 ;
4900 wxMenuBar *result;
4901 PyObject * obj0 = 0 ;
4902 char *kwnames[] = {
4903 (char *) "self", NULL
4904 };
4905
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
4907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4908 if (SWIG_arg_fail(1)) SWIG_fail;
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 {
4917 resultobj = wxPyMake_wxObject(result, 0);
4918 }
4919 return resultobj;
4920 fail:
4921 return NULL;
4922 }
4923
4924
4925 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
4926 PyObject *resultobj;
4927 wxFrame *arg1 = (wxFrame *) 0 ;
4928 int arg2 ;
4929 bool result;
4930 PyObject * obj0 = 0 ;
4931 PyObject * obj1 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "winid", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
4937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4938 if (SWIG_arg_fail(1)) SWIG_fail;
4939 {
4940 arg2 = (int)(SWIG_As_int(obj1));
4941 if (SWIG_arg_fail(2)) SWIG_fail;
4942 }
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 result = (bool)(arg1)->ProcessCommand(arg2);
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 {
4951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4952 }
4953 return resultobj;
4954 fail:
4955 return NULL;
4956 }
4957
4958
4959 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 wxFrame *arg1 = (wxFrame *) 0 ;
4962 int arg2 = (int) 1 ;
4963 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
4964 int arg4 = (int) 0 ;
4965 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4966 wxString *arg5 = (wxString *) &arg5_defvalue ;
4967 wxStatusBar *result;
4968 bool temp5 = false ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 PyObject * obj2 = 0 ;
4972 PyObject * obj3 = 0 ;
4973 PyObject * obj4 = 0 ;
4974 char *kwnames[] = {
4975 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
4976 };
4977
4978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4980 if (SWIG_arg_fail(1)) SWIG_fail;
4981 if (obj1) {
4982 {
4983 arg2 = (int)(SWIG_As_int(obj1));
4984 if (SWIG_arg_fail(2)) SWIG_fail;
4985 }
4986 }
4987 if (obj2) {
4988 {
4989 arg3 = (long)(SWIG_As_long(obj2));
4990 if (SWIG_arg_fail(3)) SWIG_fail;
4991 }
4992 }
4993 if (obj3) {
4994 {
4995 arg4 = (int)(SWIG_As_int(obj3));
4996 if (SWIG_arg_fail(4)) SWIG_fail;
4997 }
4998 }
4999 if (obj4) {
5000 {
5001 arg5 = wxString_in_helper(obj4);
5002 if (arg5 == NULL) SWIG_fail;
5003 temp5 = true;
5004 }
5005 }
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 {
5014 resultobj = wxPyMake_wxObject(result, 0);
5015 }
5016 {
5017 if (temp5)
5018 delete arg5;
5019 }
5020 return resultobj;
5021 fail:
5022 {
5023 if (temp5)
5024 delete arg5;
5025 }
5026 return NULL;
5027 }
5028
5029
5030 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5031 PyObject *resultobj;
5032 wxFrame *arg1 = (wxFrame *) 0 ;
5033 wxStatusBar *result;
5034 PyObject * obj0 = 0 ;
5035 char *kwnames[] = {
5036 (char *) "self", NULL
5037 };
5038
5039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5041 if (SWIG_arg_fail(1)) SWIG_fail;
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 {
5050 resultobj = wxPyMake_wxObject(result, 0);
5051 }
5052 return resultobj;
5053 fail:
5054 return NULL;
5055 }
5056
5057
5058 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5059 PyObject *resultobj;
5060 wxFrame *arg1 = (wxFrame *) 0 ;
5061 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5062 PyObject * obj0 = 0 ;
5063 PyObject * obj1 = 0 ;
5064 char *kwnames[] = {
5065 (char *) "self",(char *) "statBar", NULL
5066 };
5067
5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5070 if (SWIG_arg_fail(1)) SWIG_fail;
5071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5072 if (SWIG_arg_fail(2)) SWIG_fail;
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 (arg1)->SetStatusBar(arg2);
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 Py_INCREF(Py_None); resultobj = Py_None;
5081 return resultobj;
5082 fail:
5083 return NULL;
5084 }
5085
5086
5087 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxFrame *arg1 = (wxFrame *) 0 ;
5090 wxString *arg2 = 0 ;
5091 int arg3 = (int) 0 ;
5092 bool temp2 = false ;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 PyObject * obj2 = 0 ;
5096 char *kwnames[] = {
5097 (char *) "self",(char *) "text",(char *) "number", NULL
5098 };
5099
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail;
5103 {
5104 arg2 = wxString_in_helper(obj1);
5105 if (arg2 == NULL) SWIG_fail;
5106 temp2 = true;
5107 }
5108 if (obj2) {
5109 {
5110 arg3 = (int)(SWIG_As_int(obj2));
5111 if (SWIG_arg_fail(3)) SWIG_fail;
5112 }
5113 }
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5117
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 Py_INCREF(Py_None); resultobj = Py_None;
5122 {
5123 if (temp2)
5124 delete arg2;
5125 }
5126 return resultobj;
5127 fail:
5128 {
5129 if (temp2)
5130 delete arg2;
5131 }
5132 return NULL;
5133 }
5134
5135
5136 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5137 PyObject *resultobj;
5138 wxFrame *arg1 = (wxFrame *) 0 ;
5139 int arg2 ;
5140 int *arg3 = (int *) 0 ;
5141 PyObject * obj0 = 0 ;
5142 PyObject * obj1 = 0 ;
5143 char *kwnames[] = {
5144 (char *) "self",(char *) "widths", NULL
5145 };
5146
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5149 if (SWIG_arg_fail(1)) SWIG_fail;
5150 {
5151 arg2 = PyList_Size(obj1);
5152 arg3 = int_LIST_helper(obj1);
5153 if (arg3 == NULL) SWIG_fail;
5154 }
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5158
5159 wxPyEndAllowThreads(__tstate);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 Py_INCREF(Py_None); resultobj = Py_None;
5163 {
5164 if (arg3) delete [] arg3;
5165 }
5166 return resultobj;
5167 fail:
5168 {
5169 if (arg3) delete [] arg3;
5170 }
5171 return NULL;
5172 }
5173
5174
5175 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5176 PyObject *resultobj;
5177 wxFrame *arg1 = (wxFrame *) 0 ;
5178 wxString *arg2 = 0 ;
5179 int arg3 = (int) 0 ;
5180 bool temp2 = false ;
5181 PyObject * obj0 = 0 ;
5182 PyObject * obj1 = 0 ;
5183 PyObject * obj2 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self",(char *) "text",(char *) "number", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail;
5191 {
5192 arg2 = wxString_in_helper(obj1);
5193 if (arg2 == NULL) SWIG_fail;
5194 temp2 = true;
5195 }
5196 if (obj2) {
5197 {
5198 arg3 = (int)(SWIG_As_int(obj2));
5199 if (SWIG_arg_fail(3)) SWIG_fail;
5200 }
5201 }
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 Py_INCREF(Py_None); resultobj = Py_None;
5210 {
5211 if (temp2)
5212 delete arg2;
5213 }
5214 return resultobj;
5215 fail:
5216 {
5217 if (temp2)
5218 delete arg2;
5219 }
5220 return NULL;
5221 }
5222
5223
5224 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxFrame *arg1 = (wxFrame *) 0 ;
5227 int arg2 = (int) 0 ;
5228 PyObject * obj0 = 0 ;
5229 PyObject * obj1 = 0 ;
5230 char *kwnames[] = {
5231 (char *) "self",(char *) "number", NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5236 if (SWIG_arg_fail(1)) SWIG_fail;
5237 if (obj1) {
5238 {
5239 arg2 = (int)(SWIG_As_int(obj1));
5240 if (SWIG_arg_fail(2)) SWIG_fail;
5241 }
5242 }
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 (arg1)->PopStatusText(arg2);
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 Py_INCREF(Py_None); resultobj = Py_None;
5251 return resultobj;
5252 fail:
5253 return NULL;
5254 }
5255
5256
5257 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxFrame *arg1 = (wxFrame *) 0 ;
5260 int arg2 ;
5261 PyObject * obj0 = 0 ;
5262 PyObject * obj1 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self",(char *) "n", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5269 if (SWIG_arg_fail(1)) SWIG_fail;
5270 {
5271 arg2 = (int)(SWIG_As_int(obj1));
5272 if (SWIG_arg_fail(2)) SWIG_fail;
5273 }
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 (arg1)->SetStatusBarPane(arg2);
5277
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 Py_INCREF(Py_None); resultobj = Py_None;
5282 return resultobj;
5283 fail:
5284 return NULL;
5285 }
5286
5287
5288 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5289 PyObject *resultobj;
5290 wxFrame *arg1 = (wxFrame *) 0 ;
5291 int result;
5292 PyObject * obj0 = 0 ;
5293 char *kwnames[] = {
5294 (char *) "self", NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5299 if (SWIG_arg_fail(1)) SWIG_fail;
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 {
5308 resultobj = SWIG_From_int((int)(result));
5309 }
5310 return resultobj;
5311 fail:
5312 return NULL;
5313 }
5314
5315
5316 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxFrame *arg1 = (wxFrame *) 0 ;
5319 long arg2 = (long) -1 ;
5320 int arg3 = (int) -1 ;
5321 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5322 wxString *arg4 = (wxString *) &arg4_defvalue ;
5323 wxToolBar *result;
5324 bool temp4 = false ;
5325 PyObject * obj0 = 0 ;
5326 PyObject * obj1 = 0 ;
5327 PyObject * obj2 = 0 ;
5328 PyObject * obj3 = 0 ;
5329 char *kwnames[] = {
5330 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5331 };
5332
5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5335 if (SWIG_arg_fail(1)) SWIG_fail;
5336 if (obj1) {
5337 {
5338 arg2 = (long)(SWIG_As_long(obj1));
5339 if (SWIG_arg_fail(2)) SWIG_fail;
5340 }
5341 }
5342 if (obj2) {
5343 {
5344 arg3 = (int)(SWIG_As_int(obj2));
5345 if (SWIG_arg_fail(3)) SWIG_fail;
5346 }
5347 }
5348 if (obj3) {
5349 {
5350 arg4 = wxString_in_helper(obj3);
5351 if (arg4 == NULL) SWIG_fail;
5352 temp4 = true;
5353 }
5354 }
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 {
5363 resultobj = wxPyMake_wxObject(result, 0);
5364 }
5365 {
5366 if (temp4)
5367 delete arg4;
5368 }
5369 return resultobj;
5370 fail:
5371 {
5372 if (temp4)
5373 delete arg4;
5374 }
5375 return NULL;
5376 }
5377
5378
5379 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5380 PyObject *resultobj;
5381 wxFrame *arg1 = (wxFrame *) 0 ;
5382 wxToolBar *result;
5383 PyObject * obj0 = 0 ;
5384 char *kwnames[] = {
5385 (char *) "self", NULL
5386 };
5387
5388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5390 if (SWIG_arg_fail(1)) SWIG_fail;
5391 {
5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
5393 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5394
5395 wxPyEndAllowThreads(__tstate);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
5398 {
5399 resultobj = wxPyMake_wxObject(result, 0);
5400 }
5401 return resultobj;
5402 fail:
5403 return NULL;
5404 }
5405
5406
5407 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5408 PyObject *resultobj;
5409 wxFrame *arg1 = (wxFrame *) 0 ;
5410 wxToolBar *arg2 = (wxToolBar *) 0 ;
5411 PyObject * obj0 = 0 ;
5412 PyObject * obj1 = 0 ;
5413 char *kwnames[] = {
5414 (char *) "self",(char *) "toolbar", NULL
5415 };
5416
5417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5419 if (SWIG_arg_fail(1)) SWIG_fail;
5420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5421 if (SWIG_arg_fail(2)) SWIG_fail;
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 (arg1)->SetToolBar(arg2);
5425
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 Py_INCREF(Py_None); resultobj = Py_None;
5430 return resultobj;
5431 fail:
5432 return NULL;
5433 }
5434
5435
5436 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj;
5438 wxFrame *arg1 = (wxFrame *) 0 ;
5439 wxString *arg2 = 0 ;
5440 bool arg3 ;
5441 bool temp2 = false ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 PyObject * obj2 = 0 ;
5445 char *kwnames[] = {
5446 (char *) "self",(char *) "text",(char *) "show", NULL
5447 };
5448
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5451 if (SWIG_arg_fail(1)) SWIG_fail;
5452 {
5453 arg2 = wxString_in_helper(obj1);
5454 if (arg2 == NULL) SWIG_fail;
5455 temp2 = true;
5456 }
5457 {
5458 arg3 = (bool)(SWIG_As_bool(obj2));
5459 if (SWIG_arg_fail(3)) SWIG_fail;
5460 }
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 Py_INCREF(Py_None); resultobj = Py_None;
5469 {
5470 if (temp2)
5471 delete arg2;
5472 }
5473 return resultobj;
5474 fail:
5475 {
5476 if (temp2)
5477 delete arg2;
5478 }
5479 return NULL;
5480 }
5481
5482
5483 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5484 PyObject *resultobj;
5485 wxFrame *arg1 = (wxFrame *) 0 ;
5486 wxMenu *arg2 = (wxMenu *) NULL ;
5487 PyObject * obj0 = 0 ;
5488 PyObject * obj1 = 0 ;
5489 char *kwnames[] = {
5490 (char *) "self",(char *) "menu", NULL
5491 };
5492
5493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5495 if (SWIG_arg_fail(1)) SWIG_fail;
5496 if (obj1) {
5497 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5498 if (SWIG_arg_fail(2)) SWIG_fail;
5499 }
5500 {
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 (arg1)->DoMenuUpdates(arg2);
5503
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 Py_INCREF(Py_None); resultobj = Py_None;
5508 return resultobj;
5509 fail:
5510 return NULL;
5511 }
5512
5513
5514 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj;
5516 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5517 wxVisualAttributes result;
5518 PyObject * obj0 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "variant", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5524 if (obj0) {
5525 {
5526 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5527 if (SWIG_arg_fail(1)) SWIG_fail;
5528 }
5529 }
5530 {
5531 if (!wxPyCheckForApp()) SWIG_fail;
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 {
5539 wxVisualAttributes * resultptr;
5540 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5542 }
5543 return resultobj;
5544 fail:
5545 return NULL;
5546 }
5547
5548
5549 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5550 PyObject *obj;
5551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5552 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5553 Py_INCREF(obj);
5554 return Py_BuildValue((char *)"");
5555 }
5556 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxWindow *arg1 = (wxWindow *) 0 ;
5559 int arg2 = (int) (int)-1 ;
5560 wxString const &arg3_defvalue = wxPyEmptyString ;
5561 wxString *arg3 = (wxString *) &arg3_defvalue ;
5562 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5563 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5564 wxSize const &arg5_defvalue = wxDefaultSize ;
5565 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5566 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5567 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5568 wxString *arg7 = (wxString *) &arg7_defvalue ;
5569 wxDialog *result;
5570 bool temp3 = false ;
5571 wxPoint temp4 ;
5572 wxSize temp5 ;
5573 bool temp7 = false ;
5574 PyObject * obj0 = 0 ;
5575 PyObject * obj1 = 0 ;
5576 PyObject * obj2 = 0 ;
5577 PyObject * obj3 = 0 ;
5578 PyObject * obj4 = 0 ;
5579 PyObject * obj5 = 0 ;
5580 PyObject * obj6 = 0 ;
5581 char *kwnames[] = {
5582 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5583 };
5584
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5587 if (SWIG_arg_fail(1)) SWIG_fail;
5588 if (obj1) {
5589 {
5590 arg2 = (int const)(SWIG_As_int(obj1));
5591 if (SWIG_arg_fail(2)) SWIG_fail;
5592 }
5593 }
5594 if (obj2) {
5595 {
5596 arg3 = wxString_in_helper(obj2);
5597 if (arg3 == NULL) SWIG_fail;
5598 temp3 = true;
5599 }
5600 }
5601 if (obj3) {
5602 {
5603 arg4 = &temp4;
5604 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5605 }
5606 }
5607 if (obj4) {
5608 {
5609 arg5 = &temp5;
5610 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5611 }
5612 }
5613 if (obj5) {
5614 {
5615 arg6 = (long)(SWIG_As_long(obj5));
5616 if (SWIG_arg_fail(6)) SWIG_fail;
5617 }
5618 }
5619 if (obj6) {
5620 {
5621 arg7 = wxString_in_helper(obj6);
5622 if (arg7 == NULL) SWIG_fail;
5623 temp7 = true;
5624 }
5625 }
5626 {
5627 if (!wxPyCheckForApp()) SWIG_fail;
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5635 {
5636 if (temp3)
5637 delete arg3;
5638 }
5639 {
5640 if (temp7)
5641 delete arg7;
5642 }
5643 return resultobj;
5644 fail:
5645 {
5646 if (temp3)
5647 delete arg3;
5648 }
5649 {
5650 if (temp7)
5651 delete arg7;
5652 }
5653 return NULL;
5654 }
5655
5656
5657 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj;
5659 wxDialog *result;
5660 char *kwnames[] = {
5661 NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5665 {
5666 if (!wxPyCheckForApp()) SWIG_fail;
5667 PyThreadState* __tstate = wxPyBeginAllowThreads();
5668 result = (wxDialog *)new wxDialog();
5669
5670 wxPyEndAllowThreads(__tstate);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5674 return resultobj;
5675 fail:
5676 return NULL;
5677 }
5678
5679
5680 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5681 PyObject *resultobj;
5682 wxDialog *arg1 = (wxDialog *) 0 ;
5683 wxWindow *arg2 = (wxWindow *) 0 ;
5684 int arg3 = (int) (int)-1 ;
5685 wxString const &arg4_defvalue = wxPyEmptyString ;
5686 wxString *arg4 = (wxString *) &arg4_defvalue ;
5687 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5688 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5689 wxSize const &arg6_defvalue = wxDefaultSize ;
5690 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5691 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5692 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5693 wxString *arg8 = (wxString *) &arg8_defvalue ;
5694 bool result;
5695 bool temp4 = false ;
5696 wxPoint temp5 ;
5697 wxSize temp6 ;
5698 bool temp8 = false ;
5699 PyObject * obj0 = 0 ;
5700 PyObject * obj1 = 0 ;
5701 PyObject * obj2 = 0 ;
5702 PyObject * obj3 = 0 ;
5703 PyObject * obj4 = 0 ;
5704 PyObject * obj5 = 0 ;
5705 PyObject * obj6 = 0 ;
5706 PyObject * obj7 = 0 ;
5707 char *kwnames[] = {
5708 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5709 };
5710
5711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5713 if (SWIG_arg_fail(1)) SWIG_fail;
5714 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5715 if (SWIG_arg_fail(2)) SWIG_fail;
5716 if (obj2) {
5717 {
5718 arg3 = (int const)(SWIG_As_int(obj2));
5719 if (SWIG_arg_fail(3)) SWIG_fail;
5720 }
5721 }
5722 if (obj3) {
5723 {
5724 arg4 = wxString_in_helper(obj3);
5725 if (arg4 == NULL) SWIG_fail;
5726 temp4 = true;
5727 }
5728 }
5729 if (obj4) {
5730 {
5731 arg5 = &temp5;
5732 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5733 }
5734 }
5735 if (obj5) {
5736 {
5737 arg6 = &temp6;
5738 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5739 }
5740 }
5741 if (obj6) {
5742 {
5743 arg7 = (long)(SWIG_As_long(obj6));
5744 if (SWIG_arg_fail(7)) SWIG_fail;
5745 }
5746 }
5747 if (obj7) {
5748 {
5749 arg8 = wxString_in_helper(obj7);
5750 if (arg8 == NULL) SWIG_fail;
5751 temp8 = true;
5752 }
5753 }
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 {
5762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5763 }
5764 {
5765 if (temp4)
5766 delete arg4;
5767 }
5768 {
5769 if (temp8)
5770 delete arg8;
5771 }
5772 return resultobj;
5773 fail:
5774 {
5775 if (temp4)
5776 delete arg4;
5777 }
5778 {
5779 if (temp8)
5780 delete arg8;
5781 }
5782 return NULL;
5783 }
5784
5785
5786 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5787 PyObject *resultobj;
5788 wxDialog *arg1 = (wxDialog *) 0 ;
5789 int arg2 ;
5790 PyObject * obj0 = 0 ;
5791 PyObject * obj1 = 0 ;
5792 char *kwnames[] = {
5793 (char *) "self",(char *) "returnCode", NULL
5794 };
5795
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5798 if (SWIG_arg_fail(1)) SWIG_fail;
5799 {
5800 arg2 = (int)(SWIG_As_int(obj1));
5801 if (SWIG_arg_fail(2)) SWIG_fail;
5802 }
5803 {
5804 PyThreadState* __tstate = wxPyBeginAllowThreads();
5805 (arg1)->SetReturnCode(arg2);
5806
5807 wxPyEndAllowThreads(__tstate);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
5810 Py_INCREF(Py_None); resultobj = Py_None;
5811 return resultobj;
5812 fail:
5813 return NULL;
5814 }
5815
5816
5817 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5818 PyObject *resultobj;
5819 wxDialog *arg1 = (wxDialog *) 0 ;
5820 int result;
5821 PyObject * obj0 = 0 ;
5822 char *kwnames[] = {
5823 (char *) "self", NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
5827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5828 if (SWIG_arg_fail(1)) SWIG_fail;
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 {
5837 resultobj = SWIG_From_int((int)(result));
5838 }
5839 return resultobj;
5840 fail:
5841 return NULL;
5842 }
5843
5844
5845 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5846 PyObject *resultobj;
5847 wxDialog *arg1 = (wxDialog *) 0 ;
5848 wxString *arg2 = 0 ;
5849 wxSizer *result;
5850 bool temp2 = false ;
5851 PyObject * obj0 = 0 ;
5852 PyObject * obj1 = 0 ;
5853 char *kwnames[] = {
5854 (char *) "self",(char *) "message", NULL
5855 };
5856
5857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
5858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5859 if (SWIG_arg_fail(1)) SWIG_fail;
5860 {
5861 arg2 = wxString_in_helper(obj1);
5862 if (arg2 == NULL) SWIG_fail;
5863 temp2 = true;
5864 }
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 {
5873 resultobj = wxPyMake_wxObject(result, 0);
5874 }
5875 {
5876 if (temp2)
5877 delete arg2;
5878 }
5879 return resultobj;
5880 fail:
5881 {
5882 if (temp2)
5883 delete arg2;
5884 }
5885 return NULL;
5886 }
5887
5888
5889 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5890 PyObject *resultobj;
5891 wxDialog *arg1 = (wxDialog *) 0 ;
5892 long arg2 ;
5893 wxSizer *result;
5894 PyObject * obj0 = 0 ;
5895 PyObject * obj1 = 0 ;
5896 char *kwnames[] = {
5897 (char *) "self",(char *) "flags", NULL
5898 };
5899
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5902 if (SWIG_arg_fail(1)) SWIG_fail;
5903 {
5904 arg2 = (long)(SWIG_As_long(obj1));
5905 if (SWIG_arg_fail(2)) SWIG_fail;
5906 }
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 {
5915 resultobj = wxPyMake_wxObject(result, 0);
5916 }
5917 return resultobj;
5918 fail:
5919 return NULL;
5920 }
5921
5922
5923 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxDialog *arg1 = (wxDialog *) 0 ;
5926 long arg2 ;
5927 wxStdDialogButtonSizer *result;
5928 PyObject * obj0 = 0 ;
5929 PyObject * obj1 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self",(char *) "flags", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5936 if (SWIG_arg_fail(1)) SWIG_fail;
5937 {
5938 arg2 = (long)(SWIG_As_long(obj1));
5939 if (SWIG_arg_fail(2)) SWIG_fail;
5940 }
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5944
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5949 return resultobj;
5950 fail:
5951 return NULL;
5952 }
5953
5954
5955 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj;
5957 wxDialog *arg1 = (wxDialog *) 0 ;
5958 bool result;
5959 PyObject * obj0 = 0 ;
5960 char *kwnames[] = {
5961 (char *) "self", NULL
5962 };
5963
5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
5965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5966 if (SWIG_arg_fail(1)) SWIG_fail;
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 result = (bool)((wxDialog const *)arg1)->IsModal();
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 {
5975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5976 }
5977 return resultobj;
5978 fail:
5979 return NULL;
5980 }
5981
5982
5983 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj;
5985 wxDialog *arg1 = (wxDialog *) 0 ;
5986 int result;
5987 PyObject * obj0 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
5993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5994 if (SWIG_arg_fail(1)) SWIG_fail;
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 result = (int)(arg1)->ShowModal();
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 {
6003 resultobj = SWIG_From_int((int)(result));
6004 }
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj;
6013 wxDialog *arg1 = (wxDialog *) 0 ;
6014 int arg2 ;
6015 PyObject * obj0 = 0 ;
6016 PyObject * obj1 = 0 ;
6017 char *kwnames[] = {
6018 (char *) "self",(char *) "retCode", NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6023 if (SWIG_arg_fail(1)) SWIG_fail;
6024 {
6025 arg2 = (int)(SWIG_As_int(obj1));
6026 if (SWIG_arg_fail(2)) SWIG_fail;
6027 }
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 (arg1)->EndModal(arg2);
6031
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 Py_INCREF(Py_None); resultobj = Py_None;
6036 return resultobj;
6037 fail:
6038 return NULL;
6039 }
6040
6041
6042 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6045 wxVisualAttributes result;
6046 PyObject * obj0 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "variant", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6052 if (obj0) {
6053 {
6054 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6055 if (SWIG_arg_fail(1)) SWIG_fail;
6056 }
6057 }
6058 {
6059 if (!wxPyCheckForApp()) SWIG_fail;
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6062
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 {
6067 wxVisualAttributes * resultptr;
6068 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6070 }
6071 return resultobj;
6072 fail:
6073 return NULL;
6074 }
6075
6076
6077 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6078 PyObject *obj;
6079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6080 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6081 Py_INCREF(obj);
6082 return Py_BuildValue((char *)"");
6083 }
6084 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6085 PyObject *resultobj;
6086 wxWindow *arg1 = (wxWindow *) 0 ;
6087 int arg2 = (int) (int)-1 ;
6088 wxString const &arg3_defvalue = wxPyEmptyString ;
6089 wxString *arg3 = (wxString *) &arg3_defvalue ;
6090 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6091 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6092 wxSize const &arg5_defvalue = wxDefaultSize ;
6093 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6094 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6095 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6096 wxString *arg7 = (wxString *) &arg7_defvalue ;
6097 wxMiniFrame *result;
6098 bool temp3 = false ;
6099 wxPoint temp4 ;
6100 wxSize temp5 ;
6101 bool temp7 = false ;
6102 PyObject * obj0 = 0 ;
6103 PyObject * obj1 = 0 ;
6104 PyObject * obj2 = 0 ;
6105 PyObject * obj3 = 0 ;
6106 PyObject * obj4 = 0 ;
6107 PyObject * obj5 = 0 ;
6108 PyObject * obj6 = 0 ;
6109 char *kwnames[] = {
6110 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6111 };
6112
6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6115 if (SWIG_arg_fail(1)) SWIG_fail;
6116 if (obj1) {
6117 {
6118 arg2 = (int const)(SWIG_As_int(obj1));
6119 if (SWIG_arg_fail(2)) SWIG_fail;
6120 }
6121 }
6122 if (obj2) {
6123 {
6124 arg3 = wxString_in_helper(obj2);
6125 if (arg3 == NULL) SWIG_fail;
6126 temp3 = true;
6127 }
6128 }
6129 if (obj3) {
6130 {
6131 arg4 = &temp4;
6132 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6133 }
6134 }
6135 if (obj4) {
6136 {
6137 arg5 = &temp5;
6138 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6139 }
6140 }
6141 if (obj5) {
6142 {
6143 arg6 = (long)(SWIG_As_long(obj5));
6144 if (SWIG_arg_fail(6)) SWIG_fail;
6145 }
6146 }
6147 if (obj6) {
6148 {
6149 arg7 = wxString_in_helper(obj6);
6150 if (arg7 == NULL) SWIG_fail;
6151 temp7 = true;
6152 }
6153 }
6154 {
6155 if (!wxPyCheckForApp()) SWIG_fail;
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6163 {
6164 if (temp3)
6165 delete arg3;
6166 }
6167 {
6168 if (temp7)
6169 delete arg7;
6170 }
6171 return resultobj;
6172 fail:
6173 {
6174 if (temp3)
6175 delete arg3;
6176 }
6177 {
6178 if (temp7)
6179 delete arg7;
6180 }
6181 return NULL;
6182 }
6183
6184
6185 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj;
6187 wxMiniFrame *result;
6188 char *kwnames[] = {
6189 NULL
6190 };
6191
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6193 {
6194 if (!wxPyCheckForApp()) SWIG_fail;
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 result = (wxMiniFrame *)new wxMiniFrame();
6197
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6202 return resultobj;
6203 fail:
6204 return NULL;
6205 }
6206
6207
6208 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6209 PyObject *resultobj;
6210 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6211 wxWindow *arg2 = (wxWindow *) 0 ;
6212 int arg3 = (int) (int)-1 ;
6213 wxString const &arg4_defvalue = wxPyEmptyString ;
6214 wxString *arg4 = (wxString *) &arg4_defvalue ;
6215 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6216 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6217 wxSize const &arg6_defvalue = wxDefaultSize ;
6218 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6219 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6220 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6221 wxString *arg8 = (wxString *) &arg8_defvalue ;
6222 bool result;
6223 bool temp4 = false ;
6224 wxPoint temp5 ;
6225 wxSize temp6 ;
6226 bool temp8 = false ;
6227 PyObject * obj0 = 0 ;
6228 PyObject * obj1 = 0 ;
6229 PyObject * obj2 = 0 ;
6230 PyObject * obj3 = 0 ;
6231 PyObject * obj4 = 0 ;
6232 PyObject * obj5 = 0 ;
6233 PyObject * obj6 = 0 ;
6234 PyObject * obj7 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail;
6242 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6243 if (SWIG_arg_fail(2)) SWIG_fail;
6244 if (obj2) {
6245 {
6246 arg3 = (int const)(SWIG_As_int(obj2));
6247 if (SWIG_arg_fail(3)) SWIG_fail;
6248 }
6249 }
6250 if (obj3) {
6251 {
6252 arg4 = wxString_in_helper(obj3);
6253 if (arg4 == NULL) SWIG_fail;
6254 temp4 = true;
6255 }
6256 }
6257 if (obj4) {
6258 {
6259 arg5 = &temp5;
6260 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6261 }
6262 }
6263 if (obj5) {
6264 {
6265 arg6 = &temp6;
6266 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6267 }
6268 }
6269 if (obj6) {
6270 {
6271 arg7 = (long)(SWIG_As_long(obj6));
6272 if (SWIG_arg_fail(7)) SWIG_fail;
6273 }
6274 }
6275 if (obj7) {
6276 {
6277 arg8 = wxString_in_helper(obj7);
6278 if (arg8 == NULL) SWIG_fail;
6279 temp8 = true;
6280 }
6281 }
6282 {
6283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6284 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6285
6286 wxPyEndAllowThreads(__tstate);
6287 if (PyErr_Occurred()) SWIG_fail;
6288 }
6289 {
6290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6291 }
6292 {
6293 if (temp4)
6294 delete arg4;
6295 }
6296 {
6297 if (temp8)
6298 delete arg8;
6299 }
6300 return resultobj;
6301 fail:
6302 {
6303 if (temp4)
6304 delete arg4;
6305 }
6306 {
6307 if (temp8)
6308 delete arg8;
6309 }
6310 return NULL;
6311 }
6312
6313
6314 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6315 PyObject *obj;
6316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6317 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6318 Py_INCREF(obj);
6319 return Py_BuildValue((char *)"");
6320 }
6321 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj;
6323 wxBitmap *arg1 = 0 ;
6324 wxWindow *arg2 = (wxWindow *) 0 ;
6325 int arg3 ;
6326 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6327 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6328 wxSize const &arg5_defvalue = wxDefaultSize ;
6329 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6330 long arg6 = (long) wxNO_BORDER ;
6331 wxSplashScreenWindow *result;
6332 wxPoint temp4 ;
6333 wxSize temp5 ;
6334 PyObject * obj0 = 0 ;
6335 PyObject * obj1 = 0 ;
6336 PyObject * obj2 = 0 ;
6337 PyObject * obj3 = 0 ;
6338 PyObject * obj4 = 0 ;
6339 PyObject * obj5 = 0 ;
6340 char *kwnames[] = {
6341 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6342 };
6343
6344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6345 {
6346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6347 if (SWIG_arg_fail(1)) SWIG_fail;
6348 if (arg1 == NULL) {
6349 SWIG_null_ref("wxBitmap");
6350 }
6351 if (SWIG_arg_fail(1)) SWIG_fail;
6352 }
6353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6354 if (SWIG_arg_fail(2)) SWIG_fail;
6355 {
6356 arg3 = (int)(SWIG_As_int(obj2));
6357 if (SWIG_arg_fail(3)) SWIG_fail;
6358 }
6359 if (obj3) {
6360 {
6361 arg4 = &temp4;
6362 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6363 }
6364 }
6365 if (obj4) {
6366 {
6367 arg5 = &temp5;
6368 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6369 }
6370 }
6371 if (obj5) {
6372 {
6373 arg6 = (long)(SWIG_As_long(obj5));
6374 if (SWIG_arg_fail(6)) SWIG_fail;
6375 }
6376 }
6377 {
6378 if (!wxPyCheckForApp()) SWIG_fail;
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6381
6382 wxPyEndAllowThreads(__tstate);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6386 return resultobj;
6387 fail:
6388 return NULL;
6389 }
6390
6391
6392 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6393 PyObject *resultobj;
6394 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6395 wxBitmap *arg2 = 0 ;
6396 PyObject * obj0 = 0 ;
6397 PyObject * obj1 = 0 ;
6398 char *kwnames[] = {
6399 (char *) "self",(char *) "bitmap", NULL
6400 };
6401
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6404 if (SWIG_arg_fail(1)) SWIG_fail;
6405 {
6406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6407 if (SWIG_arg_fail(2)) SWIG_fail;
6408 if (arg2 == NULL) {
6409 SWIG_null_ref("wxBitmap");
6410 }
6411 if (SWIG_arg_fail(2)) SWIG_fail;
6412 }
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 Py_INCREF(Py_None); resultobj = Py_None;
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj;
6429 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6430 wxBitmap *result;
6431 PyObject * obj0 = 0 ;
6432 char *kwnames[] = {
6433 (char *) "self", NULL
6434 };
6435
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6438 if (SWIG_arg_fail(1)) SWIG_fail;
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 {
6442 wxBitmap &_result_ref = (arg1)->GetBitmap();
6443 result = (wxBitmap *) &_result_ref;
6444 }
6445
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 {
6450 wxBitmap* resultptr = new wxBitmap(*result);
6451 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6452 }
6453 return resultobj;
6454 fail:
6455 return NULL;
6456 }
6457
6458
6459 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6460 PyObject *obj;
6461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6462 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6463 Py_INCREF(obj);
6464 return Py_BuildValue((char *)"");
6465 }
6466 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6467 PyObject *resultobj;
6468 wxBitmap *arg1 = 0 ;
6469 long arg2 ;
6470 int arg3 ;
6471 wxWindow *arg4 = (wxWindow *) 0 ;
6472 int arg5 = (int) -1 ;
6473 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6474 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6475 wxSize const &arg7_defvalue = wxDefaultSize ;
6476 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6477 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6478 wxSplashScreen *result;
6479 wxPoint temp6 ;
6480 wxSize temp7 ;
6481 PyObject * obj0 = 0 ;
6482 PyObject * obj1 = 0 ;
6483 PyObject * obj2 = 0 ;
6484 PyObject * obj3 = 0 ;
6485 PyObject * obj4 = 0 ;
6486 PyObject * obj5 = 0 ;
6487 PyObject * obj6 = 0 ;
6488 PyObject * obj7 = 0 ;
6489 char *kwnames[] = {
6490 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6491 };
6492
6493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6494 {
6495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6496 if (SWIG_arg_fail(1)) SWIG_fail;
6497 if (arg1 == NULL) {
6498 SWIG_null_ref("wxBitmap");
6499 }
6500 if (SWIG_arg_fail(1)) SWIG_fail;
6501 }
6502 {
6503 arg2 = (long)(SWIG_As_long(obj1));
6504 if (SWIG_arg_fail(2)) SWIG_fail;
6505 }
6506 {
6507 arg3 = (int)(SWIG_As_int(obj2));
6508 if (SWIG_arg_fail(3)) SWIG_fail;
6509 }
6510 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6511 if (SWIG_arg_fail(4)) SWIG_fail;
6512 if (obj4) {
6513 {
6514 arg5 = (int)(SWIG_As_int(obj4));
6515 if (SWIG_arg_fail(5)) SWIG_fail;
6516 }
6517 }
6518 if (obj5) {
6519 {
6520 arg6 = &temp6;
6521 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6522 }
6523 }
6524 if (obj6) {
6525 {
6526 arg7 = &temp7;
6527 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6528 }
6529 }
6530 if (obj7) {
6531 {
6532 arg8 = (long)(SWIG_As_long(obj7));
6533 if (SWIG_arg_fail(8)) SWIG_fail;
6534 }
6535 }
6536 {
6537 if (!wxPyCheckForApp()) SWIG_fail;
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6540
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 }
6544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6545 return resultobj;
6546 fail:
6547 return NULL;
6548 }
6549
6550
6551 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6554 long result;
6555 PyObject * obj0 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self", NULL
6558 };
6559
6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6562 if (SWIG_arg_fail(1)) SWIG_fail;
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6565 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6566
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 {
6571 resultobj = SWIG_From_long((long)(result));
6572 }
6573 return resultobj;
6574 fail:
6575 return NULL;
6576 }
6577
6578
6579 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6580 PyObject *resultobj;
6581 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6582 wxSplashScreenWindow *result;
6583 PyObject * obj0 = 0 ;
6584 char *kwnames[] = {
6585 (char *) "self", NULL
6586 };
6587
6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6590 if (SWIG_arg_fail(1)) SWIG_fail;
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6599 return resultobj;
6600 fail:
6601 return NULL;
6602 }
6603
6604
6605 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6606 PyObject *resultobj;
6607 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6608 int result;
6609 PyObject * obj0 = 0 ;
6610 char *kwnames[] = {
6611 (char *) "self", NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6616 if (SWIG_arg_fail(1)) SWIG_fail;
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 {
6625 resultobj = SWIG_From_int((int)(result));
6626 }
6627 return resultobj;
6628 fail:
6629 return NULL;
6630 }
6631
6632
6633 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6634 PyObject *obj;
6635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6636 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6637 Py_INCREF(obj);
6638 return Py_BuildValue((char *)"");
6639 }
6640 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6641 PyObject *resultobj;
6642 wxWindow *arg1 = (wxWindow *) 0 ;
6643 int arg2 = (int) -1 ;
6644 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6645 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6646 wxString *arg4 = (wxString *) &arg4_defvalue ;
6647 wxStatusBar *result;
6648 bool temp4 = false ;
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 PyObject * obj2 = 0 ;
6652 PyObject * obj3 = 0 ;
6653 char *kwnames[] = {
6654 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6655 };
6656
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail;
6660 if (obj1) {
6661 {
6662 arg2 = (int)(SWIG_As_int(obj1));
6663 if (SWIG_arg_fail(2)) SWIG_fail;
6664 }
6665 }
6666 if (obj2) {
6667 {
6668 arg3 = (long)(SWIG_As_long(obj2));
6669 if (SWIG_arg_fail(3)) SWIG_fail;
6670 }
6671 }
6672 if (obj3) {
6673 {
6674 arg4 = wxString_in_helper(obj3);
6675 if (arg4 == NULL) SWIG_fail;
6676 temp4 = true;
6677 }
6678 }
6679 {
6680 if (!wxPyCheckForApp()) SWIG_fail;
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6688 {
6689 if (temp4)
6690 delete arg4;
6691 }
6692 return resultobj;
6693 fail:
6694 {
6695 if (temp4)
6696 delete arg4;
6697 }
6698 return NULL;
6699 }
6700
6701
6702 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6703 PyObject *resultobj;
6704 wxStatusBar *result;
6705 char *kwnames[] = {
6706 NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6710 {
6711 if (!wxPyCheckForApp()) SWIG_fail;
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 result = (wxStatusBar *)new wxStatusBar();
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6719 return resultobj;
6720 fail:
6721 return NULL;
6722 }
6723
6724
6725 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6728 wxWindow *arg2 = (wxWindow *) 0 ;
6729 int arg3 = (int) -1 ;
6730 long arg4 = (long) wxST_SIZEGRIP ;
6731 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6732 wxString *arg5 = (wxString *) &arg5_defvalue ;
6733 bool result;
6734 bool temp5 = false ;
6735 PyObject * obj0 = 0 ;
6736 PyObject * obj1 = 0 ;
6737 PyObject * obj2 = 0 ;
6738 PyObject * obj3 = 0 ;
6739 PyObject * obj4 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6746 if (SWIG_arg_fail(1)) SWIG_fail;
6747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6748 if (SWIG_arg_fail(2)) SWIG_fail;
6749 if (obj2) {
6750 {
6751 arg3 = (int)(SWIG_As_int(obj2));
6752 if (SWIG_arg_fail(3)) SWIG_fail;
6753 }
6754 }
6755 if (obj3) {
6756 {
6757 arg4 = (long)(SWIG_As_long(obj3));
6758 if (SWIG_arg_fail(4)) SWIG_fail;
6759 }
6760 }
6761 if (obj4) {
6762 {
6763 arg5 = wxString_in_helper(obj4);
6764 if (arg5 == NULL) SWIG_fail;
6765 temp5 = true;
6766 }
6767 }
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6771
6772 wxPyEndAllowThreads(__tstate);
6773 if (PyErr_Occurred()) SWIG_fail;
6774 }
6775 {
6776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6777 }
6778 {
6779 if (temp5)
6780 delete arg5;
6781 }
6782 return resultobj;
6783 fail:
6784 {
6785 if (temp5)
6786 delete arg5;
6787 }
6788 return NULL;
6789 }
6790
6791
6792 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
6794 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6795 int arg2 = (int) 1 ;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self",(char *) "number", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
6803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6804 if (SWIG_arg_fail(1)) SWIG_fail;
6805 if (obj1) {
6806 {
6807 arg2 = (int)(SWIG_As_int(obj1));
6808 if (SWIG_arg_fail(2)) SWIG_fail;
6809 }
6810 }
6811 {
6812 PyThreadState* __tstate = wxPyBeginAllowThreads();
6813 (arg1)->SetFieldsCount(arg2);
6814
6815 wxPyEndAllowThreads(__tstate);
6816 if (PyErr_Occurred()) SWIG_fail;
6817 }
6818 Py_INCREF(Py_None); resultobj = Py_None;
6819 return resultobj;
6820 fail:
6821 return NULL;
6822 }
6823
6824
6825 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj;
6827 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6828 int result;
6829 PyObject * obj0 = 0 ;
6830 char *kwnames[] = {
6831 (char *) "self", NULL
6832 };
6833
6834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
6835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6836 if (SWIG_arg_fail(1)) SWIG_fail;
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6839 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6840
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 {
6845 resultobj = SWIG_From_int((int)(result));
6846 }
6847 return resultobj;
6848 fail:
6849 return NULL;
6850 }
6851
6852
6853 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6854 PyObject *resultobj;
6855 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6856 wxString *arg2 = 0 ;
6857 int arg3 = (int) 0 ;
6858 bool temp2 = false ;
6859 PyObject * obj0 = 0 ;
6860 PyObject * obj1 = 0 ;
6861 PyObject * obj2 = 0 ;
6862 char *kwnames[] = {
6863 (char *) "self",(char *) "text",(char *) "number", NULL
6864 };
6865
6866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6868 if (SWIG_arg_fail(1)) SWIG_fail;
6869 {
6870 arg2 = wxString_in_helper(obj1);
6871 if (arg2 == NULL) SWIG_fail;
6872 temp2 = true;
6873 }
6874 if (obj2) {
6875 {
6876 arg3 = (int)(SWIG_As_int(obj2));
6877 if (SWIG_arg_fail(3)) SWIG_fail;
6878 }
6879 }
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6883
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 Py_INCREF(Py_None); resultobj = Py_None;
6888 {
6889 if (temp2)
6890 delete arg2;
6891 }
6892 return resultobj;
6893 fail:
6894 {
6895 if (temp2)
6896 delete arg2;
6897 }
6898 return NULL;
6899 }
6900
6901
6902 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6903 PyObject *resultobj;
6904 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6905 int arg2 = (int) 0 ;
6906 wxString result;
6907 PyObject * obj0 = 0 ;
6908 PyObject * obj1 = 0 ;
6909 char *kwnames[] = {
6910 (char *) "self",(char *) "number", NULL
6911 };
6912
6913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
6914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6915 if (SWIG_arg_fail(1)) SWIG_fail;
6916 if (obj1) {
6917 {
6918 arg2 = (int)(SWIG_As_int(obj1));
6919 if (SWIG_arg_fail(2)) SWIG_fail;
6920 }
6921 }
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6925
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 {
6930 #if wxUSE_UNICODE
6931 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6932 #else
6933 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6934 #endif
6935 }
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6945 wxString *arg2 = 0 ;
6946 int arg3 = (int) 0 ;
6947 bool temp2 = false ;
6948 PyObject * obj0 = 0 ;
6949 PyObject * obj1 = 0 ;
6950 PyObject * obj2 = 0 ;
6951 char *kwnames[] = {
6952 (char *) "self",(char *) "text",(char *) "number", NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6957 if (SWIG_arg_fail(1)) SWIG_fail;
6958 {
6959 arg2 = wxString_in_helper(obj1);
6960 if (arg2 == NULL) SWIG_fail;
6961 temp2 = true;
6962 }
6963 if (obj2) {
6964 {
6965 arg3 = (int)(SWIG_As_int(obj2));
6966 if (SWIG_arg_fail(3)) SWIG_fail;
6967 }
6968 }
6969 {
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6972
6973 wxPyEndAllowThreads(__tstate);
6974 if (PyErr_Occurred()) SWIG_fail;
6975 }
6976 Py_INCREF(Py_None); resultobj = Py_None;
6977 {
6978 if (temp2)
6979 delete arg2;
6980 }
6981 return resultobj;
6982 fail:
6983 {
6984 if (temp2)
6985 delete arg2;
6986 }
6987 return NULL;
6988 }
6989
6990
6991 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6992 PyObject *resultobj;
6993 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6994 int arg2 = (int) 0 ;
6995 PyObject * obj0 = 0 ;
6996 PyObject * obj1 = 0 ;
6997 char *kwnames[] = {
6998 (char *) "self",(char *) "number", NULL
6999 };
7000
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7003 if (SWIG_arg_fail(1)) SWIG_fail;
7004 if (obj1) {
7005 {
7006 arg2 = (int)(SWIG_As_int(obj1));
7007 if (SWIG_arg_fail(2)) SWIG_fail;
7008 }
7009 }
7010 {
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 (arg1)->PopStatusText(arg2);
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 Py_INCREF(Py_None); resultobj = Py_None;
7018 return resultobj;
7019 fail:
7020 return NULL;
7021 }
7022
7023
7024 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7025 PyObject *resultobj;
7026 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7027 int arg2 ;
7028 int *arg3 = (int *) 0 ;
7029 PyObject * obj0 = 0 ;
7030 PyObject * obj1 = 0 ;
7031 char *kwnames[] = {
7032 (char *) "self",(char *) "widths", NULL
7033 };
7034
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7037 if (SWIG_arg_fail(1)) SWIG_fail;
7038 {
7039 arg2 = PyList_Size(obj1);
7040 arg3 = int_LIST_helper(obj1);
7041 if (arg3 == NULL) SWIG_fail;
7042 }
7043 {
7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
7045 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7046
7047 wxPyEndAllowThreads(__tstate);
7048 if (PyErr_Occurred()) SWIG_fail;
7049 }
7050 Py_INCREF(Py_None); resultobj = Py_None;
7051 {
7052 if (arg3) delete [] arg3;
7053 }
7054 return resultobj;
7055 fail:
7056 {
7057 if (arg3) delete [] arg3;
7058 }
7059 return NULL;
7060 }
7061
7062
7063 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj;
7065 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7066 int arg2 ;
7067 int *arg3 = (int *) 0 ;
7068 PyObject * obj0 = 0 ;
7069 PyObject * obj1 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self",(char *) "styles", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail;
7077 {
7078 arg2 = PyList_Size(obj1);
7079 arg3 = int_LIST_helper(obj1);
7080 if (arg3 == NULL) SWIG_fail;
7081 }
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 Py_INCREF(Py_None); resultobj = Py_None;
7090 {
7091 if (arg3) delete [] arg3;
7092 }
7093 return resultobj;
7094 fail:
7095 {
7096 if (arg3) delete [] arg3;
7097 }
7098 return NULL;
7099 }
7100
7101
7102 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7105 int arg2 ;
7106 wxRect result;
7107 PyObject * obj0 = 0 ;
7108 PyObject * obj1 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self",(char *) "i", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7115 if (SWIG_arg_fail(1)) SWIG_fail;
7116 {
7117 arg2 = (int)(SWIG_As_int(obj1));
7118 if (SWIG_arg_fail(2)) SWIG_fail;
7119 }
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 result = wxStatusBar_GetFieldRect(arg1,arg2);
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 {
7128 wxRect * resultptr;
7129 resultptr = new wxRect((wxRect &)(result));
7130 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7131 }
7132 return resultobj;
7133 fail:
7134 return NULL;
7135 }
7136
7137
7138 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7139 PyObject *resultobj;
7140 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7141 int arg2 ;
7142 PyObject * obj0 = 0 ;
7143 PyObject * obj1 = 0 ;
7144 char *kwnames[] = {
7145 (char *) "self",(char *) "height", NULL
7146 };
7147
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7150 if (SWIG_arg_fail(1)) SWIG_fail;
7151 {
7152 arg2 = (int)(SWIG_As_int(obj1));
7153 if (SWIG_arg_fail(2)) SWIG_fail;
7154 }
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->SetMinHeight(arg2);
7158
7159 wxPyEndAllowThreads(__tstate);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 }
7162 Py_INCREF(Py_None); resultobj = Py_None;
7163 return resultobj;
7164 fail:
7165 return NULL;
7166 }
7167
7168
7169 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7170 PyObject *resultobj;
7171 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7172 int result;
7173 PyObject * obj0 = 0 ;
7174 char *kwnames[] = {
7175 (char *) "self", NULL
7176 };
7177
7178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7180 if (SWIG_arg_fail(1)) SWIG_fail;
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 {
7189 resultobj = SWIG_From_int((int)(result));
7190 }
7191 return resultobj;
7192 fail:
7193 return NULL;
7194 }
7195
7196
7197 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7198 PyObject *resultobj;
7199 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7200 int result;
7201 PyObject * obj0 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7208 if (SWIG_arg_fail(1)) SWIG_fail;
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 {
7217 resultobj = SWIG_From_int((int)(result));
7218 }
7219 return resultobj;
7220 fail:
7221 return NULL;
7222 }
7223
7224
7225 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj;
7227 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7228 wxVisualAttributes result;
7229 PyObject * obj0 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "variant", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7235 if (obj0) {
7236 {
7237 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7238 if (SWIG_arg_fail(1)) SWIG_fail;
7239 }
7240 }
7241 {
7242 if (!wxPyCheckForApp()) SWIG_fail;
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 {
7250 wxVisualAttributes * resultptr;
7251 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7252 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7253 }
7254 return resultobj;
7255 fail:
7256 return NULL;
7257 }
7258
7259
7260 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7261 PyObject *obj;
7262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7263 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7264 Py_INCREF(obj);
7265 return Py_BuildValue((char *)"");
7266 }
7267 static int _wrap_SplitterNameStr_set(PyObject *) {
7268 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7269 return 1;
7270 }
7271
7272
7273 static PyObject *_wrap_SplitterNameStr_get(void) {
7274 PyObject *pyobj;
7275
7276 {
7277 #if wxUSE_UNICODE
7278 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7279 #else
7280 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7281 #endif
7282 }
7283 return pyobj;
7284 }
7285
7286
7287 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7288 PyObject *resultobj;
7289 wxWindow *arg1 = (wxWindow *) 0 ;
7290 int arg2 = (int) -1 ;
7291 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7292 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7293 wxSize const &arg4_defvalue = wxDefaultSize ;
7294 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7295 long arg5 = (long) wxSP_3D ;
7296 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7297 wxString *arg6 = (wxString *) &arg6_defvalue ;
7298 wxSplitterWindow *result;
7299 wxPoint temp3 ;
7300 wxSize temp4 ;
7301 bool temp6 = false ;
7302 PyObject * obj0 = 0 ;
7303 PyObject * obj1 = 0 ;
7304 PyObject * obj2 = 0 ;
7305 PyObject * obj3 = 0 ;
7306 PyObject * obj4 = 0 ;
7307 PyObject * obj5 = 0 ;
7308 char *kwnames[] = {
7309 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7310 };
7311
7312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail;
7315 if (obj1) {
7316 {
7317 arg2 = (int)(SWIG_As_int(obj1));
7318 if (SWIG_arg_fail(2)) SWIG_fail;
7319 }
7320 }
7321 if (obj2) {
7322 {
7323 arg3 = &temp3;
7324 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7325 }
7326 }
7327 if (obj3) {
7328 {
7329 arg4 = &temp4;
7330 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7331 }
7332 }
7333 if (obj4) {
7334 {
7335 arg5 = (long)(SWIG_As_long(obj4));
7336 if (SWIG_arg_fail(5)) SWIG_fail;
7337 }
7338 }
7339 if (obj5) {
7340 {
7341 arg6 = wxString_in_helper(obj5);
7342 if (arg6 == NULL) SWIG_fail;
7343 temp6 = true;
7344 }
7345 }
7346 {
7347 if (!wxPyCheckForApp()) SWIG_fail;
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7355 {
7356 if (temp6)
7357 delete arg6;
7358 }
7359 return resultobj;
7360 fail:
7361 {
7362 if (temp6)
7363 delete arg6;
7364 }
7365 return NULL;
7366 }
7367
7368
7369 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7370 PyObject *resultobj;
7371 wxSplitterWindow *result;
7372 char *kwnames[] = {
7373 NULL
7374 };
7375
7376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7377 {
7378 if (!wxPyCheckForApp()) SWIG_fail;
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 result = (wxSplitterWindow *)new wxSplitterWindow();
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7386 return resultobj;
7387 fail:
7388 return NULL;
7389 }
7390
7391
7392 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7393 PyObject *resultobj;
7394 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7395 wxWindow *arg2 = (wxWindow *) 0 ;
7396 int arg3 = (int) -1 ;
7397 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7398 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7399 wxSize const &arg5_defvalue = wxDefaultSize ;
7400 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7401 long arg6 = (long) wxSP_3D ;
7402 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7403 wxString *arg7 = (wxString *) &arg7_defvalue ;
7404 bool result;
7405 wxPoint temp4 ;
7406 wxSize temp5 ;
7407 bool temp7 = false ;
7408 PyObject * obj0 = 0 ;
7409 PyObject * obj1 = 0 ;
7410 PyObject * obj2 = 0 ;
7411 PyObject * obj3 = 0 ;
7412 PyObject * obj4 = 0 ;
7413 PyObject * obj5 = 0 ;
7414 PyObject * obj6 = 0 ;
7415 char *kwnames[] = {
7416 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7421 if (SWIG_arg_fail(1)) SWIG_fail;
7422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7423 if (SWIG_arg_fail(2)) SWIG_fail;
7424 if (obj2) {
7425 {
7426 arg3 = (int)(SWIG_As_int(obj2));
7427 if (SWIG_arg_fail(3)) SWIG_fail;
7428 }
7429 }
7430 if (obj3) {
7431 {
7432 arg4 = &temp4;
7433 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7434 }
7435 }
7436 if (obj4) {
7437 {
7438 arg5 = &temp5;
7439 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7440 }
7441 }
7442 if (obj5) {
7443 {
7444 arg6 = (long)(SWIG_As_long(obj5));
7445 if (SWIG_arg_fail(6)) SWIG_fail;
7446 }
7447 }
7448 if (obj6) {
7449 {
7450 arg7 = wxString_in_helper(obj6);
7451 if (arg7 == NULL) SWIG_fail;
7452 temp7 = true;
7453 }
7454 }
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 {
7463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7464 }
7465 {
7466 if (temp7)
7467 delete arg7;
7468 }
7469 return resultobj;
7470 fail:
7471 {
7472 if (temp7)
7473 delete arg7;
7474 }
7475 return NULL;
7476 }
7477
7478
7479 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7480 PyObject *resultobj;
7481 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7482 wxWindow *result;
7483 PyObject * obj0 = 0 ;
7484 char *kwnames[] = {
7485 (char *) "self", NULL
7486 };
7487
7488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7490 if (SWIG_arg_fail(1)) SWIG_fail;
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7494
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 {
7499 resultobj = wxPyMake_wxObject(result, 0);
7500 }
7501 return resultobj;
7502 fail:
7503 return NULL;
7504 }
7505
7506
7507 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7508 PyObject *resultobj;
7509 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7510 wxWindow *result;
7511 PyObject * obj0 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail;
7519 {
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7522
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 {
7527 resultobj = wxPyMake_wxObject(result, 0);
7528 }
7529 return resultobj;
7530 fail:
7531 return NULL;
7532 }
7533
7534
7535 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj;
7537 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7538 int arg2 ;
7539 PyObject * obj0 = 0 ;
7540 PyObject * obj1 = 0 ;
7541 char *kwnames[] = {
7542 (char *) "self",(char *) "mode", NULL
7543 };
7544
7545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7547 if (SWIG_arg_fail(1)) SWIG_fail;
7548 {
7549 arg2 = (int)(SWIG_As_int(obj1));
7550 if (SWIG_arg_fail(2)) SWIG_fail;
7551 }
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 (arg1)->SetSplitMode(arg2);
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 Py_INCREF(Py_None); resultobj = Py_None;
7560 return resultobj;
7561 fail:
7562 return NULL;
7563 }
7564
7565
7566 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7569 wxSplitMode result;
7570 PyObject * obj0 = 0 ;
7571 char *kwnames[] = {
7572 (char *) "self", NULL
7573 };
7574
7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7577 if (SWIG_arg_fail(1)) SWIG_fail;
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 resultobj = SWIG_From_int((result));
7586 return resultobj;
7587 fail:
7588 return NULL;
7589 }
7590
7591
7592 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj;
7594 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7595 wxWindow *arg2 = (wxWindow *) 0 ;
7596 PyObject * obj0 = 0 ;
7597 PyObject * obj1 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "self",(char *) "window", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail;
7605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7606 if (SWIG_arg_fail(2)) SWIG_fail;
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 (arg1)->Initialize(arg2);
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 Py_INCREF(Py_None); resultobj = Py_None;
7615 return resultobj;
7616 fail:
7617 return NULL;
7618 }
7619
7620
7621 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj;
7623 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7624 wxWindow *arg2 = (wxWindow *) 0 ;
7625 wxWindow *arg3 = (wxWindow *) 0 ;
7626 int arg4 = (int) 0 ;
7627 bool result;
7628 PyObject * obj0 = 0 ;
7629 PyObject * obj1 = 0 ;
7630 PyObject * obj2 = 0 ;
7631 PyObject * obj3 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail;
7639 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7640 if (SWIG_arg_fail(2)) SWIG_fail;
7641 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7642 if (SWIG_arg_fail(3)) SWIG_fail;
7643 if (obj3) {
7644 {
7645 arg4 = (int)(SWIG_As_int(obj3));
7646 if (SWIG_arg_fail(4)) SWIG_fail;
7647 }
7648 }
7649 {
7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
7651 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7652
7653 wxPyEndAllowThreads(__tstate);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 {
7657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7658 }
7659 return resultobj;
7660 fail:
7661 return NULL;
7662 }
7663
7664
7665 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj;
7667 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7668 wxWindow *arg2 = (wxWindow *) 0 ;
7669 wxWindow *arg3 = (wxWindow *) 0 ;
7670 int arg4 = (int) 0 ;
7671 bool result;
7672 PyObject * obj0 = 0 ;
7673 PyObject * obj1 = 0 ;
7674 PyObject * obj2 = 0 ;
7675 PyObject * obj3 = 0 ;
7676 char *kwnames[] = {
7677 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7678 };
7679
7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7682 if (SWIG_arg_fail(1)) SWIG_fail;
7683 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7684 if (SWIG_arg_fail(2)) SWIG_fail;
7685 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7686 if (SWIG_arg_fail(3)) SWIG_fail;
7687 if (obj3) {
7688 {
7689 arg4 = (int)(SWIG_As_int(obj3));
7690 if (SWIG_arg_fail(4)) SWIG_fail;
7691 }
7692 }
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 {
7701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7702 }
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7712 wxWindow *arg2 = (wxWindow *) NULL ;
7713 bool result;
7714 PyObject * obj0 = 0 ;
7715 PyObject * obj1 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self",(char *) "toRemove", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7722 if (SWIG_arg_fail(1)) SWIG_fail;
7723 if (obj1) {
7724 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7725 if (SWIG_arg_fail(2)) SWIG_fail;
7726 }
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (bool)(arg1)->Unsplit(arg2);
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7736 }
7737 return resultobj;
7738 fail:
7739 return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7746 wxWindow *arg2 = (wxWindow *) 0 ;
7747 wxWindow *arg3 = (wxWindow *) 0 ;
7748 bool result;
7749 PyObject * obj0 = 0 ;
7750 PyObject * obj1 = 0 ;
7751 PyObject * obj2 = 0 ;
7752 char *kwnames[] = {
7753 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7754 };
7755
7756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7758 if (SWIG_arg_fail(1)) SWIG_fail;
7759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7760 if (SWIG_arg_fail(2)) SWIG_fail;
7761 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7762 if (SWIG_arg_fail(3)) SWIG_fail;
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 {
7771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7772 }
7773 return resultobj;
7774 fail:
7775 return NULL;
7776 }
7777
7778
7779 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj;
7781 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7782 PyObject * obj0 = 0 ;
7783 char *kwnames[] = {
7784 (char *) "self", NULL
7785 };
7786
7787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
7788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7789 if (SWIG_arg_fail(1)) SWIG_fail;
7790 {
7791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7792 (arg1)->UpdateSize();
7793
7794 wxPyEndAllowThreads(__tstate);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 Py_INCREF(Py_None); resultobj = Py_None;
7798 return resultobj;
7799 fail:
7800 return NULL;
7801 }
7802
7803
7804 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj;
7806 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7807 bool result;
7808 PyObject * obj0 = 0 ;
7809 char *kwnames[] = {
7810 (char *) "self", NULL
7811 };
7812
7813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
7814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7815 if (SWIG_arg_fail(1)) SWIG_fail;
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7819
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 {
7824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7825 }
7826 return resultobj;
7827 fail:
7828 return NULL;
7829 }
7830
7831
7832 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7835 int arg2 ;
7836 PyObject * obj0 = 0 ;
7837 PyObject * obj1 = 0 ;
7838 char *kwnames[] = {
7839 (char *) "self",(char *) "width", NULL
7840 };
7841
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
7843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7844 if (SWIG_arg_fail(1)) SWIG_fail;
7845 {
7846 arg2 = (int)(SWIG_As_int(obj1));
7847 if (SWIG_arg_fail(2)) SWIG_fail;
7848 }
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 (arg1)->SetSashSize(arg2);
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 Py_INCREF(Py_None); resultobj = Py_None;
7857 return resultobj;
7858 fail:
7859 return NULL;
7860 }
7861
7862
7863 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj;
7865 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7866 int arg2 ;
7867 PyObject * obj0 = 0 ;
7868 PyObject * obj1 = 0 ;
7869 char *kwnames[] = {
7870 (char *) "self",(char *) "width", NULL
7871 };
7872
7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
7874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail;
7876 {
7877 arg2 = (int)(SWIG_As_int(obj1));
7878 if (SWIG_arg_fail(2)) SWIG_fail;
7879 }
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 (arg1)->SetBorderSize(arg2);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 Py_INCREF(Py_None); resultobj = Py_None;
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj;
7896 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7897 int result;
7898 PyObject * obj0 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
7904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail;
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 {
7914 resultobj = SWIG_From_int((int)(result));
7915 }
7916 return resultobj;
7917 fail:
7918 return NULL;
7919 }
7920
7921
7922 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7923 PyObject *resultobj;
7924 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7925 int result;
7926 PyObject * obj0 = 0 ;
7927 char *kwnames[] = {
7928 (char *) "self", NULL
7929 };
7930
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
7932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail;
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 {
7942 resultobj = SWIG_From_int((int)(result));
7943 }
7944 return resultobj;
7945 fail:
7946 return NULL;
7947 }
7948
7949
7950 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7951 PyObject *resultobj;
7952 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7953 int arg2 ;
7954 bool arg3 = (bool) true ;
7955 PyObject * obj0 = 0 ;
7956 PyObject * obj1 = 0 ;
7957 PyObject * obj2 = 0 ;
7958 char *kwnames[] = {
7959 (char *) "self",(char *) "position",(char *) "redraw", NULL
7960 };
7961
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7964 if (SWIG_arg_fail(1)) SWIG_fail;
7965 {
7966 arg2 = (int)(SWIG_As_int(obj1));
7967 if (SWIG_arg_fail(2)) SWIG_fail;
7968 }
7969 if (obj2) {
7970 {
7971 arg3 = (bool)(SWIG_As_bool(obj2));
7972 if (SWIG_arg_fail(3)) SWIG_fail;
7973 }
7974 }
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 (arg1)->SetSashPosition(arg2,arg3);
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 Py_INCREF(Py_None); resultobj = Py_None;
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj;
7991 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7992 int result;
7993 PyObject * obj0 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
7999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8000 if (SWIG_arg_fail(1)) SWIG_fail;
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8004
8005 wxPyEndAllowThreads(__tstate);
8006 if (PyErr_Occurred()) SWIG_fail;
8007 }
8008 {
8009 resultobj = SWIG_From_int((int)(result));
8010 }
8011 return resultobj;
8012 fail:
8013 return NULL;
8014 }
8015
8016
8017 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj;
8019 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8020 double arg2 ;
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
8023 char *kwnames[] = {
8024 (char *) "self",(char *) "gravity", NULL
8025 };
8026
8027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8029 if (SWIG_arg_fail(1)) SWIG_fail;
8030 {
8031 arg2 = (double)(SWIG_As_double(obj1));
8032 if (SWIG_arg_fail(2)) SWIG_fail;
8033 }
8034 {
8035 PyThreadState* __tstate = wxPyBeginAllowThreads();
8036 (arg1)->SetSashGravity(arg2);
8037
8038 wxPyEndAllowThreads(__tstate);
8039 if (PyErr_Occurred()) SWIG_fail;
8040 }
8041 Py_INCREF(Py_None); resultobj = Py_None;
8042 return resultobj;
8043 fail:
8044 return NULL;
8045 }
8046
8047
8048 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8049 PyObject *resultobj;
8050 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8051 double result;
8052 PyObject * obj0 = 0 ;
8053 char *kwnames[] = {
8054 (char *) "self", NULL
8055 };
8056
8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail;
8060 {
8061 PyThreadState* __tstate = wxPyBeginAllowThreads();
8062 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8063
8064 wxPyEndAllowThreads(__tstate);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
8067 {
8068 resultobj = SWIG_From_double((double)(result));
8069 }
8070 return resultobj;
8071 fail:
8072 return NULL;
8073 }
8074
8075
8076 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj;
8078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8079 int arg2 ;
8080 PyObject * obj0 = 0 ;
8081 PyObject * obj1 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self",(char *) "min", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8088 if (SWIG_arg_fail(1)) SWIG_fail;
8089 {
8090 arg2 = (int)(SWIG_As_int(obj1));
8091 if (SWIG_arg_fail(2)) SWIG_fail;
8092 }
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 (arg1)->SetMinimumPaneSize(arg2);
8096
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 Py_INCREF(Py_None); resultobj = Py_None;
8101 return resultobj;
8102 fail:
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8110 int result;
8111 PyObject * obj0 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8118 if (SWIG_arg_fail(1)) SWIG_fail;
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 {
8127 resultobj = SWIG_From_int((int)(result));
8128 }
8129 return resultobj;
8130 fail:
8131 return NULL;
8132 }
8133
8134
8135 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8138 int arg2 ;
8139 int arg3 ;
8140 int arg4 = (int) 5 ;
8141 bool result;
8142 PyObject * obj0 = 0 ;
8143 PyObject * obj1 = 0 ;
8144 PyObject * obj2 = 0 ;
8145 PyObject * obj3 = 0 ;
8146 char *kwnames[] = {
8147 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8152 if (SWIG_arg_fail(1)) SWIG_fail;
8153 {
8154 arg2 = (int)(SWIG_As_int(obj1));
8155 if (SWIG_arg_fail(2)) SWIG_fail;
8156 }
8157 {
8158 arg3 = (int)(SWIG_As_int(obj2));
8159 if (SWIG_arg_fail(3)) SWIG_fail;
8160 }
8161 if (obj3) {
8162 {
8163 arg4 = (int)(SWIG_As_int(obj3));
8164 if (SWIG_arg_fail(4)) SWIG_fail;
8165 }
8166 }
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8170
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
8174 {
8175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8176 }
8177 return resultobj;
8178 fail:
8179 return NULL;
8180 }
8181
8182
8183 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8184 PyObject *resultobj;
8185 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8186 PyObject * obj0 = 0 ;
8187 char *kwnames[] = {
8188 (char *) "self", NULL
8189 };
8190
8191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8193 if (SWIG_arg_fail(1)) SWIG_fail;
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 (arg1)->SizeWindows();
8197
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 Py_INCREF(Py_None); resultobj = Py_None;
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj;
8210 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8211 bool arg2 ;
8212 PyObject * obj0 = 0 ;
8213 PyObject * obj1 = 0 ;
8214 char *kwnames[] = {
8215 (char *) "self",(char *) "needUpdating", NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8220 if (SWIG_arg_fail(1)) SWIG_fail;
8221 {
8222 arg2 = (bool)(SWIG_As_bool(obj1));
8223 if (SWIG_arg_fail(2)) SWIG_fail;
8224 }
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 (arg1)->SetNeedUpdating(arg2);
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 Py_INCREF(Py_None); resultobj = Py_None;
8233 return resultobj;
8234 fail:
8235 return NULL;
8236 }
8237
8238
8239 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8240 PyObject *resultobj;
8241 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8242 bool result;
8243 PyObject * obj0 = 0 ;
8244 char *kwnames[] = {
8245 (char *) "self", NULL
8246 };
8247
8248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8250 if (SWIG_arg_fail(1)) SWIG_fail;
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 {
8259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8260 }
8261 return resultobj;
8262 fail:
8263 return NULL;
8264 }
8265
8266
8267 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8268 PyObject *resultobj;
8269 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8270 wxVisualAttributes result;
8271 PyObject * obj0 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "variant", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8277 if (obj0) {
8278 {
8279 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8280 if (SWIG_arg_fail(1)) SWIG_fail;
8281 }
8282 }
8283 {
8284 if (!wxPyCheckForApp()) SWIG_fail;
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8287
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 {
8292 wxVisualAttributes * resultptr;
8293 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8295 }
8296 return resultobj;
8297 fail:
8298 return NULL;
8299 }
8300
8301
8302 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8303 PyObject *obj;
8304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8305 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8306 Py_INCREF(obj);
8307 return Py_BuildValue((char *)"");
8308 }
8309 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8310 PyObject *resultobj;
8311 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8312 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8313 wxSplitterEvent *result;
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "type",(char *) "splitter", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8321 if (obj0) {
8322 {
8323 arg1 = (wxEventType)(SWIG_As_int(obj0));
8324 if (SWIG_arg_fail(1)) SWIG_fail;
8325 }
8326 }
8327 if (obj1) {
8328 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8329 if (SWIG_arg_fail(2)) SWIG_fail;
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8339 return resultobj;
8340 fail:
8341 return NULL;
8342 }
8343
8344
8345 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8346 PyObject *resultobj;
8347 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8348 int arg2 ;
8349 PyObject * obj0 = 0 ;
8350 PyObject * obj1 = 0 ;
8351 char *kwnames[] = {
8352 (char *) "self",(char *) "pos", NULL
8353 };
8354
8355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8357 if (SWIG_arg_fail(1)) SWIG_fail;
8358 {
8359 arg2 = (int)(SWIG_As_int(obj1));
8360 if (SWIG_arg_fail(2)) SWIG_fail;
8361 }
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 (arg1)->SetSashPosition(arg2);
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 Py_INCREF(Py_None); resultobj = Py_None;
8370 return resultobj;
8371 fail:
8372 return NULL;
8373 }
8374
8375
8376 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8377 PyObject *resultobj;
8378 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8379 int result;
8380 PyObject * obj0 = 0 ;
8381 char *kwnames[] = {
8382 (char *) "self", NULL
8383 };
8384
8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8387 if (SWIG_arg_fail(1)) SWIG_fail;
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 {
8396 resultobj = SWIG_From_int((int)(result));
8397 }
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8407 wxWindow *result;
8408 PyObject * obj0 = 0 ;
8409 char *kwnames[] = {
8410 (char *) "self", NULL
8411 };
8412
8413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail;
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 {
8424 resultobj = wxPyMake_wxObject(result, 0);
8425 }
8426 return resultobj;
8427 fail:
8428 return NULL;
8429 }
8430
8431
8432 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8433 PyObject *resultobj;
8434 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8435 int result;
8436 PyObject * obj0 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "self", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8443 if (SWIG_arg_fail(1)) SWIG_fail;
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 {
8452 resultobj = SWIG_From_int((int)(result));
8453 }
8454 return resultobj;
8455 fail:
8456 return NULL;
8457 }
8458
8459
8460 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8461 PyObject *resultobj;
8462 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8463 int result;
8464 PyObject * obj0 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8471 if (SWIG_arg_fail(1)) SWIG_fail;
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 {
8480 resultobj = SWIG_From_int((int)(result));
8481 }
8482 return resultobj;
8483 fail:
8484 return NULL;
8485 }
8486
8487
8488 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8489 PyObject *obj;
8490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8491 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8492 Py_INCREF(obj);
8493 return Py_BuildValue((char *)"");
8494 }
8495 static int _wrap_SashNameStr_set(PyObject *) {
8496 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8497 return 1;
8498 }
8499
8500
8501 static PyObject *_wrap_SashNameStr_get(void) {
8502 PyObject *pyobj;
8503
8504 {
8505 #if wxUSE_UNICODE
8506 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8507 #else
8508 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8509 #endif
8510 }
8511 return pyobj;
8512 }
8513
8514
8515 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8516 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8517 return 1;
8518 }
8519
8520
8521 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8522 PyObject *pyobj;
8523
8524 {
8525 #if wxUSE_UNICODE
8526 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8527 #else
8528 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8529 #endif
8530 }
8531 return pyobj;
8532 }
8533
8534
8535 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8536 PyObject *resultobj;
8537 wxWindow *arg1 = (wxWindow *) 0 ;
8538 int arg2 = (int) -1 ;
8539 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8540 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8541 wxSize const &arg4_defvalue = wxDefaultSize ;
8542 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8543 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8544 wxString const &arg6_defvalue = wxPySashNameStr ;
8545 wxString *arg6 = (wxString *) &arg6_defvalue ;
8546 wxSashWindow *result;
8547 wxPoint temp3 ;
8548 wxSize temp4 ;
8549 bool temp6 = false ;
8550 PyObject * obj0 = 0 ;
8551 PyObject * obj1 = 0 ;
8552 PyObject * obj2 = 0 ;
8553 PyObject * obj3 = 0 ;
8554 PyObject * obj4 = 0 ;
8555 PyObject * obj5 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8562 if (SWIG_arg_fail(1)) SWIG_fail;
8563 if (obj1) {
8564 {
8565 arg2 = (int)(SWIG_As_int(obj1));
8566 if (SWIG_arg_fail(2)) SWIG_fail;
8567 }
8568 }
8569 if (obj2) {
8570 {
8571 arg3 = &temp3;
8572 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8573 }
8574 }
8575 if (obj3) {
8576 {
8577 arg4 = &temp4;
8578 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8579 }
8580 }
8581 if (obj4) {
8582 {
8583 arg5 = (long)(SWIG_As_long(obj4));
8584 if (SWIG_arg_fail(5)) SWIG_fail;
8585 }
8586 }
8587 if (obj5) {
8588 {
8589 arg6 = wxString_in_helper(obj5);
8590 if (arg6 == NULL) SWIG_fail;
8591 temp6 = true;
8592 }
8593 }
8594 {
8595 if (!wxPyCheckForApp()) SWIG_fail;
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8603 {
8604 if (temp6)
8605 delete arg6;
8606 }
8607 return resultobj;
8608 fail:
8609 {
8610 if (temp6)
8611 delete arg6;
8612 }
8613 return NULL;
8614 }
8615
8616
8617 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8618 PyObject *resultobj;
8619 wxSashWindow *result;
8620 char *kwnames[] = {
8621 NULL
8622 };
8623
8624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8625 {
8626 if (!wxPyCheckForApp()) SWIG_fail;
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 result = (wxSashWindow *)new wxSashWindow();
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8634 return resultobj;
8635 fail:
8636 return NULL;
8637 }
8638
8639
8640 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8643 wxWindow *arg2 = (wxWindow *) 0 ;
8644 int arg3 = (int) -1 ;
8645 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8646 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8647 wxSize const &arg5_defvalue = wxDefaultSize ;
8648 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8649 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8650 wxString const &arg7_defvalue = wxPySashNameStr ;
8651 wxString *arg7 = (wxString *) &arg7_defvalue ;
8652 bool result;
8653 wxPoint temp4 ;
8654 wxSize temp5 ;
8655 bool temp7 = false ;
8656 PyObject * obj0 = 0 ;
8657 PyObject * obj1 = 0 ;
8658 PyObject * obj2 = 0 ;
8659 PyObject * obj3 = 0 ;
8660 PyObject * obj4 = 0 ;
8661 PyObject * obj5 = 0 ;
8662 PyObject * obj6 = 0 ;
8663 char *kwnames[] = {
8664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8665 };
8666
8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8669 if (SWIG_arg_fail(1)) SWIG_fail;
8670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8671 if (SWIG_arg_fail(2)) SWIG_fail;
8672 if (obj2) {
8673 {
8674 arg3 = (int)(SWIG_As_int(obj2));
8675 if (SWIG_arg_fail(3)) SWIG_fail;
8676 }
8677 }
8678 if (obj3) {
8679 {
8680 arg4 = &temp4;
8681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8682 }
8683 }
8684 if (obj4) {
8685 {
8686 arg5 = &temp5;
8687 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8688 }
8689 }
8690 if (obj5) {
8691 {
8692 arg6 = (long)(SWIG_As_long(obj5));
8693 if (SWIG_arg_fail(6)) SWIG_fail;
8694 }
8695 }
8696 if (obj6) {
8697 {
8698 arg7 = wxString_in_helper(obj6);
8699 if (arg7 == NULL) SWIG_fail;
8700 temp7 = true;
8701 }
8702 }
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
8705 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8706
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 {
8711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8712 }
8713 {
8714 if (temp7)
8715 delete arg7;
8716 }
8717 return resultobj;
8718 fail:
8719 {
8720 if (temp7)
8721 delete arg7;
8722 }
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8730 wxSashEdgePosition arg2 ;
8731 bool arg3 ;
8732 PyObject * obj0 = 0 ;
8733 PyObject * obj1 = 0 ;
8734 PyObject * obj2 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self",(char *) "edge",(char *) "sash", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail;
8742 {
8743 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8744 if (SWIG_arg_fail(2)) SWIG_fail;
8745 }
8746 {
8747 arg3 = (bool)(SWIG_As_bool(obj2));
8748 if (SWIG_arg_fail(3)) SWIG_fail;
8749 }
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 Py_INCREF(Py_None); resultobj = Py_None;
8758 return resultobj;
8759 fail:
8760 return NULL;
8761 }
8762
8763
8764 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj;
8766 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8767 wxSashEdgePosition arg2 ;
8768 bool result;
8769 PyObject * obj0 = 0 ;
8770 PyObject * obj1 = 0 ;
8771 char *kwnames[] = {
8772 (char *) "self",(char *) "edge", NULL
8773 };
8774
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8777 if (SWIG_arg_fail(1)) SWIG_fail;
8778 {
8779 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8780 if (SWIG_arg_fail(2)) SWIG_fail;
8781 }
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 {
8790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8791 }
8792 return resultobj;
8793 fail:
8794 return NULL;
8795 }
8796
8797
8798 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj;
8800 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8801 wxSashEdgePosition arg2 ;
8802 bool arg3 ;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 PyObject * obj2 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self",(char *) "edge",(char *) "border", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
8811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail;
8813 {
8814 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8815 if (SWIG_arg_fail(2)) SWIG_fail;
8816 }
8817 {
8818 arg3 = (bool)(SWIG_As_bool(obj2));
8819 if (SWIG_arg_fail(3)) SWIG_fail;
8820 }
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 Py_INCREF(Py_None); resultobj = Py_None;
8829 return resultobj;
8830 fail:
8831 return NULL;
8832 }
8833
8834
8835 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8838 wxSashEdgePosition arg2 ;
8839 bool result;
8840 PyObject * obj0 = 0 ;
8841 PyObject * obj1 = 0 ;
8842 char *kwnames[] = {
8843 (char *) "self",(char *) "edge", NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
8847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8848 if (SWIG_arg_fail(1)) SWIG_fail;
8849 {
8850 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8851 if (SWIG_arg_fail(2)) SWIG_fail;
8852 }
8853 {
8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
8855 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8856
8857 wxPyEndAllowThreads(__tstate);
8858 if (PyErr_Occurred()) SWIG_fail;
8859 }
8860 {
8861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8862 }
8863 return resultobj;
8864 fail:
8865 return NULL;
8866 }
8867
8868
8869 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj;
8871 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8872 wxSashEdgePosition arg2 ;
8873 int result;
8874 PyObject * obj0 = 0 ;
8875 PyObject * obj1 = 0 ;
8876 char *kwnames[] = {
8877 (char *) "self",(char *) "edge", NULL
8878 };
8879
8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
8881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8882 if (SWIG_arg_fail(1)) SWIG_fail;
8883 {
8884 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8885 if (SWIG_arg_fail(2)) SWIG_fail;
8886 }
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8890
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
8894 {
8895 resultobj = SWIG_From_int((int)(result));
8896 }
8897 return resultobj;
8898 fail:
8899 return NULL;
8900 }
8901
8902
8903 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj;
8905 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8906 int arg2 ;
8907 PyObject * obj0 = 0 ;
8908 PyObject * obj1 = 0 ;
8909 char *kwnames[] = {
8910 (char *) "self",(char *) "width", NULL
8911 };
8912
8913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
8914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8915 if (SWIG_arg_fail(1)) SWIG_fail;
8916 {
8917 arg2 = (int)(SWIG_As_int(obj1));
8918 if (SWIG_arg_fail(2)) SWIG_fail;
8919 }
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 (arg1)->SetDefaultBorderSize(arg2);
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 Py_INCREF(Py_None); resultobj = Py_None;
8928 return resultobj;
8929 fail:
8930 return NULL;
8931 }
8932
8933
8934 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8935 PyObject *resultobj;
8936 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8937 int result;
8938 PyObject * obj0 = 0 ;
8939 char *kwnames[] = {
8940 (char *) "self", NULL
8941 };
8942
8943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
8944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8945 if (SWIG_arg_fail(1)) SWIG_fail;
8946 {
8947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8948 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8949
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 {
8954 resultobj = SWIG_From_int((int)(result));
8955 }
8956 return resultobj;
8957 fail:
8958 return NULL;
8959 }
8960
8961
8962 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8963 PyObject *resultobj;
8964 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8965 int arg2 ;
8966 PyObject * obj0 = 0 ;
8967 PyObject * obj1 = 0 ;
8968 char *kwnames[] = {
8969 (char *) "self",(char *) "width", NULL
8970 };
8971
8972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
8973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8974 if (SWIG_arg_fail(1)) SWIG_fail;
8975 {
8976 arg2 = (int)(SWIG_As_int(obj1));
8977 if (SWIG_arg_fail(2)) SWIG_fail;
8978 }
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 (arg1)->SetExtraBorderSize(arg2);
8982
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 Py_INCREF(Py_None); resultobj = Py_None;
8987 return resultobj;
8988 fail:
8989 return NULL;
8990 }
8991
8992
8993 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8996 int result;
8997 PyObject * obj0 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9004 if (SWIG_arg_fail(1)) SWIG_fail;
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 {
9013 resultobj = SWIG_From_int((int)(result));
9014 }
9015 return resultobj;
9016 fail:
9017 return NULL;
9018 }
9019
9020
9021 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9022 PyObject *resultobj;
9023 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9024 int arg2 ;
9025 PyObject * obj0 = 0 ;
9026 PyObject * obj1 = 0 ;
9027 char *kwnames[] = {
9028 (char *) "self",(char *) "min", NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9033 if (SWIG_arg_fail(1)) SWIG_fail;
9034 {
9035 arg2 = (int)(SWIG_As_int(obj1));
9036 if (SWIG_arg_fail(2)) SWIG_fail;
9037 }
9038 {
9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
9040 (arg1)->SetMinimumSizeX(arg2);
9041
9042 wxPyEndAllowThreads(__tstate);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 }
9045 Py_INCREF(Py_None); resultobj = Py_None;
9046 return resultobj;
9047 fail:
9048 return NULL;
9049 }
9050
9051
9052 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj;
9054 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9055 int arg2 ;
9056 PyObject * obj0 = 0 ;
9057 PyObject * obj1 = 0 ;
9058 char *kwnames[] = {
9059 (char *) "self",(char *) "min", NULL
9060 };
9061
9062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9064 if (SWIG_arg_fail(1)) SWIG_fail;
9065 {
9066 arg2 = (int)(SWIG_As_int(obj1));
9067 if (SWIG_arg_fail(2)) SWIG_fail;
9068 }
9069 {
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
9071 (arg1)->SetMinimumSizeY(arg2);
9072
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 Py_INCREF(Py_None); resultobj = Py_None;
9077 return resultobj;
9078 fail:
9079 return NULL;
9080 }
9081
9082
9083 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9084 PyObject *resultobj;
9085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9086 int result;
9087 PyObject * obj0 = 0 ;
9088 char *kwnames[] = {
9089 (char *) "self", NULL
9090 };
9091
9092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9094 if (SWIG_arg_fail(1)) SWIG_fail;
9095 {
9096 PyThreadState* __tstate = wxPyBeginAllowThreads();
9097 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9098
9099 wxPyEndAllowThreads(__tstate);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
9102 {
9103 resultobj = SWIG_From_int((int)(result));
9104 }
9105 return resultobj;
9106 fail:
9107 return NULL;
9108 }
9109
9110
9111 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj;
9113 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9114 int result;
9115 PyObject * obj0 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9122 if (SWIG_arg_fail(1)) SWIG_fail;
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
9130 {
9131 resultobj = SWIG_From_int((int)(result));
9132 }
9133 return resultobj;
9134 fail:
9135 return NULL;
9136 }
9137
9138
9139 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9140 PyObject *resultobj;
9141 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9142 int arg2 ;
9143 PyObject * obj0 = 0 ;
9144 PyObject * obj1 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self",(char *) "max", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail;
9152 {
9153 arg2 = (int)(SWIG_As_int(obj1));
9154 if (SWIG_arg_fail(2)) SWIG_fail;
9155 }
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 (arg1)->SetMaximumSizeX(arg2);
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 Py_INCREF(Py_None); resultobj = Py_None;
9164 return resultobj;
9165 fail:
9166 return NULL;
9167 }
9168
9169
9170 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9173 int arg2 ;
9174 PyObject * obj0 = 0 ;
9175 PyObject * obj1 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self",(char *) "max", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail;
9183 {
9184 arg2 = (int)(SWIG_As_int(obj1));
9185 if (SWIG_arg_fail(2)) SWIG_fail;
9186 }
9187 {
9188 PyThreadState* __tstate = wxPyBeginAllowThreads();
9189 (arg1)->SetMaximumSizeY(arg2);
9190
9191 wxPyEndAllowThreads(__tstate);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 }
9194 Py_INCREF(Py_None); resultobj = Py_None;
9195 return resultobj;
9196 fail:
9197 return NULL;
9198 }
9199
9200
9201 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9202 PyObject *resultobj;
9203 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9204 int result;
9205 PyObject * obj0 = 0 ;
9206 char *kwnames[] = {
9207 (char *) "self", NULL
9208 };
9209
9210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9212 if (SWIG_arg_fail(1)) SWIG_fail;
9213 {
9214 PyThreadState* __tstate = wxPyBeginAllowThreads();
9215 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9216
9217 wxPyEndAllowThreads(__tstate);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 }
9220 {
9221 resultobj = SWIG_From_int((int)(result));
9222 }
9223 return resultobj;
9224 fail:
9225 return NULL;
9226 }
9227
9228
9229 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj;
9231 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9232 int result;
9233 PyObject * obj0 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail;
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 {
9249 resultobj = SWIG_From_int((int)(result));
9250 }
9251 return resultobj;
9252 fail:
9253 return NULL;
9254 }
9255
9256
9257 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9258 PyObject *resultobj;
9259 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9260 int arg2 ;
9261 int arg3 ;
9262 int arg4 = (int) 2 ;
9263 wxSashEdgePosition result;
9264 PyObject * obj0 = 0 ;
9265 PyObject * obj1 = 0 ;
9266 PyObject * obj2 = 0 ;
9267 PyObject * obj3 = 0 ;
9268 char *kwnames[] = {
9269 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9270 };
9271
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9274 if (SWIG_arg_fail(1)) SWIG_fail;
9275 {
9276 arg2 = (int)(SWIG_As_int(obj1));
9277 if (SWIG_arg_fail(2)) SWIG_fail;
9278 }
9279 {
9280 arg3 = (int)(SWIG_As_int(obj2));
9281 if (SWIG_arg_fail(3)) SWIG_fail;
9282 }
9283 if (obj3) {
9284 {
9285 arg4 = (int)(SWIG_As_int(obj3));
9286 if (SWIG_arg_fail(4)) SWIG_fail;
9287 }
9288 }
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 resultobj = SWIG_From_int((result));
9297 return resultobj;
9298 fail:
9299 return NULL;
9300 }
9301
9302
9303 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9306 PyObject * obj0 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "self", NULL
9309 };
9310
9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9313 if (SWIG_arg_fail(1)) SWIG_fail;
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 (arg1)->SizeWindows();
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 Py_INCREF(Py_None); resultobj = Py_None;
9322 return resultobj;
9323 fail:
9324 return NULL;
9325 }
9326
9327
9328 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9329 PyObject *obj;
9330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9331 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9332 Py_INCREF(obj);
9333 return Py_BuildValue((char *)"");
9334 }
9335 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 int arg1 = (int) 0 ;
9338 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9339 wxSashEvent *result;
9340 PyObject * obj0 = 0 ;
9341 PyObject * obj1 = 0 ;
9342 char *kwnames[] = {
9343 (char *) "id",(char *) "edge", NULL
9344 };
9345
9346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9347 if (obj0) {
9348 {
9349 arg1 = (int)(SWIG_As_int(obj0));
9350 if (SWIG_arg_fail(1)) SWIG_fail;
9351 }
9352 }
9353 if (obj1) {
9354 {
9355 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9356 if (SWIG_arg_fail(2)) SWIG_fail;
9357 }
9358 }
9359 {
9360 PyThreadState* __tstate = wxPyBeginAllowThreads();
9361 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9362
9363 wxPyEndAllowThreads(__tstate);
9364 if (PyErr_Occurred()) SWIG_fail;
9365 }
9366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9367 return resultobj;
9368 fail:
9369 return NULL;
9370 }
9371
9372
9373 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9374 PyObject *resultobj;
9375 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9376 wxSashEdgePosition arg2 ;
9377 PyObject * obj0 = 0 ;
9378 PyObject * obj1 = 0 ;
9379 char *kwnames[] = {
9380 (char *) "self",(char *) "edge", NULL
9381 };
9382
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9385 if (SWIG_arg_fail(1)) SWIG_fail;
9386 {
9387 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9388 if (SWIG_arg_fail(2)) SWIG_fail;
9389 }
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 Py_INCREF(Py_None); resultobj = Py_None;
9398 return resultobj;
9399 fail:
9400 return NULL;
9401 }
9402
9403
9404 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9405 PyObject *resultobj;
9406 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9407 wxSashEdgePosition result;
9408 PyObject * obj0 = 0 ;
9409 char *kwnames[] = {
9410 (char *) "self", NULL
9411 };
9412
9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9415 if (SWIG_arg_fail(1)) SWIG_fail;
9416 {
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9419
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 resultobj = SWIG_From_int((result));
9424 return resultobj;
9425 fail:
9426 return NULL;
9427 }
9428
9429
9430 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9431 PyObject *resultobj;
9432 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9433 wxRect *arg2 = 0 ;
9434 wxRect temp2 ;
9435 PyObject * obj0 = 0 ;
9436 PyObject * obj1 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self",(char *) "rect", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9443 if (SWIG_arg_fail(1)) SWIG_fail;
9444 {
9445 arg2 = &temp2;
9446 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9447 }
9448 {
9449 PyThreadState* __tstate = wxPyBeginAllowThreads();
9450 (arg1)->SetDragRect((wxRect const &)*arg2);
9451
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 Py_INCREF(Py_None); resultobj = Py_None;
9456 return resultobj;
9457 fail:
9458 return NULL;
9459 }
9460
9461
9462 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9463 PyObject *resultobj;
9464 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9465 wxRect result;
9466 PyObject * obj0 = 0 ;
9467 char *kwnames[] = {
9468 (char *) "self", NULL
9469 };
9470
9471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9473 if (SWIG_arg_fail(1)) SWIG_fail;
9474 {
9475 PyThreadState* __tstate = wxPyBeginAllowThreads();
9476 result = ((wxSashEvent const *)arg1)->GetDragRect();
9477
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 {
9482 wxRect * resultptr;
9483 resultptr = new wxRect((wxRect &)(result));
9484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9485 }
9486 return resultobj;
9487 fail:
9488 return NULL;
9489 }
9490
9491
9492 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9493 PyObject *resultobj;
9494 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9495 wxSashDragStatus arg2 ;
9496 PyObject * obj0 = 0 ;
9497 PyObject * obj1 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self",(char *) "status", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9504 if (SWIG_arg_fail(1)) SWIG_fail;
9505 {
9506 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9507 if (SWIG_arg_fail(2)) SWIG_fail;
9508 }
9509 {
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9512
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 Py_INCREF(Py_None); resultobj = Py_None;
9517 return resultobj;
9518 fail:
9519 return NULL;
9520 }
9521
9522
9523 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9524 PyObject *resultobj;
9525 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9526 wxSashDragStatus result;
9527 PyObject * obj0 = 0 ;
9528 char *kwnames[] = {
9529 (char *) "self", NULL
9530 };
9531
9532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9534 if (SWIG_arg_fail(1)) SWIG_fail;
9535 {
9536 PyThreadState* __tstate = wxPyBeginAllowThreads();
9537 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9538
9539 wxPyEndAllowThreads(__tstate);
9540 if (PyErr_Occurred()) SWIG_fail;
9541 }
9542 resultobj = SWIG_From_int((result));
9543 return resultobj;
9544 fail:
9545 return NULL;
9546 }
9547
9548
9549 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9550 PyObject *obj;
9551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9552 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9553 Py_INCREF(obj);
9554 return Py_BuildValue((char *)"");
9555 }
9556 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj;
9558 int arg1 = (int) 0 ;
9559 wxQueryLayoutInfoEvent *result;
9560 PyObject * obj0 = 0 ;
9561 char *kwnames[] = {
9562 (char *) "id", NULL
9563 };
9564
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9566 if (obj0) {
9567 {
9568 arg1 = (int)(SWIG_As_int(obj0));
9569 if (SWIG_arg_fail(1)) SWIG_fail;
9570 }
9571 }
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj;
9588 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9589 int arg2 ;
9590 PyObject * obj0 = 0 ;
9591 PyObject * obj1 = 0 ;
9592 char *kwnames[] = {
9593 (char *) "self",(char *) "length", NULL
9594 };
9595
9596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9598 if (SWIG_arg_fail(1)) SWIG_fail;
9599 {
9600 arg2 = (int)(SWIG_As_int(obj1));
9601 if (SWIG_arg_fail(2)) SWIG_fail;
9602 }
9603 {
9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
9605 (arg1)->SetRequestedLength(arg2);
9606
9607 wxPyEndAllowThreads(__tstate);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 }
9610 Py_INCREF(Py_None); resultobj = Py_None;
9611 return resultobj;
9612 fail:
9613 return NULL;
9614 }
9615
9616
9617 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9618 PyObject *resultobj;
9619 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9620 int result;
9621 PyObject * obj0 = 0 ;
9622 char *kwnames[] = {
9623 (char *) "self", NULL
9624 };
9625
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9628 if (SWIG_arg_fail(1)) SWIG_fail;
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9632
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 {
9637 resultobj = SWIG_From_int((int)(result));
9638 }
9639 return resultobj;
9640 fail:
9641 return NULL;
9642 }
9643
9644
9645 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9646 PyObject *resultobj;
9647 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9648 int arg2 ;
9649 PyObject * obj0 = 0 ;
9650 PyObject * obj1 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self",(char *) "flags", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9657 if (SWIG_arg_fail(1)) SWIG_fail;
9658 {
9659 arg2 = (int)(SWIG_As_int(obj1));
9660 if (SWIG_arg_fail(2)) SWIG_fail;
9661 }
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 (arg1)->SetFlags(arg2);
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 Py_INCREF(Py_None); resultobj = Py_None;
9670 return resultobj;
9671 fail:
9672 return NULL;
9673 }
9674
9675
9676 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9677 PyObject *resultobj;
9678 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9679 int result;
9680 PyObject * obj0 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "self", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail;
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9691
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
9695 {
9696 resultobj = SWIG_From_int((int)(result));
9697 }
9698 return resultobj;
9699 fail:
9700 return NULL;
9701 }
9702
9703
9704 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9705 PyObject *resultobj;
9706 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9707 wxSize *arg2 = 0 ;
9708 wxSize temp2 ;
9709 PyObject * obj0 = 0 ;
9710 PyObject * obj1 = 0 ;
9711 char *kwnames[] = {
9712 (char *) "self",(char *) "size", NULL
9713 };
9714
9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9717 if (SWIG_arg_fail(1)) SWIG_fail;
9718 {
9719 arg2 = &temp2;
9720 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9721 }
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 (arg1)->SetSize((wxSize const &)*arg2);
9725
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 Py_INCREF(Py_None); resultobj = Py_None;
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9739 wxSize result;
9740 PyObject * obj0 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail;
9748 {
9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
9750 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9751
9752 wxPyEndAllowThreads(__tstate);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 {
9756 wxSize * resultptr;
9757 resultptr = new wxSize((wxSize &)(result));
9758 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9759 }
9760 return resultobj;
9761 fail:
9762 return NULL;
9763 }
9764
9765
9766 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj;
9768 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9769 wxLayoutOrientation arg2 ;
9770 PyObject * obj0 = 0 ;
9771 PyObject * obj1 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self",(char *) "orient", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9778 if (SWIG_arg_fail(1)) SWIG_fail;
9779 {
9780 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9781 if (SWIG_arg_fail(2)) SWIG_fail;
9782 }
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9786
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 Py_INCREF(Py_None); resultobj = Py_None;
9791 return resultobj;
9792 fail:
9793 return NULL;
9794 }
9795
9796
9797 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9800 wxLayoutOrientation result;
9801 PyObject * obj0 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "self", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
9807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail;
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 resultobj = SWIG_From_int((result));
9817 return resultobj;
9818 fail:
9819 return NULL;
9820 }
9821
9822
9823 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9824 PyObject *resultobj;
9825 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9826 wxLayoutAlignment arg2 ;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 char *kwnames[] = {
9830 (char *) "self",(char *) "align", NULL
9831 };
9832
9833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9835 if (SWIG_arg_fail(1)) SWIG_fail;
9836 {
9837 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9838 if (SWIG_arg_fail(2)) SWIG_fail;
9839 }
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9843
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 Py_INCREF(Py_None); resultobj = Py_None;
9848 return resultobj;
9849 fail:
9850 return NULL;
9851 }
9852
9853
9854 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj;
9856 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9857 wxLayoutAlignment result;
9858 PyObject * obj0 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
9864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail;
9866 {
9867 PyThreadState* __tstate = wxPyBeginAllowThreads();
9868 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
9869
9870 wxPyEndAllowThreads(__tstate);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 }
9873 resultobj = SWIG_From_int((result));
9874 return resultobj;
9875 fail:
9876 return NULL;
9877 }
9878
9879
9880 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
9881 PyObject *obj;
9882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9883 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9884 Py_INCREF(obj);
9885 return Py_BuildValue((char *)"");
9886 }
9887 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9888 PyObject *resultobj;
9889 int arg1 = (int) 0 ;
9890 wxCalculateLayoutEvent *result;
9891 PyObject * obj0 = 0 ;
9892 char *kwnames[] = {
9893 (char *) "id", NULL
9894 };
9895
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9897 if (obj0) {
9898 {
9899 arg1 = (int)(SWIG_As_int(obj0));
9900 if (SWIG_arg_fail(1)) SWIG_fail;
9901 }
9902 }
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
9910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9920 int arg2 ;
9921 PyObject * obj0 = 0 ;
9922 PyObject * obj1 = 0 ;
9923 char *kwnames[] = {
9924 (char *) "self",(char *) "flags", NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail;
9930 {
9931 arg2 = (int)(SWIG_As_int(obj1));
9932 if (SWIG_arg_fail(2)) SWIG_fail;
9933 }
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 (arg1)->SetFlags(arg2);
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 Py_INCREF(Py_None); resultobj = Py_None;
9942 return resultobj;
9943 fail:
9944 return NULL;
9945 }
9946
9947
9948 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9951 int result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
9958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9959 if (SWIG_arg_fail(1)) SWIG_fail;
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 {
9968 resultobj = SWIG_From_int((int)(result));
9969 }
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj;
9978 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9979 wxRect *arg2 = 0 ;
9980 wxRect temp2 ;
9981 PyObject * obj0 = 0 ;
9982 PyObject * obj1 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self",(char *) "rect", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
9988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail;
9990 {
9991 arg2 = &temp2;
9992 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9993 }
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 (arg1)->SetRect((wxRect const &)*arg2);
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 Py_INCREF(Py_None); resultobj = Py_None;
10002 return resultobj;
10003 fail:
10004 return NULL;
10005 }
10006
10007
10008 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj;
10010 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10011 wxRect result;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail;
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 {
10028 wxRect * resultptr;
10029 resultptr = new wxRect((wxRect &)(result));
10030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035 }
10036
10037
10038 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10039 PyObject *obj;
10040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10041 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10042 Py_INCREF(obj);
10043 return Py_BuildValue((char *)"");
10044 }
10045 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10046 PyObject *resultobj;
10047 wxWindow *arg1 = (wxWindow *) 0 ;
10048 int arg2 = (int) -1 ;
10049 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10050 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10051 wxSize const &arg4_defvalue = wxDefaultSize ;
10052 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10053 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10054 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10055 wxString *arg6 = (wxString *) &arg6_defvalue ;
10056 wxSashLayoutWindow *result;
10057 wxPoint temp3 ;
10058 wxSize temp4 ;
10059 bool temp6 = false ;
10060 PyObject * obj0 = 0 ;
10061 PyObject * obj1 = 0 ;
10062 PyObject * obj2 = 0 ;
10063 PyObject * obj3 = 0 ;
10064 PyObject * obj4 = 0 ;
10065 PyObject * obj5 = 0 ;
10066 char *kwnames[] = {
10067 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10068 };
10069
10070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10072 if (SWIG_arg_fail(1)) SWIG_fail;
10073 if (obj1) {
10074 {
10075 arg2 = (int)(SWIG_As_int(obj1));
10076 if (SWIG_arg_fail(2)) SWIG_fail;
10077 }
10078 }
10079 if (obj2) {
10080 {
10081 arg3 = &temp3;
10082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10083 }
10084 }
10085 if (obj3) {
10086 {
10087 arg4 = &temp4;
10088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10089 }
10090 }
10091 if (obj4) {
10092 {
10093 arg5 = (long)(SWIG_As_long(obj4));
10094 if (SWIG_arg_fail(5)) SWIG_fail;
10095 }
10096 }
10097 if (obj5) {
10098 {
10099 arg6 = wxString_in_helper(obj5);
10100 if (arg6 == NULL) SWIG_fail;
10101 temp6 = true;
10102 }
10103 }
10104 {
10105 if (!wxPyCheckForApp()) SWIG_fail;
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10113 {
10114 if (temp6)
10115 delete arg6;
10116 }
10117 return resultobj;
10118 fail:
10119 {
10120 if (temp6)
10121 delete arg6;
10122 }
10123 return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxSashLayoutWindow *result;
10130 char *kwnames[] = {
10131 NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10135 {
10136 if (!wxPyCheckForApp()) SWIG_fail;
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10153 wxWindow *arg2 = (wxWindow *) 0 ;
10154 int arg3 = (int) -1 ;
10155 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10156 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10157 wxSize const &arg5_defvalue = wxDefaultSize ;
10158 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10159 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10160 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10161 wxString *arg7 = (wxString *) &arg7_defvalue ;
10162 bool result;
10163 wxPoint temp4 ;
10164 wxSize temp5 ;
10165 bool temp7 = false ;
10166 PyObject * obj0 = 0 ;
10167 PyObject * obj1 = 0 ;
10168 PyObject * obj2 = 0 ;
10169 PyObject * obj3 = 0 ;
10170 PyObject * obj4 = 0 ;
10171 PyObject * obj5 = 0 ;
10172 PyObject * obj6 = 0 ;
10173 char *kwnames[] = {
10174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10175 };
10176
10177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10179 if (SWIG_arg_fail(1)) SWIG_fail;
10180 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10181 if (SWIG_arg_fail(2)) SWIG_fail;
10182 if (obj2) {
10183 {
10184 arg3 = (int)(SWIG_As_int(obj2));
10185 if (SWIG_arg_fail(3)) SWIG_fail;
10186 }
10187 }
10188 if (obj3) {
10189 {
10190 arg4 = &temp4;
10191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10192 }
10193 }
10194 if (obj4) {
10195 {
10196 arg5 = &temp5;
10197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10198 }
10199 }
10200 if (obj5) {
10201 {
10202 arg6 = (long)(SWIG_As_long(obj5));
10203 if (SWIG_arg_fail(6)) SWIG_fail;
10204 }
10205 }
10206 if (obj6) {
10207 {
10208 arg7 = wxString_in_helper(obj6);
10209 if (arg7 == NULL) SWIG_fail;
10210 temp7 = true;
10211 }
10212 }
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 {
10221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10222 }
10223 {
10224 if (temp7)
10225 delete arg7;
10226 }
10227 return resultobj;
10228 fail:
10229 {
10230 if (temp7)
10231 delete arg7;
10232 }
10233 return NULL;
10234 }
10235
10236
10237 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10238 PyObject *resultobj;
10239 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10240 wxLayoutAlignment result;
10241 PyObject * obj0 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "self", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10248 if (SWIG_arg_fail(1)) SWIG_fail;
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10252
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 resultobj = SWIG_From_int((result));
10257 return resultobj;
10258 fail:
10259 return NULL;
10260 }
10261
10262
10263 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10264 PyObject *resultobj;
10265 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10266 wxLayoutOrientation result;
10267 PyObject * obj0 = 0 ;
10268 char *kwnames[] = {
10269 (char *) "self", NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10274 if (SWIG_arg_fail(1)) SWIG_fail;
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 resultobj = SWIG_From_int((result));
10283 return resultobj;
10284 fail:
10285 return NULL;
10286 }
10287
10288
10289 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj;
10291 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10292 wxLayoutAlignment arg2 ;
10293 PyObject * obj0 = 0 ;
10294 PyObject * obj1 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self",(char *) "alignment", NULL
10297 };
10298
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10301 if (SWIG_arg_fail(1)) SWIG_fail;
10302 {
10303 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10304 if (SWIG_arg_fail(2)) SWIG_fail;
10305 }
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 Py_INCREF(Py_None); resultobj = Py_None;
10314 return resultobj;
10315 fail:
10316 return NULL;
10317 }
10318
10319
10320 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj;
10322 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10323 wxSize *arg2 = 0 ;
10324 wxSize temp2 ;
10325 PyObject * obj0 = 0 ;
10326 PyObject * obj1 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self",(char *) "size", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail;
10334 {
10335 arg2 = &temp2;
10336 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10337 }
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 Py_INCREF(Py_None); resultobj = Py_None;
10346 return resultobj;
10347 fail:
10348 return NULL;
10349 }
10350
10351
10352 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj;
10354 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10355 wxLayoutOrientation arg2 ;
10356 PyObject * obj0 = 0 ;
10357 PyObject * obj1 = 0 ;
10358 char *kwnames[] = {
10359 (char *) "self",(char *) "orientation", NULL
10360 };
10361
10362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10364 if (SWIG_arg_fail(1)) SWIG_fail;
10365 {
10366 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10367 if (SWIG_arg_fail(2)) SWIG_fail;
10368 }
10369 {
10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
10371 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10372
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 Py_INCREF(Py_None); resultobj = Py_None;
10377 return resultobj;
10378 fail:
10379 return NULL;
10380 }
10381
10382
10383 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10384 PyObject *obj;
10385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10386 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10387 Py_INCREF(obj);
10388 return Py_BuildValue((char *)"");
10389 }
10390 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10391 PyObject *resultobj;
10392 wxLayoutAlgorithm *result;
10393 char *kwnames[] = {
10394 NULL
10395 };
10396
10397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
10405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10406 return resultobj;
10407 fail:
10408 return NULL;
10409 }
10410
10411
10412 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10413 PyObject *resultobj;
10414 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10415 PyObject * obj0 = 0 ;
10416 char *kwnames[] = {
10417 (char *) "self", NULL
10418 };
10419
10420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10422 if (SWIG_arg_fail(1)) SWIG_fail;
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 delete arg1;
10426
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 Py_INCREF(Py_None); resultobj = Py_None;
10431 return resultobj;
10432 fail:
10433 return NULL;
10434 }
10435
10436
10437 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10438 PyObject *resultobj;
10439 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10440 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10441 wxRect *arg3 = (wxRect *) NULL ;
10442 bool result;
10443 PyObject * obj0 = 0 ;
10444 PyObject * obj1 = 0 ;
10445 PyObject * obj2 = 0 ;
10446 char *kwnames[] = {
10447 (char *) "self",(char *) "frame",(char *) "rect", NULL
10448 };
10449
10450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10452 if (SWIG_arg_fail(1)) SWIG_fail;
10453 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10454 if (SWIG_arg_fail(2)) SWIG_fail;
10455 if (obj2) {
10456 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10457 if (SWIG_arg_fail(3)) SWIG_fail;
10458 }
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10462
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 {
10467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10468 }
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj;
10477 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10478 wxFrame *arg2 = (wxFrame *) 0 ;
10479 wxWindow *arg3 = (wxWindow *) NULL ;
10480 bool result;
10481 PyObject * obj0 = 0 ;
10482 PyObject * obj1 = 0 ;
10483 PyObject * obj2 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10490 if (SWIG_arg_fail(1)) SWIG_fail;
10491 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10492 if (SWIG_arg_fail(2)) SWIG_fail;
10493 if (obj2) {
10494 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10495 if (SWIG_arg_fail(3)) SWIG_fail;
10496 }
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 {
10505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10506 }
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10516 wxWindow *arg2 = (wxWindow *) 0 ;
10517 wxWindow *arg3 = (wxWindow *) NULL ;
10518 bool result;
10519 PyObject * obj0 = 0 ;
10520 PyObject * obj1 = 0 ;
10521 PyObject * obj2 = 0 ;
10522 char *kwnames[] = {
10523 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10524 };
10525
10526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10528 if (SWIG_arg_fail(1)) SWIG_fail;
10529 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10530 if (SWIG_arg_fail(2)) SWIG_fail;
10531 if (obj2) {
10532 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10533 if (SWIG_arg_fail(3)) SWIG_fail;
10534 }
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 {
10543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10544 }
10545 return resultobj;
10546 fail:
10547 return NULL;
10548 }
10549
10550
10551 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10552 PyObject *obj;
10553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10554 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10555 Py_INCREF(obj);
10556 return Py_BuildValue((char *)"");
10557 }
10558 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10559 PyObject *resultobj;
10560 wxWindow *arg1 = (wxWindow *) 0 ;
10561 int arg2 = (int) wxBORDER_NONE ;
10562 wxPopupWindow *result;
10563 PyObject * obj0 = 0 ;
10564 PyObject * obj1 = 0 ;
10565 char *kwnames[] = {
10566 (char *) "parent",(char *) "flags", NULL
10567 };
10568
10569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10571 if (SWIG_arg_fail(1)) SWIG_fail;
10572 if (obj1) {
10573 {
10574 arg2 = (int)(SWIG_As_int(obj1));
10575 if (SWIG_arg_fail(2)) SWIG_fail;
10576 }
10577 }
10578 {
10579 if (!wxPyCheckForApp()) SWIG_fail;
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10587 return resultobj;
10588 fail:
10589 return NULL;
10590 }
10591
10592
10593 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxPopupWindow *result;
10596 char *kwnames[] = {
10597 NULL
10598 };
10599
10600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10601 {
10602 if (!wxPyCheckForApp()) SWIG_fail;
10603 PyThreadState* __tstate = wxPyBeginAllowThreads();
10604 result = (wxPopupWindow *)new wxPopupWindow();
10605
10606 wxPyEndAllowThreads(__tstate);
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
10609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10610 return resultobj;
10611 fail:
10612 return NULL;
10613 }
10614
10615
10616 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10617 PyObject *resultobj;
10618 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10619 wxWindow *arg2 = (wxWindow *) 0 ;
10620 int arg3 = (int) wxBORDER_NONE ;
10621 bool result;
10622 PyObject * obj0 = 0 ;
10623 PyObject * obj1 = 0 ;
10624 PyObject * obj2 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self",(char *) "parent",(char *) "flags", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
10630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail;
10632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10633 if (SWIG_arg_fail(2)) SWIG_fail;
10634 if (obj2) {
10635 {
10636 arg3 = (int)(SWIG_As_int(obj2));
10637 if (SWIG_arg_fail(3)) SWIG_fail;
10638 }
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 result = (bool)(arg1)->Create(arg2,arg3);
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 {
10648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10649 }
10650 return resultobj;
10651 fail:
10652 return NULL;
10653 }
10654
10655
10656 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj;
10658 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10659 wxPoint *arg2 = 0 ;
10660 wxSize *arg3 = 0 ;
10661 wxPoint temp2 ;
10662 wxSize temp3 ;
10663 PyObject * obj0 = 0 ;
10664 PyObject * obj1 = 0 ;
10665 PyObject * obj2 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
10671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail;
10673 {
10674 arg2 = &temp2;
10675 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10676 }
10677 {
10678 arg3 = &temp3;
10679 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10680 }
10681 {
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10684
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 Py_INCREF(Py_None); resultobj = Py_None;
10689 return resultobj;
10690 fail:
10691 return NULL;
10692 }
10693
10694
10695 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10696 PyObject *obj;
10697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10698 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10699 Py_INCREF(obj);
10700 return Py_BuildValue((char *)"");
10701 }
10702 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj;
10704 wxWindow *arg1 = (wxWindow *) 0 ;
10705 int arg2 = (int) wxBORDER_NONE ;
10706 wxPyPopupTransientWindow *result;
10707 PyObject * obj0 = 0 ;
10708 PyObject * obj1 = 0 ;
10709 char *kwnames[] = {
10710 (char *) "parent",(char *) "style", NULL
10711 };
10712
10713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10715 if (SWIG_arg_fail(1)) SWIG_fail;
10716 if (obj1) {
10717 {
10718 arg2 = (int)(SWIG_As_int(obj1));
10719 if (SWIG_arg_fail(2)) SWIG_fail;
10720 }
10721 }
10722 {
10723 if (!wxPyCheckForApp()) SWIG_fail;
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10731 return resultobj;
10732 fail:
10733 return NULL;
10734 }
10735
10736
10737 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10738 PyObject *resultobj;
10739 wxPyPopupTransientWindow *result;
10740 char *kwnames[] = {
10741 NULL
10742 };
10743
10744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10745 {
10746 if (!wxPyCheckForApp()) SWIG_fail;
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10754 return resultobj;
10755 fail:
10756 return NULL;
10757 }
10758
10759
10760 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10763 PyObject *arg2 = (PyObject *) 0 ;
10764 PyObject *arg3 = (PyObject *) 0 ;
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 PyObject * obj2 = 0 ;
10768 char *kwnames[] = {
10769 (char *) "self",(char *) "self",(char *) "_class", NULL
10770 };
10771
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10774 if (SWIG_arg_fail(1)) SWIG_fail;
10775 arg2 = obj1;
10776 arg3 = obj2;
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 (arg1)->_setCallbackInfo(arg2,arg3);
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 Py_INCREF(Py_None); resultobj = Py_None;
10785 return resultobj;
10786 fail:
10787 return NULL;
10788 }
10789
10790
10791 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj;
10793 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10794 wxWindow *arg2 = (wxWindow *) NULL ;
10795 PyObject * obj0 = 0 ;
10796 PyObject * obj1 = 0 ;
10797 char *kwnames[] = {
10798 (char *) "self",(char *) "focus", NULL
10799 };
10800
10801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
10802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10803 if (SWIG_arg_fail(1)) SWIG_fail;
10804 if (obj1) {
10805 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10806 if (SWIG_arg_fail(2)) SWIG_fail;
10807 }
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 (arg1)->Popup(arg2);
10811
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 Py_INCREF(Py_None); resultobj = Py_None;
10816 return resultobj;
10817 fail:
10818 return NULL;
10819 }
10820
10821
10822 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
10823 PyObject *resultobj;
10824 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10825 PyObject * obj0 = 0 ;
10826 char *kwnames[] = {
10827 (char *) "self", NULL
10828 };
10829
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
10831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10832 if (SWIG_arg_fail(1)) SWIG_fail;
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 (arg1)->Dismiss();
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 Py_INCREF(Py_None); resultobj = Py_None;
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10848 PyObject *obj;
10849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10850 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10851 Py_INCREF(obj);
10852 return Py_BuildValue((char *)"");
10853 }
10854 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10855 PyObject *resultobj;
10856 wxWindow *arg1 = (wxWindow *) 0 ;
10857 wxString *arg2 = 0 ;
10858 int arg3 = (int) 100 ;
10859 wxRect *arg4 = (wxRect *) NULL ;
10860 wxTipWindow *result;
10861 bool temp2 = false ;
10862 PyObject * obj0 = 0 ;
10863 PyObject * obj1 = 0 ;
10864 PyObject * obj2 = 0 ;
10865 PyObject * obj3 = 0 ;
10866 char *kwnames[] = {
10867 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10868 };
10869
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10872 if (SWIG_arg_fail(1)) SWIG_fail;
10873 {
10874 arg2 = wxString_in_helper(obj1);
10875 if (arg2 == NULL) SWIG_fail;
10876 temp2 = true;
10877 }
10878 if (obj2) {
10879 {
10880 arg3 = (int)(SWIG_As_int(obj2));
10881 if (SWIG_arg_fail(3)) SWIG_fail;
10882 }
10883 }
10884 if (obj3) {
10885 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10886 if (SWIG_arg_fail(4)) SWIG_fail;
10887 }
10888 {
10889 if (!wxPyCheckForApp()) SWIG_fail;
10890 PyThreadState* __tstate = wxPyBeginAllowThreads();
10891 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10892
10893 wxPyEndAllowThreads(__tstate);
10894 if (PyErr_Occurred()) SWIG_fail;
10895 }
10896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10897 {
10898 if (temp2)
10899 delete arg2;
10900 }
10901 return resultobj;
10902 fail:
10903 {
10904 if (temp2)
10905 delete arg2;
10906 }
10907 return NULL;
10908 }
10909
10910
10911 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj;
10913 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10914 wxRect *arg2 = 0 ;
10915 wxRect temp2 ;
10916 PyObject * obj0 = 0 ;
10917 PyObject * obj1 = 0 ;
10918 char *kwnames[] = {
10919 (char *) "self",(char *) "rectBound", NULL
10920 };
10921
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
10923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail;
10925 {
10926 arg2 = &temp2;
10927 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10928 }
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 Py_INCREF(Py_None); resultobj = Py_None;
10937 return resultobj;
10938 fail:
10939 return NULL;
10940 }
10941
10942
10943 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
10944 PyObject *resultobj;
10945 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10946 PyObject * obj0 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self", NULL
10949 };
10950
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
10952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10953 if (SWIG_arg_fail(1)) SWIG_fail;
10954 {
10955 PyThreadState* __tstate = wxPyBeginAllowThreads();
10956 (arg1)->Close();
10957
10958 wxPyEndAllowThreads(__tstate);
10959 if (PyErr_Occurred()) SWIG_fail;
10960 }
10961 Py_INCREF(Py_None); resultobj = Py_None;
10962 return resultobj;
10963 fail:
10964 return NULL;
10965 }
10966
10967
10968 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
10969 PyObject *obj;
10970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10971 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
10972 Py_INCREF(obj);
10973 return Py_BuildValue((char *)"");
10974 }
10975 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10976 PyObject *resultobj;
10977 wxWindow *arg1 = (wxWindow *) 0 ;
10978 int arg2 = (int) wxID_ANY ;
10979 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10980 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10981 wxSize const &arg4_defvalue = wxDefaultSize ;
10982 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10983 long arg5 = (long) 0 ;
10984 wxString const &arg6_defvalue = wxPyPanelNameStr ;
10985 wxString *arg6 = (wxString *) &arg6_defvalue ;
10986 wxPyVScrolledWindow *result;
10987 wxPoint temp3 ;
10988 wxSize temp4 ;
10989 bool temp6 = false ;
10990 PyObject * obj0 = 0 ;
10991 PyObject * obj1 = 0 ;
10992 PyObject * obj2 = 0 ;
10993 PyObject * obj3 = 0 ;
10994 PyObject * obj4 = 0 ;
10995 PyObject * obj5 = 0 ;
10996 char *kwnames[] = {
10997 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10998 };
10999
11000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11002 if (SWIG_arg_fail(1)) SWIG_fail;
11003 if (obj1) {
11004 {
11005 arg2 = (int)(SWIG_As_int(obj1));
11006 if (SWIG_arg_fail(2)) SWIG_fail;
11007 }
11008 }
11009 if (obj2) {
11010 {
11011 arg3 = &temp3;
11012 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11013 }
11014 }
11015 if (obj3) {
11016 {
11017 arg4 = &temp4;
11018 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11019 }
11020 }
11021 if (obj4) {
11022 {
11023 arg5 = (long)(SWIG_As_long(obj4));
11024 if (SWIG_arg_fail(5)) SWIG_fail;
11025 }
11026 }
11027 if (obj5) {
11028 {
11029 arg6 = wxString_in_helper(obj5);
11030 if (arg6 == NULL) SWIG_fail;
11031 temp6 = true;
11032 }
11033 }
11034 {
11035 if (!wxPyCheckForApp()) SWIG_fail;
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11038
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11043 {
11044 if (temp6)
11045 delete arg6;
11046 }
11047 return resultobj;
11048 fail:
11049 {
11050 if (temp6)
11051 delete arg6;
11052 }
11053 return NULL;
11054 }
11055
11056
11057 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj;
11059 wxPyVScrolledWindow *result;
11060 char *kwnames[] = {
11061 NULL
11062 };
11063
11064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11065 {
11066 if (!wxPyCheckForApp()) SWIG_fail;
11067 PyThreadState* __tstate = wxPyBeginAllowThreads();
11068 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11069
11070 wxPyEndAllowThreads(__tstate);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 }
11073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11074 return resultobj;
11075 fail:
11076 return NULL;
11077 }
11078
11079
11080 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11081 PyObject *resultobj;
11082 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11083 PyObject *arg2 = (PyObject *) 0 ;
11084 PyObject *arg3 = (PyObject *) 0 ;
11085 PyObject * obj0 = 0 ;
11086 PyObject * obj1 = 0 ;
11087 PyObject * obj2 = 0 ;
11088 char *kwnames[] = {
11089 (char *) "self",(char *) "self",(char *) "_class", NULL
11090 };
11091
11092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11094 if (SWIG_arg_fail(1)) SWIG_fail;
11095 arg2 = obj1;
11096 arg3 = obj2;
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 (arg1)->_setCallbackInfo(arg2,arg3);
11100
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 Py_INCREF(Py_None); resultobj = Py_None;
11105 return resultobj;
11106 fail:
11107 return NULL;
11108 }
11109
11110
11111 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11112 PyObject *resultobj;
11113 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11114 wxWindow *arg2 = (wxWindow *) 0 ;
11115 int arg3 = (int) wxID_ANY ;
11116 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11117 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11118 wxSize const &arg5_defvalue = wxDefaultSize ;
11119 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11120 long arg6 = (long) 0 ;
11121 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11122 wxString *arg7 = (wxString *) &arg7_defvalue ;
11123 bool result;
11124 wxPoint temp4 ;
11125 wxSize temp5 ;
11126 bool temp7 = false ;
11127 PyObject * obj0 = 0 ;
11128 PyObject * obj1 = 0 ;
11129 PyObject * obj2 = 0 ;
11130 PyObject * obj3 = 0 ;
11131 PyObject * obj4 = 0 ;
11132 PyObject * obj5 = 0 ;
11133 PyObject * obj6 = 0 ;
11134 char *kwnames[] = {
11135 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11136 };
11137
11138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11140 if (SWIG_arg_fail(1)) SWIG_fail;
11141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11142 if (SWIG_arg_fail(2)) SWIG_fail;
11143 if (obj2) {
11144 {
11145 arg3 = (int)(SWIG_As_int(obj2));
11146 if (SWIG_arg_fail(3)) SWIG_fail;
11147 }
11148 }
11149 if (obj3) {
11150 {
11151 arg4 = &temp4;
11152 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11153 }
11154 }
11155 if (obj4) {
11156 {
11157 arg5 = &temp5;
11158 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11159 }
11160 }
11161 if (obj5) {
11162 {
11163 arg6 = (long)(SWIG_As_long(obj5));
11164 if (SWIG_arg_fail(6)) SWIG_fail;
11165 }
11166 }
11167 if (obj6) {
11168 {
11169 arg7 = wxString_in_helper(obj6);
11170 if (arg7 == NULL) SWIG_fail;
11171 temp7 = true;
11172 }
11173 }
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11177
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 }
11181 {
11182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11183 }
11184 {
11185 if (temp7)
11186 delete arg7;
11187 }
11188 return resultobj;
11189 fail:
11190 {
11191 if (temp7)
11192 delete arg7;
11193 }
11194 return NULL;
11195 }
11196
11197
11198 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11199 PyObject *resultobj;
11200 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11201 size_t arg2 ;
11202 PyObject * obj0 = 0 ;
11203 PyObject * obj1 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self",(char *) "count", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11210 if (SWIG_arg_fail(1)) SWIG_fail;
11211 {
11212 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11213 if (SWIG_arg_fail(2)) SWIG_fail;
11214 }
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 (arg1)->SetLineCount(arg2);
11218
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 Py_INCREF(Py_None); resultobj = Py_None;
11223 return resultobj;
11224 fail:
11225 return NULL;
11226 }
11227
11228
11229 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj;
11231 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11232 size_t arg2 ;
11233 bool result;
11234 PyObject * obj0 = 0 ;
11235 PyObject * obj1 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self",(char *) "line", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail;
11243 {
11244 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11245 if (SWIG_arg_fail(2)) SWIG_fail;
11246 }
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 result = (bool)(arg1)->ScrollToLine(arg2);
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 {
11255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11256 }
11257 return resultobj;
11258 fail:
11259 return NULL;
11260 }
11261
11262
11263 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11264 PyObject *resultobj;
11265 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11266 int arg2 ;
11267 bool result;
11268 PyObject * obj0 = 0 ;
11269 PyObject * obj1 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self",(char *) "lines", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11276 if (SWIG_arg_fail(1)) SWIG_fail;
11277 {
11278 arg2 = (int)(SWIG_As_int(obj1));
11279 if (SWIG_arg_fail(2)) SWIG_fail;
11280 }
11281 {
11282 PyThreadState* __tstate = wxPyBeginAllowThreads();
11283 result = (bool)(arg1)->ScrollLines(arg2);
11284
11285 wxPyEndAllowThreads(__tstate);
11286 if (PyErr_Occurred()) SWIG_fail;
11287 }
11288 {
11289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11290 }
11291 return resultobj;
11292 fail:
11293 return NULL;
11294 }
11295
11296
11297 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj;
11299 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11300 int arg2 ;
11301 bool result;
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
11304 char *kwnames[] = {
11305 (char *) "self",(char *) "pages", NULL
11306 };
11307
11308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11310 if (SWIG_arg_fail(1)) SWIG_fail;
11311 {
11312 arg2 = (int)(SWIG_As_int(obj1));
11313 if (SWIG_arg_fail(2)) SWIG_fail;
11314 }
11315 {
11316 PyThreadState* __tstate = wxPyBeginAllowThreads();
11317 result = (bool)(arg1)->ScrollPages(arg2);
11318
11319 wxPyEndAllowThreads(__tstate);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 {
11323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11324 }
11325 return resultobj;
11326 fail:
11327 return NULL;
11328 }
11329
11330
11331 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj;
11333 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11334 size_t arg2 ;
11335 PyObject * obj0 = 0 ;
11336 PyObject * obj1 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self",(char *) "line", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail;
11344 {
11345 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11346 if (SWIG_arg_fail(2)) SWIG_fail;
11347 }
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 (arg1)->RefreshLine(arg2);
11351
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
11355 Py_INCREF(Py_None); resultobj = Py_None;
11356 return resultobj;
11357 fail:
11358 return NULL;
11359 }
11360
11361
11362 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11363 PyObject *resultobj;
11364 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11365 size_t arg2 ;
11366 size_t arg3 ;
11367 PyObject * obj0 = 0 ;
11368 PyObject * obj1 = 0 ;
11369 PyObject * obj2 = 0 ;
11370 char *kwnames[] = {
11371 (char *) "self",(char *) "from",(char *) "to", NULL
11372 };
11373
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11376 if (SWIG_arg_fail(1)) SWIG_fail;
11377 {
11378 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11379 if (SWIG_arg_fail(2)) SWIG_fail;
11380 }
11381 {
11382 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11383 if (SWIG_arg_fail(3)) SWIG_fail;
11384 }
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 (arg1)->RefreshLines(arg2,arg3);
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 Py_INCREF(Py_None); resultobj = Py_None;
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11400 PyObject *resultobj;
11401 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11402 int arg2 ;
11403 int arg3 ;
11404 int result;
11405 PyObject * obj0 = 0 ;
11406 PyObject * obj1 = 0 ;
11407 PyObject * obj2 = 0 ;
11408 char *kwnames[] = {
11409 (char *) "self",(char *) "x",(char *) "y", NULL
11410 };
11411
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11414 if (SWIG_arg_fail(1)) SWIG_fail;
11415 {
11416 arg2 = (int)(SWIG_As_int(obj1));
11417 if (SWIG_arg_fail(2)) SWIG_fail;
11418 }
11419 {
11420 arg3 = (int)(SWIG_As_int(obj2));
11421 if (SWIG_arg_fail(3)) SWIG_fail;
11422 }
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11426
11427 wxPyEndAllowThreads(__tstate);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 {
11431 resultobj = SWIG_From_int((int)(result));
11432 }
11433 return resultobj;
11434 fail:
11435 return NULL;
11436 }
11437
11438
11439 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11442 wxPoint *arg2 = 0 ;
11443 int result;
11444 wxPoint temp2 ;
11445 PyObject * obj0 = 0 ;
11446 PyObject * obj1 = 0 ;
11447 char *kwnames[] = {
11448 (char *) "self",(char *) "pt", NULL
11449 };
11450
11451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11453 if (SWIG_arg_fail(1)) SWIG_fail;
11454 {
11455 arg2 = &temp2;
11456 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11457 }
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 {
11466 resultobj = SWIG_From_int((int)(result));
11467 }
11468 return resultobj;
11469 fail:
11470 return NULL;
11471 }
11472
11473
11474 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11475 PyObject *resultobj;
11476 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11477 PyObject * obj0 = 0 ;
11478 char *kwnames[] = {
11479 (char *) "self", NULL
11480 };
11481
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail;
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->RefreshAll();
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 Py_INCREF(Py_None); resultobj = Py_None;
11493 return resultobj;
11494 fail:
11495 return NULL;
11496 }
11497
11498
11499 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11500 PyObject *resultobj;
11501 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11502 size_t result;
11503 PyObject * obj0 = 0 ;
11504 char *kwnames[] = {
11505 (char *) "self", NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail;
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11514
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 {
11519 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11520 }
11521 return resultobj;
11522 fail:
11523 return NULL;
11524 }
11525
11526
11527 static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
11528 PyObject *resultobj;
11529 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11530 size_t result;
11531 PyObject * obj0 = 0 ;
11532 char *kwnames[] = {
11533 (char *) "self", NULL
11534 };
11535
11536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
11537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11538 if (SWIG_arg_fail(1)) SWIG_fail;
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
11542
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 {
11547 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11548 }
11549 return resultobj;
11550 fail:
11551 return NULL;
11552 }
11553
11554
11555 static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj;
11557 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11558 size_t result;
11559 PyObject * obj0 = 0 ;
11560 char *kwnames[] = {
11561 (char *) "self", NULL
11562 };
11563
11564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
11565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11566 if (SWIG_arg_fail(1)) SWIG_fail;
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 {
11575 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11576 }
11577 return resultobj;
11578 fail:
11579 return NULL;
11580 }
11581
11582
11583 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj;
11585 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11586 size_t arg2 ;
11587 bool result;
11588 PyObject * obj0 = 0 ;
11589 PyObject * obj1 = 0 ;
11590 char *kwnames[] = {
11591 (char *) "self",(char *) "line", NULL
11592 };
11593
11594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11596 if (SWIG_arg_fail(1)) SWIG_fail;
11597 {
11598 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11599 if (SWIG_arg_fail(2)) SWIG_fail;
11600 }
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 {
11609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11610 }
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj;
11619 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11620 size_t result;
11621 PyObject * obj0 = 0 ;
11622 char *kwnames[] = {
11623 (char *) "self", NULL
11624 };
11625
11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11628 if (SWIG_arg_fail(1)) SWIG_fail;
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11632
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 {
11637 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11638 }
11639 return resultobj;
11640 fail:
11641 return NULL;
11642 }
11643
11644
11645 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11646 PyObject *resultobj;
11647 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11648 size_t result;
11649 PyObject * obj0 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self", NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail;
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 {
11665 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11666 }
11667 return resultobj;
11668 fail:
11669 return NULL;
11670 }
11671
11672
11673 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11674 PyObject *obj;
11675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11676 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11677 Py_INCREF(obj);
11678 return Py_BuildValue((char *)"");
11679 }
11680 static int _wrap_VListBoxNameStr_set(PyObject *) {
11681 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11682 return 1;
11683 }
11684
11685
11686 static PyObject *_wrap_VListBoxNameStr_get(void) {
11687 PyObject *pyobj;
11688
11689 {
11690 #if wxUSE_UNICODE
11691 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11692 #else
11693 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11694 #endif
11695 }
11696 return pyobj;
11697 }
11698
11699
11700 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11701 PyObject *resultobj;
11702 wxWindow *arg1 = (wxWindow *) 0 ;
11703 int arg2 = (int) wxID_ANY ;
11704 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11705 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11706 wxSize const &arg4_defvalue = wxDefaultSize ;
11707 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11708 long arg5 = (long) 0 ;
11709 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11710 wxString *arg6 = (wxString *) &arg6_defvalue ;
11711 wxPyVListBox *result;
11712 wxPoint temp3 ;
11713 wxSize temp4 ;
11714 bool temp6 = false ;
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
11717 PyObject * obj2 = 0 ;
11718 PyObject * obj3 = 0 ;
11719 PyObject * obj4 = 0 ;
11720 PyObject * obj5 = 0 ;
11721 char *kwnames[] = {
11722 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11727 if (SWIG_arg_fail(1)) SWIG_fail;
11728 if (obj1) {
11729 {
11730 arg2 = (int)(SWIG_As_int(obj1));
11731 if (SWIG_arg_fail(2)) SWIG_fail;
11732 }
11733 }
11734 if (obj2) {
11735 {
11736 arg3 = &temp3;
11737 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11738 }
11739 }
11740 if (obj3) {
11741 {
11742 arg4 = &temp4;
11743 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11744 }
11745 }
11746 if (obj4) {
11747 {
11748 arg5 = (long)(SWIG_As_long(obj4));
11749 if (SWIG_arg_fail(5)) SWIG_fail;
11750 }
11751 }
11752 if (obj5) {
11753 {
11754 arg6 = wxString_in_helper(obj5);
11755 if (arg6 == NULL) SWIG_fail;
11756 temp6 = true;
11757 }
11758 }
11759 {
11760 if (!wxPyCheckForApp()) SWIG_fail;
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11768 {
11769 if (temp6)
11770 delete arg6;
11771 }
11772 return resultobj;
11773 fail:
11774 {
11775 if (temp6)
11776 delete arg6;
11777 }
11778 return NULL;
11779 }
11780
11781
11782 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj;
11784 wxPyVListBox *result;
11785 char *kwnames[] = {
11786 NULL
11787 };
11788
11789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11790 {
11791 if (!wxPyCheckForApp()) SWIG_fail;
11792 PyThreadState* __tstate = wxPyBeginAllowThreads();
11793 result = (wxPyVListBox *)new wxPyVListBox();
11794
11795 wxPyEndAllowThreads(__tstate);
11796 if (PyErr_Occurred()) SWIG_fail;
11797 }
11798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11799 return resultobj;
11800 fail:
11801 return NULL;
11802 }
11803
11804
11805 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11806 PyObject *resultobj;
11807 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11808 PyObject *arg2 = (PyObject *) 0 ;
11809 PyObject *arg3 = (PyObject *) 0 ;
11810 PyObject * obj0 = 0 ;
11811 PyObject * obj1 = 0 ;
11812 PyObject * obj2 = 0 ;
11813 char *kwnames[] = {
11814 (char *) "self",(char *) "self",(char *) "_class", NULL
11815 };
11816
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11819 if (SWIG_arg_fail(1)) SWIG_fail;
11820 arg2 = obj1;
11821 arg3 = obj2;
11822 {
11823 PyThreadState* __tstate = wxPyBeginAllowThreads();
11824 (arg1)->_setCallbackInfo(arg2,arg3);
11825
11826 wxPyEndAllowThreads(__tstate);
11827 if (PyErr_Occurred()) SWIG_fail;
11828 }
11829 Py_INCREF(Py_None); resultobj = Py_None;
11830 return resultobj;
11831 fail:
11832 return NULL;
11833 }
11834
11835
11836 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11837 PyObject *resultobj;
11838 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11839 wxWindow *arg2 = (wxWindow *) 0 ;
11840 int arg3 = (int) wxID_ANY ;
11841 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11842 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11843 wxSize const &arg5_defvalue = wxDefaultSize ;
11844 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11845 long arg6 = (long) 0 ;
11846 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11847 wxString *arg7 = (wxString *) &arg7_defvalue ;
11848 bool result;
11849 wxPoint temp4 ;
11850 wxSize temp5 ;
11851 bool temp7 = false ;
11852 PyObject * obj0 = 0 ;
11853 PyObject * obj1 = 0 ;
11854 PyObject * obj2 = 0 ;
11855 PyObject * obj3 = 0 ;
11856 PyObject * obj4 = 0 ;
11857 PyObject * obj5 = 0 ;
11858 PyObject * obj6 = 0 ;
11859 char *kwnames[] = {
11860 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11861 };
11862
11863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11865 if (SWIG_arg_fail(1)) SWIG_fail;
11866 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11867 if (SWIG_arg_fail(2)) SWIG_fail;
11868 if (obj2) {
11869 {
11870 arg3 = (int)(SWIG_As_int(obj2));
11871 if (SWIG_arg_fail(3)) SWIG_fail;
11872 }
11873 }
11874 if (obj3) {
11875 {
11876 arg4 = &temp4;
11877 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11878 }
11879 }
11880 if (obj4) {
11881 {
11882 arg5 = &temp5;
11883 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11884 }
11885 }
11886 if (obj5) {
11887 {
11888 arg6 = (long)(SWIG_As_long(obj5));
11889 if (SWIG_arg_fail(6)) SWIG_fail;
11890 }
11891 }
11892 if (obj6) {
11893 {
11894 arg7 = wxString_in_helper(obj6);
11895 if (arg7 == NULL) SWIG_fail;
11896 temp7 = true;
11897 }
11898 }
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11902
11903 wxPyEndAllowThreads(__tstate);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 {
11907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11908 }
11909 {
11910 if (temp7)
11911 delete arg7;
11912 }
11913 return resultobj;
11914 fail:
11915 {
11916 if (temp7)
11917 delete arg7;
11918 }
11919 return NULL;
11920 }
11921
11922
11923 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11924 PyObject *resultobj;
11925 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11926 size_t result;
11927 PyObject * obj0 = 0 ;
11928 char *kwnames[] = {
11929 (char *) "self", NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
11933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11934 if (SWIG_arg_fail(1)) SWIG_fail;
11935 {
11936 PyThreadState* __tstate = wxPyBeginAllowThreads();
11937 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11938
11939 wxPyEndAllowThreads(__tstate);
11940 if (PyErr_Occurred()) SWIG_fail;
11941 }
11942 {
11943 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11944 }
11945 return resultobj;
11946 fail:
11947 return NULL;
11948 }
11949
11950
11951 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11952 PyObject *resultobj;
11953 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11954 bool result;
11955 PyObject * obj0 = 0 ;
11956 char *kwnames[] = {
11957 (char *) "self", NULL
11958 };
11959
11960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
11961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11962 if (SWIG_arg_fail(1)) SWIG_fail;
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11966
11967 wxPyEndAllowThreads(__tstate);
11968 if (PyErr_Occurred()) SWIG_fail;
11969 }
11970 {
11971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11972 }
11973 return resultobj;
11974 fail:
11975 return NULL;
11976 }
11977
11978
11979 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11980 PyObject *resultobj;
11981 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11982 int result;
11983 PyObject * obj0 = 0 ;
11984 char *kwnames[] = {
11985 (char *) "self", NULL
11986 };
11987
11988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
11989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11990 if (SWIG_arg_fail(1)) SWIG_fail;
11991 {
11992 PyThreadState* __tstate = wxPyBeginAllowThreads();
11993 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
11994
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
11998 {
11999 resultobj = SWIG_From_int((int)(result));
12000 }
12001 return resultobj;
12002 fail:
12003 return NULL;
12004 }
12005
12006
12007 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12008 PyObject *resultobj;
12009 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12010 size_t arg2 ;
12011 bool result;
12012 PyObject * obj0 = 0 ;
12013 PyObject * obj1 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self",(char *) "item", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
12019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail;
12021 {
12022 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12023 if (SWIG_arg_fail(2)) SWIG_fail;
12024 }
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12028
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) SWIG_fail;
12031 }
12032 {
12033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12034 }
12035 return resultobj;
12036 fail:
12037 return NULL;
12038 }
12039
12040
12041 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12042 PyObject *resultobj;
12043 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12044 size_t arg2 ;
12045 bool result;
12046 PyObject * obj0 = 0 ;
12047 PyObject * obj1 = 0 ;
12048 char *kwnames[] = {
12049 (char *) "self",(char *) "item", NULL
12050 };
12051
12052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
12053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12054 if (SWIG_arg_fail(1)) SWIG_fail;
12055 {
12056 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12057 if (SWIG_arg_fail(2)) SWIG_fail;
12058 }
12059 {
12060 PyThreadState* __tstate = wxPyBeginAllowThreads();
12061 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12062
12063 wxPyEndAllowThreads(__tstate);
12064 if (PyErr_Occurred()) SWIG_fail;
12065 }
12066 {
12067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12068 }
12069 return resultobj;
12070 fail:
12071 return NULL;
12072 }
12073
12074
12075 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12078 size_t result;
12079 PyObject * obj0 = 0 ;
12080 char *kwnames[] = {
12081 (char *) "self", NULL
12082 };
12083
12084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12086 if (SWIG_arg_fail(1)) SWIG_fail;
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 {
12095 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12096 }
12097 return resultobj;
12098 fail:
12099 return NULL;
12100 }
12101
12102
12103 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12104 PyObject *resultobj;
12105 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12106 PyObject *result;
12107 PyObject * obj0 = 0 ;
12108 char *kwnames[] = {
12109 (char *) "self", NULL
12110 };
12111
12112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12114 if (SWIG_arg_fail(1)) SWIG_fail;
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 resultobj = result;
12123 return resultobj;
12124 fail:
12125 return NULL;
12126 }
12127
12128
12129 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12130 PyObject *resultobj;
12131 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12132 unsigned long arg2 ;
12133 PyObject *result;
12134 PyObject * obj0 = 0 ;
12135 PyObject * obj1 = 0 ;
12136 char *kwnames[] = {
12137 (char *) "self",(char *) "cookie", NULL
12138 };
12139
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12142 if (SWIG_arg_fail(1)) SWIG_fail;
12143 {
12144 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12145 if (SWIG_arg_fail(2)) SWIG_fail;
12146 }
12147 {
12148 PyThreadState* __tstate = wxPyBeginAllowThreads();
12149 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12150
12151 wxPyEndAllowThreads(__tstate);
12152 if (PyErr_Occurred()) SWIG_fail;
12153 }
12154 resultobj = result;
12155 return resultobj;
12156 fail:
12157 return NULL;
12158 }
12159
12160
12161 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12162 PyObject *resultobj;
12163 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12164 wxPoint result;
12165 PyObject * obj0 = 0 ;
12166 char *kwnames[] = {
12167 (char *) "self", NULL
12168 };
12169
12170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12172 if (SWIG_arg_fail(1)) SWIG_fail;
12173 {
12174 PyThreadState* __tstate = wxPyBeginAllowThreads();
12175 result = ((wxPyVListBox const *)arg1)->GetMargins();
12176
12177 wxPyEndAllowThreads(__tstate);
12178 if (PyErr_Occurred()) SWIG_fail;
12179 }
12180 {
12181 wxPoint * resultptr;
12182 resultptr = new wxPoint((wxPoint &)(result));
12183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12184 }
12185 return resultobj;
12186 fail:
12187 return NULL;
12188 }
12189
12190
12191 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12194 wxColour *result;
12195 PyObject * obj0 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail;
12203 {
12204 PyThreadState* __tstate = wxPyBeginAllowThreads();
12205 {
12206 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12207 result = (wxColour *) &_result_ref;
12208 }
12209
12210 wxPyEndAllowThreads(__tstate);
12211 if (PyErr_Occurred()) SWIG_fail;
12212 }
12213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12214 return resultobj;
12215 fail:
12216 return NULL;
12217 }
12218
12219
12220 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12221 PyObject *resultobj;
12222 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12223 size_t arg2 ;
12224 PyObject * obj0 = 0 ;
12225 PyObject * obj1 = 0 ;
12226 char *kwnames[] = {
12227 (char *) "self",(char *) "count", NULL
12228 };
12229
12230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail;
12233 {
12234 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12235 if (SWIG_arg_fail(2)) SWIG_fail;
12236 }
12237 {
12238 PyThreadState* __tstate = wxPyBeginAllowThreads();
12239 (arg1)->SetItemCount(arg2);
12240
12241 wxPyEndAllowThreads(__tstate);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 }
12244 Py_INCREF(Py_None); resultobj = Py_None;
12245 return resultobj;
12246 fail:
12247 return NULL;
12248 }
12249
12250
12251 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12252 PyObject *resultobj;
12253 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12254 PyObject * obj0 = 0 ;
12255 char *kwnames[] = {
12256 (char *) "self", NULL
12257 };
12258
12259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12261 if (SWIG_arg_fail(1)) SWIG_fail;
12262 {
12263 PyThreadState* __tstate = wxPyBeginAllowThreads();
12264 (arg1)->Clear();
12265
12266 wxPyEndAllowThreads(__tstate);
12267 if (PyErr_Occurred()) SWIG_fail;
12268 }
12269 Py_INCREF(Py_None); resultobj = Py_None;
12270 return resultobj;
12271 fail:
12272 return NULL;
12273 }
12274
12275
12276 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12277 PyObject *resultobj;
12278 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12279 int arg2 ;
12280 PyObject * obj0 = 0 ;
12281 PyObject * obj1 = 0 ;
12282 char *kwnames[] = {
12283 (char *) "self",(char *) "selection", NULL
12284 };
12285
12286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12288 if (SWIG_arg_fail(1)) SWIG_fail;
12289 {
12290 arg2 = (int)(SWIG_As_int(obj1));
12291 if (SWIG_arg_fail(2)) SWIG_fail;
12292 }
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 (arg1)->SetSelection(arg2);
12296
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 Py_INCREF(Py_None); resultobj = Py_None;
12301 return resultobj;
12302 fail:
12303 return NULL;
12304 }
12305
12306
12307 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj;
12309 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12310 size_t arg2 ;
12311 bool arg3 = (bool) true ;
12312 bool result;
12313 PyObject * obj0 = 0 ;
12314 PyObject * obj1 = 0 ;
12315 PyObject * obj2 = 0 ;
12316 char *kwnames[] = {
12317 (char *) "self",(char *) "item",(char *) "select", NULL
12318 };
12319
12320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12322 if (SWIG_arg_fail(1)) SWIG_fail;
12323 {
12324 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12325 if (SWIG_arg_fail(2)) SWIG_fail;
12326 }
12327 if (obj2) {
12328 {
12329 arg3 = (bool)(SWIG_As_bool(obj2));
12330 if (SWIG_arg_fail(3)) SWIG_fail;
12331 }
12332 }
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 result = (bool)(arg1)->Select(arg2,arg3);
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 {
12341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12342 }
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12350 PyObject *resultobj;
12351 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12352 size_t arg2 ;
12353 size_t arg3 ;
12354 bool result;
12355 PyObject * obj0 = 0 ;
12356 PyObject * obj1 = 0 ;
12357 PyObject * obj2 = 0 ;
12358 char *kwnames[] = {
12359 (char *) "self",(char *) "from",(char *) "to", NULL
12360 };
12361
12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12364 if (SWIG_arg_fail(1)) SWIG_fail;
12365 {
12366 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12367 if (SWIG_arg_fail(2)) SWIG_fail;
12368 }
12369 {
12370 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12371 if (SWIG_arg_fail(3)) SWIG_fail;
12372 }
12373 {
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = (bool)(arg1)->SelectRange(arg2,arg3);
12376
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 {
12381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12382 }
12383 return resultobj;
12384 fail:
12385 return NULL;
12386 }
12387
12388
12389 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12390 PyObject *resultobj;
12391 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12392 size_t arg2 ;
12393 PyObject * obj0 = 0 ;
12394 PyObject * obj1 = 0 ;
12395 char *kwnames[] = {
12396 (char *) "self",(char *) "item", NULL
12397 };
12398
12399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12401 if (SWIG_arg_fail(1)) SWIG_fail;
12402 {
12403 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12404 if (SWIG_arg_fail(2)) SWIG_fail;
12405 }
12406 {
12407 PyThreadState* __tstate = wxPyBeginAllowThreads();
12408 (arg1)->Toggle(arg2);
12409
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 Py_INCREF(Py_None); resultobj = Py_None;
12414 return resultobj;
12415 fail:
12416 return NULL;
12417 }
12418
12419
12420 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12421 PyObject *resultobj;
12422 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12423 bool result;
12424 PyObject * obj0 = 0 ;
12425 char *kwnames[] = {
12426 (char *) "self", NULL
12427 };
12428
12429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12431 if (SWIG_arg_fail(1)) SWIG_fail;
12432 {
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 result = (bool)(arg1)->SelectAll();
12435
12436 wxPyEndAllowThreads(__tstate);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 }
12439 {
12440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12441 }
12442 return resultobj;
12443 fail:
12444 return NULL;
12445 }
12446
12447
12448 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12449 PyObject *resultobj;
12450 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12451 bool result;
12452 PyObject * obj0 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail;
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (bool)(arg1)->DeselectAll();
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 {
12468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12469 }
12470 return resultobj;
12471 fail:
12472 return NULL;
12473 }
12474
12475
12476 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12477 PyObject *resultobj;
12478 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12479 wxPoint *arg2 = 0 ;
12480 wxPoint temp2 ;
12481 PyObject * obj0 = 0 ;
12482 PyObject * obj1 = 0 ;
12483 char *kwnames[] = {
12484 (char *) "self",(char *) "pt", NULL
12485 };
12486
12487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12489 if (SWIG_arg_fail(1)) SWIG_fail;
12490 {
12491 arg2 = &temp2;
12492 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12493 }
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 (arg1)->SetMargins((wxPoint const &)*arg2);
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 Py_INCREF(Py_None); resultobj = Py_None;
12502 return resultobj;
12503 fail:
12504 return NULL;
12505 }
12506
12507
12508 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj;
12510 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12511 int arg2 ;
12512 int arg3 ;
12513 PyObject * obj0 = 0 ;
12514 PyObject * obj1 = 0 ;
12515 PyObject * obj2 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "self",(char *) "x",(char *) "y", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12522 if (SWIG_arg_fail(1)) SWIG_fail;
12523 {
12524 arg2 = (int)(SWIG_As_int(obj1));
12525 if (SWIG_arg_fail(2)) SWIG_fail;
12526 }
12527 {
12528 arg3 = (int)(SWIG_As_int(obj2));
12529 if (SWIG_arg_fail(3)) SWIG_fail;
12530 }
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 (arg1)->SetMargins(arg2,arg3);
12534
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 Py_INCREF(Py_None); resultobj = Py_None;
12539 return resultobj;
12540 fail:
12541 return NULL;
12542 }
12543
12544
12545 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12546 PyObject *resultobj;
12547 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12548 wxColour *arg2 = 0 ;
12549 wxColour temp2 ;
12550 PyObject * obj0 = 0 ;
12551 PyObject * obj1 = 0 ;
12552 char *kwnames[] = {
12553 (char *) "self",(char *) "col", NULL
12554 };
12555
12556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12558 if (SWIG_arg_fail(1)) SWIG_fail;
12559 {
12560 arg2 = &temp2;
12561 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12562 }
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
12570 Py_INCREF(Py_None); resultobj = Py_None;
12571 return resultobj;
12572 fail:
12573 return NULL;
12574 }
12575
12576
12577 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12578 PyObject *obj;
12579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12580 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12581 Py_INCREF(obj);
12582 return Py_BuildValue((char *)"");
12583 }
12584 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj;
12586 wxWindow *arg1 = (wxWindow *) 0 ;
12587 int arg2 = (int) wxID_ANY ;
12588 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12589 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12590 wxSize const &arg4_defvalue = wxDefaultSize ;
12591 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12592 long arg5 = (long) 0 ;
12593 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12594 wxString *arg6 = (wxString *) &arg6_defvalue ;
12595 wxPyHtmlListBox *result;
12596 wxPoint temp3 ;
12597 wxSize temp4 ;
12598 bool temp6 = false ;
12599 PyObject * obj0 = 0 ;
12600 PyObject * obj1 = 0 ;
12601 PyObject * obj2 = 0 ;
12602 PyObject * obj3 = 0 ;
12603 PyObject * obj4 = 0 ;
12604 PyObject * obj5 = 0 ;
12605 char *kwnames[] = {
12606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12607 };
12608
12609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12611 if (SWIG_arg_fail(1)) SWIG_fail;
12612 if (obj1) {
12613 {
12614 arg2 = (int)(SWIG_As_int(obj1));
12615 if (SWIG_arg_fail(2)) SWIG_fail;
12616 }
12617 }
12618 if (obj2) {
12619 {
12620 arg3 = &temp3;
12621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12622 }
12623 }
12624 if (obj3) {
12625 {
12626 arg4 = &temp4;
12627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12628 }
12629 }
12630 if (obj4) {
12631 {
12632 arg5 = (long)(SWIG_As_long(obj4));
12633 if (SWIG_arg_fail(5)) SWIG_fail;
12634 }
12635 }
12636 if (obj5) {
12637 {
12638 arg6 = wxString_in_helper(obj5);
12639 if (arg6 == NULL) SWIG_fail;
12640 temp6 = true;
12641 }
12642 }
12643 {
12644 if (!wxPyCheckForApp()) SWIG_fail;
12645 PyThreadState* __tstate = wxPyBeginAllowThreads();
12646 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12647
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12652 {
12653 if (temp6)
12654 delete arg6;
12655 }
12656 return resultobj;
12657 fail:
12658 {
12659 if (temp6)
12660 delete arg6;
12661 }
12662 return NULL;
12663 }
12664
12665
12666 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12667 PyObject *resultobj;
12668 wxPyHtmlListBox *result;
12669 char *kwnames[] = {
12670 NULL
12671 };
12672
12673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12674 {
12675 if (!wxPyCheckForApp()) SWIG_fail;
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12678
12679 wxPyEndAllowThreads(__tstate);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 }
12682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12683 return resultobj;
12684 fail:
12685 return NULL;
12686 }
12687
12688
12689 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12690 PyObject *resultobj;
12691 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12692 PyObject *arg2 = (PyObject *) 0 ;
12693 PyObject *arg3 = (PyObject *) 0 ;
12694 PyObject * obj0 = 0 ;
12695 PyObject * obj1 = 0 ;
12696 PyObject * obj2 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self",(char *) "self",(char *) "_class", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12703 if (SWIG_arg_fail(1)) SWIG_fail;
12704 arg2 = obj1;
12705 arg3 = obj2;
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 (arg1)->_setCallbackInfo(arg2,arg3);
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 Py_INCREF(Py_None); resultobj = Py_None;
12714 return resultobj;
12715 fail:
12716 return NULL;
12717 }
12718
12719
12720 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12721 PyObject *resultobj;
12722 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12723 wxWindow *arg2 = (wxWindow *) 0 ;
12724 int arg3 = (int) wxID_ANY ;
12725 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12726 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12727 wxSize const &arg5_defvalue = wxDefaultSize ;
12728 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12729 long arg6 = (long) 0 ;
12730 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12731 wxString *arg7 = (wxString *) &arg7_defvalue ;
12732 bool result;
12733 wxPoint temp4 ;
12734 wxSize temp5 ;
12735 bool temp7 = false ;
12736 PyObject * obj0 = 0 ;
12737 PyObject * obj1 = 0 ;
12738 PyObject * obj2 = 0 ;
12739 PyObject * obj3 = 0 ;
12740 PyObject * obj4 = 0 ;
12741 PyObject * obj5 = 0 ;
12742 PyObject * obj6 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12749 if (SWIG_arg_fail(1)) SWIG_fail;
12750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12751 if (SWIG_arg_fail(2)) SWIG_fail;
12752 if (obj2) {
12753 {
12754 arg3 = (int)(SWIG_As_int(obj2));
12755 if (SWIG_arg_fail(3)) SWIG_fail;
12756 }
12757 }
12758 if (obj3) {
12759 {
12760 arg4 = &temp4;
12761 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12762 }
12763 }
12764 if (obj4) {
12765 {
12766 arg5 = &temp5;
12767 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12768 }
12769 }
12770 if (obj5) {
12771 {
12772 arg6 = (long)(SWIG_As_long(obj5));
12773 if (SWIG_arg_fail(6)) SWIG_fail;
12774 }
12775 }
12776 if (obj6) {
12777 {
12778 arg7 = wxString_in_helper(obj6);
12779 if (arg7 == NULL) SWIG_fail;
12780 temp7 = true;
12781 }
12782 }
12783 {
12784 PyThreadState* __tstate = wxPyBeginAllowThreads();
12785 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12786
12787 wxPyEndAllowThreads(__tstate);
12788 if (PyErr_Occurred()) SWIG_fail;
12789 }
12790 {
12791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12792 }
12793 {
12794 if (temp7)
12795 delete arg7;
12796 }
12797 return resultobj;
12798 fail:
12799 {
12800 if (temp7)
12801 delete arg7;
12802 }
12803 return NULL;
12804 }
12805
12806
12807 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12810 PyObject * obj0 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "self", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12817 if (SWIG_arg_fail(1)) SWIG_fail;
12818 {
12819 PyThreadState* __tstate = wxPyBeginAllowThreads();
12820 (arg1)->RefreshAll();
12821
12822 wxPyEndAllowThreads(__tstate);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 Py_INCREF(Py_None); resultobj = Py_None;
12826 return resultobj;
12827 fail:
12828 return NULL;
12829 }
12830
12831
12832 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12833 PyObject *resultobj;
12834 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12835 size_t arg2 ;
12836 PyObject * obj0 = 0 ;
12837 PyObject * obj1 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self",(char *) "count", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail;
12845 {
12846 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12847 if (SWIG_arg_fail(2)) SWIG_fail;
12848 }
12849 {
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 (arg1)->SetItemCount(arg2);
12852
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 Py_INCREF(Py_None); resultobj = Py_None;
12857 return resultobj;
12858 fail:
12859 return NULL;
12860 }
12861
12862
12863 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12864 PyObject *resultobj;
12865 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12866 wxFileSystem *result;
12867 PyObject * obj0 = 0 ;
12868 char *kwnames[] = {
12869 (char *) "self", NULL
12870 };
12871
12872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12874 if (SWIG_arg_fail(1)) SWIG_fail;
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 {
12878 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12879 result = (wxFileSystem *) &_result_ref;
12880 }
12881
12882 wxPyEndAllowThreads(__tstate);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12886 return resultobj;
12887 fail:
12888 return NULL;
12889 }
12890
12891
12892 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12893 PyObject *obj;
12894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12895 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12896 Py_INCREF(obj);
12897 return Py_BuildValue((char *)"");
12898 }
12899 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12900 PyObject *resultobj;
12901 wxPyTaskBarIcon *result;
12902 char *kwnames[] = {
12903 NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12907 {
12908 if (!wxPyCheckForApp()) SWIG_fail;
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
12911
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
12916 return resultobj;
12917 fail:
12918 return NULL;
12919 }
12920
12921
12922 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12923 PyObject *resultobj;
12924 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12925 PyObject *arg2 = (PyObject *) 0 ;
12926 PyObject *arg3 = (PyObject *) 0 ;
12927 int arg4 ;
12928 PyObject * obj0 = 0 ;
12929 PyObject * obj1 = 0 ;
12930 PyObject * obj2 = 0 ;
12931 PyObject * obj3 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12938 if (SWIG_arg_fail(1)) SWIG_fail;
12939 arg2 = obj1;
12940 arg3 = obj2;
12941 {
12942 arg4 = (int)(SWIG_As_int(obj3));
12943 if (SWIG_arg_fail(4)) SWIG_fail;
12944 }
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 Py_INCREF(Py_None); resultobj = Py_None;
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12962 PyObject * obj0 = 0 ;
12963 char *kwnames[] = {
12964 (char *) "self", NULL
12965 };
12966
12967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
12968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12969 if (SWIG_arg_fail(1)) SWIG_fail;
12970 {
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
12972 wxPyTaskBarIcon_Destroy(arg1);
12973
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 Py_INCREF(Py_None); resultobj = Py_None;
12978 return resultobj;
12979 fail:
12980 return NULL;
12981 }
12982
12983
12984 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12987 bool result;
12988 PyObject * obj0 = 0 ;
12989 char *kwnames[] = {
12990 (char *) "self", NULL
12991 };
12992
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
12994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12995 if (SWIG_arg_fail(1)) SWIG_fail;
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
12999
13000 wxPyEndAllowThreads(__tstate);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 }
13003 {
13004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13005 }
13006 return resultobj;
13007 fail:
13008 return NULL;
13009 }
13010
13011
13012 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
13013 PyObject *resultobj;
13014 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13015 bool result;
13016 PyObject * obj0 = 0 ;
13017 char *kwnames[] = {
13018 (char *) "self", NULL
13019 };
13020
13021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
13022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail;
13024 {
13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
13026 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
13027
13028 wxPyEndAllowThreads(__tstate);
13029 if (PyErr_Occurred()) SWIG_fail;
13030 }
13031 {
13032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13033 }
13034 return resultobj;
13035 fail:
13036 return NULL;
13037 }
13038
13039
13040 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj;
13042 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13043 wxIcon *arg2 = 0 ;
13044 wxString const &arg3_defvalue = wxPyEmptyString ;
13045 wxString *arg3 = (wxString *) &arg3_defvalue ;
13046 bool result;
13047 bool temp3 = false ;
13048 PyObject * obj0 = 0 ;
13049 PyObject * obj1 = 0 ;
13050 PyObject * obj2 = 0 ;
13051 char *kwnames[] = {
13052 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13053 };
13054
13055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13057 if (SWIG_arg_fail(1)) SWIG_fail;
13058 {
13059 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13060 if (SWIG_arg_fail(2)) SWIG_fail;
13061 if (arg2 == NULL) {
13062 SWIG_null_ref("wxIcon");
13063 }
13064 if (SWIG_arg_fail(2)) SWIG_fail;
13065 }
13066 if (obj2) {
13067 {
13068 arg3 = wxString_in_helper(obj2);
13069 if (arg3 == NULL) SWIG_fail;
13070 temp3 = true;
13071 }
13072 }
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 {
13081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13082 }
13083 {
13084 if (temp3)
13085 delete arg3;
13086 }
13087 return resultobj;
13088 fail:
13089 {
13090 if (temp3)
13091 delete arg3;
13092 }
13093 return NULL;
13094 }
13095
13096
13097 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13098 PyObject *resultobj;
13099 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13100 bool result;
13101 PyObject * obj0 = 0 ;
13102 char *kwnames[] = {
13103 (char *) "self", NULL
13104 };
13105
13106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13108 if (SWIG_arg_fail(1)) SWIG_fail;
13109 {
13110 PyThreadState* __tstate = wxPyBeginAllowThreads();
13111 result = (bool)(arg1)->RemoveIcon();
13112
13113 wxPyEndAllowThreads(__tstate);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
13116 {
13117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13118 }
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj;
13127 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13128 wxMenu *arg2 = (wxMenu *) 0 ;
13129 bool result;
13130 PyObject * obj0 = 0 ;
13131 PyObject * obj1 = 0 ;
13132 char *kwnames[] = {
13133 (char *) "self",(char *) "menu", NULL
13134 };
13135
13136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13138 if (SWIG_arg_fail(1)) SWIG_fail;
13139 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13140 if (SWIG_arg_fail(2)) SWIG_fail;
13141 {
13142 PyThreadState* __tstate = wxPyBeginAllowThreads();
13143 result = (bool)(arg1)->PopupMenu(arg2);
13144
13145 wxPyEndAllowThreads(__tstate);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 }
13148 {
13149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13150 }
13151 return resultobj;
13152 fail:
13153 return NULL;
13154 }
13155
13156
13157 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13158 PyObject *obj;
13159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13160 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13161 Py_INCREF(obj);
13162 return Py_BuildValue((char *)"");
13163 }
13164 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13165 PyObject *resultobj;
13166 wxEventType arg1 ;
13167 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13168 wxTaskBarIconEvent *result;
13169 PyObject * obj0 = 0 ;
13170 PyObject * obj1 = 0 ;
13171 char *kwnames[] = {
13172 (char *) "evtType",(char *) "tbIcon", NULL
13173 };
13174
13175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13176 {
13177 arg1 = (wxEventType)(SWIG_As_int(obj0));
13178 if (SWIG_arg_fail(1)) SWIG_fail;
13179 }
13180 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13181 if (SWIG_arg_fail(2)) SWIG_fail;
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13190 return resultobj;
13191 fail:
13192 return NULL;
13193 }
13194
13195
13196 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13197 PyObject *obj;
13198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13199 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13200 Py_INCREF(obj);
13201 return Py_BuildValue((char *)"");
13202 }
13203 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13204 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13205 return 1;
13206 }
13207
13208
13209 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13210 PyObject *pyobj;
13211
13212 {
13213 #if wxUSE_UNICODE
13214 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13215 #else
13216 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13217 #endif
13218 }
13219 return pyobj;
13220 }
13221
13222
13223 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13224 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13225 return 1;
13226 }
13227
13228
13229 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13230 PyObject *pyobj;
13231
13232 {
13233 #if wxUSE_UNICODE
13234 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13235 #else
13236 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13237 #endif
13238 }
13239 return pyobj;
13240 }
13241
13242
13243 static int _wrap_DirDialogNameStr_set(PyObject *) {
13244 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13245 return 1;
13246 }
13247
13248
13249 static PyObject *_wrap_DirDialogNameStr_get(void) {
13250 PyObject *pyobj;
13251
13252 {
13253 #if wxUSE_UNICODE
13254 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13255 #else
13256 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13257 #endif
13258 }
13259 return pyobj;
13260 }
13261
13262
13263 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13264 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13265 return 1;
13266 }
13267
13268
13269 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13270 PyObject *pyobj;
13271
13272 {
13273 #if wxUSE_UNICODE
13274 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13275 #else
13276 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13277 #endif
13278 }
13279 return pyobj;
13280 }
13281
13282
13283 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13284 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13285 return 1;
13286 }
13287
13288
13289 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13290 PyObject *pyobj;
13291
13292 {
13293 #if wxUSE_UNICODE
13294 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13295 #else
13296 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13297 #endif
13298 }
13299 return pyobj;
13300 }
13301
13302
13303 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13304 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13305 return 1;
13306 }
13307
13308
13309 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13310 PyObject *pyobj;
13311
13312 {
13313 #if wxUSE_UNICODE
13314 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13315 #else
13316 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13317 #endif
13318 }
13319 return pyobj;
13320 }
13321
13322
13323 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13324 PyObject *resultobj;
13325 wxColourData *result;
13326 char *kwnames[] = {
13327 NULL
13328 };
13329
13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 result = (wxColourData *)new wxColourData();
13334
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13339 return resultobj;
13340 fail:
13341 return NULL;
13342 }
13343
13344
13345 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13346 PyObject *resultobj;
13347 wxColourData *arg1 = (wxColourData *) 0 ;
13348 PyObject * obj0 = 0 ;
13349 char *kwnames[] = {
13350 (char *) "self", NULL
13351 };
13352
13353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13355 if (SWIG_arg_fail(1)) SWIG_fail;
13356 {
13357 PyThreadState* __tstate = wxPyBeginAllowThreads();
13358 delete arg1;
13359
13360 wxPyEndAllowThreads(__tstate);
13361 if (PyErr_Occurred()) SWIG_fail;
13362 }
13363 Py_INCREF(Py_None); resultobj = Py_None;
13364 return resultobj;
13365 fail:
13366 return NULL;
13367 }
13368
13369
13370 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13371 PyObject *resultobj;
13372 wxColourData *arg1 = (wxColourData *) 0 ;
13373 bool result;
13374 PyObject * obj0 = 0 ;
13375 char *kwnames[] = {
13376 (char *) "self", NULL
13377 };
13378
13379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13381 if (SWIG_arg_fail(1)) SWIG_fail;
13382 {
13383 PyThreadState* __tstate = wxPyBeginAllowThreads();
13384 result = (bool)(arg1)->GetChooseFull();
13385
13386 wxPyEndAllowThreads(__tstate);
13387 if (PyErr_Occurred()) SWIG_fail;
13388 }
13389 {
13390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13391 }
13392 return resultobj;
13393 fail:
13394 return NULL;
13395 }
13396
13397
13398 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13399 PyObject *resultobj;
13400 wxColourData *arg1 = (wxColourData *) 0 ;
13401 wxColour result;
13402 PyObject * obj0 = 0 ;
13403 char *kwnames[] = {
13404 (char *) "self", NULL
13405 };
13406
13407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13409 if (SWIG_arg_fail(1)) SWIG_fail;
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (arg1)->GetColour();
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 {
13418 wxColour * resultptr;
13419 resultptr = new wxColour((wxColour &)(result));
13420 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13421 }
13422 return resultobj;
13423 fail:
13424 return NULL;
13425 }
13426
13427
13428 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13429 PyObject *resultobj;
13430 wxColourData *arg1 = (wxColourData *) 0 ;
13431 int arg2 ;
13432 wxColour result;
13433 PyObject * obj0 = 0 ;
13434 PyObject * obj1 = 0 ;
13435 char *kwnames[] = {
13436 (char *) "self",(char *) "i", NULL
13437 };
13438
13439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13441 if (SWIG_arg_fail(1)) SWIG_fail;
13442 {
13443 arg2 = (int)(SWIG_As_int(obj1));
13444 if (SWIG_arg_fail(2)) SWIG_fail;
13445 }
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (arg1)->GetCustomColour(arg2);
13449
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
13453 {
13454 wxColour * resultptr;
13455 resultptr = new wxColour((wxColour &)(result));
13456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13457 }
13458 return resultobj;
13459 fail:
13460 return NULL;
13461 }
13462
13463
13464 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxColourData *arg1 = (wxColourData *) 0 ;
13467 int arg2 ;
13468 PyObject * obj0 = 0 ;
13469 PyObject * obj1 = 0 ;
13470 char *kwnames[] = {
13471 (char *) "self",(char *) "flag", NULL
13472 };
13473
13474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13476 if (SWIG_arg_fail(1)) SWIG_fail;
13477 {
13478 arg2 = (int)(SWIG_As_int(obj1));
13479 if (SWIG_arg_fail(2)) SWIG_fail;
13480 }
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 (arg1)->SetChooseFull(arg2);
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 *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13496 PyObject *resultobj;
13497 wxColourData *arg1 = (wxColourData *) 0 ;
13498 wxColour *arg2 = 0 ;
13499 wxColour temp2 ;
13500 PyObject * obj0 = 0 ;
13501 PyObject * obj1 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "self",(char *) "colour", NULL
13504 };
13505
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail;
13509 {
13510 arg2 = &temp2;
13511 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13512 }
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 (arg1)->SetColour((wxColour const &)*arg2);
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
13520 Py_INCREF(Py_None); resultobj = Py_None;
13521 return resultobj;
13522 fail:
13523 return NULL;
13524 }
13525
13526
13527 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj;
13529 wxColourData *arg1 = (wxColourData *) 0 ;
13530 int arg2 ;
13531 wxColour *arg3 = 0 ;
13532 wxColour temp3 ;
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj1 = 0 ;
13535 PyObject * obj2 = 0 ;
13536 char *kwnames[] = {
13537 (char *) "self",(char *) "i",(char *) "colour", NULL
13538 };
13539
13540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13542 if (SWIG_arg_fail(1)) SWIG_fail;
13543 {
13544 arg2 = (int)(SWIG_As_int(obj1));
13545 if (SWIG_arg_fail(2)) SWIG_fail;
13546 }
13547 {
13548 arg3 = &temp3;
13549 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13550 }
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13554
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 Py_INCREF(Py_None); resultobj = Py_None;
13559 return resultobj;
13560 fail:
13561 return NULL;
13562 }
13563
13564
13565 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13566 PyObject *obj;
13567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13568 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13569 Py_INCREF(obj);
13570 return Py_BuildValue((char *)"");
13571 }
13572 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13573 PyObject *resultobj;
13574 wxWindow *arg1 = (wxWindow *) 0 ;
13575 wxColourData *arg2 = (wxColourData *) NULL ;
13576 wxColourDialog *result;
13577 PyObject * obj0 = 0 ;
13578 PyObject * obj1 = 0 ;
13579 char *kwnames[] = {
13580 (char *) "parent",(char *) "data", NULL
13581 };
13582
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13585 if (SWIG_arg_fail(1)) SWIG_fail;
13586 if (obj1) {
13587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13588 if (SWIG_arg_fail(2)) SWIG_fail;
13589 }
13590 {
13591 if (!wxPyCheckForApp()) SWIG_fail;
13592 PyThreadState* __tstate = wxPyBeginAllowThreads();
13593 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13594
13595 wxPyEndAllowThreads(__tstate);
13596 if (PyErr_Occurred()) SWIG_fail;
13597 }
13598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13599 return resultobj;
13600 fail:
13601 return NULL;
13602 }
13603
13604
13605 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13606 PyObject *resultobj;
13607 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13608 wxColourData *result;
13609 PyObject * obj0 = 0 ;
13610 char *kwnames[] = {
13611 (char *) "self", NULL
13612 };
13613
13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13616 if (SWIG_arg_fail(1)) SWIG_fail;
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 {
13620 wxColourData &_result_ref = (arg1)->GetColourData();
13621 result = (wxColourData *) &_result_ref;
13622 }
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13628 return resultobj;
13629 fail:
13630 return NULL;
13631 }
13632
13633
13634 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13635 PyObject *obj;
13636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13637 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13638 Py_INCREF(obj);
13639 return Py_BuildValue((char *)"");
13640 }
13641 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13642 PyObject *resultobj;
13643 wxWindow *arg1 = (wxWindow *) 0 ;
13644 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13645 wxString *arg2 = (wxString *) &arg2_defvalue ;
13646 wxString const &arg3_defvalue = wxPyEmptyString ;
13647 wxString *arg3 = (wxString *) &arg3_defvalue ;
13648 long arg4 = (long) 0 ;
13649 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13650 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13651 wxSize const &arg6_defvalue = wxDefaultSize ;
13652 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13653 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13654 wxString *arg7 = (wxString *) &arg7_defvalue ;
13655 wxDirDialog *result;
13656 bool temp2 = false ;
13657 bool temp3 = false ;
13658 wxPoint temp5 ;
13659 wxSize temp6 ;
13660 bool temp7 = false ;
13661 PyObject * obj0 = 0 ;
13662 PyObject * obj1 = 0 ;
13663 PyObject * obj2 = 0 ;
13664 PyObject * obj3 = 0 ;
13665 PyObject * obj4 = 0 ;
13666 PyObject * obj5 = 0 ;
13667 PyObject * obj6 = 0 ;
13668 char *kwnames[] = {
13669 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13670 };
13671
13672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13674 if (SWIG_arg_fail(1)) SWIG_fail;
13675 if (obj1) {
13676 {
13677 arg2 = wxString_in_helper(obj1);
13678 if (arg2 == NULL) SWIG_fail;
13679 temp2 = true;
13680 }
13681 }
13682 if (obj2) {
13683 {
13684 arg3 = wxString_in_helper(obj2);
13685 if (arg3 == NULL) SWIG_fail;
13686 temp3 = true;
13687 }
13688 }
13689 if (obj3) {
13690 {
13691 arg4 = (long)(SWIG_As_long(obj3));
13692 if (SWIG_arg_fail(4)) SWIG_fail;
13693 }
13694 }
13695 if (obj4) {
13696 {
13697 arg5 = &temp5;
13698 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13699 }
13700 }
13701 if (obj5) {
13702 {
13703 arg6 = &temp6;
13704 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13705 }
13706 }
13707 if (obj6) {
13708 {
13709 arg7 = wxString_in_helper(obj6);
13710 if (arg7 == NULL) SWIG_fail;
13711 temp7 = true;
13712 }
13713 }
13714 {
13715 if (!wxPyCheckForApp()) SWIG_fail;
13716 PyThreadState* __tstate = wxPyBeginAllowThreads();
13717 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13718
13719 wxPyEndAllowThreads(__tstate);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 }
13722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13723 {
13724 if (temp2)
13725 delete arg2;
13726 }
13727 {
13728 if (temp3)
13729 delete arg3;
13730 }
13731 {
13732 if (temp7)
13733 delete arg7;
13734 }
13735 return resultobj;
13736 fail:
13737 {
13738 if (temp2)
13739 delete arg2;
13740 }
13741 {
13742 if (temp3)
13743 delete arg3;
13744 }
13745 {
13746 if (temp7)
13747 delete arg7;
13748 }
13749 return NULL;
13750 }
13751
13752
13753 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13754 PyObject *resultobj;
13755 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13756 wxString result;
13757 PyObject * obj0 = 0 ;
13758 char *kwnames[] = {
13759 (char *) "self", NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13764 if (SWIG_arg_fail(1)) SWIG_fail;
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 result = (arg1)->GetPath();
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 {
13773 #if wxUSE_UNICODE
13774 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13775 #else
13776 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13777 #endif
13778 }
13779 return resultobj;
13780 fail:
13781 return NULL;
13782 }
13783
13784
13785 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13786 PyObject *resultobj;
13787 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13788 wxString result;
13789 PyObject * obj0 = 0 ;
13790 char *kwnames[] = {
13791 (char *) "self", NULL
13792 };
13793
13794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13796 if (SWIG_arg_fail(1)) SWIG_fail;
13797 {
13798 PyThreadState* __tstate = wxPyBeginAllowThreads();
13799 result = (arg1)->GetMessage();
13800
13801 wxPyEndAllowThreads(__tstate);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
13804 {
13805 #if wxUSE_UNICODE
13806 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13807 #else
13808 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13809 #endif
13810 }
13811 return resultobj;
13812 fail:
13813 return NULL;
13814 }
13815
13816
13817 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13818 PyObject *resultobj;
13819 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13820 long result;
13821 PyObject * obj0 = 0 ;
13822 char *kwnames[] = {
13823 (char *) "self", NULL
13824 };
13825
13826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13828 if (SWIG_arg_fail(1)) SWIG_fail;
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 result = (long)(arg1)->GetStyle();
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 {
13837 resultobj = SWIG_From_long((long)(result));
13838 }
13839 return resultobj;
13840 fail:
13841 return NULL;
13842 }
13843
13844
13845 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13846 PyObject *resultobj;
13847 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13848 wxString *arg2 = 0 ;
13849 bool temp2 = false ;
13850 PyObject * obj0 = 0 ;
13851 PyObject * obj1 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self",(char *) "message", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13858 if (SWIG_arg_fail(1)) SWIG_fail;
13859 {
13860 arg2 = wxString_in_helper(obj1);
13861 if (arg2 == NULL) SWIG_fail;
13862 temp2 = true;
13863 }
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
13866 (arg1)->SetMessage((wxString const &)*arg2);
13867
13868 wxPyEndAllowThreads(__tstate);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 }
13871 Py_INCREF(Py_None); resultobj = Py_None;
13872 {
13873 if (temp2)
13874 delete arg2;
13875 }
13876 return resultobj;
13877 fail:
13878 {
13879 if (temp2)
13880 delete arg2;
13881 }
13882 return NULL;
13883 }
13884
13885
13886 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13887 PyObject *resultobj;
13888 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13889 wxString *arg2 = 0 ;
13890 bool temp2 = false ;
13891 PyObject * obj0 = 0 ;
13892 PyObject * obj1 = 0 ;
13893 char *kwnames[] = {
13894 (char *) "self",(char *) "path", NULL
13895 };
13896
13897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
13898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13899 if (SWIG_arg_fail(1)) SWIG_fail;
13900 {
13901 arg2 = wxString_in_helper(obj1);
13902 if (arg2 == NULL) SWIG_fail;
13903 temp2 = true;
13904 }
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 (arg1)->SetPath((wxString const &)*arg2);
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 Py_INCREF(Py_None); resultobj = Py_None;
13913 {
13914 if (temp2)
13915 delete arg2;
13916 }
13917 return resultobj;
13918 fail:
13919 {
13920 if (temp2)
13921 delete arg2;
13922 }
13923 return NULL;
13924 }
13925
13926
13927 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
13928 PyObject *obj;
13929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13930 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13931 Py_INCREF(obj);
13932 return Py_BuildValue((char *)"");
13933 }
13934 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj;
13936 wxWindow *arg1 = (wxWindow *) 0 ;
13937 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13938 wxString *arg2 = (wxString *) &arg2_defvalue ;
13939 wxString const &arg3_defvalue = wxPyEmptyString ;
13940 wxString *arg3 = (wxString *) &arg3_defvalue ;
13941 wxString const &arg4_defvalue = wxPyEmptyString ;
13942 wxString *arg4 = (wxString *) &arg4_defvalue ;
13943 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13944 wxString *arg5 = (wxString *) &arg5_defvalue ;
13945 long arg6 = (long) 0 ;
13946 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13947 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13948 wxFileDialog *result;
13949 bool temp2 = false ;
13950 bool temp3 = false ;
13951 bool temp4 = false ;
13952 bool temp5 = false ;
13953 wxPoint temp7 ;
13954 PyObject * obj0 = 0 ;
13955 PyObject * obj1 = 0 ;
13956 PyObject * obj2 = 0 ;
13957 PyObject * obj3 = 0 ;
13958 PyObject * obj4 = 0 ;
13959 PyObject * obj5 = 0 ;
13960 PyObject * obj6 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13967 if (SWIG_arg_fail(1)) SWIG_fail;
13968 if (obj1) {
13969 {
13970 arg2 = wxString_in_helper(obj1);
13971 if (arg2 == NULL) SWIG_fail;
13972 temp2 = true;
13973 }
13974 }
13975 if (obj2) {
13976 {
13977 arg3 = wxString_in_helper(obj2);
13978 if (arg3 == NULL) SWIG_fail;
13979 temp3 = true;
13980 }
13981 }
13982 if (obj3) {
13983 {
13984 arg4 = wxString_in_helper(obj3);
13985 if (arg4 == NULL) SWIG_fail;
13986 temp4 = true;
13987 }
13988 }
13989 if (obj4) {
13990 {
13991 arg5 = wxString_in_helper(obj4);
13992 if (arg5 == NULL) SWIG_fail;
13993 temp5 = true;
13994 }
13995 }
13996 if (obj5) {
13997 {
13998 arg6 = (long)(SWIG_As_long(obj5));
13999 if (SWIG_arg_fail(6)) SWIG_fail;
14000 }
14001 }
14002 if (obj6) {
14003 {
14004 arg7 = &temp7;
14005 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14006 }
14007 }
14008 {
14009 if (!wxPyCheckForApp()) SWIG_fail;
14010 PyThreadState* __tstate = wxPyBeginAllowThreads();
14011 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14012
14013 wxPyEndAllowThreads(__tstate);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
14016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14017 {
14018 if (temp2)
14019 delete arg2;
14020 }
14021 {
14022 if (temp3)
14023 delete arg3;
14024 }
14025 {
14026 if (temp4)
14027 delete arg4;
14028 }
14029 {
14030 if (temp5)
14031 delete arg5;
14032 }
14033 return resultobj;
14034 fail:
14035 {
14036 if (temp2)
14037 delete arg2;
14038 }
14039 {
14040 if (temp3)
14041 delete arg3;
14042 }
14043 {
14044 if (temp4)
14045 delete arg4;
14046 }
14047 {
14048 if (temp5)
14049 delete arg5;
14050 }
14051 return NULL;
14052 }
14053
14054
14055 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14056 PyObject *resultobj;
14057 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14058 wxString *arg2 = 0 ;
14059 bool temp2 = false ;
14060 PyObject * obj0 = 0 ;
14061 PyObject * obj1 = 0 ;
14062 char *kwnames[] = {
14063 (char *) "self",(char *) "message", NULL
14064 };
14065
14066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14068 if (SWIG_arg_fail(1)) SWIG_fail;
14069 {
14070 arg2 = wxString_in_helper(obj1);
14071 if (arg2 == NULL) SWIG_fail;
14072 temp2 = true;
14073 }
14074 {
14075 PyThreadState* __tstate = wxPyBeginAllowThreads();
14076 (arg1)->SetMessage((wxString const &)*arg2);
14077
14078 wxPyEndAllowThreads(__tstate);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 }
14081 Py_INCREF(Py_None); resultobj = Py_None;
14082 {
14083 if (temp2)
14084 delete arg2;
14085 }
14086 return resultobj;
14087 fail:
14088 {
14089 if (temp2)
14090 delete arg2;
14091 }
14092 return NULL;
14093 }
14094
14095
14096 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14099 wxString *arg2 = 0 ;
14100 bool temp2 = false ;
14101 PyObject * obj0 = 0 ;
14102 PyObject * obj1 = 0 ;
14103 char *kwnames[] = {
14104 (char *) "self",(char *) "path", NULL
14105 };
14106
14107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14109 if (SWIG_arg_fail(1)) SWIG_fail;
14110 {
14111 arg2 = wxString_in_helper(obj1);
14112 if (arg2 == NULL) SWIG_fail;
14113 temp2 = true;
14114 }
14115 {
14116 PyThreadState* __tstate = wxPyBeginAllowThreads();
14117 (arg1)->SetPath((wxString const &)*arg2);
14118
14119 wxPyEndAllowThreads(__tstate);
14120 if (PyErr_Occurred()) SWIG_fail;
14121 }
14122 Py_INCREF(Py_None); resultobj = Py_None;
14123 {
14124 if (temp2)
14125 delete arg2;
14126 }
14127 return resultobj;
14128 fail:
14129 {
14130 if (temp2)
14131 delete arg2;
14132 }
14133 return NULL;
14134 }
14135
14136
14137 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14138 PyObject *resultobj;
14139 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14140 wxString *arg2 = 0 ;
14141 bool temp2 = false ;
14142 PyObject * obj0 = 0 ;
14143 PyObject * obj1 = 0 ;
14144 char *kwnames[] = {
14145 (char *) "self",(char *) "dir", NULL
14146 };
14147
14148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14150 if (SWIG_arg_fail(1)) SWIG_fail;
14151 {
14152 arg2 = wxString_in_helper(obj1);
14153 if (arg2 == NULL) SWIG_fail;
14154 temp2 = true;
14155 }
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 (arg1)->SetDirectory((wxString const &)*arg2);
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 Py_INCREF(Py_None); resultobj = Py_None;
14164 {
14165 if (temp2)
14166 delete arg2;
14167 }
14168 return resultobj;
14169 fail:
14170 {
14171 if (temp2)
14172 delete arg2;
14173 }
14174 return NULL;
14175 }
14176
14177
14178 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj;
14180 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14181 wxString *arg2 = 0 ;
14182 bool temp2 = false ;
14183 PyObject * obj0 = 0 ;
14184 PyObject * obj1 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self",(char *) "name", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14191 if (SWIG_arg_fail(1)) SWIG_fail;
14192 {
14193 arg2 = wxString_in_helper(obj1);
14194 if (arg2 == NULL) SWIG_fail;
14195 temp2 = true;
14196 }
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 (arg1)->SetFilename((wxString const &)*arg2);
14200
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 Py_INCREF(Py_None); resultobj = Py_None;
14205 {
14206 if (temp2)
14207 delete arg2;
14208 }
14209 return resultobj;
14210 fail:
14211 {
14212 if (temp2)
14213 delete arg2;
14214 }
14215 return NULL;
14216 }
14217
14218
14219 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14222 wxString *arg2 = 0 ;
14223 bool temp2 = false ;
14224 PyObject * obj0 = 0 ;
14225 PyObject * obj1 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self",(char *) "wildCard", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14232 if (SWIG_arg_fail(1)) SWIG_fail;
14233 {
14234 arg2 = wxString_in_helper(obj1);
14235 if (arg2 == NULL) SWIG_fail;
14236 temp2 = true;
14237 }
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 (arg1)->SetWildcard((wxString const &)*arg2);
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 Py_INCREF(Py_None); resultobj = Py_None;
14246 {
14247 if (temp2)
14248 delete arg2;
14249 }
14250 return resultobj;
14251 fail:
14252 {
14253 if (temp2)
14254 delete arg2;
14255 }
14256 return NULL;
14257 }
14258
14259
14260 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14261 PyObject *resultobj;
14262 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14263 long arg2 ;
14264 PyObject * obj0 = 0 ;
14265 PyObject * obj1 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self",(char *) "style", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail;
14273 {
14274 arg2 = (long)(SWIG_As_long(obj1));
14275 if (SWIG_arg_fail(2)) SWIG_fail;
14276 }
14277 {
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 (arg1)->SetStyle(arg2);
14280
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 Py_INCREF(Py_None); resultobj = Py_None;
14285 return resultobj;
14286 fail:
14287 return NULL;
14288 }
14289
14290
14291 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14292 PyObject *resultobj;
14293 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14294 int arg2 ;
14295 PyObject * obj0 = 0 ;
14296 PyObject * obj1 = 0 ;
14297 char *kwnames[] = {
14298 (char *) "self",(char *) "filterIndex", NULL
14299 };
14300
14301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14303 if (SWIG_arg_fail(1)) SWIG_fail;
14304 {
14305 arg2 = (int)(SWIG_As_int(obj1));
14306 if (SWIG_arg_fail(2)) SWIG_fail;
14307 }
14308 {
14309 PyThreadState* __tstate = wxPyBeginAllowThreads();
14310 (arg1)->SetFilterIndex(arg2);
14311
14312 wxPyEndAllowThreads(__tstate);
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
14315 Py_INCREF(Py_None); resultobj = Py_None;
14316 return resultobj;
14317 fail:
14318 return NULL;
14319 }
14320
14321
14322 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj;
14324 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14325 wxString result;
14326 PyObject * obj0 = 0 ;
14327 char *kwnames[] = {
14328 (char *) "self", NULL
14329 };
14330
14331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14333 if (SWIG_arg_fail(1)) SWIG_fail;
14334 {
14335 PyThreadState* __tstate = wxPyBeginAllowThreads();
14336 result = ((wxFileDialog const *)arg1)->GetMessage();
14337
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 {
14342 #if wxUSE_UNICODE
14343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14344 #else
14345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14346 #endif
14347 }
14348 return resultobj;
14349 fail:
14350 return NULL;
14351 }
14352
14353
14354 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14357 wxString result;
14358 PyObject * obj0 = 0 ;
14359 char *kwnames[] = {
14360 (char *) "self", NULL
14361 };
14362
14363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14365 if (SWIG_arg_fail(1)) SWIG_fail;
14366 {
14367 PyThreadState* __tstate = wxPyBeginAllowThreads();
14368 result = ((wxFileDialog const *)arg1)->GetPath();
14369
14370 wxPyEndAllowThreads(__tstate);
14371 if (PyErr_Occurred()) SWIG_fail;
14372 }
14373 {
14374 #if wxUSE_UNICODE
14375 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14376 #else
14377 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14378 #endif
14379 }
14380 return resultobj;
14381 fail:
14382 return NULL;
14383 }
14384
14385
14386 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14387 PyObject *resultobj;
14388 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14389 wxString result;
14390 PyObject * obj0 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "self", NULL
14393 };
14394
14395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14397 if (SWIG_arg_fail(1)) SWIG_fail;
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 result = ((wxFileDialog const *)arg1)->GetDirectory();
14401
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 {
14406 #if wxUSE_UNICODE
14407 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14408 #else
14409 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14410 #endif
14411 }
14412 return resultobj;
14413 fail:
14414 return NULL;
14415 }
14416
14417
14418 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14419 PyObject *resultobj;
14420 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14421 wxString result;
14422 PyObject * obj0 = 0 ;
14423 char *kwnames[] = {
14424 (char *) "self", NULL
14425 };
14426
14427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14429 if (SWIG_arg_fail(1)) SWIG_fail;
14430 {
14431 PyThreadState* __tstate = wxPyBeginAllowThreads();
14432 result = ((wxFileDialog const *)arg1)->GetFilename();
14433
14434 wxPyEndAllowThreads(__tstate);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 {
14438 #if wxUSE_UNICODE
14439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14440 #else
14441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14442 #endif
14443 }
14444 return resultobj;
14445 fail:
14446 return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14453 wxString result;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14461 if (SWIG_arg_fail(1)) SWIG_fail;
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 result = ((wxFileDialog const *)arg1)->GetWildcard();
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 {
14470 #if wxUSE_UNICODE
14471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14472 #else
14473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14474 #endif
14475 }
14476 return resultobj;
14477 fail:
14478 return NULL;
14479 }
14480
14481
14482 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14483 PyObject *resultobj;
14484 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14485 long result;
14486 PyObject * obj0 = 0 ;
14487 char *kwnames[] = {
14488 (char *) "self", NULL
14489 };
14490
14491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14493 if (SWIG_arg_fail(1)) SWIG_fail;
14494 {
14495 PyThreadState* __tstate = wxPyBeginAllowThreads();
14496 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14497
14498 wxPyEndAllowThreads(__tstate);
14499 if (PyErr_Occurred()) SWIG_fail;
14500 }
14501 {
14502 resultobj = SWIG_From_long((long)(result));
14503 }
14504 return resultobj;
14505 fail:
14506 return NULL;
14507 }
14508
14509
14510 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14511 PyObject *resultobj;
14512 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14513 int result;
14514 PyObject * obj0 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14521 if (SWIG_arg_fail(1)) SWIG_fail;
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 {
14530 resultobj = SWIG_From_int((int)(result));
14531 }
14532 return resultobj;
14533 fail:
14534 return NULL;
14535 }
14536
14537
14538 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14539 PyObject *resultobj;
14540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14541 PyObject *result;
14542 PyObject * obj0 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14549 if (SWIG_arg_fail(1)) SWIG_fail;
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 resultobj = result;
14558 return resultobj;
14559 fail:
14560 return NULL;
14561 }
14562
14563
14564 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj;
14566 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14567 PyObject *result;
14568 PyObject * obj0 = 0 ;
14569 char *kwnames[] = {
14570 (char *) "self", NULL
14571 };
14572
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14575 if (SWIG_arg_fail(1)) SWIG_fail;
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14579
14580 wxPyEndAllowThreads(__tstate);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 resultobj = result;
14584 return resultobj;
14585 fail:
14586 return NULL;
14587 }
14588
14589
14590 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14591 PyObject *obj;
14592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14593 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14594 Py_INCREF(obj);
14595 return Py_BuildValue((char *)"");
14596 }
14597 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14598 PyObject *resultobj;
14599 wxWindow *arg1 = (wxWindow *) 0 ;
14600 wxString *arg2 = 0 ;
14601 wxString *arg3 = 0 ;
14602 int arg4 = (int) 0 ;
14603 wxString *arg5 = (wxString *) NULL ;
14604 long arg6 = (long) wxCHOICEDLG_STYLE ;
14605 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14606 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14607 wxMultiChoiceDialog *result;
14608 bool temp2 = false ;
14609 bool temp3 = false ;
14610 wxPoint temp7 ;
14611 PyObject * obj0 = 0 ;
14612 PyObject * obj1 = 0 ;
14613 PyObject * obj2 = 0 ;
14614 PyObject * obj3 = 0 ;
14615 PyObject * obj4 = 0 ;
14616 PyObject * obj5 = 0 ;
14617 char *kwnames[] = {
14618 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14619 };
14620
14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14623 if (SWIG_arg_fail(1)) SWIG_fail;
14624 {
14625 arg2 = wxString_in_helper(obj1);
14626 if (arg2 == NULL) SWIG_fail;
14627 temp2 = true;
14628 }
14629 {
14630 arg3 = wxString_in_helper(obj2);
14631 if (arg3 == NULL) SWIG_fail;
14632 temp3 = true;
14633 }
14634 if (obj3) {
14635 {
14636 arg4 = PyList_Size(obj3);
14637 arg5 = wxString_LIST_helper(obj3);
14638 if (arg5 == NULL) SWIG_fail;
14639 }
14640 }
14641 if (obj4) {
14642 {
14643 arg6 = (long)(SWIG_As_long(obj4));
14644 if (SWIG_arg_fail(6)) SWIG_fail;
14645 }
14646 }
14647 if (obj5) {
14648 {
14649 arg7 = &temp7;
14650 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14651 }
14652 }
14653 {
14654 if (!wxPyCheckForApp()) SWIG_fail;
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14657
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14662 {
14663 if (temp2)
14664 delete arg2;
14665 }
14666 {
14667 if (temp3)
14668 delete arg3;
14669 }
14670 {
14671 if (arg5) delete [] arg5;
14672 }
14673 return resultobj;
14674 fail:
14675 {
14676 if (temp2)
14677 delete arg2;
14678 }
14679 {
14680 if (temp3)
14681 delete arg3;
14682 }
14683 {
14684 if (arg5) delete [] arg5;
14685 }
14686 return NULL;
14687 }
14688
14689
14690 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14691 PyObject *resultobj;
14692 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14693 wxArrayInt *arg2 = 0 ;
14694 bool temp2 = false ;
14695 PyObject * obj0 = 0 ;
14696 PyObject * obj1 = 0 ;
14697 char *kwnames[] = {
14698 (char *) "self",(char *) "selections", NULL
14699 };
14700
14701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14703 if (SWIG_arg_fail(1)) SWIG_fail;
14704 {
14705 if (! PySequence_Check(obj1)) {
14706 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14707 SWIG_fail;
14708 }
14709 arg2 = new wxArrayInt;
14710 temp2 = true;
14711 int i, len=PySequence_Length(obj1);
14712 for (i=0; i<len; i++) {
14713 PyObject* item = PySequence_GetItem(obj1, i);
14714 PyObject* number = PyNumber_Int(item);
14715 arg2->Add(PyInt_AS_LONG(number));
14716 Py_DECREF(item);
14717 Py_DECREF(number);
14718 }
14719 }
14720 {
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14723
14724 wxPyEndAllowThreads(__tstate);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 Py_INCREF(Py_None); resultobj = Py_None;
14728 {
14729 if (temp2) delete arg2;
14730 }
14731 return resultobj;
14732 fail:
14733 {
14734 if (temp2) delete arg2;
14735 }
14736 return NULL;
14737 }
14738
14739
14740 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14743 PyObject *result;
14744 PyObject * obj0 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14751 if (SWIG_arg_fail(1)) SWIG_fail;
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 resultobj = result;
14760 return resultobj;
14761 fail:
14762 return NULL;
14763 }
14764
14765
14766 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14767 PyObject *obj;
14768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14769 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14770 Py_INCREF(obj);
14771 return Py_BuildValue((char *)"");
14772 }
14773 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14774 PyObject *resultobj;
14775 wxWindow *arg1 = (wxWindow *) 0 ;
14776 wxString *arg2 = 0 ;
14777 wxString *arg3 = 0 ;
14778 int arg4 ;
14779 wxString *arg5 = (wxString *) 0 ;
14780 long arg6 = (long) wxCHOICEDLG_STYLE ;
14781 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14782 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14783 wxSingleChoiceDialog *result;
14784 bool temp2 = false ;
14785 bool temp3 = false ;
14786 wxPoint temp7 ;
14787 PyObject * obj0 = 0 ;
14788 PyObject * obj1 = 0 ;
14789 PyObject * obj2 = 0 ;
14790 PyObject * obj3 = 0 ;
14791 PyObject * obj4 = 0 ;
14792 PyObject * obj5 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14799 if (SWIG_arg_fail(1)) SWIG_fail;
14800 {
14801 arg2 = wxString_in_helper(obj1);
14802 if (arg2 == NULL) SWIG_fail;
14803 temp2 = true;
14804 }
14805 {
14806 arg3 = wxString_in_helper(obj2);
14807 if (arg3 == NULL) SWIG_fail;
14808 temp3 = true;
14809 }
14810 {
14811 arg4 = PyList_Size(obj3);
14812 arg5 = wxString_LIST_helper(obj3);
14813 if (arg5 == NULL) SWIG_fail;
14814 }
14815 if (obj4) {
14816 {
14817 arg6 = (long)(SWIG_As_long(obj4));
14818 if (SWIG_arg_fail(6)) SWIG_fail;
14819 }
14820 }
14821 if (obj5) {
14822 {
14823 arg7 = &temp7;
14824 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14825 }
14826 }
14827 {
14828 if (!wxPyCheckForApp()) SWIG_fail;
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14836 {
14837 if (temp2)
14838 delete arg2;
14839 }
14840 {
14841 if (temp3)
14842 delete arg3;
14843 }
14844 {
14845 if (arg5) delete [] arg5;
14846 }
14847 return resultobj;
14848 fail:
14849 {
14850 if (temp2)
14851 delete arg2;
14852 }
14853 {
14854 if (temp3)
14855 delete arg3;
14856 }
14857 {
14858 if (arg5) delete [] arg5;
14859 }
14860 return NULL;
14861 }
14862
14863
14864 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj;
14866 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14867 int result;
14868 PyObject * obj0 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
14874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14875 if (SWIG_arg_fail(1)) SWIG_fail;
14876 {
14877 PyThreadState* __tstate = wxPyBeginAllowThreads();
14878 result = (int)(arg1)->GetSelection();
14879
14880 wxPyEndAllowThreads(__tstate);
14881 if (PyErr_Occurred()) SWIG_fail;
14882 }
14883 {
14884 resultobj = SWIG_From_int((int)(result));
14885 }
14886 return resultobj;
14887 fail:
14888 return NULL;
14889 }
14890
14891
14892 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj;
14894 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14895 wxString result;
14896 PyObject * obj0 = 0 ;
14897 char *kwnames[] = {
14898 (char *) "self", NULL
14899 };
14900
14901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
14902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14903 if (SWIG_arg_fail(1)) SWIG_fail;
14904 {
14905 PyThreadState* __tstate = wxPyBeginAllowThreads();
14906 result = (arg1)->GetStringSelection();
14907
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 {
14912 #if wxUSE_UNICODE
14913 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14914 #else
14915 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14916 #endif
14917 }
14918 return resultobj;
14919 fail:
14920 return NULL;
14921 }
14922
14923
14924 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14925 PyObject *resultobj;
14926 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14927 int arg2 ;
14928 PyObject * obj0 = 0 ;
14929 PyObject * obj1 = 0 ;
14930 char *kwnames[] = {
14931 (char *) "self",(char *) "sel", NULL
14932 };
14933
14934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14936 if (SWIG_arg_fail(1)) SWIG_fail;
14937 {
14938 arg2 = (int)(SWIG_As_int(obj1));
14939 if (SWIG_arg_fail(2)) SWIG_fail;
14940 }
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 (arg1)->SetSelection(arg2);
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 Py_INCREF(Py_None); resultobj = Py_None;
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
14956 PyObject *obj;
14957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14959 Py_INCREF(obj);
14960 return Py_BuildValue((char *)"");
14961 }
14962 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxWindow *arg1 = (wxWindow *) 0 ;
14965 wxString *arg2 = 0 ;
14966 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14967 wxString *arg3 = (wxString *) &arg3_defvalue ;
14968 wxString const &arg4_defvalue = wxPyEmptyString ;
14969 wxString *arg4 = (wxString *) &arg4_defvalue ;
14970 long arg5 = (long) wxTextEntryDialogStyle ;
14971 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14972 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14973 wxTextEntryDialog *result;
14974 bool temp2 = false ;
14975 bool temp3 = false ;
14976 bool temp4 = false ;
14977 wxPoint temp6 ;
14978 PyObject * obj0 = 0 ;
14979 PyObject * obj1 = 0 ;
14980 PyObject * obj2 = 0 ;
14981 PyObject * obj3 = 0 ;
14982 PyObject * obj4 = 0 ;
14983 PyObject * obj5 = 0 ;
14984 char *kwnames[] = {
14985 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14986 };
14987
14988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14990 if (SWIG_arg_fail(1)) SWIG_fail;
14991 {
14992 arg2 = wxString_in_helper(obj1);
14993 if (arg2 == NULL) SWIG_fail;
14994 temp2 = true;
14995 }
14996 if (obj2) {
14997 {
14998 arg3 = wxString_in_helper(obj2);
14999 if (arg3 == NULL) SWIG_fail;
15000 temp3 = true;
15001 }
15002 }
15003 if (obj3) {
15004 {
15005 arg4 = wxString_in_helper(obj3);
15006 if (arg4 == NULL) SWIG_fail;
15007 temp4 = true;
15008 }
15009 }
15010 if (obj4) {
15011 {
15012 arg5 = (long)(SWIG_As_long(obj4));
15013 if (SWIG_arg_fail(5)) SWIG_fail;
15014 }
15015 }
15016 if (obj5) {
15017 {
15018 arg6 = &temp6;
15019 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15020 }
15021 }
15022 {
15023 if (!wxPyCheckForApp()) SWIG_fail;
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15031 {
15032 if (temp2)
15033 delete arg2;
15034 }
15035 {
15036 if (temp3)
15037 delete arg3;
15038 }
15039 {
15040 if (temp4)
15041 delete arg4;
15042 }
15043 return resultobj;
15044 fail:
15045 {
15046 if (temp2)
15047 delete arg2;
15048 }
15049 {
15050 if (temp3)
15051 delete arg3;
15052 }
15053 {
15054 if (temp4)
15055 delete arg4;
15056 }
15057 return NULL;
15058 }
15059
15060
15061 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15062 PyObject *resultobj;
15063 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15064 wxString result;
15065 PyObject * obj0 = 0 ;
15066 char *kwnames[] = {
15067 (char *) "self", NULL
15068 };
15069
15070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15072 if (SWIG_arg_fail(1)) SWIG_fail;
15073 {
15074 PyThreadState* __tstate = wxPyBeginAllowThreads();
15075 result = (arg1)->GetValue();
15076
15077 wxPyEndAllowThreads(__tstate);
15078 if (PyErr_Occurred()) SWIG_fail;
15079 }
15080 {
15081 #if wxUSE_UNICODE
15082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15083 #else
15084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15085 #endif
15086 }
15087 return resultobj;
15088 fail:
15089 return NULL;
15090 }
15091
15092
15093 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj;
15095 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15096 wxString *arg2 = 0 ;
15097 bool temp2 = false ;
15098 PyObject * obj0 = 0 ;
15099 PyObject * obj1 = 0 ;
15100 char *kwnames[] = {
15101 (char *) "self",(char *) "value", NULL
15102 };
15103
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail;
15107 {
15108 arg2 = wxString_in_helper(obj1);
15109 if (arg2 == NULL) SWIG_fail;
15110 temp2 = true;
15111 }
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 (arg1)->SetValue((wxString const &)*arg2);
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 Py_INCREF(Py_None); resultobj = Py_None;
15120 {
15121 if (temp2)
15122 delete arg2;
15123 }
15124 return resultobj;
15125 fail:
15126 {
15127 if (temp2)
15128 delete arg2;
15129 }
15130 return NULL;
15131 }
15132
15133
15134 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15135 PyObject *obj;
15136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15137 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15138 Py_INCREF(obj);
15139 return Py_BuildValue((char *)"");
15140 }
15141 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15142 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15143 return 1;
15144 }
15145
15146
15147 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15148 PyObject *pyobj;
15149
15150 {
15151 #if wxUSE_UNICODE
15152 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15153 #else
15154 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15155 #endif
15156 }
15157 return pyobj;
15158 }
15159
15160
15161 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15162 PyObject *resultobj;
15163 wxWindow *arg1 = (wxWindow *) 0 ;
15164 wxString *arg2 = 0 ;
15165 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15166 wxString *arg3 = (wxString *) &arg3_defvalue ;
15167 wxString const &arg4_defvalue = wxPyEmptyString ;
15168 wxString *arg4 = (wxString *) &arg4_defvalue ;
15169 long arg5 = (long) wxTextEntryDialogStyle ;
15170 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15171 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15172 wxPasswordEntryDialog *result;
15173 bool temp2 = false ;
15174 bool temp3 = false ;
15175 bool temp4 = false ;
15176 wxPoint temp6 ;
15177 PyObject * obj0 = 0 ;
15178 PyObject * obj1 = 0 ;
15179 PyObject * obj2 = 0 ;
15180 PyObject * obj3 = 0 ;
15181 PyObject * obj4 = 0 ;
15182 PyObject * obj5 = 0 ;
15183 char *kwnames[] = {
15184 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail;
15190 {
15191 arg2 = wxString_in_helper(obj1);
15192 if (arg2 == NULL) SWIG_fail;
15193 temp2 = true;
15194 }
15195 if (obj2) {
15196 {
15197 arg3 = wxString_in_helper(obj2);
15198 if (arg3 == NULL) SWIG_fail;
15199 temp3 = true;
15200 }
15201 }
15202 if (obj3) {
15203 {
15204 arg4 = wxString_in_helper(obj3);
15205 if (arg4 == NULL) SWIG_fail;
15206 temp4 = true;
15207 }
15208 }
15209 if (obj4) {
15210 {
15211 arg5 = (long)(SWIG_As_long(obj4));
15212 if (SWIG_arg_fail(5)) SWIG_fail;
15213 }
15214 }
15215 if (obj5) {
15216 {
15217 arg6 = &temp6;
15218 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15219 }
15220 }
15221 {
15222 PyThreadState* __tstate = wxPyBeginAllowThreads();
15223 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15224
15225 wxPyEndAllowThreads(__tstate);
15226 if (PyErr_Occurred()) SWIG_fail;
15227 }
15228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15229 {
15230 if (temp2)
15231 delete arg2;
15232 }
15233 {
15234 if (temp3)
15235 delete arg3;
15236 }
15237 {
15238 if (temp4)
15239 delete arg4;
15240 }
15241 return resultobj;
15242 fail:
15243 {
15244 if (temp2)
15245 delete arg2;
15246 }
15247 {
15248 if (temp3)
15249 delete arg3;
15250 }
15251 {
15252 if (temp4)
15253 delete arg4;
15254 }
15255 return NULL;
15256 }
15257
15258
15259 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15260 PyObject *obj;
15261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15262 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15263 Py_INCREF(obj);
15264 return Py_BuildValue((char *)"");
15265 }
15266 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15267 PyObject *resultobj;
15268 wxFontData *result;
15269 char *kwnames[] = {
15270 NULL
15271 };
15272
15273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (wxFontData *)new wxFontData();
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15282 return resultobj;
15283 fail:
15284 return NULL;
15285 }
15286
15287
15288 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxFontData *arg1 = (wxFontData *) 0 ;
15291 PyObject * obj0 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15298 if (SWIG_arg_fail(1)) SWIG_fail;
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 delete arg1;
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 Py_INCREF(Py_None); resultobj = Py_None;
15307 return resultobj;
15308 fail:
15309 return NULL;
15310 }
15311
15312
15313 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxFontData *arg1 = (wxFontData *) 0 ;
15316 bool arg2 ;
15317 PyObject * obj0 = 0 ;
15318 PyObject * obj1 = 0 ;
15319 char *kwnames[] = {
15320 (char *) "self",(char *) "enable", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15325 if (SWIG_arg_fail(1)) SWIG_fail;
15326 {
15327 arg2 = (bool)(SWIG_As_bool(obj1));
15328 if (SWIG_arg_fail(2)) SWIG_fail;
15329 }
15330 {
15331 PyThreadState* __tstate = wxPyBeginAllowThreads();
15332 (arg1)->EnableEffects(arg2);
15333
15334 wxPyEndAllowThreads(__tstate);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 }
15337 Py_INCREF(Py_None); resultobj = Py_None;
15338 return resultobj;
15339 fail:
15340 return NULL;
15341 }
15342
15343
15344 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15345 PyObject *resultobj;
15346 wxFontData *arg1 = (wxFontData *) 0 ;
15347 bool result;
15348 PyObject * obj0 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "self", NULL
15351 };
15352
15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15355 if (SWIG_arg_fail(1)) SWIG_fail;
15356 {
15357 PyThreadState* __tstate = wxPyBeginAllowThreads();
15358 result = (bool)(arg1)->GetAllowSymbols();
15359
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 {
15364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15365 }
15366 return resultobj;
15367 fail:
15368 return NULL;
15369 }
15370
15371
15372 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15373 PyObject *resultobj;
15374 wxFontData *arg1 = (wxFontData *) 0 ;
15375 wxColour result;
15376 PyObject * obj0 = 0 ;
15377 char *kwnames[] = {
15378 (char *) "self", NULL
15379 };
15380
15381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15383 if (SWIG_arg_fail(1)) SWIG_fail;
15384 {
15385 PyThreadState* __tstate = wxPyBeginAllowThreads();
15386 result = (arg1)->GetColour();
15387
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
15391 {
15392 wxColour * resultptr;
15393 resultptr = new wxColour((wxColour &)(result));
15394 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15395 }
15396 return resultobj;
15397 fail:
15398 return NULL;
15399 }
15400
15401
15402 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15403 PyObject *resultobj;
15404 wxFontData *arg1 = (wxFontData *) 0 ;
15405 wxFont result;
15406 PyObject * obj0 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail;
15414 {
15415 PyThreadState* __tstate = wxPyBeginAllowThreads();
15416 result = (arg1)->GetChosenFont();
15417
15418 wxPyEndAllowThreads(__tstate);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 {
15422 wxFont * resultptr;
15423 resultptr = new wxFont((wxFont &)(result));
15424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15425 }
15426 return resultobj;
15427 fail:
15428 return NULL;
15429 }
15430
15431
15432 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj;
15434 wxFontData *arg1 = (wxFontData *) 0 ;
15435 bool result;
15436 PyObject * obj0 = 0 ;
15437 char *kwnames[] = {
15438 (char *) "self", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail;
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 result = (bool)(arg1)->GetEnableEffects();
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 {
15452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15453 }
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxFontData *arg1 = (wxFontData *) 0 ;
15463 wxFont result;
15464 PyObject * obj0 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail;
15472 {
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 result = (arg1)->GetInitialFont();
15475
15476 wxPyEndAllowThreads(__tstate);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
15479 {
15480 wxFont * resultptr;
15481 resultptr = new wxFont((wxFont &)(result));
15482 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15483 }
15484 return resultobj;
15485 fail:
15486 return NULL;
15487 }
15488
15489
15490 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15491 PyObject *resultobj;
15492 wxFontData *arg1 = (wxFontData *) 0 ;
15493 bool result;
15494 PyObject * obj0 = 0 ;
15495 char *kwnames[] = {
15496 (char *) "self", NULL
15497 };
15498
15499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15501 if (SWIG_arg_fail(1)) SWIG_fail;
15502 {
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 result = (bool)(arg1)->GetShowHelp();
15505
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 {
15510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15511 }
15512 return resultobj;
15513 fail:
15514 return NULL;
15515 }
15516
15517
15518 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15519 PyObject *resultobj;
15520 wxFontData *arg1 = (wxFontData *) 0 ;
15521 bool arg2 ;
15522 PyObject * obj0 = 0 ;
15523 PyObject * obj1 = 0 ;
15524 char *kwnames[] = {
15525 (char *) "self",(char *) "allowSymbols", NULL
15526 };
15527
15528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15530 if (SWIG_arg_fail(1)) SWIG_fail;
15531 {
15532 arg2 = (bool)(SWIG_As_bool(obj1));
15533 if (SWIG_arg_fail(2)) SWIG_fail;
15534 }
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 (arg1)->SetAllowSymbols(arg2);
15538
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 Py_INCREF(Py_None); resultobj = Py_None;
15543 return resultobj;
15544 fail:
15545 return NULL;
15546 }
15547
15548
15549 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj;
15551 wxFontData *arg1 = (wxFontData *) 0 ;
15552 wxFont *arg2 = 0 ;
15553 PyObject * obj0 = 0 ;
15554 PyObject * obj1 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self",(char *) "font", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail;
15562 {
15563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15564 if (SWIG_arg_fail(2)) SWIG_fail;
15565 if (arg2 == NULL) {
15566 SWIG_null_ref("wxFont");
15567 }
15568 if (SWIG_arg_fail(2)) SWIG_fail;
15569 }
15570 {
15571 PyThreadState* __tstate = wxPyBeginAllowThreads();
15572 (arg1)->SetChosenFont((wxFont const &)*arg2);
15573
15574 wxPyEndAllowThreads(__tstate);
15575 if (PyErr_Occurred()) SWIG_fail;
15576 }
15577 Py_INCREF(Py_None); resultobj = Py_None;
15578 return resultobj;
15579 fail:
15580 return NULL;
15581 }
15582
15583
15584 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15585 PyObject *resultobj;
15586 wxFontData *arg1 = (wxFontData *) 0 ;
15587 wxColour *arg2 = 0 ;
15588 wxColour temp2 ;
15589 PyObject * obj0 = 0 ;
15590 PyObject * obj1 = 0 ;
15591 char *kwnames[] = {
15592 (char *) "self",(char *) "colour", NULL
15593 };
15594
15595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15597 if (SWIG_arg_fail(1)) SWIG_fail;
15598 {
15599 arg2 = &temp2;
15600 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15601 }
15602 {
15603 PyThreadState* __tstate = wxPyBeginAllowThreads();
15604 (arg1)->SetColour((wxColour const &)*arg2);
15605
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 Py_INCREF(Py_None); resultobj = Py_None;
15610 return resultobj;
15611 fail:
15612 return NULL;
15613 }
15614
15615
15616 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15617 PyObject *resultobj;
15618 wxFontData *arg1 = (wxFontData *) 0 ;
15619 wxFont *arg2 = 0 ;
15620 PyObject * obj0 = 0 ;
15621 PyObject * obj1 = 0 ;
15622 char *kwnames[] = {
15623 (char *) "self",(char *) "font", NULL
15624 };
15625
15626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15628 if (SWIG_arg_fail(1)) SWIG_fail;
15629 {
15630 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15631 if (SWIG_arg_fail(2)) SWIG_fail;
15632 if (arg2 == NULL) {
15633 SWIG_null_ref("wxFont");
15634 }
15635 if (SWIG_arg_fail(2)) SWIG_fail;
15636 }
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 (arg1)->SetInitialFont((wxFont const &)*arg2);
15640
15641 wxPyEndAllowThreads(__tstate);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15644 Py_INCREF(Py_None); resultobj = Py_None;
15645 return resultobj;
15646 fail:
15647 return NULL;
15648 }
15649
15650
15651 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxFontData *arg1 = (wxFontData *) 0 ;
15654 int arg2 ;
15655 int arg3 ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 PyObject * obj2 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "self",(char *) "min",(char *) "max", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15665 if (SWIG_arg_fail(1)) SWIG_fail;
15666 {
15667 arg2 = (int)(SWIG_As_int(obj1));
15668 if (SWIG_arg_fail(2)) SWIG_fail;
15669 }
15670 {
15671 arg3 = (int)(SWIG_As_int(obj2));
15672 if (SWIG_arg_fail(3)) SWIG_fail;
15673 }
15674 {
15675 PyThreadState* __tstate = wxPyBeginAllowThreads();
15676 (arg1)->SetRange(arg2,arg3);
15677
15678 wxPyEndAllowThreads(__tstate);
15679 if (PyErr_Occurred()) SWIG_fail;
15680 }
15681 Py_INCREF(Py_None); resultobj = Py_None;
15682 return resultobj;
15683 fail:
15684 return NULL;
15685 }
15686
15687
15688 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15689 PyObject *resultobj;
15690 wxFontData *arg1 = (wxFontData *) 0 ;
15691 bool arg2 ;
15692 PyObject * obj0 = 0 ;
15693 PyObject * obj1 = 0 ;
15694 char *kwnames[] = {
15695 (char *) "self",(char *) "showHelp", NULL
15696 };
15697
15698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15700 if (SWIG_arg_fail(1)) SWIG_fail;
15701 {
15702 arg2 = (bool)(SWIG_As_bool(obj1));
15703 if (SWIG_arg_fail(2)) SWIG_fail;
15704 }
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 (arg1)->SetShowHelp(arg2);
15708
15709 wxPyEndAllowThreads(__tstate);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
15712 Py_INCREF(Py_None); resultobj = Py_None;
15713 return resultobj;
15714 fail:
15715 return NULL;
15716 }
15717
15718
15719 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15720 PyObject *obj;
15721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15722 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15723 Py_INCREF(obj);
15724 return Py_BuildValue((char *)"");
15725 }
15726 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15727 PyObject *resultobj;
15728 wxWindow *arg1 = (wxWindow *) 0 ;
15729 wxFontData *arg2 = 0 ;
15730 wxFontDialog *result;
15731 PyObject * obj0 = 0 ;
15732 PyObject * obj1 = 0 ;
15733 char *kwnames[] = {
15734 (char *) "parent",(char *) "data", NULL
15735 };
15736
15737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15739 if (SWIG_arg_fail(1)) SWIG_fail;
15740 {
15741 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15742 if (SWIG_arg_fail(2)) SWIG_fail;
15743 if (arg2 == NULL) {
15744 SWIG_null_ref("wxFontData");
15745 }
15746 if (SWIG_arg_fail(2)) SWIG_fail;
15747 }
15748 {
15749 if (!wxPyCheckForApp()) SWIG_fail;
15750 PyThreadState* __tstate = wxPyBeginAllowThreads();
15751 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15752
15753 wxPyEndAllowThreads(__tstate);
15754 if (PyErr_Occurred()) SWIG_fail;
15755 }
15756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15757 return resultobj;
15758 fail:
15759 return NULL;
15760 }
15761
15762
15763 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15764 PyObject *resultobj;
15765 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15766 wxFontData *result;
15767 PyObject * obj0 = 0 ;
15768 char *kwnames[] = {
15769 (char *) "self", NULL
15770 };
15771
15772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15774 if (SWIG_arg_fail(1)) SWIG_fail;
15775 {
15776 PyThreadState* __tstate = wxPyBeginAllowThreads();
15777 {
15778 wxFontData &_result_ref = (arg1)->GetFontData();
15779 result = (wxFontData *) &_result_ref;
15780 }
15781
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15786 return resultobj;
15787 fail:
15788 return NULL;
15789 }
15790
15791
15792 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15793 PyObject *obj;
15794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15795 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15796 Py_INCREF(obj);
15797 return Py_BuildValue((char *)"");
15798 }
15799 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxWindow *arg1 = (wxWindow *) 0 ;
15802 wxString *arg2 = 0 ;
15803 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15804 wxString *arg3 = (wxString *) &arg3_defvalue ;
15805 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15806 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15807 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15808 wxMessageDialog *result;
15809 bool temp2 = false ;
15810 bool temp3 = false ;
15811 wxPoint temp5 ;
15812 PyObject * obj0 = 0 ;
15813 PyObject * obj1 = 0 ;
15814 PyObject * obj2 = 0 ;
15815 PyObject * obj3 = 0 ;
15816 PyObject * obj4 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15823 if (SWIG_arg_fail(1)) SWIG_fail;
15824 {
15825 arg2 = wxString_in_helper(obj1);
15826 if (arg2 == NULL) SWIG_fail;
15827 temp2 = true;
15828 }
15829 if (obj2) {
15830 {
15831 arg3 = wxString_in_helper(obj2);
15832 if (arg3 == NULL) SWIG_fail;
15833 temp3 = true;
15834 }
15835 }
15836 if (obj3) {
15837 {
15838 arg4 = (long)(SWIG_As_long(obj3));
15839 if (SWIG_arg_fail(4)) SWIG_fail;
15840 }
15841 }
15842 if (obj4) {
15843 {
15844 arg5 = &temp5;
15845 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15846 }
15847 }
15848 {
15849 if (!wxPyCheckForApp()) SWIG_fail;
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15852
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15857 {
15858 if (temp2)
15859 delete arg2;
15860 }
15861 {
15862 if (temp3)
15863 delete arg3;
15864 }
15865 return resultobj;
15866 fail:
15867 {
15868 if (temp2)
15869 delete arg2;
15870 }
15871 {
15872 if (temp3)
15873 delete arg3;
15874 }
15875 return NULL;
15876 }
15877
15878
15879 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
15880 PyObject *obj;
15881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15882 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15883 Py_INCREF(obj);
15884 return Py_BuildValue((char *)"");
15885 }
15886 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15887 PyObject *resultobj;
15888 wxString *arg1 = 0 ;
15889 wxString *arg2 = 0 ;
15890 int arg3 = (int) 100 ;
15891 wxWindow *arg4 = (wxWindow *) NULL ;
15892 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15893 wxProgressDialog *result;
15894 bool temp1 = false ;
15895 bool temp2 = false ;
15896 PyObject * obj0 = 0 ;
15897 PyObject * obj1 = 0 ;
15898 PyObject * obj2 = 0 ;
15899 PyObject * obj3 = 0 ;
15900 PyObject * obj4 = 0 ;
15901 char *kwnames[] = {
15902 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15903 };
15904
15905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15906 {
15907 arg1 = wxString_in_helper(obj0);
15908 if (arg1 == NULL) SWIG_fail;
15909 temp1 = true;
15910 }
15911 {
15912 arg2 = wxString_in_helper(obj1);
15913 if (arg2 == NULL) SWIG_fail;
15914 temp2 = true;
15915 }
15916 if (obj2) {
15917 {
15918 arg3 = (int)(SWIG_As_int(obj2));
15919 if (SWIG_arg_fail(3)) SWIG_fail;
15920 }
15921 }
15922 if (obj3) {
15923 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15924 if (SWIG_arg_fail(4)) SWIG_fail;
15925 }
15926 if (obj4) {
15927 {
15928 arg5 = (int)(SWIG_As_int(obj4));
15929 if (SWIG_arg_fail(5)) SWIG_fail;
15930 }
15931 }
15932 {
15933 if (!wxPyCheckForApp()) SWIG_fail;
15934 PyThreadState* __tstate = wxPyBeginAllowThreads();
15935 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15936
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
15941 {
15942 if (temp1)
15943 delete arg1;
15944 }
15945 {
15946 if (temp2)
15947 delete arg2;
15948 }
15949 return resultobj;
15950 fail:
15951 {
15952 if (temp1)
15953 delete arg1;
15954 }
15955 {
15956 if (temp2)
15957 delete arg2;
15958 }
15959 return NULL;
15960 }
15961
15962
15963 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
15964 PyObject *resultobj;
15965 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15966 int arg2 ;
15967 wxString const &arg3_defvalue = wxPyEmptyString ;
15968 wxString *arg3 = (wxString *) &arg3_defvalue ;
15969 bool result;
15970 bool temp3 = false ;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 PyObject * obj2 = 0 ;
15974 char *kwnames[] = {
15975 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15976 };
15977
15978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
15979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15980 if (SWIG_arg_fail(1)) SWIG_fail;
15981 {
15982 arg2 = (int)(SWIG_As_int(obj1));
15983 if (SWIG_arg_fail(2)) SWIG_fail;
15984 }
15985 if (obj2) {
15986 {
15987 arg3 = wxString_in_helper(obj2);
15988 if (arg3 == NULL) SWIG_fail;
15989 temp3 = true;
15990 }
15991 }
15992 {
15993 PyThreadState* __tstate = wxPyBeginAllowThreads();
15994 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15995
15996 wxPyEndAllowThreads(__tstate);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
15999 {
16000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16001 }
16002 {
16003 if (temp3)
16004 delete arg3;
16005 }
16006 return resultobj;
16007 fail:
16008 {
16009 if (temp3)
16010 delete arg3;
16011 }
16012 return NULL;
16013 }
16014
16015
16016 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16019 PyObject * obj0 = 0 ;
16020 char *kwnames[] = {
16021 (char *) "self", NULL
16022 };
16023
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
16025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16026 if (SWIG_arg_fail(1)) SWIG_fail;
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 (arg1)->Resume();
16030
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 Py_INCREF(Py_None); resultobj = Py_None;
16035 return resultobj;
16036 fail:
16037 return NULL;
16038 }
16039
16040
16041 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
16042 PyObject *obj;
16043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16044 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16045 Py_INCREF(obj);
16046 return Py_BuildValue((char *)"");
16047 }
16048 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj;
16050 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16051 int arg2 = (int) 0 ;
16052 wxFindDialogEvent *result;
16053 PyObject * obj0 = 0 ;
16054 PyObject * obj1 = 0 ;
16055 char *kwnames[] = {
16056 (char *) "commandType",(char *) "id", NULL
16057 };
16058
16059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16060 if (obj0) {
16061 {
16062 arg1 = (wxEventType)(SWIG_As_int(obj0));
16063 if (SWIG_arg_fail(1)) SWIG_fail;
16064 }
16065 }
16066 if (obj1) {
16067 {
16068 arg2 = (int)(SWIG_As_int(obj1));
16069 if (SWIG_arg_fail(2)) SWIG_fail;
16070 }
16071 }
16072 {
16073 PyThreadState* __tstate = wxPyBeginAllowThreads();
16074 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16075
16076 wxPyEndAllowThreads(__tstate);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 }
16079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16080 return resultobj;
16081 fail:
16082 return NULL;
16083 }
16084
16085
16086 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16087 PyObject *resultobj;
16088 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16089 int result;
16090 PyObject * obj0 = 0 ;
16091 char *kwnames[] = {
16092 (char *) "self", NULL
16093 };
16094
16095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16097 if (SWIG_arg_fail(1)) SWIG_fail;
16098 {
16099 PyThreadState* __tstate = wxPyBeginAllowThreads();
16100 result = (int)(arg1)->GetFlags();
16101
16102 wxPyEndAllowThreads(__tstate);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 {
16106 resultobj = SWIG_From_int((int)(result));
16107 }
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16117 wxString *result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",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 {
16129 wxString const &_result_ref = (arg1)->GetFindString();
16130 result = (wxString *) &_result_ref;
16131 }
16132
16133 wxPyEndAllowThreads(__tstate);
16134 if (PyErr_Occurred()) SWIG_fail;
16135 }
16136 {
16137 #if wxUSE_UNICODE
16138 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16139 #else
16140 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16141 #endif
16142 }
16143 return resultobj;
16144 fail:
16145 return NULL;
16146 }
16147
16148
16149 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16150 PyObject *resultobj;
16151 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16152 wxString *result;
16153 PyObject * obj0 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
16159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16160 if (SWIG_arg_fail(1)) SWIG_fail;
16161 {
16162 PyThreadState* __tstate = wxPyBeginAllowThreads();
16163 {
16164 wxString const &_result_ref = (arg1)->GetReplaceString();
16165 result = (wxString *) &_result_ref;
16166 }
16167
16168 wxPyEndAllowThreads(__tstate);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
16171 {
16172 #if wxUSE_UNICODE
16173 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16174 #else
16175 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16176 #endif
16177 }
16178 return resultobj;
16179 fail:
16180 return NULL;
16181 }
16182
16183
16184 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16185 PyObject *resultobj;
16186 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16187 wxFindReplaceDialog *result;
16188 PyObject * obj0 = 0 ;
16189 char *kwnames[] = {
16190 (char *) "self", NULL
16191 };
16192
16193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16195 if (SWIG_arg_fail(1)) SWIG_fail;
16196 {
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16199
16200 wxPyEndAllowThreads(__tstate);
16201 if (PyErr_Occurred()) SWIG_fail;
16202 }
16203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16204 return resultobj;
16205 fail:
16206 return NULL;
16207 }
16208
16209
16210 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16211 PyObject *resultobj;
16212 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16213 int arg2 ;
16214 PyObject * obj0 = 0 ;
16215 PyObject * obj1 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self",(char *) "flags", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16222 if (SWIG_arg_fail(1)) SWIG_fail;
16223 {
16224 arg2 = (int)(SWIG_As_int(obj1));
16225 if (SWIG_arg_fail(2)) SWIG_fail;
16226 }
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 (arg1)->SetFlags(arg2);
16230
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 Py_INCREF(Py_None); resultobj = Py_None;
16235 return resultobj;
16236 fail:
16237 return NULL;
16238 }
16239
16240
16241 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16244 wxString *arg2 = 0 ;
16245 bool temp2 = false ;
16246 PyObject * obj0 = 0 ;
16247 PyObject * obj1 = 0 ;
16248 char *kwnames[] = {
16249 (char *) "self",(char *) "str", NULL
16250 };
16251
16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16254 if (SWIG_arg_fail(1)) SWIG_fail;
16255 {
16256 arg2 = wxString_in_helper(obj1);
16257 if (arg2 == NULL) SWIG_fail;
16258 temp2 = true;
16259 }
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 (arg1)->SetFindString((wxString const &)*arg2);
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 Py_INCREF(Py_None); resultobj = Py_None;
16268 {
16269 if (temp2)
16270 delete arg2;
16271 }
16272 return resultobj;
16273 fail:
16274 {
16275 if (temp2)
16276 delete arg2;
16277 }
16278 return NULL;
16279 }
16280
16281
16282 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16283 PyObject *resultobj;
16284 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16285 wxString *arg2 = 0 ;
16286 bool temp2 = false ;
16287 PyObject * obj0 = 0 ;
16288 PyObject * obj1 = 0 ;
16289 char *kwnames[] = {
16290 (char *) "self",(char *) "str", NULL
16291 };
16292
16293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16295 if (SWIG_arg_fail(1)) SWIG_fail;
16296 {
16297 arg2 = wxString_in_helper(obj1);
16298 if (arg2 == NULL) SWIG_fail;
16299 temp2 = true;
16300 }
16301 {
16302 PyThreadState* __tstate = wxPyBeginAllowThreads();
16303 (arg1)->SetReplaceString((wxString const &)*arg2);
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 Py_INCREF(Py_None); resultobj = Py_None;
16309 {
16310 if (temp2)
16311 delete arg2;
16312 }
16313 return resultobj;
16314 fail:
16315 {
16316 if (temp2)
16317 delete arg2;
16318 }
16319 return NULL;
16320 }
16321
16322
16323 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16324 PyObject *obj;
16325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16326 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16327 Py_INCREF(obj);
16328 return Py_BuildValue((char *)"");
16329 }
16330 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16331 PyObject *resultobj;
16332 int arg1 = (int) 0 ;
16333 wxFindReplaceData *result;
16334 PyObject * obj0 = 0 ;
16335 char *kwnames[] = {
16336 (char *) "flags", NULL
16337 };
16338
16339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16340 if (obj0) {
16341 {
16342 arg1 = (int)(SWIG_As_int(obj0));
16343 if (SWIG_arg_fail(1)) SWIG_fail;
16344 }
16345 }
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16354 return resultobj;
16355 fail:
16356 return NULL;
16357 }
16358
16359
16360 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16363 PyObject * obj0 = 0 ;
16364 char *kwnames[] = {
16365 (char *) "self", NULL
16366 };
16367
16368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16370 if (SWIG_arg_fail(1)) SWIG_fail;
16371 {
16372 PyThreadState* __tstate = wxPyBeginAllowThreads();
16373 delete arg1;
16374
16375 wxPyEndAllowThreads(__tstate);
16376 if (PyErr_Occurred()) SWIG_fail;
16377 }
16378 Py_INCREF(Py_None); resultobj = Py_None;
16379 return resultobj;
16380 fail:
16381 return NULL;
16382 }
16383
16384
16385 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj;
16387 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16388 wxString *result;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",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 {
16400 wxString const &_result_ref = (arg1)->GetFindString();
16401 result = (wxString *) &_result_ref;
16402 }
16403
16404 wxPyEndAllowThreads(__tstate);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 {
16408 #if wxUSE_UNICODE
16409 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16410 #else
16411 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16412 #endif
16413 }
16414 return resultobj;
16415 fail:
16416 return NULL;
16417 }
16418
16419
16420 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16421 PyObject *resultobj;
16422 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16423 wxString *result;
16424 PyObject * obj0 = 0 ;
16425 char *kwnames[] = {
16426 (char *) "self", NULL
16427 };
16428
16429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16431 if (SWIG_arg_fail(1)) SWIG_fail;
16432 {
16433 PyThreadState* __tstate = wxPyBeginAllowThreads();
16434 {
16435 wxString const &_result_ref = (arg1)->GetReplaceString();
16436 result = (wxString *) &_result_ref;
16437 }
16438
16439 wxPyEndAllowThreads(__tstate);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 {
16443 #if wxUSE_UNICODE
16444 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16445 #else
16446 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16447 #endif
16448 }
16449 return resultobj;
16450 fail:
16451 return NULL;
16452 }
16453
16454
16455 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16456 PyObject *resultobj;
16457 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16458 int result;
16459 PyObject * obj0 = 0 ;
16460 char *kwnames[] = {
16461 (char *) "self", NULL
16462 };
16463
16464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16466 if (SWIG_arg_fail(1)) SWIG_fail;
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 result = (int)(arg1)->GetFlags();
16470
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 {
16475 resultobj = SWIG_From_int((int)(result));
16476 }
16477 return resultobj;
16478 fail:
16479 return NULL;
16480 }
16481
16482
16483 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16484 PyObject *resultobj;
16485 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16486 int arg2 ;
16487 PyObject * obj0 = 0 ;
16488 PyObject * obj1 = 0 ;
16489 char *kwnames[] = {
16490 (char *) "self",(char *) "flags", NULL
16491 };
16492
16493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16495 if (SWIG_arg_fail(1)) SWIG_fail;
16496 {
16497 arg2 = (int)(SWIG_As_int(obj1));
16498 if (SWIG_arg_fail(2)) SWIG_fail;
16499 }
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 (arg1)->SetFlags(arg2);
16503
16504 wxPyEndAllowThreads(__tstate);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 Py_INCREF(Py_None); resultobj = Py_None;
16508 return resultobj;
16509 fail:
16510 return NULL;
16511 }
16512
16513
16514 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16515 PyObject *resultobj;
16516 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16517 wxString *arg2 = 0 ;
16518 bool temp2 = false ;
16519 PyObject * obj0 = 0 ;
16520 PyObject * obj1 = 0 ;
16521 char *kwnames[] = {
16522 (char *) "self",(char *) "str", NULL
16523 };
16524
16525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16527 if (SWIG_arg_fail(1)) SWIG_fail;
16528 {
16529 arg2 = wxString_in_helper(obj1);
16530 if (arg2 == NULL) SWIG_fail;
16531 temp2 = true;
16532 }
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 (arg1)->SetFindString((wxString const &)*arg2);
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 Py_INCREF(Py_None); resultobj = Py_None;
16541 {
16542 if (temp2)
16543 delete arg2;
16544 }
16545 return resultobj;
16546 fail:
16547 {
16548 if (temp2)
16549 delete arg2;
16550 }
16551 return NULL;
16552 }
16553
16554
16555 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16556 PyObject *resultobj;
16557 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16558 wxString *arg2 = 0 ;
16559 bool temp2 = false ;
16560 PyObject * obj0 = 0 ;
16561 PyObject * obj1 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self",(char *) "str", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16568 if (SWIG_arg_fail(1)) SWIG_fail;
16569 {
16570 arg2 = wxString_in_helper(obj1);
16571 if (arg2 == NULL) SWIG_fail;
16572 temp2 = true;
16573 }
16574 {
16575 PyThreadState* __tstate = wxPyBeginAllowThreads();
16576 (arg1)->SetReplaceString((wxString const &)*arg2);
16577
16578 wxPyEndAllowThreads(__tstate);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
16581 Py_INCREF(Py_None); resultobj = Py_None;
16582 {
16583 if (temp2)
16584 delete arg2;
16585 }
16586 return resultobj;
16587 fail:
16588 {
16589 if (temp2)
16590 delete arg2;
16591 }
16592 return NULL;
16593 }
16594
16595
16596 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16597 PyObject *obj;
16598 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16599 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16600 Py_INCREF(obj);
16601 return Py_BuildValue((char *)"");
16602 }
16603 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16604 PyObject *resultobj;
16605 wxWindow *arg1 = (wxWindow *) 0 ;
16606 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16607 wxString *arg3 = 0 ;
16608 int arg4 = (int) 0 ;
16609 wxFindReplaceDialog *result;
16610 bool temp3 = false ;
16611 PyObject * obj0 = 0 ;
16612 PyObject * obj1 = 0 ;
16613 PyObject * obj2 = 0 ;
16614 PyObject * obj3 = 0 ;
16615 char *kwnames[] = {
16616 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16617 };
16618
16619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16621 if (SWIG_arg_fail(1)) SWIG_fail;
16622 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16623 if (SWIG_arg_fail(2)) SWIG_fail;
16624 {
16625 arg3 = wxString_in_helper(obj2);
16626 if (arg3 == NULL) SWIG_fail;
16627 temp3 = true;
16628 }
16629 if (obj3) {
16630 {
16631 arg4 = (int)(SWIG_As_int(obj3));
16632 if (SWIG_arg_fail(4)) SWIG_fail;
16633 }
16634 }
16635 {
16636 if (!wxPyCheckForApp()) SWIG_fail;
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16644 {
16645 if (temp3)
16646 delete arg3;
16647 }
16648 return resultobj;
16649 fail:
16650 {
16651 if (temp3)
16652 delete arg3;
16653 }
16654 return NULL;
16655 }
16656
16657
16658 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16659 PyObject *resultobj;
16660 wxFindReplaceDialog *result;
16661 char *kwnames[] = {
16662 NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16666 {
16667 if (!wxPyCheckForApp()) SWIG_fail;
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16684 wxWindow *arg2 = (wxWindow *) 0 ;
16685 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16686 wxString *arg4 = 0 ;
16687 int arg5 = (int) 0 ;
16688 bool result;
16689 bool temp4 = false ;
16690 PyObject * obj0 = 0 ;
16691 PyObject * obj1 = 0 ;
16692 PyObject * obj2 = 0 ;
16693 PyObject * obj3 = 0 ;
16694 PyObject * obj4 = 0 ;
16695 char *kwnames[] = {
16696 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16697 };
16698
16699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16701 if (SWIG_arg_fail(1)) SWIG_fail;
16702 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16703 if (SWIG_arg_fail(2)) SWIG_fail;
16704 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16705 if (SWIG_arg_fail(3)) SWIG_fail;
16706 {
16707 arg4 = wxString_in_helper(obj3);
16708 if (arg4 == NULL) SWIG_fail;
16709 temp4 = true;
16710 }
16711 if (obj4) {
16712 {
16713 arg5 = (int)(SWIG_As_int(obj4));
16714 if (SWIG_arg_fail(5)) SWIG_fail;
16715 }
16716 }
16717 {
16718 PyThreadState* __tstate = wxPyBeginAllowThreads();
16719 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16720
16721 wxPyEndAllowThreads(__tstate);
16722 if (PyErr_Occurred()) SWIG_fail;
16723 }
16724 {
16725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16726 }
16727 {
16728 if (temp4)
16729 delete arg4;
16730 }
16731 return resultobj;
16732 fail:
16733 {
16734 if (temp4)
16735 delete arg4;
16736 }
16737 return NULL;
16738 }
16739
16740
16741 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16742 PyObject *resultobj;
16743 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16744 wxFindReplaceData *result;
16745 PyObject * obj0 = 0 ;
16746 char *kwnames[] = {
16747 (char *) "self", NULL
16748 };
16749
16750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16752 if (SWIG_arg_fail(1)) SWIG_fail;
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 result = (wxFindReplaceData *)(arg1)->GetData();
16756
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16761 return resultobj;
16762 fail:
16763 return NULL;
16764 }
16765
16766
16767 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16768 PyObject *resultobj;
16769 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16770 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16771 PyObject * obj0 = 0 ;
16772 PyObject * obj1 = 0 ;
16773 char *kwnames[] = {
16774 (char *) "self",(char *) "data", NULL
16775 };
16776
16777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
16778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16779 if (SWIG_arg_fail(1)) SWIG_fail;
16780 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16781 if (SWIG_arg_fail(2)) SWIG_fail;
16782 {
16783 PyThreadState* __tstate = wxPyBeginAllowThreads();
16784 (arg1)->SetData(arg2);
16785
16786 wxPyEndAllowThreads(__tstate);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 Py_INCREF(Py_None); resultobj = Py_None;
16790 return resultobj;
16791 fail:
16792 return NULL;
16793 }
16794
16795
16796 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
16797 PyObject *obj;
16798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16799 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16800 Py_INCREF(obj);
16801 return Py_BuildValue((char *)"");
16802 }
16803 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj;
16805 wxWindow *arg1 = (wxWindow *) 0 ;
16806 int arg2 = (int) (int)-1 ;
16807 wxString const &arg3_defvalue = wxPyEmptyString ;
16808 wxString *arg3 = (wxString *) &arg3_defvalue ;
16809 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16810 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16811 wxSize const &arg5_defvalue = wxDefaultSize ;
16812 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16813 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16814 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16815 wxString *arg7 = (wxString *) &arg7_defvalue ;
16816 wxMDIParentFrame *result;
16817 bool temp3 = false ;
16818 wxPoint temp4 ;
16819 wxSize temp5 ;
16820 bool temp7 = false ;
16821 PyObject * obj0 = 0 ;
16822 PyObject * obj1 = 0 ;
16823 PyObject * obj2 = 0 ;
16824 PyObject * obj3 = 0 ;
16825 PyObject * obj4 = 0 ;
16826 PyObject * obj5 = 0 ;
16827 PyObject * obj6 = 0 ;
16828 char *kwnames[] = {
16829 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16830 };
16831
16832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16834 if (SWIG_arg_fail(1)) SWIG_fail;
16835 if (obj1) {
16836 {
16837 arg2 = (int const)(SWIG_As_int(obj1));
16838 if (SWIG_arg_fail(2)) SWIG_fail;
16839 }
16840 }
16841 if (obj2) {
16842 {
16843 arg3 = wxString_in_helper(obj2);
16844 if (arg3 == NULL) SWIG_fail;
16845 temp3 = true;
16846 }
16847 }
16848 if (obj3) {
16849 {
16850 arg4 = &temp4;
16851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16852 }
16853 }
16854 if (obj4) {
16855 {
16856 arg5 = &temp5;
16857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16858 }
16859 }
16860 if (obj5) {
16861 {
16862 arg6 = (long)(SWIG_As_long(obj5));
16863 if (SWIG_arg_fail(6)) SWIG_fail;
16864 }
16865 }
16866 if (obj6) {
16867 {
16868 arg7 = wxString_in_helper(obj6);
16869 if (arg7 == NULL) SWIG_fail;
16870 temp7 = true;
16871 }
16872 }
16873 {
16874 if (!wxPyCheckForApp()) SWIG_fail;
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16877
16878 wxPyEndAllowThreads(__tstate);
16879 if (PyErr_Occurred()) SWIG_fail;
16880 }
16881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16882 {
16883 if (temp3)
16884 delete arg3;
16885 }
16886 {
16887 if (temp7)
16888 delete arg7;
16889 }
16890 return resultobj;
16891 fail:
16892 {
16893 if (temp3)
16894 delete arg3;
16895 }
16896 {
16897 if (temp7)
16898 delete arg7;
16899 }
16900 return NULL;
16901 }
16902
16903
16904 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj;
16906 wxMDIParentFrame *result;
16907 char *kwnames[] = {
16908 NULL
16909 };
16910
16911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16912 {
16913 if (!wxPyCheckForApp()) SWIG_fail;
16914 PyThreadState* __tstate = wxPyBeginAllowThreads();
16915 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16916
16917 wxPyEndAllowThreads(__tstate);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16921 return resultobj;
16922 fail:
16923 return NULL;
16924 }
16925
16926
16927 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16928 PyObject *resultobj;
16929 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16930 wxWindow *arg2 = (wxWindow *) 0 ;
16931 int arg3 = (int) (int)-1 ;
16932 wxString const &arg4_defvalue = wxPyEmptyString ;
16933 wxString *arg4 = (wxString *) &arg4_defvalue ;
16934 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16935 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16936 wxSize const &arg6_defvalue = wxDefaultSize ;
16937 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16938 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16939 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16940 wxString *arg8 = (wxString *) &arg8_defvalue ;
16941 bool result;
16942 bool temp4 = false ;
16943 wxPoint temp5 ;
16944 wxSize temp6 ;
16945 bool temp8 = false ;
16946 PyObject * obj0 = 0 ;
16947 PyObject * obj1 = 0 ;
16948 PyObject * obj2 = 0 ;
16949 PyObject * obj3 = 0 ;
16950 PyObject * obj4 = 0 ;
16951 PyObject * obj5 = 0 ;
16952 PyObject * obj6 = 0 ;
16953 PyObject * obj7 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16956 };
16957
16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
16959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16960 if (SWIG_arg_fail(1)) SWIG_fail;
16961 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16962 if (SWIG_arg_fail(2)) SWIG_fail;
16963 if (obj2) {
16964 {
16965 arg3 = (int const)(SWIG_As_int(obj2));
16966 if (SWIG_arg_fail(3)) SWIG_fail;
16967 }
16968 }
16969 if (obj3) {
16970 {
16971 arg4 = wxString_in_helper(obj3);
16972 if (arg4 == NULL) SWIG_fail;
16973 temp4 = true;
16974 }
16975 }
16976 if (obj4) {
16977 {
16978 arg5 = &temp5;
16979 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16980 }
16981 }
16982 if (obj5) {
16983 {
16984 arg6 = &temp6;
16985 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16986 }
16987 }
16988 if (obj6) {
16989 {
16990 arg7 = (long)(SWIG_As_long(obj6));
16991 if (SWIG_arg_fail(7)) SWIG_fail;
16992 }
16993 }
16994 if (obj7) {
16995 {
16996 arg8 = wxString_in_helper(obj7);
16997 if (arg8 == NULL) SWIG_fail;
16998 temp8 = true;
16999 }
17000 }
17001 {
17002 PyThreadState* __tstate = wxPyBeginAllowThreads();
17003 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17004
17005 wxPyEndAllowThreads(__tstate);
17006 if (PyErr_Occurred()) SWIG_fail;
17007 }
17008 {
17009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17010 }
17011 {
17012 if (temp4)
17013 delete arg4;
17014 }
17015 {
17016 if (temp8)
17017 delete arg8;
17018 }
17019 return resultobj;
17020 fail:
17021 {
17022 if (temp4)
17023 delete arg4;
17024 }
17025 {
17026 if (temp8)
17027 delete arg8;
17028 }
17029 return NULL;
17030 }
17031
17032
17033 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
17034 PyObject *resultobj;
17035 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17036 PyObject * obj0 = 0 ;
17037 char *kwnames[] = {
17038 (char *) "self", NULL
17039 };
17040
17041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
17042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail;
17044 {
17045 PyThreadState* __tstate = wxPyBeginAllowThreads();
17046 (arg1)->ActivateNext();
17047
17048 wxPyEndAllowThreads(__tstate);
17049 if (PyErr_Occurred()) SWIG_fail;
17050 }
17051 Py_INCREF(Py_None); resultobj = Py_None;
17052 return resultobj;
17053 fail:
17054 return NULL;
17055 }
17056
17057
17058 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
17059 PyObject *resultobj;
17060 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17061 PyObject * obj0 = 0 ;
17062 char *kwnames[] = {
17063 (char *) "self", NULL
17064 };
17065
17066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
17067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17068 if (SWIG_arg_fail(1)) SWIG_fail;
17069 {
17070 PyThreadState* __tstate = wxPyBeginAllowThreads();
17071 (arg1)->ActivatePrevious();
17072
17073 wxPyEndAllowThreads(__tstate);
17074 if (PyErr_Occurred()) SWIG_fail;
17075 }
17076 Py_INCREF(Py_None); resultobj = Py_None;
17077 return resultobj;
17078 fail:
17079 return NULL;
17080 }
17081
17082
17083 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj;
17085 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17086 PyObject * obj0 = 0 ;
17087 char *kwnames[] = {
17088 (char *) "self", NULL
17089 };
17090
17091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17093 if (SWIG_arg_fail(1)) SWIG_fail;
17094 {
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 (arg1)->ArrangeIcons();
17097
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 Py_INCREF(Py_None); resultobj = Py_None;
17102 return resultobj;
17103 fail:
17104 return NULL;
17105 }
17106
17107
17108 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17109 PyObject *resultobj;
17110 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17111 PyObject * obj0 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "self", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17118 if (SWIG_arg_fail(1)) SWIG_fail;
17119 {
17120 PyThreadState* __tstate = wxPyBeginAllowThreads();
17121 (arg1)->Cascade();
17122
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 Py_INCREF(Py_None); resultobj = Py_None;
17127 return resultobj;
17128 fail:
17129 return NULL;
17130 }
17131
17132
17133 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17134 PyObject *resultobj;
17135 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17136 wxMDIChildFrame *result;
17137 PyObject * obj0 = 0 ;
17138 char *kwnames[] = {
17139 (char *) "self", NULL
17140 };
17141
17142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17144 if (SWIG_arg_fail(1)) SWIG_fail;
17145 {
17146 PyThreadState* __tstate = wxPyBeginAllowThreads();
17147 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17148
17149 wxPyEndAllowThreads(__tstate);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 }
17152 {
17153 resultobj = wxPyMake_wxObject(result, 0);
17154 }
17155 return resultobj;
17156 fail:
17157 return NULL;
17158 }
17159
17160
17161 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17162 PyObject *resultobj;
17163 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17164 wxMDIClientWindow *result;
17165 PyObject * obj0 = 0 ;
17166 char *kwnames[] = {
17167 (char *) "self", NULL
17168 };
17169
17170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17172 if (SWIG_arg_fail(1)) SWIG_fail;
17173 {
17174 PyThreadState* __tstate = wxPyBeginAllowThreads();
17175 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17176
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 {
17181 resultobj = wxPyMake_wxObject(result, 0);
17182 }
17183 return resultobj;
17184 fail:
17185 return NULL;
17186 }
17187
17188
17189 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17192 wxWindow *result;
17193 PyObject * obj0 = 0 ;
17194 char *kwnames[] = {
17195 (char *) "self", NULL
17196 };
17197
17198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17200 if (SWIG_arg_fail(1)) SWIG_fail;
17201 {
17202 PyThreadState* __tstate = wxPyBeginAllowThreads();
17203 result = (wxWindow *)(arg1)->GetToolBar();
17204
17205 wxPyEndAllowThreads(__tstate);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 }
17208 {
17209 resultobj = wxPyMake_wxObject(result, 0);
17210 }
17211 return resultobj;
17212 fail:
17213 return NULL;
17214 }
17215
17216
17217 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17220 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17221 PyObject * obj0 = 0 ;
17222 PyObject * obj1 = 0 ;
17223 char *kwnames[] = {
17224 (char *) "self",(char *) "orient", NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail;
17230 if (obj1) {
17231 {
17232 arg2 = (wxOrientation)(SWIG_As_int(obj1));
17233 if (SWIG_arg_fail(2)) SWIG_fail;
17234 }
17235 }
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 (arg1)->Tile((wxOrientation )arg2);
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 Py_INCREF(Py_None); resultobj = Py_None;
17244 return resultobj;
17245 fail:
17246 return NULL;
17247 }
17248
17249
17250 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17251 PyObject *obj;
17252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17253 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17254 Py_INCREF(obj);
17255 return Py_BuildValue((char *)"");
17256 }
17257 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj;
17259 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17260 int arg2 = (int) (int)-1 ;
17261 wxString const &arg3_defvalue = wxPyEmptyString ;
17262 wxString *arg3 = (wxString *) &arg3_defvalue ;
17263 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17264 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17265 wxSize const &arg5_defvalue = wxDefaultSize ;
17266 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17267 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17268 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17269 wxString *arg7 = (wxString *) &arg7_defvalue ;
17270 wxMDIChildFrame *result;
17271 bool temp3 = false ;
17272 wxPoint temp4 ;
17273 wxSize temp5 ;
17274 bool temp7 = false ;
17275 PyObject * obj0 = 0 ;
17276 PyObject * obj1 = 0 ;
17277 PyObject * obj2 = 0 ;
17278 PyObject * obj3 = 0 ;
17279 PyObject * obj4 = 0 ;
17280 PyObject * obj5 = 0 ;
17281 PyObject * obj6 = 0 ;
17282 char *kwnames[] = {
17283 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17284 };
17285
17286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17288 if (SWIG_arg_fail(1)) SWIG_fail;
17289 if (obj1) {
17290 {
17291 arg2 = (int const)(SWIG_As_int(obj1));
17292 if (SWIG_arg_fail(2)) SWIG_fail;
17293 }
17294 }
17295 if (obj2) {
17296 {
17297 arg3 = wxString_in_helper(obj2);
17298 if (arg3 == NULL) SWIG_fail;
17299 temp3 = true;
17300 }
17301 }
17302 if (obj3) {
17303 {
17304 arg4 = &temp4;
17305 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17306 }
17307 }
17308 if (obj4) {
17309 {
17310 arg5 = &temp5;
17311 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17312 }
17313 }
17314 if (obj5) {
17315 {
17316 arg6 = (long)(SWIG_As_long(obj5));
17317 if (SWIG_arg_fail(6)) SWIG_fail;
17318 }
17319 }
17320 if (obj6) {
17321 {
17322 arg7 = wxString_in_helper(obj6);
17323 if (arg7 == NULL) SWIG_fail;
17324 temp7 = true;
17325 }
17326 }
17327 {
17328 if (!wxPyCheckForApp()) SWIG_fail;
17329 PyThreadState* __tstate = wxPyBeginAllowThreads();
17330 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17331
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17336 {
17337 if (temp3)
17338 delete arg3;
17339 }
17340 {
17341 if (temp7)
17342 delete arg7;
17343 }
17344 return resultobj;
17345 fail:
17346 {
17347 if (temp3)
17348 delete arg3;
17349 }
17350 {
17351 if (temp7)
17352 delete arg7;
17353 }
17354 return NULL;
17355 }
17356
17357
17358 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17359 PyObject *resultobj;
17360 wxMDIChildFrame *result;
17361 char *kwnames[] = {
17362 NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17366 {
17367 if (!wxPyCheckForApp()) SWIG_fail;
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17375 return resultobj;
17376 fail:
17377 return NULL;
17378 }
17379
17380
17381 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17382 PyObject *resultobj;
17383 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17384 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17385 int arg3 = (int) (int)-1 ;
17386 wxString const &arg4_defvalue = wxPyEmptyString ;
17387 wxString *arg4 = (wxString *) &arg4_defvalue ;
17388 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17389 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17390 wxSize const &arg6_defvalue = wxDefaultSize ;
17391 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17392 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17393 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17394 wxString *arg8 = (wxString *) &arg8_defvalue ;
17395 bool result;
17396 bool temp4 = false ;
17397 wxPoint temp5 ;
17398 wxSize temp6 ;
17399 bool temp8 = false ;
17400 PyObject * obj0 = 0 ;
17401 PyObject * obj1 = 0 ;
17402 PyObject * obj2 = 0 ;
17403 PyObject * obj3 = 0 ;
17404 PyObject * obj4 = 0 ;
17405 PyObject * obj5 = 0 ;
17406 PyObject * obj6 = 0 ;
17407 PyObject * obj7 = 0 ;
17408 char *kwnames[] = {
17409 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17410 };
17411
17412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17414 if (SWIG_arg_fail(1)) SWIG_fail;
17415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17416 if (SWIG_arg_fail(2)) SWIG_fail;
17417 if (obj2) {
17418 {
17419 arg3 = (int const)(SWIG_As_int(obj2));
17420 if (SWIG_arg_fail(3)) SWIG_fail;
17421 }
17422 }
17423 if (obj3) {
17424 {
17425 arg4 = wxString_in_helper(obj3);
17426 if (arg4 == NULL) SWIG_fail;
17427 temp4 = true;
17428 }
17429 }
17430 if (obj4) {
17431 {
17432 arg5 = &temp5;
17433 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17434 }
17435 }
17436 if (obj5) {
17437 {
17438 arg6 = &temp6;
17439 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17440 }
17441 }
17442 if (obj6) {
17443 {
17444 arg7 = (long)(SWIG_As_long(obj6));
17445 if (SWIG_arg_fail(7)) SWIG_fail;
17446 }
17447 }
17448 if (obj7) {
17449 {
17450 arg8 = wxString_in_helper(obj7);
17451 if (arg8 == NULL) SWIG_fail;
17452 temp8 = true;
17453 }
17454 }
17455 {
17456 PyThreadState* __tstate = wxPyBeginAllowThreads();
17457 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17458
17459 wxPyEndAllowThreads(__tstate);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 }
17462 {
17463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17464 }
17465 {
17466 if (temp4)
17467 delete arg4;
17468 }
17469 {
17470 if (temp8)
17471 delete arg8;
17472 }
17473 return resultobj;
17474 fail:
17475 {
17476 if (temp4)
17477 delete arg4;
17478 }
17479 {
17480 if (temp8)
17481 delete arg8;
17482 }
17483 return NULL;
17484 }
17485
17486
17487 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17488 PyObject *resultobj;
17489 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17490 PyObject * obj0 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17497 if (SWIG_arg_fail(1)) SWIG_fail;
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 (arg1)->Activate();
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
17505 Py_INCREF(Py_None); resultobj = Py_None;
17506 return resultobj;
17507 fail:
17508 return NULL;
17509 }
17510
17511
17512 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17513 PyObject *resultobj;
17514 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17515 bool arg2 = (bool) true ;
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj1 = 0 ;
17518 char *kwnames[] = {
17519 (char *) "self",(char *) "maximize", NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17524 if (SWIG_arg_fail(1)) SWIG_fail;
17525 if (obj1) {
17526 {
17527 arg2 = (bool)(SWIG_As_bool(obj1));
17528 if (SWIG_arg_fail(2)) SWIG_fail;
17529 }
17530 }
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 (arg1)->Maximize(arg2);
17534
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 Py_INCREF(Py_None); resultobj = Py_None;
17539 return resultobj;
17540 fail:
17541 return NULL;
17542 }
17543
17544
17545 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17546 PyObject *resultobj;
17547 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17548 PyObject * obj0 = 0 ;
17549 char *kwnames[] = {
17550 (char *) "self", NULL
17551 };
17552
17553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17555 if (SWIG_arg_fail(1)) SWIG_fail;
17556 {
17557 PyThreadState* __tstate = wxPyBeginAllowThreads();
17558 (arg1)->Restore();
17559
17560 wxPyEndAllowThreads(__tstate);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 }
17563 Py_INCREF(Py_None); resultobj = Py_None;
17564 return resultobj;
17565 fail:
17566 return NULL;
17567 }
17568
17569
17570 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17571 PyObject *obj;
17572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17573 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17574 Py_INCREF(obj);
17575 return Py_BuildValue((char *)"");
17576 }
17577 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17578 PyObject *resultobj;
17579 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17580 long arg2 = (long) 0 ;
17581 wxMDIClientWindow *result;
17582 PyObject * obj0 = 0 ;
17583 PyObject * obj1 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "parent",(char *) "style", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17590 if (SWIG_arg_fail(1)) SWIG_fail;
17591 if (obj1) {
17592 {
17593 arg2 = (long)(SWIG_As_long(obj1));
17594 if (SWIG_arg_fail(2)) SWIG_fail;
17595 }
17596 }
17597 {
17598 if (!wxPyCheckForApp()) SWIG_fail;
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17606 return resultobj;
17607 fail:
17608 return NULL;
17609 }
17610
17611
17612 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxMDIClientWindow *result;
17615 char *kwnames[] = {
17616 NULL
17617 };
17618
17619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17620 {
17621 if (!wxPyCheckForApp()) SWIG_fail;
17622 PyThreadState* __tstate = wxPyBeginAllowThreads();
17623 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17624
17625 wxPyEndAllowThreads(__tstate);
17626 if (PyErr_Occurred()) SWIG_fail;
17627 }
17628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17629 return resultobj;
17630 fail:
17631 return NULL;
17632 }
17633
17634
17635 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17636 PyObject *resultobj;
17637 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17638 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17639 long arg3 = (long) 0 ;
17640 bool result;
17641 PyObject * obj0 = 0 ;
17642 PyObject * obj1 = 0 ;
17643 PyObject * obj2 = 0 ;
17644 char *kwnames[] = {
17645 (char *) "self",(char *) "parent",(char *) "style", NULL
17646 };
17647
17648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17650 if (SWIG_arg_fail(1)) SWIG_fail;
17651 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17652 if (SWIG_arg_fail(2)) SWIG_fail;
17653 if (obj2) {
17654 {
17655 arg3 = (long)(SWIG_As_long(obj2));
17656 if (SWIG_arg_fail(3)) SWIG_fail;
17657 }
17658 }
17659 {
17660 PyThreadState* __tstate = wxPyBeginAllowThreads();
17661 result = (bool)(arg1)->Create(arg2,arg3);
17662
17663 wxPyEndAllowThreads(__tstate);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 }
17666 {
17667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17668 }
17669 return resultobj;
17670 fail:
17671 return NULL;
17672 }
17673
17674
17675 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17676 PyObject *obj;
17677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17678 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17679 Py_INCREF(obj);
17680 return Py_BuildValue((char *)"");
17681 }
17682 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17683 PyObject *resultobj;
17684 wxWindow *arg1 = (wxWindow *) 0 ;
17685 int arg2 = (int) (int)-1 ;
17686 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17687 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17688 wxSize const &arg4_defvalue = wxDefaultSize ;
17689 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17690 long arg5 = (long) 0 ;
17691 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17692 wxString *arg6 = (wxString *) &arg6_defvalue ;
17693 wxPyWindow *result;
17694 wxPoint temp3 ;
17695 wxSize temp4 ;
17696 bool temp6 = false ;
17697 PyObject * obj0 = 0 ;
17698 PyObject * obj1 = 0 ;
17699 PyObject * obj2 = 0 ;
17700 PyObject * obj3 = 0 ;
17701 PyObject * obj4 = 0 ;
17702 PyObject * obj5 = 0 ;
17703 char *kwnames[] = {
17704 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17705 };
17706
17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17709 if (SWIG_arg_fail(1)) SWIG_fail;
17710 if (obj1) {
17711 {
17712 arg2 = (int const)(SWIG_As_int(obj1));
17713 if (SWIG_arg_fail(2)) SWIG_fail;
17714 }
17715 }
17716 if (obj2) {
17717 {
17718 arg3 = &temp3;
17719 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17720 }
17721 }
17722 if (obj3) {
17723 {
17724 arg4 = &temp4;
17725 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17726 }
17727 }
17728 if (obj4) {
17729 {
17730 arg5 = (long)(SWIG_As_long(obj4));
17731 if (SWIG_arg_fail(5)) SWIG_fail;
17732 }
17733 }
17734 if (obj5) {
17735 {
17736 arg6 = wxString_in_helper(obj5);
17737 if (arg6 == NULL) SWIG_fail;
17738 temp6 = true;
17739 }
17740 }
17741 {
17742 if (!wxPyCheckForApp()) SWIG_fail;
17743 PyThreadState* __tstate = wxPyBeginAllowThreads();
17744 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17745
17746 wxPyEndAllowThreads(__tstate);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17750 {
17751 if (temp6)
17752 delete arg6;
17753 }
17754 return resultobj;
17755 fail:
17756 {
17757 if (temp6)
17758 delete arg6;
17759 }
17760 return NULL;
17761 }
17762
17763
17764 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17765 PyObject *resultobj;
17766 wxPyWindow *result;
17767 char *kwnames[] = {
17768 NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17772 {
17773 if (!wxPyCheckForApp()) SWIG_fail;
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 result = (wxPyWindow *)new wxPyWindow();
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17781 return resultobj;
17782 fail:
17783 return NULL;
17784 }
17785
17786
17787 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17788 PyObject *resultobj;
17789 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17790 PyObject *arg2 = (PyObject *) 0 ;
17791 PyObject *arg3 = (PyObject *) 0 ;
17792 PyObject * obj0 = 0 ;
17793 PyObject * obj1 = 0 ;
17794 PyObject * obj2 = 0 ;
17795 char *kwnames[] = {
17796 (char *) "self",(char *) "self",(char *) "_class", NULL
17797 };
17798
17799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17801 if (SWIG_arg_fail(1)) SWIG_fail;
17802 arg2 = obj1;
17803 arg3 = obj2;
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 (arg1)->_setCallbackInfo(arg2,arg3);
17807
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 Py_INCREF(Py_None); resultobj = Py_None;
17812 return resultobj;
17813 fail:
17814 return NULL;
17815 }
17816
17817
17818 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17821 wxSize *arg2 = 0 ;
17822 wxSize temp2 ;
17823 PyObject * obj0 = 0 ;
17824 PyObject * obj1 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "self",(char *) "size", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17831 if (SWIG_arg_fail(1)) SWIG_fail;
17832 {
17833 arg2 = &temp2;
17834 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17835 }
17836 {
17837 PyThreadState* __tstate = wxPyBeginAllowThreads();
17838 (arg1)->SetBestSize((wxSize const &)*arg2);
17839
17840 wxPyEndAllowThreads(__tstate);
17841 if (PyErr_Occurred()) SWIG_fail;
17842 }
17843 Py_INCREF(Py_None); resultobj = Py_None;
17844 return resultobj;
17845 fail:
17846 return NULL;
17847 }
17848
17849
17850 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17853 int arg2 ;
17854 int arg3 ;
17855 int arg4 ;
17856 int arg5 ;
17857 PyObject * obj0 = 0 ;
17858 PyObject * obj1 = 0 ;
17859 PyObject * obj2 = 0 ;
17860 PyObject * obj3 = 0 ;
17861 PyObject * obj4 = 0 ;
17862 char *kwnames[] = {
17863 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17864 };
17865
17866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17868 if (SWIG_arg_fail(1)) SWIG_fail;
17869 {
17870 arg2 = (int)(SWIG_As_int(obj1));
17871 if (SWIG_arg_fail(2)) SWIG_fail;
17872 }
17873 {
17874 arg3 = (int)(SWIG_As_int(obj2));
17875 if (SWIG_arg_fail(3)) SWIG_fail;
17876 }
17877 {
17878 arg4 = (int)(SWIG_As_int(obj3));
17879 if (SWIG_arg_fail(4)) SWIG_fail;
17880 }
17881 {
17882 arg5 = (int)(SWIG_As_int(obj4));
17883 if (SWIG_arg_fail(5)) SWIG_fail;
17884 }
17885 {
17886 PyThreadState* __tstate = wxPyBeginAllowThreads();
17887 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17888
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 Py_INCREF(Py_None); resultobj = Py_None;
17893 return resultobj;
17894 fail:
17895 return NULL;
17896 }
17897
17898
17899 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17900 PyObject *resultobj;
17901 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17902 int arg2 ;
17903 int arg3 ;
17904 int arg4 ;
17905 int arg5 ;
17906 int arg6 = (int) wxSIZE_AUTO ;
17907 PyObject * obj0 = 0 ;
17908 PyObject * obj1 = 0 ;
17909 PyObject * obj2 = 0 ;
17910 PyObject * obj3 = 0 ;
17911 PyObject * obj4 = 0 ;
17912 PyObject * obj5 = 0 ;
17913 char *kwnames[] = {
17914 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17915 };
17916
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17919 if (SWIG_arg_fail(1)) SWIG_fail;
17920 {
17921 arg2 = (int)(SWIG_As_int(obj1));
17922 if (SWIG_arg_fail(2)) SWIG_fail;
17923 }
17924 {
17925 arg3 = (int)(SWIG_As_int(obj2));
17926 if (SWIG_arg_fail(3)) SWIG_fail;
17927 }
17928 {
17929 arg4 = (int)(SWIG_As_int(obj3));
17930 if (SWIG_arg_fail(4)) SWIG_fail;
17931 }
17932 {
17933 arg5 = (int)(SWIG_As_int(obj4));
17934 if (SWIG_arg_fail(5)) SWIG_fail;
17935 }
17936 if (obj5) {
17937 {
17938 arg6 = (int)(SWIG_As_int(obj5));
17939 if (SWIG_arg_fail(6)) SWIG_fail;
17940 }
17941 }
17942 {
17943 PyThreadState* __tstate = wxPyBeginAllowThreads();
17944 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17945
17946 wxPyEndAllowThreads(__tstate);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
17949 Py_INCREF(Py_None); resultobj = Py_None;
17950 return resultobj;
17951 fail:
17952 return NULL;
17953 }
17954
17955
17956 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17957 PyObject *resultobj;
17958 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17959 int arg2 ;
17960 int arg3 ;
17961 PyObject * obj0 = 0 ;
17962 PyObject * obj1 = 0 ;
17963 PyObject * obj2 = 0 ;
17964 char *kwnames[] = {
17965 (char *) "self",(char *) "width",(char *) "height", NULL
17966 };
17967
17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (int)(SWIG_As_int(obj1));
17973 if (SWIG_arg_fail(2)) SWIG_fail;
17974 }
17975 {
17976 arg3 = (int)(SWIG_As_int(obj2));
17977 if (SWIG_arg_fail(3)) SWIG_fail;
17978 }
17979 {
17980 PyThreadState* __tstate = wxPyBeginAllowThreads();
17981 (arg1)->base_DoSetClientSize(arg2,arg3);
17982
17983 wxPyEndAllowThreads(__tstate);
17984 if (PyErr_Occurred()) SWIG_fail;
17985 }
17986 Py_INCREF(Py_None); resultobj = Py_None;
17987 return resultobj;
17988 fail:
17989 return NULL;
17990 }
17991
17992
17993 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17994 PyObject *resultobj;
17995 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17996 int arg2 ;
17997 int arg3 ;
17998 PyObject * obj0 = 0 ;
17999 PyObject * obj1 = 0 ;
18000 PyObject * obj2 = 0 ;
18001 char *kwnames[] = {
18002 (char *) "self",(char *) "x",(char *) "y", NULL
18003 };
18004
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (int)(SWIG_As_int(obj1));
18010 if (SWIG_arg_fail(2)) SWIG_fail;
18011 }
18012 {
18013 arg3 = (int)(SWIG_As_int(obj2));
18014 if (SWIG_arg_fail(3)) SWIG_fail;
18015 }
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 Py_INCREF(Py_None); resultobj = Py_None;
18024 return resultobj;
18025 fail:
18026 return NULL;
18027 }
18028
18029
18030 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18033 int *arg2 = (int *) 0 ;
18034 int *arg3 = (int *) 0 ;
18035 int temp2 ;
18036 int res2 = 0 ;
18037 int temp3 ;
18038 int res3 = 0 ;
18039 PyObject * obj0 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self", NULL
18042 };
18043
18044 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18045 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
18047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18048 if (SWIG_arg_fail(1)) SWIG_fail;
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 Py_INCREF(Py_None); resultobj = Py_None;
18057 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18058 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18059 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18060 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18061 return resultobj;
18062 fail:
18063 return NULL;
18064 }
18065
18066
18067 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18068 PyObject *resultobj;
18069 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18070 int *arg2 = (int *) 0 ;
18071 int *arg3 = (int *) 0 ;
18072 int temp2 ;
18073 int res2 = 0 ;
18074 int temp3 ;
18075 int res3 = 0 ;
18076 PyObject * obj0 = 0 ;
18077 char *kwnames[] = {
18078 (char *) "self", NULL
18079 };
18080
18081 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18082 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18085 if (SWIG_arg_fail(1)) SWIG_fail;
18086 {
18087 PyThreadState* __tstate = wxPyBeginAllowThreads();
18088 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18089
18090 wxPyEndAllowThreads(__tstate);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 }
18093 Py_INCREF(Py_None); resultobj = Py_None;
18094 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18095 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18096 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18097 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18098 return resultobj;
18099 fail:
18100 return NULL;
18101 }
18102
18103
18104 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18105 PyObject *resultobj;
18106 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18107 int *arg2 = (int *) 0 ;
18108 int *arg3 = (int *) 0 ;
18109 int temp2 ;
18110 int res2 = 0 ;
18111 int temp3 ;
18112 int res3 = 0 ;
18113 PyObject * obj0 = 0 ;
18114 char *kwnames[] = {
18115 (char *) "self", NULL
18116 };
18117
18118 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18119 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18122 if (SWIG_arg_fail(1)) SWIG_fail;
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18126
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 Py_INCREF(Py_None); resultobj = Py_None;
18131 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18132 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18133 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18134 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18135 return resultobj;
18136 fail:
18137 return NULL;
18138 }
18139
18140
18141 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18144 wxSize result;
18145 PyObject * obj0 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "self", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18152 if (SWIG_arg_fail(1)) SWIG_fail;
18153 {
18154 PyThreadState* __tstate = wxPyBeginAllowThreads();
18155 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18156
18157 wxPyEndAllowThreads(__tstate);
18158 if (PyErr_Occurred()) SWIG_fail;
18159 }
18160 {
18161 wxSize * resultptr;
18162 resultptr = new wxSize((wxSize &)(result));
18163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18164 }
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18174 wxSize result;
18175 PyObject * obj0 = 0 ;
18176 char *kwnames[] = {
18177 (char *) "self", NULL
18178 };
18179
18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail;
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 {
18191 wxSize * resultptr;
18192 resultptr = new wxSize((wxSize &)(result));
18193 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18194 }
18195 return resultobj;
18196 fail:
18197 return NULL;
18198 }
18199
18200
18201 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18202 PyObject *resultobj;
18203 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18204 PyObject * obj0 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18211 if (SWIG_arg_fail(1)) SWIG_fail;
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 (arg1)->base_InitDialog();
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 Py_INCREF(Py_None); resultobj = Py_None;
18220 return resultobj;
18221 fail:
18222 return NULL;
18223 }
18224
18225
18226 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18229 bool result;
18230 PyObject * obj0 = 0 ;
18231 char *kwnames[] = {
18232 (char *) "self", NULL
18233 };
18234
18235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18237 if (SWIG_arg_fail(1)) SWIG_fail;
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 result = (bool)(arg1)->base_TransferDataToWindow();
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 {
18246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18247 }
18248 return resultobj;
18249 fail:
18250 return NULL;
18251 }
18252
18253
18254 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18255 PyObject *resultobj;
18256 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18257 bool result;
18258 PyObject * obj0 = 0 ;
18259 char *kwnames[] = {
18260 (char *) "self", NULL
18261 };
18262
18263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18265 if (SWIG_arg_fail(1)) SWIG_fail;
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 result = (bool)(arg1)->base_TransferDataFromWindow();
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 {
18274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18275 }
18276 return resultobj;
18277 fail:
18278 return NULL;
18279 }
18280
18281
18282 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18283 PyObject *resultobj;
18284 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18285 bool result;
18286 PyObject * obj0 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail;
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 result = (bool)(arg1)->base_Validate();
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 {
18302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18303 }
18304 return resultobj;
18305 fail:
18306 return NULL;
18307 }
18308
18309
18310 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18311 PyObject *resultobj;
18312 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18313 bool result;
18314 PyObject * obj0 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail;
18322 {
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18325
18326 wxPyEndAllowThreads(__tstate);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 {
18330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18331 }
18332 return resultobj;
18333 fail:
18334 return NULL;
18335 }
18336
18337
18338 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18339 PyObject *resultobj;
18340 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18341 bool result;
18342 PyObject * obj0 = 0 ;
18343 char *kwnames[] = {
18344 (char *) "self", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18349 if (SWIG_arg_fail(1)) SWIG_fail;
18350 {
18351 PyThreadState* __tstate = wxPyBeginAllowThreads();
18352 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18353
18354 wxPyEndAllowThreads(__tstate);
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
18357 {
18358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18359 }
18360 return resultobj;
18361 fail:
18362 return NULL;
18363 }
18364
18365
18366 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj;
18368 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18369 wxSize result;
18370 PyObject * obj0 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18377 if (SWIG_arg_fail(1)) SWIG_fail;
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 {
18386 wxSize * resultptr;
18387 resultptr = new wxSize((wxSize &)(result));
18388 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18389 }
18390 return resultobj;
18391 fail:
18392 return NULL;
18393 }
18394
18395
18396 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18397 PyObject *resultobj;
18398 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18399 wxWindow *arg2 = (wxWindow *) 0 ;
18400 PyObject * obj0 = 0 ;
18401 PyObject * obj1 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self",(char *) "child", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18408 if (SWIG_arg_fail(1)) SWIG_fail;
18409 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18410 if (SWIG_arg_fail(2)) SWIG_fail;
18411 {
18412 PyThreadState* __tstate = wxPyBeginAllowThreads();
18413 (arg1)->base_AddChild(arg2);
18414
18415 wxPyEndAllowThreads(__tstate);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 }
18418 Py_INCREF(Py_None); resultobj = Py_None;
18419 return resultobj;
18420 fail:
18421 return NULL;
18422 }
18423
18424
18425 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18426 PyObject *resultobj;
18427 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18428 wxWindow *arg2 = (wxWindow *) 0 ;
18429 PyObject * obj0 = 0 ;
18430 PyObject * obj1 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self",(char *) "child", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18437 if (SWIG_arg_fail(1)) SWIG_fail;
18438 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18439 if (SWIG_arg_fail(2)) SWIG_fail;
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 (arg1)->base_RemoveChild(arg2);
18443
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
18447 Py_INCREF(Py_None); resultobj = Py_None;
18448 return resultobj;
18449 fail:
18450 return NULL;
18451 }
18452
18453
18454 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18455 PyObject *resultobj;
18456 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18457 bool result;
18458 PyObject * obj0 = 0 ;
18459 char *kwnames[] = {
18460 (char *) "self", NULL
18461 };
18462
18463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail;
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18469
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 {
18474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18475 }
18476 return resultobj;
18477 fail:
18478 return NULL;
18479 }
18480
18481
18482 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18485 wxVisualAttributes result;
18486 PyObject * obj0 = 0 ;
18487 char *kwnames[] = {
18488 (char *) "self", NULL
18489 };
18490
18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18493 if (SWIG_arg_fail(1)) SWIG_fail;
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (arg1)->base_GetDefaultAttributes();
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 {
18502 wxVisualAttributes * resultptr;
18503 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
18504 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18505 }
18506 return resultobj;
18507 fail:
18508 return NULL;
18509 }
18510
18511
18512 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18513 PyObject *obj;
18514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18515 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18516 Py_INCREF(obj);
18517 return Py_BuildValue((char *)"");
18518 }
18519 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj;
18521 wxWindow *arg1 = (wxWindow *) 0 ;
18522 int arg2 = (int) (int)-1 ;
18523 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18524 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18525 wxSize const &arg4_defvalue = wxDefaultSize ;
18526 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18527 long arg5 = (long) 0 ;
18528 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18529 wxString *arg6 = (wxString *) &arg6_defvalue ;
18530 wxPyPanel *result;
18531 wxPoint temp3 ;
18532 wxSize temp4 ;
18533 bool temp6 = false ;
18534 PyObject * obj0 = 0 ;
18535 PyObject * obj1 = 0 ;
18536 PyObject * obj2 = 0 ;
18537 PyObject * obj3 = 0 ;
18538 PyObject * obj4 = 0 ;
18539 PyObject * obj5 = 0 ;
18540 char *kwnames[] = {
18541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18542 };
18543
18544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18546 if (SWIG_arg_fail(1)) SWIG_fail;
18547 if (obj1) {
18548 {
18549 arg2 = (int const)(SWIG_As_int(obj1));
18550 if (SWIG_arg_fail(2)) SWIG_fail;
18551 }
18552 }
18553 if (obj2) {
18554 {
18555 arg3 = &temp3;
18556 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18557 }
18558 }
18559 if (obj3) {
18560 {
18561 arg4 = &temp4;
18562 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18563 }
18564 }
18565 if (obj4) {
18566 {
18567 arg5 = (long)(SWIG_As_long(obj4));
18568 if (SWIG_arg_fail(5)) SWIG_fail;
18569 }
18570 }
18571 if (obj5) {
18572 {
18573 arg6 = wxString_in_helper(obj5);
18574 if (arg6 == NULL) SWIG_fail;
18575 temp6 = true;
18576 }
18577 }
18578 {
18579 if (!wxPyCheckForApp()) SWIG_fail;
18580 PyThreadState* __tstate = wxPyBeginAllowThreads();
18581 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18582
18583 wxPyEndAllowThreads(__tstate);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 }
18586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18587 {
18588 if (temp6)
18589 delete arg6;
18590 }
18591 return resultobj;
18592 fail:
18593 {
18594 if (temp6)
18595 delete arg6;
18596 }
18597 return NULL;
18598 }
18599
18600
18601 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxPyPanel *result;
18604 char *kwnames[] = {
18605 NULL
18606 };
18607
18608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18609 {
18610 if (!wxPyCheckForApp()) SWIG_fail;
18611 PyThreadState* __tstate = wxPyBeginAllowThreads();
18612 result = (wxPyPanel *)new wxPyPanel();
18613
18614 wxPyEndAllowThreads(__tstate);
18615 if (PyErr_Occurred()) SWIG_fail;
18616 }
18617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18618 return resultobj;
18619 fail:
18620 return NULL;
18621 }
18622
18623
18624 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18625 PyObject *resultobj;
18626 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18627 PyObject *arg2 = (PyObject *) 0 ;
18628 PyObject *arg3 = (PyObject *) 0 ;
18629 PyObject * obj0 = 0 ;
18630 PyObject * obj1 = 0 ;
18631 PyObject * obj2 = 0 ;
18632 char *kwnames[] = {
18633 (char *) "self",(char *) "self",(char *) "_class", NULL
18634 };
18635
18636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail;
18639 arg2 = obj1;
18640 arg3 = obj2;
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 (arg1)->_setCallbackInfo(arg2,arg3);
18644
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 Py_INCREF(Py_None); resultobj = Py_None;
18649 return resultobj;
18650 fail:
18651 return NULL;
18652 }
18653
18654
18655 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj;
18657 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18658 wxSize *arg2 = 0 ;
18659 wxSize temp2 ;
18660 PyObject * obj0 = 0 ;
18661 PyObject * obj1 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self",(char *) "size", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18668 if (SWIG_arg_fail(1)) SWIG_fail;
18669 {
18670 arg2 = &temp2;
18671 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18672 }
18673 {
18674 PyThreadState* __tstate = wxPyBeginAllowThreads();
18675 (arg1)->SetBestSize((wxSize const &)*arg2);
18676
18677 wxPyEndAllowThreads(__tstate);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 }
18680 Py_INCREF(Py_None); resultobj = Py_None;
18681 return resultobj;
18682 fail:
18683 return NULL;
18684 }
18685
18686
18687 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18688 PyObject *resultobj;
18689 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18690 int arg2 ;
18691 int arg3 ;
18692 int arg4 ;
18693 int arg5 ;
18694 PyObject * obj0 = 0 ;
18695 PyObject * obj1 = 0 ;
18696 PyObject * obj2 = 0 ;
18697 PyObject * obj3 = 0 ;
18698 PyObject * obj4 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18705 if (SWIG_arg_fail(1)) SWIG_fail;
18706 {
18707 arg2 = (int)(SWIG_As_int(obj1));
18708 if (SWIG_arg_fail(2)) SWIG_fail;
18709 }
18710 {
18711 arg3 = (int)(SWIG_As_int(obj2));
18712 if (SWIG_arg_fail(3)) SWIG_fail;
18713 }
18714 {
18715 arg4 = (int)(SWIG_As_int(obj3));
18716 if (SWIG_arg_fail(4)) SWIG_fail;
18717 }
18718 {
18719 arg5 = (int)(SWIG_As_int(obj4));
18720 if (SWIG_arg_fail(5)) SWIG_fail;
18721 }
18722 {
18723 PyThreadState* __tstate = wxPyBeginAllowThreads();
18724 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18725
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 Py_INCREF(Py_None); resultobj = Py_None;
18730 return resultobj;
18731 fail:
18732 return NULL;
18733 }
18734
18735
18736 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18737 PyObject *resultobj;
18738 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18739 int arg2 ;
18740 int arg3 ;
18741 int arg4 ;
18742 int arg5 ;
18743 int arg6 = (int) wxSIZE_AUTO ;
18744 PyObject * obj0 = 0 ;
18745 PyObject * obj1 = 0 ;
18746 PyObject * obj2 = 0 ;
18747 PyObject * obj3 = 0 ;
18748 PyObject * obj4 = 0 ;
18749 PyObject * obj5 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18756 if (SWIG_arg_fail(1)) SWIG_fail;
18757 {
18758 arg2 = (int)(SWIG_As_int(obj1));
18759 if (SWIG_arg_fail(2)) SWIG_fail;
18760 }
18761 {
18762 arg3 = (int)(SWIG_As_int(obj2));
18763 if (SWIG_arg_fail(3)) SWIG_fail;
18764 }
18765 {
18766 arg4 = (int)(SWIG_As_int(obj3));
18767 if (SWIG_arg_fail(4)) SWIG_fail;
18768 }
18769 {
18770 arg5 = (int)(SWIG_As_int(obj4));
18771 if (SWIG_arg_fail(5)) SWIG_fail;
18772 }
18773 if (obj5) {
18774 {
18775 arg6 = (int)(SWIG_As_int(obj5));
18776 if (SWIG_arg_fail(6)) SWIG_fail;
18777 }
18778 }
18779 {
18780 PyThreadState* __tstate = wxPyBeginAllowThreads();
18781 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18782
18783 wxPyEndAllowThreads(__tstate);
18784 if (PyErr_Occurred()) SWIG_fail;
18785 }
18786 Py_INCREF(Py_None); resultobj = Py_None;
18787 return resultobj;
18788 fail:
18789 return NULL;
18790 }
18791
18792
18793 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18794 PyObject *resultobj;
18795 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18796 int arg2 ;
18797 int arg3 ;
18798 PyObject * obj0 = 0 ;
18799 PyObject * obj1 = 0 ;
18800 PyObject * obj2 = 0 ;
18801 char *kwnames[] = {
18802 (char *) "self",(char *) "width",(char *) "height", NULL
18803 };
18804
18805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18807 if (SWIG_arg_fail(1)) SWIG_fail;
18808 {
18809 arg2 = (int)(SWIG_As_int(obj1));
18810 if (SWIG_arg_fail(2)) SWIG_fail;
18811 }
18812 {
18813 arg3 = (int)(SWIG_As_int(obj2));
18814 if (SWIG_arg_fail(3)) SWIG_fail;
18815 }
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 (arg1)->base_DoSetClientSize(arg2,arg3);
18819
18820 wxPyEndAllowThreads(__tstate);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 }
18823 Py_INCREF(Py_None); resultobj = Py_None;
18824 return resultobj;
18825 fail:
18826 return NULL;
18827 }
18828
18829
18830 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18831 PyObject *resultobj;
18832 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18833 int arg2 ;
18834 int arg3 ;
18835 PyObject * obj0 = 0 ;
18836 PyObject * obj1 = 0 ;
18837 PyObject * obj2 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "self",(char *) "x",(char *) "y", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18844 if (SWIG_arg_fail(1)) SWIG_fail;
18845 {
18846 arg2 = (int)(SWIG_As_int(obj1));
18847 if (SWIG_arg_fail(2)) SWIG_fail;
18848 }
18849 {
18850 arg3 = (int)(SWIG_As_int(obj2));
18851 if (SWIG_arg_fail(3)) SWIG_fail;
18852 }
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18856
18857 wxPyEndAllowThreads(__tstate);
18858 if (PyErr_Occurred()) SWIG_fail;
18859 }
18860 Py_INCREF(Py_None); resultobj = Py_None;
18861 return resultobj;
18862 fail:
18863 return NULL;
18864 }
18865
18866
18867 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18870 int *arg2 = (int *) 0 ;
18871 int *arg3 = (int *) 0 ;
18872 int temp2 ;
18873 int res2 = 0 ;
18874 int temp3 ;
18875 int res3 = 0 ;
18876 PyObject * obj0 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self", NULL
18879 };
18880
18881 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18882 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
18884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18885 if (SWIG_arg_fail(1)) SWIG_fail;
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 Py_INCREF(Py_None); resultobj = Py_None;
18894 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18895 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18896 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18897 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18898 return resultobj;
18899 fail:
18900 return NULL;
18901 }
18902
18903
18904 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18905 PyObject *resultobj;
18906 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18907 int *arg2 = (int *) 0 ;
18908 int *arg3 = (int *) 0 ;
18909 int temp2 ;
18910 int res2 = 0 ;
18911 int temp3 ;
18912 int res3 = 0 ;
18913 PyObject * obj0 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self", NULL
18916 };
18917
18918 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18919 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18922 if (SWIG_arg_fail(1)) SWIG_fail;
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
18926
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 Py_INCREF(Py_None); resultobj = Py_None;
18931 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18932 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18933 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18934 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18935 return resultobj;
18936 fail:
18937 return NULL;
18938 }
18939
18940
18941 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18942 PyObject *resultobj;
18943 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18944 int *arg2 = (int *) 0 ;
18945 int *arg3 = (int *) 0 ;
18946 int temp2 ;
18947 int res2 = 0 ;
18948 int temp3 ;
18949 int res3 = 0 ;
18950 PyObject * obj0 = 0 ;
18951 char *kwnames[] = {
18952 (char *) "self", NULL
18953 };
18954
18955 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18956 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
18958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18959 if (SWIG_arg_fail(1)) SWIG_fail;
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
18963
18964 wxPyEndAllowThreads(__tstate);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
18967 Py_INCREF(Py_None); resultobj = Py_None;
18968 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18969 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18970 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18971 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18972 return resultobj;
18973 fail:
18974 return NULL;
18975 }
18976
18977
18978 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18981 wxSize result;
18982 PyObject * obj0 = 0 ;
18983 char *kwnames[] = {
18984 (char *) "self", NULL
18985 };
18986
18987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18989 if (SWIG_arg_fail(1)) SWIG_fail;
18990 {
18991 PyThreadState* __tstate = wxPyBeginAllowThreads();
18992 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
18993
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 {
18998 wxSize * resultptr;
18999 resultptr = new wxSize((wxSize &)(result));
19000 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19001 }
19002 return resultobj;
19003 fail:
19004 return NULL;
19005 }
19006
19007
19008 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19009 PyObject *resultobj;
19010 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19011 wxSize result;
19012 PyObject * obj0 = 0 ;
19013 char *kwnames[] = {
19014 (char *) "self", NULL
19015 };
19016
19017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19019 if (SWIG_arg_fail(1)) SWIG_fail;
19020 {
19021 PyThreadState* __tstate = wxPyBeginAllowThreads();
19022 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19023
19024 wxPyEndAllowThreads(__tstate);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
19027 {
19028 wxSize * resultptr;
19029 resultptr = new wxSize((wxSize &)(result));
19030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19031 }
19032 return resultobj;
19033 fail:
19034 return NULL;
19035 }
19036
19037
19038 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19039 PyObject *resultobj;
19040 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19041 PyObject * obj0 = 0 ;
19042 char *kwnames[] = {
19043 (char *) "self", NULL
19044 };
19045
19046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
19047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19048 if (SWIG_arg_fail(1)) SWIG_fail;
19049 {
19050 PyThreadState* __tstate = wxPyBeginAllowThreads();
19051 (arg1)->base_InitDialog();
19052
19053 wxPyEndAllowThreads(__tstate);
19054 if (PyErr_Occurred()) SWIG_fail;
19055 }
19056 Py_INCREF(Py_None); resultobj = Py_None;
19057 return resultobj;
19058 fail:
19059 return NULL;
19060 }
19061
19062
19063 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19066 bool result;
19067 PyObject * obj0 = 0 ;
19068 char *kwnames[] = {
19069 (char *) "self", NULL
19070 };
19071
19072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19074 if (SWIG_arg_fail(1)) SWIG_fail;
19075 {
19076 PyThreadState* __tstate = wxPyBeginAllowThreads();
19077 result = (bool)(arg1)->base_TransferDataToWindow();
19078
19079 wxPyEndAllowThreads(__tstate);
19080 if (PyErr_Occurred()) SWIG_fail;
19081 }
19082 {
19083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19084 }
19085 return resultobj;
19086 fail:
19087 return NULL;
19088 }
19089
19090
19091 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19092 PyObject *resultobj;
19093 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19094 bool result;
19095 PyObject * obj0 = 0 ;
19096 char *kwnames[] = {
19097 (char *) "self", NULL
19098 };
19099
19100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19102 if (SWIG_arg_fail(1)) SWIG_fail;
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 result = (bool)(arg1)->base_TransferDataFromWindow();
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 {
19111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19112 }
19113 return resultobj;
19114 fail:
19115 return NULL;
19116 }
19117
19118
19119 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19120 PyObject *resultobj;
19121 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19122 bool result;
19123 PyObject * obj0 = 0 ;
19124 char *kwnames[] = {
19125 (char *) "self", NULL
19126 };
19127
19128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
19129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19130 if (SWIG_arg_fail(1)) SWIG_fail;
19131 {
19132 PyThreadState* __tstate = wxPyBeginAllowThreads();
19133 result = (bool)(arg1)->base_Validate();
19134
19135 wxPyEndAllowThreads(__tstate);
19136 if (PyErr_Occurred()) SWIG_fail;
19137 }
19138 {
19139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19140 }
19141 return resultobj;
19142 fail:
19143 return NULL;
19144 }
19145
19146
19147 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19148 PyObject *resultobj;
19149 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19150 bool result;
19151 PyObject * obj0 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19158 if (SWIG_arg_fail(1)) SWIG_fail;
19159 {
19160 PyThreadState* __tstate = wxPyBeginAllowThreads();
19161 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19162
19163 wxPyEndAllowThreads(__tstate);
19164 if (PyErr_Occurred()) SWIG_fail;
19165 }
19166 {
19167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19168 }
19169 return resultobj;
19170 fail:
19171 return NULL;
19172 }
19173
19174
19175 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19176 PyObject *resultobj;
19177 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19178 bool result;
19179 PyObject * obj0 = 0 ;
19180 char *kwnames[] = {
19181 (char *) "self", NULL
19182 };
19183
19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19186 if (SWIG_arg_fail(1)) SWIG_fail;
19187 {
19188 PyThreadState* __tstate = wxPyBeginAllowThreads();
19189 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19190
19191 wxPyEndAllowThreads(__tstate);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 }
19194 {
19195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19196 }
19197 return resultobj;
19198 fail:
19199 return NULL;
19200 }
19201
19202
19203 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19206 wxSize result;
19207 PyObject * obj0 = 0 ;
19208 char *kwnames[] = {
19209 (char *) "self", NULL
19210 };
19211
19212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19214 if (SWIG_arg_fail(1)) SWIG_fail;
19215 {
19216 PyThreadState* __tstate = wxPyBeginAllowThreads();
19217 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19218
19219 wxPyEndAllowThreads(__tstate);
19220 if (PyErr_Occurred()) SWIG_fail;
19221 }
19222 {
19223 wxSize * resultptr;
19224 resultptr = new wxSize((wxSize &)(result));
19225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19226 }
19227 return resultobj;
19228 fail:
19229 return NULL;
19230 }
19231
19232
19233 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19234 PyObject *resultobj;
19235 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19236 wxWindow *arg2 = (wxWindow *) 0 ;
19237 PyObject * obj0 = 0 ;
19238 PyObject * obj1 = 0 ;
19239 char *kwnames[] = {
19240 (char *) "self",(char *) "child", NULL
19241 };
19242
19243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19245 if (SWIG_arg_fail(1)) SWIG_fail;
19246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19247 if (SWIG_arg_fail(2)) SWIG_fail;
19248 {
19249 PyThreadState* __tstate = wxPyBeginAllowThreads();
19250 (arg1)->base_AddChild(arg2);
19251
19252 wxPyEndAllowThreads(__tstate);
19253 if (PyErr_Occurred()) SWIG_fail;
19254 }
19255 Py_INCREF(Py_None); resultobj = Py_None;
19256 return resultobj;
19257 fail:
19258 return NULL;
19259 }
19260
19261
19262 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19263 PyObject *resultobj;
19264 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19265 wxWindow *arg2 = (wxWindow *) 0 ;
19266 PyObject * obj0 = 0 ;
19267 PyObject * obj1 = 0 ;
19268 char *kwnames[] = {
19269 (char *) "self",(char *) "child", NULL
19270 };
19271
19272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19274 if (SWIG_arg_fail(1)) SWIG_fail;
19275 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19276 if (SWIG_arg_fail(2)) SWIG_fail;
19277 {
19278 PyThreadState* __tstate = wxPyBeginAllowThreads();
19279 (arg1)->base_RemoveChild(arg2);
19280
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 Py_INCREF(Py_None); resultobj = Py_None;
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj;
19293 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19294 bool result;
19295 PyObject * obj0 = 0 ;
19296 char *kwnames[] = {
19297 (char *) "self", NULL
19298 };
19299
19300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19302 if (SWIG_arg_fail(1)) SWIG_fail;
19303 {
19304 PyThreadState* __tstate = wxPyBeginAllowThreads();
19305 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19306
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 {
19311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19312 }
19313 return resultobj;
19314 fail:
19315 return NULL;
19316 }
19317
19318
19319 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19320 PyObject *resultobj;
19321 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19322 wxVisualAttributes result;
19323 PyObject * obj0 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19330 if (SWIG_arg_fail(1)) SWIG_fail;
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 result = (arg1)->base_GetDefaultAttributes();
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 {
19339 wxVisualAttributes * resultptr;
19340 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
19341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19342 }
19343 return resultobj;
19344 fail:
19345 return NULL;
19346 }
19347
19348
19349 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19350 PyObject *obj;
19351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19352 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19353 Py_INCREF(obj);
19354 return Py_BuildValue((char *)"");
19355 }
19356 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19357 PyObject *resultobj;
19358 wxWindow *arg1 = (wxWindow *) 0 ;
19359 int arg2 = (int) (int)-1 ;
19360 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19361 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19362 wxSize const &arg4_defvalue = wxDefaultSize ;
19363 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19364 long arg5 = (long) 0 ;
19365 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19366 wxString *arg6 = (wxString *) &arg6_defvalue ;
19367 wxPyScrolledWindow *result;
19368 wxPoint temp3 ;
19369 wxSize temp4 ;
19370 bool temp6 = false ;
19371 PyObject * obj0 = 0 ;
19372 PyObject * obj1 = 0 ;
19373 PyObject * obj2 = 0 ;
19374 PyObject * obj3 = 0 ;
19375 PyObject * obj4 = 0 ;
19376 PyObject * obj5 = 0 ;
19377 char *kwnames[] = {
19378 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19379 };
19380
19381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19383 if (SWIG_arg_fail(1)) SWIG_fail;
19384 if (obj1) {
19385 {
19386 arg2 = (int const)(SWIG_As_int(obj1));
19387 if (SWIG_arg_fail(2)) SWIG_fail;
19388 }
19389 }
19390 if (obj2) {
19391 {
19392 arg3 = &temp3;
19393 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19394 }
19395 }
19396 if (obj3) {
19397 {
19398 arg4 = &temp4;
19399 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19400 }
19401 }
19402 if (obj4) {
19403 {
19404 arg5 = (long)(SWIG_As_long(obj4));
19405 if (SWIG_arg_fail(5)) SWIG_fail;
19406 }
19407 }
19408 if (obj5) {
19409 {
19410 arg6 = wxString_in_helper(obj5);
19411 if (arg6 == NULL) SWIG_fail;
19412 temp6 = true;
19413 }
19414 }
19415 {
19416 if (!wxPyCheckForApp()) SWIG_fail;
19417 PyThreadState* __tstate = wxPyBeginAllowThreads();
19418 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19419
19420 wxPyEndAllowThreads(__tstate);
19421 if (PyErr_Occurred()) SWIG_fail;
19422 }
19423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19424 {
19425 if (temp6)
19426 delete arg6;
19427 }
19428 return resultobj;
19429 fail:
19430 {
19431 if (temp6)
19432 delete arg6;
19433 }
19434 return NULL;
19435 }
19436
19437
19438 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj;
19440 wxPyScrolledWindow *result;
19441 char *kwnames[] = {
19442 NULL
19443 };
19444
19445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19446 {
19447 if (!wxPyCheckForApp()) SWIG_fail;
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19455 return resultobj;
19456 fail:
19457 return NULL;
19458 }
19459
19460
19461 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19462 PyObject *resultobj;
19463 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19464 PyObject *arg2 = (PyObject *) 0 ;
19465 PyObject *arg3 = (PyObject *) 0 ;
19466 PyObject * obj0 = 0 ;
19467 PyObject * obj1 = 0 ;
19468 PyObject * obj2 = 0 ;
19469 char *kwnames[] = {
19470 (char *) "self",(char *) "self",(char *) "_class", NULL
19471 };
19472
19473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19475 if (SWIG_arg_fail(1)) SWIG_fail;
19476 arg2 = obj1;
19477 arg3 = obj2;
19478 {
19479 PyThreadState* __tstate = wxPyBeginAllowThreads();
19480 (arg1)->_setCallbackInfo(arg2,arg3);
19481
19482 wxPyEndAllowThreads(__tstate);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 }
19485 Py_INCREF(Py_None); resultobj = Py_None;
19486 return resultobj;
19487 fail:
19488 return NULL;
19489 }
19490
19491
19492 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19493 PyObject *resultobj;
19494 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19495 wxSize *arg2 = 0 ;
19496 wxSize temp2 ;
19497 PyObject * obj0 = 0 ;
19498 PyObject * obj1 = 0 ;
19499 char *kwnames[] = {
19500 (char *) "self",(char *) "size", NULL
19501 };
19502
19503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19505 if (SWIG_arg_fail(1)) SWIG_fail;
19506 {
19507 arg2 = &temp2;
19508 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19509 }
19510 {
19511 PyThreadState* __tstate = wxPyBeginAllowThreads();
19512 (arg1)->SetBestSize((wxSize const &)*arg2);
19513
19514 wxPyEndAllowThreads(__tstate);
19515 if (PyErr_Occurred()) SWIG_fail;
19516 }
19517 Py_INCREF(Py_None); resultobj = Py_None;
19518 return resultobj;
19519 fail:
19520 return NULL;
19521 }
19522
19523
19524 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj;
19526 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19527 int arg2 ;
19528 int arg3 ;
19529 int arg4 ;
19530 int arg5 ;
19531 PyObject * obj0 = 0 ;
19532 PyObject * obj1 = 0 ;
19533 PyObject * obj2 = 0 ;
19534 PyObject * obj3 = 0 ;
19535 PyObject * obj4 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19542 if (SWIG_arg_fail(1)) SWIG_fail;
19543 {
19544 arg2 = (int)(SWIG_As_int(obj1));
19545 if (SWIG_arg_fail(2)) SWIG_fail;
19546 }
19547 {
19548 arg3 = (int)(SWIG_As_int(obj2));
19549 if (SWIG_arg_fail(3)) SWIG_fail;
19550 }
19551 {
19552 arg4 = (int)(SWIG_As_int(obj3));
19553 if (SWIG_arg_fail(4)) SWIG_fail;
19554 }
19555 {
19556 arg5 = (int)(SWIG_As_int(obj4));
19557 if (SWIG_arg_fail(5)) SWIG_fail;
19558 }
19559 {
19560 PyThreadState* __tstate = wxPyBeginAllowThreads();
19561 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
19566 Py_INCREF(Py_None); resultobj = Py_None;
19567 return resultobj;
19568 fail:
19569 return NULL;
19570 }
19571
19572
19573 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19574 PyObject *resultobj;
19575 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19576 int arg2 ;
19577 int arg3 ;
19578 int arg4 ;
19579 int arg5 ;
19580 int arg6 = (int) wxSIZE_AUTO ;
19581 PyObject * obj0 = 0 ;
19582 PyObject * obj1 = 0 ;
19583 PyObject * obj2 = 0 ;
19584 PyObject * obj3 = 0 ;
19585 PyObject * obj4 = 0 ;
19586 PyObject * obj5 = 0 ;
19587 char *kwnames[] = {
19588 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19593 if (SWIG_arg_fail(1)) SWIG_fail;
19594 {
19595 arg2 = (int)(SWIG_As_int(obj1));
19596 if (SWIG_arg_fail(2)) SWIG_fail;
19597 }
19598 {
19599 arg3 = (int)(SWIG_As_int(obj2));
19600 if (SWIG_arg_fail(3)) SWIG_fail;
19601 }
19602 {
19603 arg4 = (int)(SWIG_As_int(obj3));
19604 if (SWIG_arg_fail(4)) SWIG_fail;
19605 }
19606 {
19607 arg5 = (int)(SWIG_As_int(obj4));
19608 if (SWIG_arg_fail(5)) SWIG_fail;
19609 }
19610 if (obj5) {
19611 {
19612 arg6 = (int)(SWIG_As_int(obj5));
19613 if (SWIG_arg_fail(6)) SWIG_fail;
19614 }
19615 }
19616 {
19617 PyThreadState* __tstate = wxPyBeginAllowThreads();
19618 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19619
19620 wxPyEndAllowThreads(__tstate);
19621 if (PyErr_Occurred()) SWIG_fail;
19622 }
19623 Py_INCREF(Py_None); resultobj = Py_None;
19624 return resultobj;
19625 fail:
19626 return NULL;
19627 }
19628
19629
19630 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19631 PyObject *resultobj;
19632 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19633 int arg2 ;
19634 int arg3 ;
19635 PyObject * obj0 = 0 ;
19636 PyObject * obj1 = 0 ;
19637 PyObject * obj2 = 0 ;
19638 char *kwnames[] = {
19639 (char *) "self",(char *) "width",(char *) "height", NULL
19640 };
19641
19642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19644 if (SWIG_arg_fail(1)) SWIG_fail;
19645 {
19646 arg2 = (int)(SWIG_As_int(obj1));
19647 if (SWIG_arg_fail(2)) SWIG_fail;
19648 }
19649 {
19650 arg3 = (int)(SWIG_As_int(obj2));
19651 if (SWIG_arg_fail(3)) SWIG_fail;
19652 }
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 (arg1)->base_DoSetClientSize(arg2,arg3);
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 Py_INCREF(Py_None); resultobj = Py_None;
19661 return resultobj;
19662 fail:
19663 return NULL;
19664 }
19665
19666
19667 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj;
19669 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19670 int arg2 ;
19671 int arg3 ;
19672 PyObject * obj0 = 0 ;
19673 PyObject * obj1 = 0 ;
19674 PyObject * obj2 = 0 ;
19675 char *kwnames[] = {
19676 (char *) "self",(char *) "x",(char *) "y", NULL
19677 };
19678
19679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19681 if (SWIG_arg_fail(1)) SWIG_fail;
19682 {
19683 arg2 = (int)(SWIG_As_int(obj1));
19684 if (SWIG_arg_fail(2)) SWIG_fail;
19685 }
19686 {
19687 arg3 = (int)(SWIG_As_int(obj2));
19688 if (SWIG_arg_fail(3)) SWIG_fail;
19689 }
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19693
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
19697 Py_INCREF(Py_None); resultobj = Py_None;
19698 return resultobj;
19699 fail:
19700 return NULL;
19701 }
19702
19703
19704 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19705 PyObject *resultobj;
19706 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19707 int *arg2 = (int *) 0 ;
19708 int *arg3 = (int *) 0 ;
19709 int temp2 ;
19710 int res2 = 0 ;
19711 int temp3 ;
19712 int res3 = 0 ;
19713 PyObject * obj0 = 0 ;
19714 char *kwnames[] = {
19715 (char *) "self", NULL
19716 };
19717
19718 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19719 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
19721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail;
19723 {
19724 PyThreadState* __tstate = wxPyBeginAllowThreads();
19725 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19726
19727 wxPyEndAllowThreads(__tstate);
19728 if (PyErr_Occurred()) SWIG_fail;
19729 }
19730 Py_INCREF(Py_None); resultobj = Py_None;
19731 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19732 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19733 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19734 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19735 return resultobj;
19736 fail:
19737 return NULL;
19738 }
19739
19740
19741 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19742 PyObject *resultobj;
19743 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19744 int *arg2 = (int *) 0 ;
19745 int *arg3 = (int *) 0 ;
19746 int temp2 ;
19747 int res2 = 0 ;
19748 int temp3 ;
19749 int res3 = 0 ;
19750 PyObject * obj0 = 0 ;
19751 char *kwnames[] = {
19752 (char *) "self", NULL
19753 };
19754
19755 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19756 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19759 if (SWIG_arg_fail(1)) SWIG_fail;
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 Py_INCREF(Py_None); resultobj = Py_None;
19768 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19769 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19770 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19771 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19772 return resultobj;
19773 fail:
19774 return NULL;
19775 }
19776
19777
19778 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19781 int *arg2 = (int *) 0 ;
19782 int *arg3 = (int *) 0 ;
19783 int temp2 ;
19784 int res2 = 0 ;
19785 int temp3 ;
19786 int res3 = 0 ;
19787 PyObject * obj0 = 0 ;
19788 char *kwnames[] = {
19789 (char *) "self", NULL
19790 };
19791
19792 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19793 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
19795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19796 if (SWIG_arg_fail(1)) SWIG_fail;
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19800
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
19804 Py_INCREF(Py_None); resultobj = Py_None;
19805 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19806 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19807 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19808 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19809 return resultobj;
19810 fail:
19811 return NULL;
19812 }
19813
19814
19815 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19816 PyObject *resultobj;
19817 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19818 wxSize result;
19819 PyObject * obj0 = 0 ;
19820 char *kwnames[] = {
19821 (char *) "self", NULL
19822 };
19823
19824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19826 if (SWIG_arg_fail(1)) SWIG_fail;
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 {
19835 wxSize * resultptr;
19836 resultptr = new wxSize((wxSize &)(result));
19837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19838 }
19839 return resultobj;
19840 fail:
19841 return NULL;
19842 }
19843
19844
19845 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19846 PyObject *resultobj;
19847 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19848 wxSize result;
19849 PyObject * obj0 = 0 ;
19850 char *kwnames[] = {
19851 (char *) "self", NULL
19852 };
19853
19854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19856 if (SWIG_arg_fail(1)) SWIG_fail;
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 {
19865 wxSize * resultptr;
19866 resultptr = new wxSize((wxSize &)(result));
19867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19868 }
19869 return resultobj;
19870 fail:
19871 return NULL;
19872 }
19873
19874
19875 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj;
19877 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19878 PyObject * obj0 = 0 ;
19879 char *kwnames[] = {
19880 (char *) "self", NULL
19881 };
19882
19883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
19884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail;
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 (arg1)->base_InitDialog();
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 Py_INCREF(Py_None); resultobj = Py_None;
19894 return resultobj;
19895 fail:
19896 return NULL;
19897 }
19898
19899
19900 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19901 PyObject *resultobj;
19902 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19903 bool result;
19904 PyObject * obj0 = 0 ;
19905 char *kwnames[] = {
19906 (char *) "self", NULL
19907 };
19908
19909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19911 if (SWIG_arg_fail(1)) SWIG_fail;
19912 {
19913 PyThreadState* __tstate = wxPyBeginAllowThreads();
19914 result = (bool)(arg1)->base_TransferDataToWindow();
19915
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 {
19920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19921 }
19922 return resultobj;
19923 fail:
19924 return NULL;
19925 }
19926
19927
19928 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19929 PyObject *resultobj;
19930 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19931 bool result;
19932 PyObject * obj0 = 0 ;
19933 char *kwnames[] = {
19934 (char *) "self", NULL
19935 };
19936
19937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19939 if (SWIG_arg_fail(1)) SWIG_fail;
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
19942 result = (bool)(arg1)->base_TransferDataFromWindow();
19943
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
19947 {
19948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19949 }
19950 return resultobj;
19951 fail:
19952 return NULL;
19953 }
19954
19955
19956 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19957 PyObject *resultobj;
19958 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19959 bool result;
19960 PyObject * obj0 = 0 ;
19961 char *kwnames[] = {
19962 (char *) "self", NULL
19963 };
19964
19965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
19966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19967 if (SWIG_arg_fail(1)) SWIG_fail;
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 result = (bool)(arg1)->base_Validate();
19971
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 {
19976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19977 }
19978 return resultobj;
19979 fail:
19980 return NULL;
19981 }
19982
19983
19984 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19985 PyObject *resultobj;
19986 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19987 bool result;
19988 PyObject * obj0 = 0 ;
19989 char *kwnames[] = {
19990 (char *) "self", NULL
19991 };
19992
19993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail;
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 {
20004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20005 }
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj;
20014 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20015 bool result;
20016 PyObject * obj0 = 0 ;
20017 char *kwnames[] = {
20018 (char *) "self", NULL
20019 };
20020
20021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20023 if (SWIG_arg_fail(1)) SWIG_fail;
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 {
20032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20033 }
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj;
20042 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20043 wxSize result;
20044 PyObject * obj0 = 0 ;
20045 char *kwnames[] = {
20046 (char *) "self", NULL
20047 };
20048
20049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
20050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20051 if (SWIG_arg_fail(1)) SWIG_fail;
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 {
20060 wxSize * resultptr;
20061 resultptr = new wxSize((wxSize &)(result));
20062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20063 }
20064 return resultobj;
20065 fail:
20066 return NULL;
20067 }
20068
20069
20070 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20071 PyObject *resultobj;
20072 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20073 wxWindow *arg2 = (wxWindow *) 0 ;
20074 PyObject * obj0 = 0 ;
20075 PyObject * obj1 = 0 ;
20076 char *kwnames[] = {
20077 (char *) "self",(char *) "child", NULL
20078 };
20079
20080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
20081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20082 if (SWIG_arg_fail(1)) SWIG_fail;
20083 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20084 if (SWIG_arg_fail(2)) SWIG_fail;
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 (arg1)->base_AddChild(arg2);
20088
20089 wxPyEndAllowThreads(__tstate);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
20092 Py_INCREF(Py_None); resultobj = Py_None;
20093 return resultobj;
20094 fail:
20095 return NULL;
20096 }
20097
20098
20099 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20100 PyObject *resultobj;
20101 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20102 wxWindow *arg2 = (wxWindow *) 0 ;
20103 PyObject * obj0 = 0 ;
20104 PyObject * obj1 = 0 ;
20105 char *kwnames[] = {
20106 (char *) "self",(char *) "child", NULL
20107 };
20108
20109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20111 if (SWIG_arg_fail(1)) SWIG_fail;
20112 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20113 if (SWIG_arg_fail(2)) SWIG_fail;
20114 {
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 (arg1)->base_RemoveChild(arg2);
20117
20118 wxPyEndAllowThreads(__tstate);
20119 if (PyErr_Occurred()) SWIG_fail;
20120 }
20121 Py_INCREF(Py_None); resultobj = Py_None;
20122 return resultobj;
20123 fail:
20124 return NULL;
20125 }
20126
20127
20128 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20129 PyObject *resultobj;
20130 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20131 bool result;
20132 PyObject * obj0 = 0 ;
20133 char *kwnames[] = {
20134 (char *) "self", NULL
20135 };
20136
20137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20139 if (SWIG_arg_fail(1)) SWIG_fail;
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20143
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
20147 {
20148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20149 }
20150 return resultobj;
20151 fail:
20152 return NULL;
20153 }
20154
20155
20156 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20157 PyObject *resultobj;
20158 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20159 wxVisualAttributes result;
20160 PyObject * obj0 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self", NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20167 if (SWIG_arg_fail(1)) SWIG_fail;
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 result = (arg1)->base_GetDefaultAttributes();
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 {
20176 wxVisualAttributes * resultptr;
20177 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
20178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20179 }
20180 return resultobj;
20181 fail:
20182 return NULL;
20183 }
20184
20185
20186 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20187 PyObject *obj;
20188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20189 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20190 Py_INCREF(obj);
20191 return Py_BuildValue((char *)"");
20192 }
20193 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20194 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20195 return 1;
20196 }
20197
20198
20199 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20200 PyObject *pyobj;
20201
20202 {
20203 #if wxUSE_UNICODE
20204 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20205 #else
20206 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20207 #endif
20208 }
20209 return pyobj;
20210 }
20211
20212
20213 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20214 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20215 return 1;
20216 }
20217
20218
20219 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20220 PyObject *pyobj;
20221
20222 {
20223 #if wxUSE_UNICODE
20224 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20225 #else
20226 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20227 #endif
20228 }
20229 return pyobj;
20230 }
20231
20232
20233 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20234 PyObject *resultobj;
20235 wxPrintData *result;
20236
20237 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20238 {
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 result = (wxPrintData *)new wxPrintData();
20241
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20246 return resultobj;
20247 fail:
20248 return NULL;
20249 }
20250
20251
20252 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20253 PyObject *resultobj;
20254 wxPrintData *arg1 = 0 ;
20255 wxPrintData *result;
20256 PyObject * obj0 = 0 ;
20257
20258 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20259 {
20260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20261 if (SWIG_arg_fail(1)) SWIG_fail;
20262 if (arg1 == NULL) {
20263 SWIG_null_ref("wxPrintData");
20264 }
20265 if (SWIG_arg_fail(1)) SWIG_fail;
20266 }
20267 {
20268 PyThreadState* __tstate = wxPyBeginAllowThreads();
20269 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20270
20271 wxPyEndAllowThreads(__tstate);
20272 if (PyErr_Occurred()) SWIG_fail;
20273 }
20274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20275 return resultobj;
20276 fail:
20277 return NULL;
20278 }
20279
20280
20281 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20282 int argc;
20283 PyObject *argv[2];
20284 int ii;
20285
20286 argc = PyObject_Length(args);
20287 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20288 argv[ii] = PyTuple_GetItem(args,ii);
20289 }
20290 if (argc == 0) {
20291 return _wrap_new_PrintData__SWIG_0(self,args);
20292 }
20293 if (argc == 1) {
20294 int _v;
20295 {
20296 void *ptr = 0;
20297 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20298 _v = 0;
20299 PyErr_Clear();
20300 } else {
20301 _v = (ptr != 0);
20302 }
20303 }
20304 if (_v) {
20305 return _wrap_new_PrintData__SWIG_1(self,args);
20306 }
20307 }
20308
20309 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20310 return NULL;
20311 }
20312
20313
20314 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20315 PyObject *resultobj;
20316 wxPrintData *arg1 = (wxPrintData *) 0 ;
20317 PyObject * obj0 = 0 ;
20318 char *kwnames[] = {
20319 (char *) "self", NULL
20320 };
20321
20322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail;
20325 {
20326 PyThreadState* __tstate = wxPyBeginAllowThreads();
20327 delete arg1;
20328
20329 wxPyEndAllowThreads(__tstate);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 }
20332 Py_INCREF(Py_None); resultobj = Py_None;
20333 return resultobj;
20334 fail:
20335 return NULL;
20336 }
20337
20338
20339 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20340 PyObject *resultobj;
20341 wxPrintData *arg1 = (wxPrintData *) 0 ;
20342 int result;
20343 PyObject * obj0 = 0 ;
20344 char *kwnames[] = {
20345 (char *) "self", NULL
20346 };
20347
20348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20350 if (SWIG_arg_fail(1)) SWIG_fail;
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 result = (int)(arg1)->GetNoCopies();
20354
20355 wxPyEndAllowThreads(__tstate);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 }
20358 {
20359 resultobj = SWIG_From_int((int)(result));
20360 }
20361 return resultobj;
20362 fail:
20363 return NULL;
20364 }
20365
20366
20367 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj;
20369 wxPrintData *arg1 = (wxPrintData *) 0 ;
20370 bool result;
20371 PyObject * obj0 = 0 ;
20372 char *kwnames[] = {
20373 (char *) "self", NULL
20374 };
20375
20376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail;
20379 {
20380 PyThreadState* __tstate = wxPyBeginAllowThreads();
20381 result = (bool)(arg1)->GetCollate();
20382
20383 wxPyEndAllowThreads(__tstate);
20384 if (PyErr_Occurred()) SWIG_fail;
20385 }
20386 {
20387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20388 }
20389 return resultobj;
20390 fail:
20391 return NULL;
20392 }
20393
20394
20395 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20396 PyObject *resultobj;
20397 wxPrintData *arg1 = (wxPrintData *) 0 ;
20398 int result;
20399 PyObject * obj0 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20406 if (SWIG_arg_fail(1)) SWIG_fail;
20407 {
20408 PyThreadState* __tstate = wxPyBeginAllowThreads();
20409 result = (int)(arg1)->GetOrientation();
20410
20411 wxPyEndAllowThreads(__tstate);
20412 if (PyErr_Occurred()) SWIG_fail;
20413 }
20414 {
20415 resultobj = SWIG_From_int((int)(result));
20416 }
20417 return resultobj;
20418 fail:
20419 return NULL;
20420 }
20421
20422
20423 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20424 PyObject *resultobj;
20425 wxPrintData *arg1 = (wxPrintData *) 0 ;
20426 bool result;
20427 PyObject * obj0 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "self", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20434 if (SWIG_arg_fail(1)) SWIG_fail;
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 result = (bool)(arg1)->Ok();
20438
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 {
20443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20444 }
20445 return resultobj;
20446 fail:
20447 return NULL;
20448 }
20449
20450
20451 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20452 PyObject *resultobj;
20453 wxPrintData *arg1 = (wxPrintData *) 0 ;
20454 wxString *result;
20455 PyObject * obj0 = 0 ;
20456 char *kwnames[] = {
20457 (char *) "self", NULL
20458 };
20459
20460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20462 if (SWIG_arg_fail(1)) SWIG_fail;
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 {
20466 wxString const &_result_ref = (arg1)->GetPrinterName();
20467 result = (wxString *) &_result_ref;
20468 }
20469
20470 wxPyEndAllowThreads(__tstate);
20471 if (PyErr_Occurred()) SWIG_fail;
20472 }
20473 {
20474 #if wxUSE_UNICODE
20475 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20476 #else
20477 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20478 #endif
20479 }
20480 return resultobj;
20481 fail:
20482 return NULL;
20483 }
20484
20485
20486 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20487 PyObject *resultobj;
20488 wxPrintData *arg1 = (wxPrintData *) 0 ;
20489 bool result;
20490 PyObject * obj0 = 0 ;
20491 char *kwnames[] = {
20492 (char *) "self", NULL
20493 };
20494
20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20497 if (SWIG_arg_fail(1)) SWIG_fail;
20498 {
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 result = (bool)(arg1)->GetColour();
20501
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 {
20506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20507 }
20508 return resultobj;
20509 fail:
20510 return NULL;
20511 }
20512
20513
20514 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20515 PyObject *resultobj;
20516 wxPrintData *arg1 = (wxPrintData *) 0 ;
20517 wxDuplexMode result;
20518 PyObject * obj0 = 0 ;
20519 char *kwnames[] = {
20520 (char *) "self", NULL
20521 };
20522
20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20525 if (SWIG_arg_fail(1)) SWIG_fail;
20526 {
20527 PyThreadState* __tstate = wxPyBeginAllowThreads();
20528 result = (wxDuplexMode)(arg1)->GetDuplex();
20529
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 resultobj = SWIG_From_int((result));
20534 return resultobj;
20535 fail:
20536 return NULL;
20537 }
20538
20539
20540 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20541 PyObject *resultobj;
20542 wxPrintData *arg1 = (wxPrintData *) 0 ;
20543 wxPaperSize result;
20544 PyObject * obj0 = 0 ;
20545 char *kwnames[] = {
20546 (char *) "self", NULL
20547 };
20548
20549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail;
20552 {
20553 PyThreadState* __tstate = wxPyBeginAllowThreads();
20554 result = (wxPaperSize)(arg1)->GetPaperId();
20555
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 resultobj = SWIG_From_int((result));
20560 return resultobj;
20561 fail:
20562 return NULL;
20563 }
20564
20565
20566 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj;
20568 wxPrintData *arg1 = (wxPrintData *) 0 ;
20569 wxSize *result;
20570 PyObject * obj0 = 0 ;
20571 char *kwnames[] = {
20572 (char *) "self", NULL
20573 };
20574
20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20577 if (SWIG_arg_fail(1)) SWIG_fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 {
20581 wxSize const &_result_ref = (arg1)->GetPaperSize();
20582 result = (wxSize *) &_result_ref;
20583 }
20584
20585 wxPyEndAllowThreads(__tstate);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20589 return resultobj;
20590 fail:
20591 return NULL;
20592 }
20593
20594
20595 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20596 PyObject *resultobj;
20597 wxPrintData *arg1 = (wxPrintData *) 0 ;
20598 int result;
20599 PyObject * obj0 = 0 ;
20600 char *kwnames[] = {
20601 (char *) "self", NULL
20602 };
20603
20604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
20605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20606 if (SWIG_arg_fail(1)) SWIG_fail;
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 result = (int)(arg1)->GetQuality();
20610
20611 wxPyEndAllowThreads(__tstate);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 }
20614 {
20615 resultobj = SWIG_From_int((int)(result));
20616 }
20617 return resultobj;
20618 fail:
20619 return NULL;
20620 }
20621
20622
20623 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20624 PyObject *resultobj;
20625 wxPrintData *arg1 = (wxPrintData *) 0 ;
20626 wxPrintBin result;
20627 PyObject * obj0 = 0 ;
20628 char *kwnames[] = {
20629 (char *) "self", NULL
20630 };
20631
20632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
20633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20634 if (SWIG_arg_fail(1)) SWIG_fail;
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 result = (wxPrintBin)(arg1)->GetBin();
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 resultobj = SWIG_From_int((result));
20643 return resultobj;
20644 fail:
20645 return NULL;
20646 }
20647
20648
20649 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20650 PyObject *resultobj;
20651 wxPrintData *arg1 = (wxPrintData *) 0 ;
20652 wxPrintMode result;
20653 PyObject * obj0 = 0 ;
20654 char *kwnames[] = {
20655 (char *) "self", NULL
20656 };
20657
20658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
20659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20660 if (SWIG_arg_fail(1)) SWIG_fail;
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 resultobj = SWIG_From_int((result));
20669 return resultobj;
20670 fail:
20671 return NULL;
20672 }
20673
20674
20675 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20676 PyObject *resultobj;
20677 wxPrintData *arg1 = (wxPrintData *) 0 ;
20678 int arg2 ;
20679 PyObject * obj0 = 0 ;
20680 PyObject * obj1 = 0 ;
20681 char *kwnames[] = {
20682 (char *) "self",(char *) "v", NULL
20683 };
20684
20685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20687 if (SWIG_arg_fail(1)) SWIG_fail;
20688 {
20689 arg2 = (int)(SWIG_As_int(obj1));
20690 if (SWIG_arg_fail(2)) SWIG_fail;
20691 }
20692 {
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
20694 (arg1)->SetNoCopies(arg2);
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
20699 Py_INCREF(Py_None); resultobj = Py_None;
20700 return resultobj;
20701 fail:
20702 return NULL;
20703 }
20704
20705
20706 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20707 PyObject *resultobj;
20708 wxPrintData *arg1 = (wxPrintData *) 0 ;
20709 bool arg2 ;
20710 PyObject * obj0 = 0 ;
20711 PyObject * obj1 = 0 ;
20712 char *kwnames[] = {
20713 (char *) "self",(char *) "flag", NULL
20714 };
20715
20716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20718 if (SWIG_arg_fail(1)) SWIG_fail;
20719 {
20720 arg2 = (bool)(SWIG_As_bool(obj1));
20721 if (SWIG_arg_fail(2)) SWIG_fail;
20722 }
20723 {
20724 PyThreadState* __tstate = wxPyBeginAllowThreads();
20725 (arg1)->SetCollate(arg2);
20726
20727 wxPyEndAllowThreads(__tstate);
20728 if (PyErr_Occurred()) SWIG_fail;
20729 }
20730 Py_INCREF(Py_None); resultobj = Py_None;
20731 return resultobj;
20732 fail:
20733 return NULL;
20734 }
20735
20736
20737 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20738 PyObject *resultobj;
20739 wxPrintData *arg1 = (wxPrintData *) 0 ;
20740 int arg2 ;
20741 PyObject * obj0 = 0 ;
20742 PyObject * obj1 = 0 ;
20743 char *kwnames[] = {
20744 (char *) "self",(char *) "orient", NULL
20745 };
20746
20747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
20748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20749 if (SWIG_arg_fail(1)) SWIG_fail;
20750 {
20751 arg2 = (int)(SWIG_As_int(obj1));
20752 if (SWIG_arg_fail(2)) SWIG_fail;
20753 }
20754 {
20755 PyThreadState* __tstate = wxPyBeginAllowThreads();
20756 (arg1)->SetOrientation(arg2);
20757
20758 wxPyEndAllowThreads(__tstate);
20759 if (PyErr_Occurred()) SWIG_fail;
20760 }
20761 Py_INCREF(Py_None); resultobj = Py_None;
20762 return resultobj;
20763 fail:
20764 return NULL;
20765 }
20766
20767
20768 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20769 PyObject *resultobj;
20770 wxPrintData *arg1 = (wxPrintData *) 0 ;
20771 wxString *arg2 = 0 ;
20772 bool temp2 = false ;
20773 PyObject * obj0 = 0 ;
20774 PyObject * obj1 = 0 ;
20775 char *kwnames[] = {
20776 (char *) "self",(char *) "name", NULL
20777 };
20778
20779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
20780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20781 if (SWIG_arg_fail(1)) SWIG_fail;
20782 {
20783 arg2 = wxString_in_helper(obj1);
20784 if (arg2 == NULL) SWIG_fail;
20785 temp2 = true;
20786 }
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 (arg1)->SetPrinterName((wxString const &)*arg2);
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 Py_INCREF(Py_None); resultobj = Py_None;
20795 {
20796 if (temp2)
20797 delete arg2;
20798 }
20799 return resultobj;
20800 fail:
20801 {
20802 if (temp2)
20803 delete arg2;
20804 }
20805 return NULL;
20806 }
20807
20808
20809 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20810 PyObject *resultobj;
20811 wxPrintData *arg1 = (wxPrintData *) 0 ;
20812 bool arg2 ;
20813 PyObject * obj0 = 0 ;
20814 PyObject * obj1 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self",(char *) "colour", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
20820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail;
20822 {
20823 arg2 = (bool)(SWIG_As_bool(obj1));
20824 if (SWIG_arg_fail(2)) SWIG_fail;
20825 }
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 (arg1)->SetColour(arg2);
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 Py_INCREF(Py_None); resultobj = Py_None;
20834 return resultobj;
20835 fail:
20836 return NULL;
20837 }
20838
20839
20840 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20841 PyObject *resultobj;
20842 wxPrintData *arg1 = (wxPrintData *) 0 ;
20843 wxDuplexMode arg2 ;
20844 PyObject * obj0 = 0 ;
20845 PyObject * obj1 = 0 ;
20846 char *kwnames[] = {
20847 (char *) "self",(char *) "duplex", NULL
20848 };
20849
20850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
20851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20852 if (SWIG_arg_fail(1)) SWIG_fail;
20853 {
20854 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
20855 if (SWIG_arg_fail(2)) SWIG_fail;
20856 }
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 (arg1)->SetDuplex((wxDuplexMode )arg2);
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 Py_INCREF(Py_None); resultobj = Py_None;
20865 return resultobj;
20866 fail:
20867 return NULL;
20868 }
20869
20870
20871 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20872 PyObject *resultobj;
20873 wxPrintData *arg1 = (wxPrintData *) 0 ;
20874 wxPaperSize arg2 ;
20875 PyObject * obj0 = 0 ;
20876 PyObject * obj1 = 0 ;
20877 char *kwnames[] = {
20878 (char *) "self",(char *) "sizeId", NULL
20879 };
20880
20881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20883 if (SWIG_arg_fail(1)) SWIG_fail;
20884 {
20885 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
20886 if (SWIG_arg_fail(2)) SWIG_fail;
20887 }
20888 {
20889 PyThreadState* __tstate = wxPyBeginAllowThreads();
20890 (arg1)->SetPaperId((wxPaperSize )arg2);
20891
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
20895 Py_INCREF(Py_None); resultobj = Py_None;
20896 return resultobj;
20897 fail:
20898 return NULL;
20899 }
20900
20901
20902 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20903 PyObject *resultobj;
20904 wxPrintData *arg1 = (wxPrintData *) 0 ;
20905 wxSize *arg2 = 0 ;
20906 wxSize temp2 ;
20907 PyObject * obj0 = 0 ;
20908 PyObject * obj1 = 0 ;
20909 char *kwnames[] = {
20910 (char *) "self",(char *) "sz", NULL
20911 };
20912
20913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail;
20916 {
20917 arg2 = &temp2;
20918 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20919 }
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 (arg1)->SetPaperSize((wxSize const &)*arg2);
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 Py_INCREF(Py_None); resultobj = Py_None;
20928 return resultobj;
20929 fail:
20930 return NULL;
20931 }
20932
20933
20934 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20935 PyObject *resultobj;
20936 wxPrintData *arg1 = (wxPrintData *) 0 ;
20937 int arg2 ;
20938 PyObject * obj0 = 0 ;
20939 PyObject * obj1 = 0 ;
20940 char *kwnames[] = {
20941 (char *) "self",(char *) "quality", NULL
20942 };
20943
20944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
20945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20946 if (SWIG_arg_fail(1)) SWIG_fail;
20947 {
20948 arg2 = (int)(SWIG_As_int(obj1));
20949 if (SWIG_arg_fail(2)) SWIG_fail;
20950 }
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 (arg1)->SetQuality(arg2);
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 Py_INCREF(Py_None); resultobj = Py_None;
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxPrintData *arg1 = (wxPrintData *) 0 ;
20968 wxPrintBin arg2 ;
20969 PyObject * obj0 = 0 ;
20970 PyObject * obj1 = 0 ;
20971 char *kwnames[] = {
20972 (char *) "self",(char *) "bin", NULL
20973 };
20974
20975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
20976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20977 if (SWIG_arg_fail(1)) SWIG_fail;
20978 {
20979 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
20980 if (SWIG_arg_fail(2)) SWIG_fail;
20981 }
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 (arg1)->SetBin((wxPrintBin )arg2);
20985
20986 wxPyEndAllowThreads(__tstate);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
20989 Py_INCREF(Py_None); resultobj = Py_None;
20990 return resultobj;
20991 fail:
20992 return NULL;
20993 }
20994
20995
20996 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20997 PyObject *resultobj;
20998 wxPrintData *arg1 = (wxPrintData *) 0 ;
20999 wxPrintMode arg2 ;
21000 PyObject * obj0 = 0 ;
21001 PyObject * obj1 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "self",(char *) "printMode", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21008 if (SWIG_arg_fail(1)) SWIG_fail;
21009 {
21010 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21011 if (SWIG_arg_fail(2)) SWIG_fail;
21012 }
21013 {
21014 PyThreadState* __tstate = wxPyBeginAllowThreads();
21015 (arg1)->SetPrintMode((wxPrintMode )arg2);
21016
21017 wxPyEndAllowThreads(__tstate);
21018 if (PyErr_Occurred()) SWIG_fail;
21019 }
21020 Py_INCREF(Py_None); resultobj = Py_None;
21021 return resultobj;
21022 fail:
21023 return NULL;
21024 }
21025
21026
21027 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21028 PyObject *resultobj;
21029 wxPrintData *arg1 = (wxPrintData *) 0 ;
21030 wxString result;
21031 PyObject * obj0 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21038 if (SWIG_arg_fail(1)) SWIG_fail;
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 result = ((wxPrintData const *)arg1)->GetFilename();
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 {
21047 #if wxUSE_UNICODE
21048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21049 #else
21050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21051 #endif
21052 }
21053 return resultobj;
21054 fail:
21055 return NULL;
21056 }
21057
21058
21059 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21060 PyObject *resultobj;
21061 wxPrintData *arg1 = (wxPrintData *) 0 ;
21062 wxString *arg2 = 0 ;
21063 bool temp2 = false ;
21064 PyObject * obj0 = 0 ;
21065 PyObject * obj1 = 0 ;
21066 char *kwnames[] = {
21067 (char *) "self",(char *) "filename", NULL
21068 };
21069
21070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21072 if (SWIG_arg_fail(1)) SWIG_fail;
21073 {
21074 arg2 = wxString_in_helper(obj1);
21075 if (arg2 == NULL) SWIG_fail;
21076 temp2 = true;
21077 }
21078 {
21079 PyThreadState* __tstate = wxPyBeginAllowThreads();
21080 (arg1)->SetFilename((wxString const &)*arg2);
21081
21082 wxPyEndAllowThreads(__tstate);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 }
21085 Py_INCREF(Py_None); resultobj = Py_None;
21086 {
21087 if (temp2)
21088 delete arg2;
21089 }
21090 return resultobj;
21091 fail:
21092 {
21093 if (temp2)
21094 delete arg2;
21095 }
21096 return NULL;
21097 }
21098
21099
21100 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21101 PyObject *resultobj;
21102 wxPrintData *arg1 = (wxPrintData *) 0 ;
21103 PyObject *result;
21104 PyObject * obj0 = 0 ;
21105 char *kwnames[] = {
21106 (char *) "self", NULL
21107 };
21108
21109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21111 if (SWIG_arg_fail(1)) SWIG_fail;
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21115
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
21119 resultobj = result;
21120 return resultobj;
21121 fail:
21122 return NULL;
21123 }
21124
21125
21126 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21127 PyObject *resultobj;
21128 wxPrintData *arg1 = (wxPrintData *) 0 ;
21129 PyObject *arg2 = (PyObject *) 0 ;
21130 PyObject * obj0 = 0 ;
21131 PyObject * obj1 = 0 ;
21132 char *kwnames[] = {
21133 (char *) "self",(char *) "data", NULL
21134 };
21135
21136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21138 if (SWIG_arg_fail(1)) SWIG_fail;
21139 arg2 = obj1;
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 wxPrintData_SetPrivData(arg1,arg2);
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 Py_INCREF(Py_None); resultobj = Py_None;
21148 return resultobj;
21149 fail:
21150 return NULL;
21151 }
21152
21153
21154 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj;
21156 wxPrintData *arg1 = (wxPrintData *) 0 ;
21157 wxString *result;
21158 PyObject * obj0 = 0 ;
21159 char *kwnames[] = {
21160 (char *) "self", NULL
21161 };
21162
21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
21164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail;
21166 {
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 {
21169 wxString const &_result_ref = (arg1)->GetPrinterCommand();
21170 result = (wxString *) &_result_ref;
21171 }
21172
21173 wxPyEndAllowThreads(__tstate);
21174 if (PyErr_Occurred()) SWIG_fail;
21175 }
21176 {
21177 #if wxUSE_UNICODE
21178 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21179 #else
21180 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21181 #endif
21182 }
21183 return resultobj;
21184 fail:
21185 return NULL;
21186 }
21187
21188
21189 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21190 PyObject *resultobj;
21191 wxPrintData *arg1 = (wxPrintData *) 0 ;
21192 wxString *result;
21193 PyObject * obj0 = 0 ;
21194 char *kwnames[] = {
21195 (char *) "self", NULL
21196 };
21197
21198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
21199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail;
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 {
21204 wxString const &_result_ref = (arg1)->GetPrinterOptions();
21205 result = (wxString *) &_result_ref;
21206 }
21207
21208 wxPyEndAllowThreads(__tstate);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 }
21211 {
21212 #if wxUSE_UNICODE
21213 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21214 #else
21215 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21216 #endif
21217 }
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxPrintData *arg1 = (wxPrintData *) 0 ;
21227 wxString *result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
21234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail;
21236 {
21237 PyThreadState* __tstate = wxPyBeginAllowThreads();
21238 {
21239 wxString const &_result_ref = (arg1)->GetPreviewCommand();
21240 result = (wxString *) &_result_ref;
21241 }
21242
21243 wxPyEndAllowThreads(__tstate);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 {
21247 #if wxUSE_UNICODE
21248 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21249 #else
21250 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21251 #endif
21252 }
21253 return resultobj;
21254 fail:
21255 return NULL;
21256 }
21257
21258
21259 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21260 PyObject *resultobj;
21261 wxPrintData *arg1 = (wxPrintData *) 0 ;
21262 wxString *result;
21263 PyObject * obj0 = 0 ;
21264 char *kwnames[] = {
21265 (char *) "self", NULL
21266 };
21267
21268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
21269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21270 if (SWIG_arg_fail(1)) SWIG_fail;
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 {
21274 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21275 result = (wxString *) &_result_ref;
21276 }
21277
21278 wxPyEndAllowThreads(__tstate);
21279 if (PyErr_Occurred()) SWIG_fail;
21280 }
21281 {
21282 #if wxUSE_UNICODE
21283 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21284 #else
21285 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21286 #endif
21287 }
21288 return resultobj;
21289 fail:
21290 return NULL;
21291 }
21292
21293
21294 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21295 PyObject *resultobj;
21296 wxPrintData *arg1 = (wxPrintData *) 0 ;
21297 double result;
21298 PyObject * obj0 = 0 ;
21299 char *kwnames[] = {
21300 (char *) "self", NULL
21301 };
21302
21303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
21304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21305 if (SWIG_arg_fail(1)) SWIG_fail;
21306 {
21307 PyThreadState* __tstate = wxPyBeginAllowThreads();
21308 result = (double)(arg1)->GetPrinterScaleX();
21309
21310 wxPyEndAllowThreads(__tstate);
21311 if (PyErr_Occurred()) SWIG_fail;
21312 }
21313 {
21314 resultobj = SWIG_From_double((double)(result));
21315 }
21316 return resultobj;
21317 fail:
21318 return NULL;
21319 }
21320
21321
21322 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21323 PyObject *resultobj;
21324 wxPrintData *arg1 = (wxPrintData *) 0 ;
21325 double result;
21326 PyObject * obj0 = 0 ;
21327 char *kwnames[] = {
21328 (char *) "self", NULL
21329 };
21330
21331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
21332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21333 if (SWIG_arg_fail(1)) SWIG_fail;
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 result = (double)(arg1)->GetPrinterScaleY();
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 {
21342 resultobj = SWIG_From_double((double)(result));
21343 }
21344 return resultobj;
21345 fail:
21346 return NULL;
21347 }
21348
21349
21350 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21351 PyObject *resultobj;
21352 wxPrintData *arg1 = (wxPrintData *) 0 ;
21353 long result;
21354 PyObject * obj0 = 0 ;
21355 char *kwnames[] = {
21356 (char *) "self", NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
21360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21361 if (SWIG_arg_fail(1)) SWIG_fail;
21362 {
21363 PyThreadState* __tstate = wxPyBeginAllowThreads();
21364 result = (long)(arg1)->GetPrinterTranslateX();
21365
21366 wxPyEndAllowThreads(__tstate);
21367 if (PyErr_Occurred()) SWIG_fail;
21368 }
21369 {
21370 resultobj = SWIG_From_long((long)(result));
21371 }
21372 return resultobj;
21373 fail:
21374 return NULL;
21375 }
21376
21377
21378 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21379 PyObject *resultobj;
21380 wxPrintData *arg1 = (wxPrintData *) 0 ;
21381 long result;
21382 PyObject * obj0 = 0 ;
21383 char *kwnames[] = {
21384 (char *) "self", NULL
21385 };
21386
21387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
21388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21389 if (SWIG_arg_fail(1)) SWIG_fail;
21390 {
21391 PyThreadState* __tstate = wxPyBeginAllowThreads();
21392 result = (long)(arg1)->GetPrinterTranslateY();
21393
21394 wxPyEndAllowThreads(__tstate);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 }
21397 {
21398 resultobj = SWIG_From_long((long)(result));
21399 }
21400 return resultobj;
21401 fail:
21402 return NULL;
21403 }
21404
21405
21406 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21407 PyObject *resultobj;
21408 wxPrintData *arg1 = (wxPrintData *) 0 ;
21409 wxString *arg2 = 0 ;
21410 bool temp2 = false ;
21411 PyObject * obj0 = 0 ;
21412 PyObject * obj1 = 0 ;
21413 char *kwnames[] = {
21414 (char *) "self",(char *) "command", NULL
21415 };
21416
21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
21418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21419 if (SWIG_arg_fail(1)) SWIG_fail;
21420 {
21421 arg2 = wxString_in_helper(obj1);
21422 if (arg2 == NULL) SWIG_fail;
21423 temp2 = true;
21424 }
21425 {
21426 PyThreadState* __tstate = wxPyBeginAllowThreads();
21427 (arg1)->SetPrinterCommand((wxString const &)*arg2);
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 Py_INCREF(Py_None); resultobj = Py_None;
21433 {
21434 if (temp2)
21435 delete arg2;
21436 }
21437 return resultobj;
21438 fail:
21439 {
21440 if (temp2)
21441 delete arg2;
21442 }
21443 return NULL;
21444 }
21445
21446
21447 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21448 PyObject *resultobj;
21449 wxPrintData *arg1 = (wxPrintData *) 0 ;
21450 wxString *arg2 = 0 ;
21451 bool temp2 = false ;
21452 PyObject * obj0 = 0 ;
21453 PyObject * obj1 = 0 ;
21454 char *kwnames[] = {
21455 (char *) "self",(char *) "options", NULL
21456 };
21457
21458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
21459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21460 if (SWIG_arg_fail(1)) SWIG_fail;
21461 {
21462 arg2 = wxString_in_helper(obj1);
21463 if (arg2 == NULL) SWIG_fail;
21464 temp2 = true;
21465 }
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21469
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
21473 Py_INCREF(Py_None); resultobj = Py_None;
21474 {
21475 if (temp2)
21476 delete arg2;
21477 }
21478 return resultobj;
21479 fail:
21480 {
21481 if (temp2)
21482 delete arg2;
21483 }
21484 return NULL;
21485 }
21486
21487
21488 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21489 PyObject *resultobj;
21490 wxPrintData *arg1 = (wxPrintData *) 0 ;
21491 wxString *arg2 = 0 ;
21492 bool temp2 = false ;
21493 PyObject * obj0 = 0 ;
21494 PyObject * obj1 = 0 ;
21495 char *kwnames[] = {
21496 (char *) "self",(char *) "command", NULL
21497 };
21498
21499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
21500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail;
21502 {
21503 arg2 = wxString_in_helper(obj1);
21504 if (arg2 == NULL) SWIG_fail;
21505 temp2 = true;
21506 }
21507 {
21508 PyThreadState* __tstate = wxPyBeginAllowThreads();
21509 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21510
21511 wxPyEndAllowThreads(__tstate);
21512 if (PyErr_Occurred()) SWIG_fail;
21513 }
21514 Py_INCREF(Py_None); resultobj = Py_None;
21515 {
21516 if (temp2)
21517 delete arg2;
21518 }
21519 return resultobj;
21520 fail:
21521 {
21522 if (temp2)
21523 delete arg2;
21524 }
21525 return NULL;
21526 }
21527
21528
21529 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21530 PyObject *resultobj;
21531 wxPrintData *arg1 = (wxPrintData *) 0 ;
21532 wxString *arg2 = 0 ;
21533 bool temp2 = false ;
21534 PyObject * obj0 = 0 ;
21535 PyObject * obj1 = 0 ;
21536 char *kwnames[] = {
21537 (char *) "self",(char *) "path", NULL
21538 };
21539
21540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
21541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21542 if (SWIG_arg_fail(1)) SWIG_fail;
21543 {
21544 arg2 = wxString_in_helper(obj1);
21545 if (arg2 == NULL) SWIG_fail;
21546 temp2 = true;
21547 }
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 Py_INCREF(Py_None); resultobj = Py_None;
21556 {
21557 if (temp2)
21558 delete arg2;
21559 }
21560 return resultobj;
21561 fail:
21562 {
21563 if (temp2)
21564 delete arg2;
21565 }
21566 return NULL;
21567 }
21568
21569
21570 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21571 PyObject *resultobj;
21572 wxPrintData *arg1 = (wxPrintData *) 0 ;
21573 double arg2 ;
21574 PyObject * obj0 = 0 ;
21575 PyObject * obj1 = 0 ;
21576 char *kwnames[] = {
21577 (char *) "self",(char *) "x", NULL
21578 };
21579
21580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
21581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21582 if (SWIG_arg_fail(1)) SWIG_fail;
21583 {
21584 arg2 = (double)(SWIG_As_double(obj1));
21585 if (SWIG_arg_fail(2)) SWIG_fail;
21586 }
21587 {
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 (arg1)->SetPrinterScaleX(arg2);
21590
21591 wxPyEndAllowThreads(__tstate);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 }
21594 Py_INCREF(Py_None); resultobj = Py_None;
21595 return resultobj;
21596 fail:
21597 return NULL;
21598 }
21599
21600
21601 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21602 PyObject *resultobj;
21603 wxPrintData *arg1 = (wxPrintData *) 0 ;
21604 double arg2 ;
21605 PyObject * obj0 = 0 ;
21606 PyObject * obj1 = 0 ;
21607 char *kwnames[] = {
21608 (char *) "self",(char *) "y", NULL
21609 };
21610
21611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
21612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21613 if (SWIG_arg_fail(1)) SWIG_fail;
21614 {
21615 arg2 = (double)(SWIG_As_double(obj1));
21616 if (SWIG_arg_fail(2)) SWIG_fail;
21617 }
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 (arg1)->SetPrinterScaleY(arg2);
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 Py_INCREF(Py_None); resultobj = Py_None;
21626 return resultobj;
21627 fail:
21628 return NULL;
21629 }
21630
21631
21632 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21633 PyObject *resultobj;
21634 wxPrintData *arg1 = (wxPrintData *) 0 ;
21635 double arg2 ;
21636 double arg3 ;
21637 PyObject * obj0 = 0 ;
21638 PyObject * obj1 = 0 ;
21639 PyObject * obj2 = 0 ;
21640 char *kwnames[] = {
21641 (char *) "self",(char *) "x",(char *) "y", NULL
21642 };
21643
21644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
21645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21646 if (SWIG_arg_fail(1)) SWIG_fail;
21647 {
21648 arg2 = (double)(SWIG_As_double(obj1));
21649 if (SWIG_arg_fail(2)) SWIG_fail;
21650 }
21651 {
21652 arg3 = (double)(SWIG_As_double(obj2));
21653 if (SWIG_arg_fail(3)) SWIG_fail;
21654 }
21655 {
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 (arg1)->SetPrinterScaling(arg2,arg3);
21658
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 Py_INCREF(Py_None); resultobj = Py_None;
21663 return resultobj;
21664 fail:
21665 return NULL;
21666 }
21667
21668
21669 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj;
21671 wxPrintData *arg1 = (wxPrintData *) 0 ;
21672 long arg2 ;
21673 PyObject * obj0 = 0 ;
21674 PyObject * obj1 = 0 ;
21675 char *kwnames[] = {
21676 (char *) "self",(char *) "x", NULL
21677 };
21678
21679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
21680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21681 if (SWIG_arg_fail(1)) SWIG_fail;
21682 {
21683 arg2 = (long)(SWIG_As_long(obj1));
21684 if (SWIG_arg_fail(2)) SWIG_fail;
21685 }
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 (arg1)->SetPrinterTranslateX(arg2);
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 Py_INCREF(Py_None); resultobj = Py_None;
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 wxPrintData *arg1 = (wxPrintData *) 0 ;
21703 long arg2 ;
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self",(char *) "y", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
21711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21712 if (SWIG_arg_fail(1)) SWIG_fail;
21713 {
21714 arg2 = (long)(SWIG_As_long(obj1));
21715 if (SWIG_arg_fail(2)) SWIG_fail;
21716 }
21717 {
21718 PyThreadState* __tstate = wxPyBeginAllowThreads();
21719 (arg1)->SetPrinterTranslateY(arg2);
21720
21721 wxPyEndAllowThreads(__tstate);
21722 if (PyErr_Occurred()) SWIG_fail;
21723 }
21724 Py_INCREF(Py_None); resultobj = Py_None;
21725 return resultobj;
21726 fail:
21727 return NULL;
21728 }
21729
21730
21731 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
21732 PyObject *resultobj;
21733 wxPrintData *arg1 = (wxPrintData *) 0 ;
21734 long arg2 ;
21735 long arg3 ;
21736 PyObject * obj0 = 0 ;
21737 PyObject * obj1 = 0 ;
21738 PyObject * obj2 = 0 ;
21739 char *kwnames[] = {
21740 (char *) "self",(char *) "x",(char *) "y", NULL
21741 };
21742
21743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
21744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21745 if (SWIG_arg_fail(1)) SWIG_fail;
21746 {
21747 arg2 = (long)(SWIG_As_long(obj1));
21748 if (SWIG_arg_fail(2)) SWIG_fail;
21749 }
21750 {
21751 arg3 = (long)(SWIG_As_long(obj2));
21752 if (SWIG_arg_fail(3)) SWIG_fail;
21753 }
21754 {
21755 PyThreadState* __tstate = wxPyBeginAllowThreads();
21756 (arg1)->SetPrinterTranslation(arg2,arg3);
21757
21758 wxPyEndAllowThreads(__tstate);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 Py_INCREF(Py_None); resultobj = Py_None;
21762 return resultobj;
21763 fail:
21764 return NULL;
21765 }
21766
21767
21768 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21769 PyObject *obj;
21770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21771 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21772 Py_INCREF(obj);
21773 return Py_BuildValue((char *)"");
21774 }
21775 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21776 PyObject *resultobj;
21777 wxPageSetupDialogData *result;
21778
21779 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21780 {
21781 PyThreadState* __tstate = wxPyBeginAllowThreads();
21782 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21783
21784 wxPyEndAllowThreads(__tstate);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21788 return resultobj;
21789 fail:
21790 return NULL;
21791 }
21792
21793
21794 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21795 PyObject *resultobj;
21796 wxPageSetupDialogData *arg1 = 0 ;
21797 wxPageSetupDialogData *result;
21798 PyObject * obj0 = 0 ;
21799
21800 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21801 {
21802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21803 if (SWIG_arg_fail(1)) SWIG_fail;
21804 if (arg1 == NULL) {
21805 SWIG_null_ref("wxPageSetupDialogData");
21806 }
21807 if (SWIG_arg_fail(1)) SWIG_fail;
21808 }
21809 {
21810 PyThreadState* __tstate = wxPyBeginAllowThreads();
21811 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21812
21813 wxPyEndAllowThreads(__tstate);
21814 if (PyErr_Occurred()) SWIG_fail;
21815 }
21816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21817 return resultobj;
21818 fail:
21819 return NULL;
21820 }
21821
21822
21823 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21824 PyObject *resultobj;
21825 wxPrintData *arg1 = 0 ;
21826 wxPageSetupDialogData *result;
21827 PyObject * obj0 = 0 ;
21828
21829 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21830 {
21831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail;
21833 if (arg1 == NULL) {
21834 SWIG_null_ref("wxPrintData");
21835 }
21836 if (SWIG_arg_fail(1)) SWIG_fail;
21837 }
21838 {
21839 PyThreadState* __tstate = wxPyBeginAllowThreads();
21840 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21841
21842 wxPyEndAllowThreads(__tstate);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 }
21845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21846 return resultobj;
21847 fail:
21848 return NULL;
21849 }
21850
21851
21852 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21853 int argc;
21854 PyObject *argv[2];
21855 int ii;
21856
21857 argc = PyObject_Length(args);
21858 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21859 argv[ii] = PyTuple_GetItem(args,ii);
21860 }
21861 if (argc == 0) {
21862 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21863 }
21864 if (argc == 1) {
21865 int _v;
21866 {
21867 void *ptr = 0;
21868 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21869 _v = 0;
21870 PyErr_Clear();
21871 } else {
21872 _v = (ptr != 0);
21873 }
21874 }
21875 if (_v) {
21876 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21877 }
21878 }
21879 if (argc == 1) {
21880 int _v;
21881 {
21882 void *ptr = 0;
21883 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21884 _v = 0;
21885 PyErr_Clear();
21886 } else {
21887 _v = (ptr != 0);
21888 }
21889 }
21890 if (_v) {
21891 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21892 }
21893 }
21894
21895 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21896 return NULL;
21897 }
21898
21899
21900 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21901 PyObject *resultobj;
21902 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21903 PyObject * obj0 = 0 ;
21904 char *kwnames[] = {
21905 (char *) "self", NULL
21906 };
21907
21908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21910 if (SWIG_arg_fail(1)) SWIG_fail;
21911 {
21912 PyThreadState* __tstate = wxPyBeginAllowThreads();
21913 delete arg1;
21914
21915 wxPyEndAllowThreads(__tstate);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 }
21918 Py_INCREF(Py_None); resultobj = Py_None;
21919 return resultobj;
21920 fail:
21921 return NULL;
21922 }
21923
21924
21925 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj;
21927 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21928 bool arg2 ;
21929 PyObject * obj0 = 0 ;
21930 PyObject * obj1 = 0 ;
21931 char *kwnames[] = {
21932 (char *) "self",(char *) "flag", NULL
21933 };
21934
21935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21937 if (SWIG_arg_fail(1)) SWIG_fail;
21938 {
21939 arg2 = (bool)(SWIG_As_bool(obj1));
21940 if (SWIG_arg_fail(2)) SWIG_fail;
21941 }
21942 {
21943 PyThreadState* __tstate = wxPyBeginAllowThreads();
21944 (arg1)->EnableHelp(arg2);
21945
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 Py_INCREF(Py_None); resultobj = Py_None;
21950 return resultobj;
21951 fail:
21952 return NULL;
21953 }
21954
21955
21956 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21957 PyObject *resultobj;
21958 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21959 bool arg2 ;
21960 PyObject * obj0 = 0 ;
21961 PyObject * obj1 = 0 ;
21962 char *kwnames[] = {
21963 (char *) "self",(char *) "flag", NULL
21964 };
21965
21966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
21967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21968 if (SWIG_arg_fail(1)) SWIG_fail;
21969 {
21970 arg2 = (bool)(SWIG_As_bool(obj1));
21971 if (SWIG_arg_fail(2)) SWIG_fail;
21972 }
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 (arg1)->EnableMargins(arg2);
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 Py_INCREF(Py_None); resultobj = Py_None;
21981 return resultobj;
21982 fail:
21983 return NULL;
21984 }
21985
21986
21987 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21988 PyObject *resultobj;
21989 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21990 bool arg2 ;
21991 PyObject * obj0 = 0 ;
21992 PyObject * obj1 = 0 ;
21993 char *kwnames[] = {
21994 (char *) "self",(char *) "flag", NULL
21995 };
21996
21997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
21998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21999 if (SWIG_arg_fail(1)) SWIG_fail;
22000 {
22001 arg2 = (bool)(SWIG_As_bool(obj1));
22002 if (SWIG_arg_fail(2)) SWIG_fail;
22003 }
22004 {
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
22006 (arg1)->EnableOrientation(arg2);
22007
22008 wxPyEndAllowThreads(__tstate);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 Py_INCREF(Py_None); resultobj = Py_None;
22012 return resultobj;
22013 fail:
22014 return NULL;
22015 }
22016
22017
22018 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22019 PyObject *resultobj;
22020 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22021 bool arg2 ;
22022 PyObject * obj0 = 0 ;
22023 PyObject * obj1 = 0 ;
22024 char *kwnames[] = {
22025 (char *) "self",(char *) "flag", NULL
22026 };
22027
22028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
22029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22030 if (SWIG_arg_fail(1)) SWIG_fail;
22031 {
22032 arg2 = (bool)(SWIG_As_bool(obj1));
22033 if (SWIG_arg_fail(2)) SWIG_fail;
22034 }
22035 {
22036 PyThreadState* __tstate = wxPyBeginAllowThreads();
22037 (arg1)->EnablePaper(arg2);
22038
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 Py_INCREF(Py_None); resultobj = Py_None;
22043 return resultobj;
22044 fail:
22045 return NULL;
22046 }
22047
22048
22049 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22050 PyObject *resultobj;
22051 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22052 bool arg2 ;
22053 PyObject * obj0 = 0 ;
22054 PyObject * obj1 = 0 ;
22055 char *kwnames[] = {
22056 (char *) "self",(char *) "flag", NULL
22057 };
22058
22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
22060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22061 if (SWIG_arg_fail(1)) SWIG_fail;
22062 {
22063 arg2 = (bool)(SWIG_As_bool(obj1));
22064 if (SWIG_arg_fail(2)) SWIG_fail;
22065 }
22066 {
22067 PyThreadState* __tstate = wxPyBeginAllowThreads();
22068 (arg1)->EnablePrinter(arg2);
22069
22070 wxPyEndAllowThreads(__tstate);
22071 if (PyErr_Occurred()) SWIG_fail;
22072 }
22073 Py_INCREF(Py_None); resultobj = Py_None;
22074 return resultobj;
22075 fail:
22076 return NULL;
22077 }
22078
22079
22080 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22081 PyObject *resultobj;
22082 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22083 bool result;
22084 PyObject * obj0 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
22090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22091 if (SWIG_arg_fail(1)) SWIG_fail;
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 result = (bool)(arg1)->GetDefaultMinMargins();
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 {
22100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22101 }
22102 return resultobj;
22103 fail:
22104 return NULL;
22105 }
22106
22107
22108 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj;
22110 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22111 bool result;
22112 PyObject * obj0 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
22118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22119 if (SWIG_arg_fail(1)) SWIG_fail;
22120 {
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 result = (bool)(arg1)->GetEnableMargins();
22123
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 {
22128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22129 }
22130 return resultobj;
22131 fail:
22132 return NULL;
22133 }
22134
22135
22136 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22137 PyObject *resultobj;
22138 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22139 bool result;
22140 PyObject * obj0 = 0 ;
22141 char *kwnames[] = {
22142 (char *) "self", NULL
22143 };
22144
22145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
22146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22147 if (SWIG_arg_fail(1)) SWIG_fail;
22148 {
22149 PyThreadState* __tstate = wxPyBeginAllowThreads();
22150 result = (bool)(arg1)->GetEnableOrientation();
22151
22152 wxPyEndAllowThreads(__tstate);
22153 if (PyErr_Occurred()) SWIG_fail;
22154 }
22155 {
22156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22157 }
22158 return resultobj;
22159 fail:
22160 return NULL;
22161 }
22162
22163
22164 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22167 bool result;
22168 PyObject * obj0 = 0 ;
22169 char *kwnames[] = {
22170 (char *) "self", NULL
22171 };
22172
22173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22175 if (SWIG_arg_fail(1)) SWIG_fail;
22176 {
22177 PyThreadState* __tstate = wxPyBeginAllowThreads();
22178 result = (bool)(arg1)->GetEnablePaper();
22179
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 {
22184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22185 }
22186 return resultobj;
22187 fail:
22188 return NULL;
22189 }
22190
22191
22192 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22193 PyObject *resultobj;
22194 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22195 bool result;
22196 PyObject * obj0 = 0 ;
22197 char *kwnames[] = {
22198 (char *) "self", NULL
22199 };
22200
22201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22203 if (SWIG_arg_fail(1)) SWIG_fail;
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 result = (bool)(arg1)->GetEnablePrinter();
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 {
22212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22213 }
22214 return resultobj;
22215 fail:
22216 return NULL;
22217 }
22218
22219
22220 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22221 PyObject *resultobj;
22222 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22223 bool result;
22224 PyObject * obj0 = 0 ;
22225 char *kwnames[] = {
22226 (char *) "self", NULL
22227 };
22228
22229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22231 if (SWIG_arg_fail(1)) SWIG_fail;
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 result = (bool)(arg1)->GetEnableHelp();
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 {
22240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22241 }
22242 return resultobj;
22243 fail:
22244 return NULL;
22245 }
22246
22247
22248 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22249 PyObject *resultobj;
22250 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22251 bool result;
22252 PyObject * obj0 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22259 if (SWIG_arg_fail(1)) SWIG_fail;
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 result = (bool)(arg1)->GetDefaultInfo();
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 {
22268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22269 }
22270 return resultobj;
22271 fail:
22272 return NULL;
22273 }
22274
22275
22276 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22277 PyObject *resultobj;
22278 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22279 wxPoint result;
22280 PyObject * obj0 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22287 if (SWIG_arg_fail(1)) SWIG_fail;
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 result = (arg1)->GetMarginTopLeft();
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 {
22296 wxPoint * resultptr;
22297 resultptr = new wxPoint((wxPoint &)(result));
22298 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22299 }
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22309 wxPoint result;
22310 PyObject * obj0 = 0 ;
22311 char *kwnames[] = {
22312 (char *) "self", NULL
22313 };
22314
22315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22317 if (SWIG_arg_fail(1)) SWIG_fail;
22318 {
22319 PyThreadState* __tstate = wxPyBeginAllowThreads();
22320 result = (arg1)->GetMarginBottomRight();
22321
22322 wxPyEndAllowThreads(__tstate);
22323 if (PyErr_Occurred()) SWIG_fail;
22324 }
22325 {
22326 wxPoint * resultptr;
22327 resultptr = new wxPoint((wxPoint &)(result));
22328 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22329 }
22330 return resultobj;
22331 fail:
22332 return NULL;
22333 }
22334
22335
22336 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22337 PyObject *resultobj;
22338 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22339 wxPoint result;
22340 PyObject * obj0 = 0 ;
22341 char *kwnames[] = {
22342 (char *) "self", NULL
22343 };
22344
22345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22347 if (SWIG_arg_fail(1)) SWIG_fail;
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 result = (arg1)->GetMinMarginTopLeft();
22351
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 {
22356 wxPoint * resultptr;
22357 resultptr = new wxPoint((wxPoint &)(result));
22358 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22359 }
22360 return resultobj;
22361 fail:
22362 return NULL;
22363 }
22364
22365
22366 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22367 PyObject *resultobj;
22368 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22369 wxPoint result;
22370 PyObject * obj0 = 0 ;
22371 char *kwnames[] = {
22372 (char *) "self", NULL
22373 };
22374
22375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22377 if (SWIG_arg_fail(1)) SWIG_fail;
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = (arg1)->GetMinMarginBottomRight();
22381
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
22385 {
22386 wxPoint * resultptr;
22387 resultptr = new wxPoint((wxPoint &)(result));
22388 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22389 }
22390 return resultobj;
22391 fail:
22392 return NULL;
22393 }
22394
22395
22396 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22397 PyObject *resultobj;
22398 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22399 wxPaperSize result;
22400 PyObject * obj0 = 0 ;
22401 char *kwnames[] = {
22402 (char *) "self", NULL
22403 };
22404
22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22407 if (SWIG_arg_fail(1)) SWIG_fail;
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22410 result = (wxPaperSize)(arg1)->GetPaperId();
22411
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 resultobj = SWIG_From_int((result));
22416 return resultobj;
22417 fail:
22418 return NULL;
22419 }
22420
22421
22422 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22423 PyObject *resultobj;
22424 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22425 wxSize result;
22426 PyObject * obj0 = 0 ;
22427 char *kwnames[] = {
22428 (char *) "self", NULL
22429 };
22430
22431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22433 if (SWIG_arg_fail(1)) SWIG_fail;
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 result = (arg1)->GetPaperSize();
22437
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 {
22442 wxSize * resultptr;
22443 resultptr = new wxSize((wxSize &)(result));
22444 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22445 }
22446 return resultobj;
22447 fail:
22448 return NULL;
22449 }
22450
22451
22452 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22453 PyObject *resultobj;
22454 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22455 wxPrintData *result;
22456 PyObject * obj0 = 0 ;
22457 char *kwnames[] = {
22458 (char *) "self", NULL
22459 };
22460
22461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22463 if (SWIG_arg_fail(1)) SWIG_fail;
22464 {
22465 PyThreadState* __tstate = wxPyBeginAllowThreads();
22466 {
22467 wxPrintData &_result_ref = (arg1)->GetPrintData();
22468 result = (wxPrintData *) &_result_ref;
22469 }
22470
22471 wxPyEndAllowThreads(__tstate);
22472 if (PyErr_Occurred()) SWIG_fail;
22473 }
22474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22475 return resultobj;
22476 fail:
22477 return NULL;
22478 }
22479
22480
22481 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22482 PyObject *resultobj;
22483 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22484 bool result;
22485 PyObject * obj0 = 0 ;
22486 char *kwnames[] = {
22487 (char *) "self", NULL
22488 };
22489
22490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22492 if (SWIG_arg_fail(1)) SWIG_fail;
22493 {
22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
22495 result = (bool)(arg1)->Ok();
22496
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 {
22501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22502 }
22503 return resultobj;
22504 fail:
22505 return NULL;
22506 }
22507
22508
22509 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22510 PyObject *resultobj;
22511 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22512 bool arg2 ;
22513 PyObject * obj0 = 0 ;
22514 PyObject * obj1 = 0 ;
22515 char *kwnames[] = {
22516 (char *) "self",(char *) "flag", NULL
22517 };
22518
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22521 if (SWIG_arg_fail(1)) SWIG_fail;
22522 {
22523 arg2 = (bool)(SWIG_As_bool(obj1));
22524 if (SWIG_arg_fail(2)) SWIG_fail;
22525 }
22526 {
22527 PyThreadState* __tstate = wxPyBeginAllowThreads();
22528 (arg1)->SetDefaultInfo(arg2);
22529
22530 wxPyEndAllowThreads(__tstate);
22531 if (PyErr_Occurred()) SWIG_fail;
22532 }
22533 Py_INCREF(Py_None); resultobj = Py_None;
22534 return resultobj;
22535 fail:
22536 return NULL;
22537 }
22538
22539
22540 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22541 PyObject *resultobj;
22542 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22543 bool arg2 ;
22544 PyObject * obj0 = 0 ;
22545 PyObject * obj1 = 0 ;
22546 char *kwnames[] = {
22547 (char *) "self",(char *) "flag", NULL
22548 };
22549
22550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22552 if (SWIG_arg_fail(1)) SWIG_fail;
22553 {
22554 arg2 = (bool)(SWIG_As_bool(obj1));
22555 if (SWIG_arg_fail(2)) SWIG_fail;
22556 }
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 (arg1)->SetDefaultMinMargins(arg2);
22560
22561 wxPyEndAllowThreads(__tstate);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
22564 Py_INCREF(Py_None); resultobj = Py_None;
22565 return resultobj;
22566 fail:
22567 return NULL;
22568 }
22569
22570
22571 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22572 PyObject *resultobj;
22573 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22574 wxPoint *arg2 = 0 ;
22575 wxPoint temp2 ;
22576 PyObject * obj0 = 0 ;
22577 PyObject * obj1 = 0 ;
22578 char *kwnames[] = {
22579 (char *) "self",(char *) "pt", NULL
22580 };
22581
22582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22584 if (SWIG_arg_fail(1)) SWIG_fail;
22585 {
22586 arg2 = &temp2;
22587 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22588 }
22589 {
22590 PyThreadState* __tstate = wxPyBeginAllowThreads();
22591 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22592
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 Py_INCREF(Py_None); resultobj = Py_None;
22597 return resultobj;
22598 fail:
22599 return NULL;
22600 }
22601
22602
22603 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22604 PyObject *resultobj;
22605 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22606 wxPoint *arg2 = 0 ;
22607 wxPoint temp2 ;
22608 PyObject * obj0 = 0 ;
22609 PyObject * obj1 = 0 ;
22610 char *kwnames[] = {
22611 (char *) "self",(char *) "pt", NULL
22612 };
22613
22614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail;
22617 {
22618 arg2 = &temp2;
22619 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22620 }
22621 {
22622 PyThreadState* __tstate = wxPyBeginAllowThreads();
22623 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22624
22625 wxPyEndAllowThreads(__tstate);
22626 if (PyErr_Occurred()) SWIG_fail;
22627 }
22628 Py_INCREF(Py_None); resultobj = Py_None;
22629 return resultobj;
22630 fail:
22631 return NULL;
22632 }
22633
22634
22635 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22636 PyObject *resultobj;
22637 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22638 wxPoint *arg2 = 0 ;
22639 wxPoint temp2 ;
22640 PyObject * obj0 = 0 ;
22641 PyObject * obj1 = 0 ;
22642 char *kwnames[] = {
22643 (char *) "self",(char *) "pt", NULL
22644 };
22645
22646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22648 if (SWIG_arg_fail(1)) SWIG_fail;
22649 {
22650 arg2 = &temp2;
22651 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22652 }
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22656
22657 wxPyEndAllowThreads(__tstate);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 }
22660 Py_INCREF(Py_None); resultobj = Py_None;
22661 return resultobj;
22662 fail:
22663 return NULL;
22664 }
22665
22666
22667 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22670 wxPoint *arg2 = 0 ;
22671 wxPoint temp2 ;
22672 PyObject * obj0 = 0 ;
22673 PyObject * obj1 = 0 ;
22674 char *kwnames[] = {
22675 (char *) "self",(char *) "pt", NULL
22676 };
22677
22678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22680 if (SWIG_arg_fail(1)) SWIG_fail;
22681 {
22682 arg2 = &temp2;
22683 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22684 }
22685 {
22686 PyThreadState* __tstate = wxPyBeginAllowThreads();
22687 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22688
22689 wxPyEndAllowThreads(__tstate);
22690 if (PyErr_Occurred()) SWIG_fail;
22691 }
22692 Py_INCREF(Py_None); resultobj = Py_None;
22693 return resultobj;
22694 fail:
22695 return NULL;
22696 }
22697
22698
22699 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22700 PyObject *resultobj;
22701 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22702 wxPaperSize arg2 ;
22703 PyObject * obj0 = 0 ;
22704 PyObject * obj1 = 0 ;
22705 char *kwnames[] = {
22706 (char *) "self",(char *) "id", NULL
22707 };
22708
22709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22711 if (SWIG_arg_fail(1)) SWIG_fail;
22712 {
22713 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22714 if (SWIG_arg_fail(2)) SWIG_fail;
22715 }
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 (arg1)->SetPaperId((wxPaperSize )arg2);
22719
22720 wxPyEndAllowThreads(__tstate);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 Py_INCREF(Py_None); resultobj = Py_None;
22724 return resultobj;
22725 fail:
22726 return NULL;
22727 }
22728
22729
22730 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22731 PyObject *resultobj;
22732 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22733 wxSize *arg2 = 0 ;
22734 wxSize temp2 ;
22735 PyObject * obj0 = 0 ;
22736 PyObject * obj1 = 0 ;
22737 char *kwnames[] = {
22738 (char *) "self",(char *) "size", NULL
22739 };
22740
22741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22743 if (SWIG_arg_fail(1)) SWIG_fail;
22744 {
22745 arg2 = &temp2;
22746 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22747 }
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 (arg1)->SetPaperSize((wxSize const &)*arg2);
22751
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 Py_INCREF(Py_None); resultobj = Py_None;
22756 return resultobj;
22757 fail:
22758 return NULL;
22759 }
22760
22761
22762 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj;
22764 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22765 wxPrintData *arg2 = 0 ;
22766 PyObject * obj0 = 0 ;
22767 PyObject * obj1 = 0 ;
22768 char *kwnames[] = {
22769 (char *) "self",(char *) "printData", NULL
22770 };
22771
22772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22774 if (SWIG_arg_fail(1)) SWIG_fail;
22775 {
22776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22777 if (SWIG_arg_fail(2)) SWIG_fail;
22778 if (arg2 == NULL) {
22779 SWIG_null_ref("wxPrintData");
22780 }
22781 if (SWIG_arg_fail(2)) SWIG_fail;
22782 }
22783 {
22784 PyThreadState* __tstate = wxPyBeginAllowThreads();
22785 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22786
22787 wxPyEndAllowThreads(__tstate);
22788 if (PyErr_Occurred()) SWIG_fail;
22789 }
22790 Py_INCREF(Py_None); resultobj = Py_None;
22791 return resultobj;
22792 fail:
22793 return NULL;
22794 }
22795
22796
22797 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22798 PyObject *resultobj;
22799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22800 PyObject * obj0 = 0 ;
22801 char *kwnames[] = {
22802 (char *) "self", NULL
22803 };
22804
22805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22807 if (SWIG_arg_fail(1)) SWIG_fail;
22808 {
22809 PyThreadState* __tstate = wxPyBeginAllowThreads();
22810 (arg1)->CalculateIdFromPaperSize();
22811
22812 wxPyEndAllowThreads(__tstate);
22813 if (PyErr_Occurred()) SWIG_fail;
22814 }
22815 Py_INCREF(Py_None); resultobj = Py_None;
22816 return resultobj;
22817 fail:
22818 return NULL;
22819 }
22820
22821
22822 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22823 PyObject *resultobj;
22824 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22825 PyObject * obj0 = 0 ;
22826 char *kwnames[] = {
22827 (char *) "self", NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22832 if (SWIG_arg_fail(1)) SWIG_fail;
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 (arg1)->CalculatePaperSizeFromId();
22836
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
22840 Py_INCREF(Py_None); resultobj = Py_None;
22841 return resultobj;
22842 fail:
22843 return NULL;
22844 }
22845
22846
22847 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22848 PyObject *obj;
22849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22850 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22851 Py_INCREF(obj);
22852 return Py_BuildValue((char *)"");
22853 }
22854 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22855 PyObject *resultobj;
22856 wxWindow *arg1 = (wxWindow *) 0 ;
22857 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22858 wxPageSetupDialog *result;
22859 PyObject * obj0 = 0 ;
22860 PyObject * obj1 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "parent",(char *) "data", NULL
22863 };
22864
22865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22867 if (SWIG_arg_fail(1)) SWIG_fail;
22868 if (obj1) {
22869 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22870 if (SWIG_arg_fail(2)) SWIG_fail;
22871 }
22872 {
22873 if (!wxPyCheckForApp()) SWIG_fail;
22874 PyThreadState* __tstate = wxPyBeginAllowThreads();
22875 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22876
22877 wxPyEndAllowThreads(__tstate);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22881 return resultobj;
22882 fail:
22883 return NULL;
22884 }
22885
22886
22887 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22888 PyObject *resultobj;
22889 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22890 wxPageSetupDialogData *result;
22891 PyObject * obj0 = 0 ;
22892 char *kwnames[] = {
22893 (char *) "self", NULL
22894 };
22895
22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail;
22899 {
22900 PyThreadState* __tstate = wxPyBeginAllowThreads();
22901 {
22902 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22903 result = (wxPageSetupDialogData *) &_result_ref;
22904 }
22905
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22910 return resultobj;
22911 fail:
22912 return NULL;
22913 }
22914
22915
22916 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22917 PyObject *resultobj;
22918 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22919 wxPageSetupDialogData *result;
22920 PyObject * obj0 = 0 ;
22921 char *kwnames[] = {
22922 (char *) "self", NULL
22923 };
22924
22925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22927 if (SWIG_arg_fail(1)) SWIG_fail;
22928 {
22929 PyThreadState* __tstate = wxPyBeginAllowThreads();
22930 {
22931 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22932 result = (wxPageSetupDialogData *) &_result_ref;
22933 }
22934
22935 wxPyEndAllowThreads(__tstate);
22936 if (PyErr_Occurred()) SWIG_fail;
22937 }
22938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22939 return resultobj;
22940 fail:
22941 return NULL;
22942 }
22943
22944
22945 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22946 PyObject *resultobj;
22947 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22948 int result;
22949 PyObject * obj0 = 0 ;
22950 char *kwnames[] = {
22951 (char *) "self", NULL
22952 };
22953
22954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
22955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22956 if (SWIG_arg_fail(1)) SWIG_fail;
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 result = (int)(arg1)->ShowModal();
22960
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 {
22965 resultobj = SWIG_From_int((int)(result));
22966 }
22967 return resultobj;
22968 fail:
22969 return NULL;
22970 }
22971
22972
22973 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
22974 PyObject *obj;
22975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22976 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22977 Py_INCREF(obj);
22978 return Py_BuildValue((char *)"");
22979 }
22980 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
22981 PyObject *resultobj;
22982 wxPrintDialogData *result;
22983
22984 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22985 {
22986 PyThreadState* __tstate = wxPyBeginAllowThreads();
22987 result = (wxPrintDialogData *)new wxPrintDialogData();
22988
22989 wxPyEndAllowThreads(__tstate);
22990 if (PyErr_Occurred()) SWIG_fail;
22991 }
22992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22993 return resultobj;
22994 fail:
22995 return NULL;
22996 }
22997
22998
22999 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
23000 PyObject *resultobj;
23001 wxPrintData *arg1 = 0 ;
23002 wxPrintDialogData *result;
23003 PyObject * obj0 = 0 ;
23004
23005 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23006 {
23007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail;
23009 if (arg1 == NULL) {
23010 SWIG_null_ref("wxPrintData");
23011 }
23012 if (SWIG_arg_fail(1)) SWIG_fail;
23013 }
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23022 return resultobj;
23023 fail:
23024 return NULL;
23025 }
23026
23027
23028 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
23029 PyObject *resultobj;
23030 wxPrintDialogData *arg1 = 0 ;
23031 wxPrintDialogData *result;
23032 PyObject * obj0 = 0 ;
23033
23034 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23035 {
23036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23037 if (SWIG_arg_fail(1)) SWIG_fail;
23038 if (arg1 == NULL) {
23039 SWIG_null_ref("wxPrintDialogData");
23040 }
23041 if (SWIG_arg_fail(1)) SWIG_fail;
23042 }
23043 {
23044 PyThreadState* __tstate = wxPyBeginAllowThreads();
23045 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23046
23047 wxPyEndAllowThreads(__tstate);
23048 if (PyErr_Occurred()) SWIG_fail;
23049 }
23050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23051 return resultobj;
23052 fail:
23053 return NULL;
23054 }
23055
23056
23057 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23058 int argc;
23059 PyObject *argv[2];
23060 int ii;
23061
23062 argc = PyObject_Length(args);
23063 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23064 argv[ii] = PyTuple_GetItem(args,ii);
23065 }
23066 if (argc == 0) {
23067 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23068 }
23069 if (argc == 1) {
23070 int _v;
23071 {
23072 void *ptr = 0;
23073 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23074 _v = 0;
23075 PyErr_Clear();
23076 } else {
23077 _v = (ptr != 0);
23078 }
23079 }
23080 if (_v) {
23081 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23082 }
23083 }
23084 if (argc == 1) {
23085 int _v;
23086 {
23087 void *ptr = 0;
23088 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23089 _v = 0;
23090 PyErr_Clear();
23091 } else {
23092 _v = (ptr != 0);
23093 }
23094 }
23095 if (_v) {
23096 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23097 }
23098 }
23099
23100 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
23101 return NULL;
23102 }
23103
23104
23105 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23106 PyObject *resultobj;
23107 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23108 PyObject * obj0 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
23114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23115 if (SWIG_arg_fail(1)) SWIG_fail;
23116 {
23117 PyThreadState* __tstate = wxPyBeginAllowThreads();
23118 delete arg1;
23119
23120 wxPyEndAllowThreads(__tstate);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
23123 Py_INCREF(Py_None); resultobj = Py_None;
23124 return resultobj;
23125 fail:
23126 return NULL;
23127 }
23128
23129
23130 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23131 PyObject *resultobj;
23132 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23133 int result;
23134 PyObject * obj0 = 0 ;
23135 char *kwnames[] = {
23136 (char *) "self", NULL
23137 };
23138
23139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
23140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23141 if (SWIG_arg_fail(1)) SWIG_fail;
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23145
23146 wxPyEndAllowThreads(__tstate);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 {
23150 resultobj = SWIG_From_int((int)(result));
23151 }
23152 return resultobj;
23153 fail:
23154 return NULL;
23155 }
23156
23157
23158 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23159 PyObject *resultobj;
23160 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23161 int result;
23162 PyObject * obj0 = 0 ;
23163 char *kwnames[] = {
23164 (char *) "self", NULL
23165 };
23166
23167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
23168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23169 if (SWIG_arg_fail(1)) SWIG_fail;
23170 {
23171 PyThreadState* __tstate = wxPyBeginAllowThreads();
23172 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23173
23174 wxPyEndAllowThreads(__tstate);
23175 if (PyErr_Occurred()) SWIG_fail;
23176 }
23177 {
23178 resultobj = SWIG_From_int((int)(result));
23179 }
23180 return resultobj;
23181 fail:
23182 return NULL;
23183 }
23184
23185
23186 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23187 PyObject *resultobj;
23188 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23189 int result;
23190 PyObject * obj0 = 0 ;
23191 char *kwnames[] = {
23192 (char *) "self", NULL
23193 };
23194
23195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23197 if (SWIG_arg_fail(1)) SWIG_fail;
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 {
23206 resultobj = SWIG_From_int((int)(result));
23207 }
23208 return resultobj;
23209 fail:
23210 return NULL;
23211 }
23212
23213
23214 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23215 PyObject *resultobj;
23216 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23217 int result;
23218 PyObject * obj0 = 0 ;
23219 char *kwnames[] = {
23220 (char *) "self", NULL
23221 };
23222
23223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail;
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
23228 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23229
23230 wxPyEndAllowThreads(__tstate);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 }
23233 {
23234 resultobj = SWIG_From_int((int)(result));
23235 }
23236 return resultobj;
23237 fail:
23238 return NULL;
23239 }
23240
23241
23242 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23243 PyObject *resultobj;
23244 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23245 int result;
23246 PyObject * obj0 = 0 ;
23247 char *kwnames[] = {
23248 (char *) "self", NULL
23249 };
23250
23251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23253 if (SWIG_arg_fail(1)) SWIG_fail;
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 {
23262 resultobj = SWIG_From_int((int)(result));
23263 }
23264 return resultobj;
23265 fail:
23266 return NULL;
23267 }
23268
23269
23270 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23271 PyObject *resultobj;
23272 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23273 bool result;
23274 PyObject * obj0 = 0 ;
23275 char *kwnames[] = {
23276 (char *) "self", NULL
23277 };
23278
23279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23281 if (SWIG_arg_fail(1)) SWIG_fail;
23282 {
23283 PyThreadState* __tstate = wxPyBeginAllowThreads();
23284 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23285
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 {
23290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23291 }
23292 return resultobj;
23293 fail:
23294 return NULL;
23295 }
23296
23297
23298 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23299 PyObject *resultobj;
23300 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23301 bool result;
23302 PyObject * obj0 = 0 ;
23303 char *kwnames[] = {
23304 (char *) "self", NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23309 if (SWIG_arg_fail(1)) SWIG_fail;
23310 {
23311 PyThreadState* __tstate = wxPyBeginAllowThreads();
23312 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23313
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 {
23318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23319 }
23320 return resultobj;
23321 fail:
23322 return NULL;
23323 }
23324
23325
23326 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj;
23328 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23329 bool result;
23330 PyObject * obj0 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail;
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 {
23346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23347 }
23348 return resultobj;
23349 fail:
23350 return NULL;
23351 }
23352
23353
23354 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23355 PyObject *resultobj;
23356 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23357 bool result;
23358 PyObject * obj0 = 0 ;
23359 char *kwnames[] = {
23360 (char *) "self", NULL
23361 };
23362
23363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23365 if (SWIG_arg_fail(1)) SWIG_fail;
23366 {
23367 PyThreadState* __tstate = wxPyBeginAllowThreads();
23368 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23369
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 {
23374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23375 }
23376 return resultobj;
23377 fail:
23378 return NULL;
23379 }
23380
23381
23382 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23383 PyObject *resultobj;
23384 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23385 bool result;
23386 PyObject * obj0 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
23392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23393 if (SWIG_arg_fail(1)) SWIG_fail;
23394 {
23395 PyThreadState* __tstate = wxPyBeginAllowThreads();
23396 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23397
23398 wxPyEndAllowThreads(__tstate);
23399 if (PyErr_Occurred()) SWIG_fail;
23400 }
23401 {
23402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23403 }
23404 return resultobj;
23405 fail:
23406 return NULL;
23407 }
23408
23409
23410 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23411 PyObject *resultobj;
23412 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23413 bool arg2 ;
23414 PyObject * obj0 = 0 ;
23415 PyObject * obj1 = 0 ;
23416 char *kwnames[] = {
23417 (char *) "self",(char *) "flag", NULL
23418 };
23419
23420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23422 if (SWIG_arg_fail(1)) SWIG_fail;
23423 {
23424 arg2 = (bool)(SWIG_As_bool(obj1));
23425 if (SWIG_arg_fail(2)) SWIG_fail;
23426 }
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 (arg1)->SetSetupDialog(arg2);
23430
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 Py_INCREF(Py_None); resultobj = Py_None;
23435 return resultobj;
23436 fail:
23437 return NULL;
23438 }
23439
23440
23441 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23442 PyObject *resultobj;
23443 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23444 int arg2 ;
23445 PyObject * obj0 = 0 ;
23446 PyObject * obj1 = 0 ;
23447 char *kwnames[] = {
23448 (char *) "self",(char *) "v", NULL
23449 };
23450
23451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23453 if (SWIG_arg_fail(1)) SWIG_fail;
23454 {
23455 arg2 = (int)(SWIG_As_int(obj1));
23456 if (SWIG_arg_fail(2)) SWIG_fail;
23457 }
23458 {
23459 PyThreadState* __tstate = wxPyBeginAllowThreads();
23460 (arg1)->SetFromPage(arg2);
23461
23462 wxPyEndAllowThreads(__tstate);
23463 if (PyErr_Occurred()) SWIG_fail;
23464 }
23465 Py_INCREF(Py_None); resultobj = Py_None;
23466 return resultobj;
23467 fail:
23468 return NULL;
23469 }
23470
23471
23472 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23473 PyObject *resultobj;
23474 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23475 int arg2 ;
23476 PyObject * obj0 = 0 ;
23477 PyObject * obj1 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self",(char *) "v", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23484 if (SWIG_arg_fail(1)) SWIG_fail;
23485 {
23486 arg2 = (int)(SWIG_As_int(obj1));
23487 if (SWIG_arg_fail(2)) SWIG_fail;
23488 }
23489 {
23490 PyThreadState* __tstate = wxPyBeginAllowThreads();
23491 (arg1)->SetToPage(arg2);
23492
23493 wxPyEndAllowThreads(__tstate);
23494 if (PyErr_Occurred()) SWIG_fail;
23495 }
23496 Py_INCREF(Py_None); resultobj = Py_None;
23497 return resultobj;
23498 fail:
23499 return NULL;
23500 }
23501
23502
23503 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23504 PyObject *resultobj;
23505 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23506 int arg2 ;
23507 PyObject * obj0 = 0 ;
23508 PyObject * obj1 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self",(char *) "v", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23515 if (SWIG_arg_fail(1)) SWIG_fail;
23516 {
23517 arg2 = (int)(SWIG_As_int(obj1));
23518 if (SWIG_arg_fail(2)) SWIG_fail;
23519 }
23520 {
23521 PyThreadState* __tstate = wxPyBeginAllowThreads();
23522 (arg1)->SetMinPage(arg2);
23523
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
23527 Py_INCREF(Py_None); resultobj = Py_None;
23528 return resultobj;
23529 fail:
23530 return NULL;
23531 }
23532
23533
23534 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23535 PyObject *resultobj;
23536 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23537 int arg2 ;
23538 PyObject * obj0 = 0 ;
23539 PyObject * obj1 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self",(char *) "v", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23546 if (SWIG_arg_fail(1)) SWIG_fail;
23547 {
23548 arg2 = (int)(SWIG_As_int(obj1));
23549 if (SWIG_arg_fail(2)) SWIG_fail;
23550 }
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 (arg1)->SetMaxPage(arg2);
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 Py_INCREF(Py_None); resultobj = Py_None;
23559 return resultobj;
23560 fail:
23561 return NULL;
23562 }
23563
23564
23565 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23566 PyObject *resultobj;
23567 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23568 int arg2 ;
23569 PyObject * obj0 = 0 ;
23570 PyObject * obj1 = 0 ;
23571 char *kwnames[] = {
23572 (char *) "self",(char *) "v", NULL
23573 };
23574
23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23577 if (SWIG_arg_fail(1)) SWIG_fail;
23578 {
23579 arg2 = (int)(SWIG_As_int(obj1));
23580 if (SWIG_arg_fail(2)) SWIG_fail;
23581 }
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 (arg1)->SetNoCopies(arg2);
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 Py_INCREF(Py_None); resultobj = Py_None;
23590 return resultobj;
23591 fail:
23592 return NULL;
23593 }
23594
23595
23596 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23597 PyObject *resultobj;
23598 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23599 bool arg2 ;
23600 PyObject * obj0 = 0 ;
23601 PyObject * obj1 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "self",(char *) "flag", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23608 if (SWIG_arg_fail(1)) SWIG_fail;
23609 {
23610 arg2 = (bool)(SWIG_As_bool(obj1));
23611 if (SWIG_arg_fail(2)) SWIG_fail;
23612 }
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 (arg1)->SetAllPages(arg2);
23616
23617 wxPyEndAllowThreads(__tstate);
23618 if (PyErr_Occurred()) SWIG_fail;
23619 }
23620 Py_INCREF(Py_None); resultobj = Py_None;
23621 return resultobj;
23622 fail:
23623 return NULL;
23624 }
23625
23626
23627 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23628 PyObject *resultobj;
23629 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23630 bool arg2 ;
23631 PyObject * obj0 = 0 ;
23632 PyObject * obj1 = 0 ;
23633 char *kwnames[] = {
23634 (char *) "self",(char *) "flag", NULL
23635 };
23636
23637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23639 if (SWIG_arg_fail(1)) SWIG_fail;
23640 {
23641 arg2 = (bool)(SWIG_As_bool(obj1));
23642 if (SWIG_arg_fail(2)) SWIG_fail;
23643 }
23644 {
23645 PyThreadState* __tstate = wxPyBeginAllowThreads();
23646 (arg1)->SetSelection(arg2);
23647
23648 wxPyEndAllowThreads(__tstate);
23649 if (PyErr_Occurred()) SWIG_fail;
23650 }
23651 Py_INCREF(Py_None); resultobj = Py_None;
23652 return resultobj;
23653 fail:
23654 return NULL;
23655 }
23656
23657
23658 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23659 PyObject *resultobj;
23660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23661 bool arg2 ;
23662 PyObject * obj0 = 0 ;
23663 PyObject * obj1 = 0 ;
23664 char *kwnames[] = {
23665 (char *) "self",(char *) "flag", NULL
23666 };
23667
23668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail;
23671 {
23672 arg2 = (bool)(SWIG_As_bool(obj1));
23673 if (SWIG_arg_fail(2)) SWIG_fail;
23674 }
23675 {
23676 PyThreadState* __tstate = wxPyBeginAllowThreads();
23677 (arg1)->SetCollate(arg2);
23678
23679 wxPyEndAllowThreads(__tstate);
23680 if (PyErr_Occurred()) SWIG_fail;
23681 }
23682 Py_INCREF(Py_None); resultobj = Py_None;
23683 return resultobj;
23684 fail:
23685 return NULL;
23686 }
23687
23688
23689 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23690 PyObject *resultobj;
23691 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23692 bool arg2 ;
23693 PyObject * obj0 = 0 ;
23694 PyObject * obj1 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self",(char *) "flag", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23701 if (SWIG_arg_fail(1)) SWIG_fail;
23702 {
23703 arg2 = (bool)(SWIG_As_bool(obj1));
23704 if (SWIG_arg_fail(2)) SWIG_fail;
23705 }
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 (arg1)->SetPrintToFile(arg2);
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 Py_INCREF(Py_None); resultobj = Py_None;
23714 return resultobj;
23715 fail:
23716 return NULL;
23717 }
23718
23719
23720 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj;
23722 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23723 bool arg2 ;
23724 PyObject * obj0 = 0 ;
23725 PyObject * obj1 = 0 ;
23726 char *kwnames[] = {
23727 (char *) "self",(char *) "flag", NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail;
23733 {
23734 arg2 = (bool)(SWIG_As_bool(obj1));
23735 if (SWIG_arg_fail(2)) SWIG_fail;
23736 }
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 (arg1)->EnablePrintToFile(arg2);
23740
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 Py_INCREF(Py_None); resultobj = Py_None;
23745 return resultobj;
23746 fail:
23747 return NULL;
23748 }
23749
23750
23751 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23752 PyObject *resultobj;
23753 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23754 bool arg2 ;
23755 PyObject * obj0 = 0 ;
23756 PyObject * obj1 = 0 ;
23757 char *kwnames[] = {
23758 (char *) "self",(char *) "flag", NULL
23759 };
23760
23761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23763 if (SWIG_arg_fail(1)) SWIG_fail;
23764 {
23765 arg2 = (bool)(SWIG_As_bool(obj1));
23766 if (SWIG_arg_fail(2)) SWIG_fail;
23767 }
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 (arg1)->EnableSelection(arg2);
23771
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 Py_INCREF(Py_None); resultobj = Py_None;
23776 return resultobj;
23777 fail:
23778 return NULL;
23779 }
23780
23781
23782 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23783 PyObject *resultobj;
23784 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23785 bool arg2 ;
23786 PyObject * obj0 = 0 ;
23787 PyObject * obj1 = 0 ;
23788 char *kwnames[] = {
23789 (char *) "self",(char *) "flag", NULL
23790 };
23791
23792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23794 if (SWIG_arg_fail(1)) SWIG_fail;
23795 {
23796 arg2 = (bool)(SWIG_As_bool(obj1));
23797 if (SWIG_arg_fail(2)) SWIG_fail;
23798 }
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 (arg1)->EnablePageNumbers(arg2);
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 Py_INCREF(Py_None); resultobj = Py_None;
23807 return resultobj;
23808 fail:
23809 return NULL;
23810 }
23811
23812
23813 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23814 PyObject *resultobj;
23815 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23816 bool arg2 ;
23817 PyObject * obj0 = 0 ;
23818 PyObject * obj1 = 0 ;
23819 char *kwnames[] = {
23820 (char *) "self",(char *) "flag", NULL
23821 };
23822
23823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail;
23826 {
23827 arg2 = (bool)(SWIG_As_bool(obj1));
23828 if (SWIG_arg_fail(2)) SWIG_fail;
23829 }
23830 {
23831 PyThreadState* __tstate = wxPyBeginAllowThreads();
23832 (arg1)->EnableHelp(arg2);
23833
23834 wxPyEndAllowThreads(__tstate);
23835 if (PyErr_Occurred()) SWIG_fail;
23836 }
23837 Py_INCREF(Py_None); resultobj = Py_None;
23838 return resultobj;
23839 fail:
23840 return NULL;
23841 }
23842
23843
23844 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23845 PyObject *resultobj;
23846 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23847 bool result;
23848 PyObject * obj0 = 0 ;
23849 char *kwnames[] = {
23850 (char *) "self", NULL
23851 };
23852
23853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23855 if (SWIG_arg_fail(1)) SWIG_fail;
23856 {
23857 PyThreadState* __tstate = wxPyBeginAllowThreads();
23858 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23859
23860 wxPyEndAllowThreads(__tstate);
23861 if (PyErr_Occurred()) SWIG_fail;
23862 }
23863 {
23864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23865 }
23866 return resultobj;
23867 fail:
23868 return NULL;
23869 }
23870
23871
23872 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23873 PyObject *resultobj;
23874 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23875 bool result;
23876 PyObject * obj0 = 0 ;
23877 char *kwnames[] = {
23878 (char *) "self", NULL
23879 };
23880
23881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23883 if (SWIG_arg_fail(1)) SWIG_fail;
23884 {
23885 PyThreadState* __tstate = wxPyBeginAllowThreads();
23886 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23887
23888 wxPyEndAllowThreads(__tstate);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 {
23892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23893 }
23894 return resultobj;
23895 fail:
23896 return NULL;
23897 }
23898
23899
23900 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23901 PyObject *resultobj;
23902 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23903 bool result;
23904 PyObject * obj0 = 0 ;
23905 char *kwnames[] = {
23906 (char *) "self", NULL
23907 };
23908
23909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23911 if (SWIG_arg_fail(1)) SWIG_fail;
23912 {
23913 PyThreadState* __tstate = wxPyBeginAllowThreads();
23914 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23915
23916 wxPyEndAllowThreads(__tstate);
23917 if (PyErr_Occurred()) SWIG_fail;
23918 }
23919 {
23920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23921 }
23922 return resultobj;
23923 fail:
23924 return NULL;
23925 }
23926
23927
23928 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23929 PyObject *resultobj;
23930 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23931 bool result;
23932 PyObject * obj0 = 0 ;
23933 char *kwnames[] = {
23934 (char *) "self", NULL
23935 };
23936
23937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23939 if (SWIG_arg_fail(1)) SWIG_fail;
23940 {
23941 PyThreadState* __tstate = wxPyBeginAllowThreads();
23942 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23943
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 {
23948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23949 }
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23957 PyObject *resultobj;
23958 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23959 bool result;
23960 PyObject * obj0 = 0 ;
23961 char *kwnames[] = {
23962 (char *) "self", NULL
23963 };
23964
23965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23967 if (SWIG_arg_fail(1)) SWIG_fail;
23968 {
23969 PyThreadState* __tstate = wxPyBeginAllowThreads();
23970 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23971
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 {
23976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23977 }
23978 return resultobj;
23979 fail:
23980 return NULL;
23981 }
23982
23983
23984 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23985 PyObject *resultobj;
23986 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23987 wxPrintData *result;
23988 PyObject * obj0 = 0 ;
23989 char *kwnames[] = {
23990 (char *) "self", NULL
23991 };
23992
23993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
23994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23995 if (SWIG_arg_fail(1)) SWIG_fail;
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 {
23999 wxPrintData &_result_ref = (arg1)->GetPrintData();
24000 result = (wxPrintData *) &_result_ref;
24001 }
24002
24003 wxPyEndAllowThreads(__tstate);
24004 if (PyErr_Occurred()) SWIG_fail;
24005 }
24006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24007 return resultobj;
24008 fail:
24009 return NULL;
24010 }
24011
24012
24013 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24014 PyObject *resultobj;
24015 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24016 wxPrintData *arg2 = 0 ;
24017 PyObject * obj0 = 0 ;
24018 PyObject * obj1 = 0 ;
24019 char *kwnames[] = {
24020 (char *) "self",(char *) "printData", NULL
24021 };
24022
24023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
24024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24025 if (SWIG_arg_fail(1)) SWIG_fail;
24026 {
24027 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24028 if (SWIG_arg_fail(2)) SWIG_fail;
24029 if (arg2 == NULL) {
24030 SWIG_null_ref("wxPrintData");
24031 }
24032 if (SWIG_arg_fail(2)) SWIG_fail;
24033 }
24034 {
24035 PyThreadState* __tstate = wxPyBeginAllowThreads();
24036 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24037
24038 wxPyEndAllowThreads(__tstate);
24039 if (PyErr_Occurred()) SWIG_fail;
24040 }
24041 Py_INCREF(Py_None); resultobj = Py_None;
24042 return resultobj;
24043 fail:
24044 return NULL;
24045 }
24046
24047
24048 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
24049 PyObject *obj;
24050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24051 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24052 Py_INCREF(obj);
24053 return Py_BuildValue((char *)"");
24054 }
24055 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24056 PyObject *resultobj;
24057 wxWindow *arg1 = (wxWindow *) 0 ;
24058 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24059 wxPrintDialog *result;
24060 PyObject * obj0 = 0 ;
24061 PyObject * obj1 = 0 ;
24062 char *kwnames[] = {
24063 (char *) "parent",(char *) "data", NULL
24064 };
24065
24066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24068 if (SWIG_arg_fail(1)) SWIG_fail;
24069 if (obj1) {
24070 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24071 if (SWIG_arg_fail(2)) SWIG_fail;
24072 }
24073 {
24074 if (!wxPyCheckForApp()) SWIG_fail;
24075 PyThreadState* __tstate = wxPyBeginAllowThreads();
24076 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24077
24078 wxPyEndAllowThreads(__tstate);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
24081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24082 return resultobj;
24083 fail:
24084 return NULL;
24085 }
24086
24087
24088 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24089 PyObject *resultobj;
24090 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24091 int result;
24092 PyObject * obj0 = 0 ;
24093 char *kwnames[] = {
24094 (char *) "self", NULL
24095 };
24096
24097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
24098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24099 if (SWIG_arg_fail(1)) SWIG_fail;
24100 {
24101 PyThreadState* __tstate = wxPyBeginAllowThreads();
24102 result = (int)(arg1)->ShowModal();
24103
24104 wxPyEndAllowThreads(__tstate);
24105 if (PyErr_Occurred()) SWIG_fail;
24106 }
24107 {
24108 resultobj = SWIG_From_int((int)(result));
24109 }
24110 return resultobj;
24111 fail:
24112 return NULL;
24113 }
24114
24115
24116 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24117 PyObject *resultobj;
24118 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24119 wxPrintDialogData *result;
24120 PyObject * obj0 = 0 ;
24121 char *kwnames[] = {
24122 (char *) "self", NULL
24123 };
24124
24125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
24126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24127 if (SWIG_arg_fail(1)) SWIG_fail;
24128 {
24129 PyThreadState* __tstate = wxPyBeginAllowThreads();
24130 {
24131 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24132 result = (wxPrintDialogData *) &_result_ref;
24133 }
24134
24135 wxPyEndAllowThreads(__tstate);
24136 if (PyErr_Occurred()) SWIG_fail;
24137 }
24138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24139 return resultobj;
24140 fail:
24141 return NULL;
24142 }
24143
24144
24145 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24146 PyObject *resultobj;
24147 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24148 wxPrintData *result;
24149 PyObject * obj0 = 0 ;
24150 char *kwnames[] = {
24151 (char *) "self", NULL
24152 };
24153
24154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
24155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24156 if (SWIG_arg_fail(1)) SWIG_fail;
24157 {
24158 PyThreadState* __tstate = wxPyBeginAllowThreads();
24159 {
24160 wxPrintData &_result_ref = (arg1)->GetPrintData();
24161 result = (wxPrintData *) &_result_ref;
24162 }
24163
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24168 return resultobj;
24169 fail:
24170 return NULL;
24171 }
24172
24173
24174 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24175 PyObject *resultobj;
24176 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24177 wxDC *result;
24178 PyObject * obj0 = 0 ;
24179 char *kwnames[] = {
24180 (char *) "self", NULL
24181 };
24182
24183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24185 if (SWIG_arg_fail(1)) SWIG_fail;
24186 {
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 result = (wxDC *)(arg1)->GetPrintDC();
24189
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
24193 {
24194 resultobj = wxPyMake_wxObject(result, 1);
24195 }
24196 return resultobj;
24197 fail:
24198 return NULL;
24199 }
24200
24201
24202 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24203 PyObject *obj;
24204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24205 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24206 Py_INCREF(obj);
24207 return Py_BuildValue((char *)"");
24208 }
24209 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24210 PyObject *resultobj;
24211 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24212 wxPrinter *result;
24213 PyObject * obj0 = 0 ;
24214 char *kwnames[] = {
24215 (char *) "data", NULL
24216 };
24217
24218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24219 if (obj0) {
24220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24221 if (SWIG_arg_fail(1)) SWIG_fail;
24222 }
24223 {
24224 if (!wxPyCheckForApp()) SWIG_fail;
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 result = (wxPrinter *)new wxPrinter(arg1);
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
24231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24232 return resultobj;
24233 fail:
24234 return NULL;
24235 }
24236
24237
24238 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24239 PyObject *resultobj;
24240 wxPrinter *arg1 = (wxPrinter *) 0 ;
24241 PyObject * obj0 = 0 ;
24242 char *kwnames[] = {
24243 (char *) "self", NULL
24244 };
24245
24246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24248 if (SWIG_arg_fail(1)) SWIG_fail;
24249 {
24250 PyThreadState* __tstate = wxPyBeginAllowThreads();
24251 delete arg1;
24252
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 Py_INCREF(Py_None); resultobj = Py_None;
24257 return resultobj;
24258 fail:
24259 return NULL;
24260 }
24261
24262
24263 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24264 PyObject *resultobj;
24265 wxPrinter *arg1 = (wxPrinter *) 0 ;
24266 wxWindow *arg2 = (wxWindow *) 0 ;
24267 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24268 wxWindow *result;
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
24271 PyObject * obj2 = 0 ;
24272 char *kwnames[] = {
24273 (char *) "self",(char *) "parent",(char *) "printout", NULL
24274 };
24275
24276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24278 if (SWIG_arg_fail(1)) SWIG_fail;
24279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24280 if (SWIG_arg_fail(2)) SWIG_fail;
24281 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24282 if (SWIG_arg_fail(3)) SWIG_fail;
24283 {
24284 PyThreadState* __tstate = wxPyBeginAllowThreads();
24285 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24286
24287 wxPyEndAllowThreads(__tstate);
24288 if (PyErr_Occurred()) SWIG_fail;
24289 }
24290 {
24291 resultobj = wxPyMake_wxObject(result, 0);
24292 }
24293 return resultobj;
24294 fail:
24295 return NULL;
24296 }
24297
24298
24299 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxPrinter *arg1 = (wxPrinter *) 0 ;
24302 wxWindow *arg2 = (wxWindow *) 0 ;
24303 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24304 wxString *arg4 = 0 ;
24305 bool temp4 = false ;
24306 PyObject * obj0 = 0 ;
24307 PyObject * obj1 = 0 ;
24308 PyObject * obj2 = 0 ;
24309 PyObject * obj3 = 0 ;
24310 char *kwnames[] = {
24311 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24312 };
24313
24314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24316 if (SWIG_arg_fail(1)) SWIG_fail;
24317 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24318 if (SWIG_arg_fail(2)) SWIG_fail;
24319 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24320 if (SWIG_arg_fail(3)) SWIG_fail;
24321 {
24322 arg4 = wxString_in_helper(obj3);
24323 if (arg4 == NULL) SWIG_fail;
24324 temp4 = true;
24325 }
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 Py_INCREF(Py_None); resultobj = Py_None;
24334 {
24335 if (temp4)
24336 delete arg4;
24337 }
24338 return resultobj;
24339 fail:
24340 {
24341 if (temp4)
24342 delete arg4;
24343 }
24344 return NULL;
24345 }
24346
24347
24348 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24349 PyObject *resultobj;
24350 wxPrinter *arg1 = (wxPrinter *) 0 ;
24351 wxWindow *arg2 = (wxWindow *) 0 ;
24352 bool result;
24353 PyObject * obj0 = 0 ;
24354 PyObject * obj1 = 0 ;
24355 char *kwnames[] = {
24356 (char *) "self",(char *) "parent", NULL
24357 };
24358
24359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24361 if (SWIG_arg_fail(1)) SWIG_fail;
24362 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24363 if (SWIG_arg_fail(2)) SWIG_fail;
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 result = (bool)(arg1)->Setup(arg2);
24367
24368 wxPyEndAllowThreads(__tstate);
24369 if (PyErr_Occurred()) SWIG_fail;
24370 }
24371 {
24372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24373 }
24374 return resultobj;
24375 fail:
24376 return NULL;
24377 }
24378
24379
24380 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24381 PyObject *resultobj;
24382 wxPrinter *arg1 = (wxPrinter *) 0 ;
24383 wxWindow *arg2 = (wxWindow *) 0 ;
24384 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24385 bool arg4 = (bool) true ;
24386 bool result;
24387 PyObject * obj0 = 0 ;
24388 PyObject * obj1 = 0 ;
24389 PyObject * obj2 = 0 ;
24390 PyObject * obj3 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24397 if (SWIG_arg_fail(1)) SWIG_fail;
24398 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24399 if (SWIG_arg_fail(2)) SWIG_fail;
24400 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24401 if (SWIG_arg_fail(3)) SWIG_fail;
24402 if (obj3) {
24403 {
24404 arg4 = (bool)(SWIG_As_bool(obj3));
24405 if (SWIG_arg_fail(4)) SWIG_fail;
24406 }
24407 }
24408 {
24409 PyThreadState* __tstate = wxPyBeginAllowThreads();
24410 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24411
24412 wxPyEndAllowThreads(__tstate);
24413 if (PyErr_Occurred()) SWIG_fail;
24414 }
24415 {
24416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24417 }
24418 return resultobj;
24419 fail:
24420 return NULL;
24421 }
24422
24423
24424 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24425 PyObject *resultobj;
24426 wxPrinter *arg1 = (wxPrinter *) 0 ;
24427 wxWindow *arg2 = (wxWindow *) 0 ;
24428 wxDC *result;
24429 PyObject * obj0 = 0 ;
24430 PyObject * obj1 = 0 ;
24431 char *kwnames[] = {
24432 (char *) "self",(char *) "parent", NULL
24433 };
24434
24435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24437 if (SWIG_arg_fail(1)) SWIG_fail;
24438 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24439 if (SWIG_arg_fail(2)) SWIG_fail;
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 result = (wxDC *)(arg1)->PrintDialog(arg2);
24443
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 {
24448 resultobj = wxPyMake_wxObject(result, 0);
24449 }
24450 return resultobj;
24451 fail:
24452 return NULL;
24453 }
24454
24455
24456 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24457 PyObject *resultobj;
24458 wxPrinter *arg1 = (wxPrinter *) 0 ;
24459 wxPrintDialogData *result;
24460 PyObject * obj0 = 0 ;
24461 char *kwnames[] = {
24462 (char *) "self", NULL
24463 };
24464
24465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24467 if (SWIG_arg_fail(1)) SWIG_fail;
24468 {
24469 PyThreadState* __tstate = wxPyBeginAllowThreads();
24470 {
24471 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24472 result = (wxPrintDialogData *) &_result_ref;
24473 }
24474
24475 wxPyEndAllowThreads(__tstate);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24479 return resultobj;
24480 fail:
24481 return NULL;
24482 }
24483
24484
24485 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24486 PyObject *resultobj;
24487 wxPrinter *arg1 = (wxPrinter *) 0 ;
24488 bool result;
24489 PyObject * obj0 = 0 ;
24490 char *kwnames[] = {
24491 (char *) "self", NULL
24492 };
24493
24494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24496 if (SWIG_arg_fail(1)) SWIG_fail;
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 result = (bool)(arg1)->GetAbort();
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 {
24505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24506 }
24507 return resultobj;
24508 fail:
24509 return NULL;
24510 }
24511
24512
24513 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24514 PyObject *resultobj;
24515 wxPrinterError result;
24516 char *kwnames[] = {
24517 NULL
24518 };
24519
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 result = (wxPrinterError)wxPrinter::GetLastError();
24524
24525 wxPyEndAllowThreads(__tstate);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 }
24528 resultobj = SWIG_From_int((result));
24529 return resultobj;
24530 fail:
24531 return NULL;
24532 }
24533
24534
24535 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24536 PyObject *obj;
24537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24538 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24539 Py_INCREF(obj);
24540 return Py_BuildValue((char *)"");
24541 }
24542 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24543 PyObject *resultobj;
24544 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24545 wxString *arg1 = (wxString *) &arg1_defvalue ;
24546 wxPyPrintout *result;
24547 bool temp1 = false ;
24548 PyObject * obj0 = 0 ;
24549 char *kwnames[] = {
24550 (char *) "title", NULL
24551 };
24552
24553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24554 if (obj0) {
24555 {
24556 arg1 = wxString_in_helper(obj0);
24557 if (arg1 == NULL) SWIG_fail;
24558 temp1 = true;
24559 }
24560 }
24561 {
24562 if (!wxPyCheckForApp()) SWIG_fail;
24563 PyThreadState* __tstate = wxPyBeginAllowThreads();
24564 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24565
24566 wxPyEndAllowThreads(__tstate);
24567 if (PyErr_Occurred()) SWIG_fail;
24568 }
24569 {
24570 resultobj = wxPyMake_wxObject(result, 1);
24571 }
24572 {
24573 if (temp1)
24574 delete arg1;
24575 }
24576 return resultobj;
24577 fail:
24578 {
24579 if (temp1)
24580 delete arg1;
24581 }
24582 return NULL;
24583 }
24584
24585
24586 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24587 PyObject *resultobj;
24588 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24589 PyObject *arg2 = (PyObject *) 0 ;
24590 PyObject *arg3 = (PyObject *) 0 ;
24591 PyObject * obj0 = 0 ;
24592 PyObject * obj1 = 0 ;
24593 PyObject * obj2 = 0 ;
24594 char *kwnames[] = {
24595 (char *) "self",(char *) "self",(char *) "_class", NULL
24596 };
24597
24598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail;
24601 arg2 = obj1;
24602 arg3 = obj2;
24603 {
24604 PyThreadState* __tstate = wxPyBeginAllowThreads();
24605 (arg1)->_setCallbackInfo(arg2,arg3);
24606
24607 wxPyEndAllowThreads(__tstate);
24608 if (PyErr_Occurred()) SWIG_fail;
24609 }
24610 Py_INCREF(Py_None); resultobj = Py_None;
24611 return resultobj;
24612 fail:
24613 return NULL;
24614 }
24615
24616
24617 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24618 PyObject *resultobj;
24619 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24620 wxString result;
24621 PyObject * obj0 = 0 ;
24622 char *kwnames[] = {
24623 (char *) "self", NULL
24624 };
24625
24626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24628 if (SWIG_arg_fail(1)) SWIG_fail;
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
24631 result = ((wxPyPrintout const *)arg1)->GetTitle();
24632
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
24636 {
24637 #if wxUSE_UNICODE
24638 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24639 #else
24640 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24641 #endif
24642 }
24643 return resultobj;
24644 fail:
24645 return NULL;
24646 }
24647
24648
24649 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24650 PyObject *resultobj;
24651 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24652 wxDC *result;
24653 PyObject * obj0 = 0 ;
24654 char *kwnames[] = {
24655 (char *) "self", NULL
24656 };
24657
24658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24660 if (SWIG_arg_fail(1)) SWIG_fail;
24661 {
24662 PyThreadState* __tstate = wxPyBeginAllowThreads();
24663 result = (wxDC *)(arg1)->GetDC();
24664
24665 wxPyEndAllowThreads(__tstate);
24666 if (PyErr_Occurred()) SWIG_fail;
24667 }
24668 {
24669 resultobj = wxPyMake_wxObject(result, 0);
24670 }
24671 return resultobj;
24672 fail:
24673 return NULL;
24674 }
24675
24676
24677 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24678 PyObject *resultobj;
24679 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24680 wxDC *arg2 = (wxDC *) 0 ;
24681 PyObject * obj0 = 0 ;
24682 PyObject * obj1 = 0 ;
24683 char *kwnames[] = {
24684 (char *) "self",(char *) "dc", NULL
24685 };
24686
24687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24689 if (SWIG_arg_fail(1)) SWIG_fail;
24690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24691 if (SWIG_arg_fail(2)) SWIG_fail;
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 (arg1)->SetDC(arg2);
24695
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 Py_INCREF(Py_None); resultobj = Py_None;
24700 return resultobj;
24701 fail:
24702 return NULL;
24703 }
24704
24705
24706 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24707 PyObject *resultobj;
24708 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24709 int arg2 ;
24710 int arg3 ;
24711 PyObject * obj0 = 0 ;
24712 PyObject * obj1 = 0 ;
24713 PyObject * obj2 = 0 ;
24714 char *kwnames[] = {
24715 (char *) "self",(char *) "w",(char *) "h", NULL
24716 };
24717
24718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24720 if (SWIG_arg_fail(1)) SWIG_fail;
24721 {
24722 arg2 = (int)(SWIG_As_int(obj1));
24723 if (SWIG_arg_fail(2)) SWIG_fail;
24724 }
24725 {
24726 arg3 = (int)(SWIG_As_int(obj2));
24727 if (SWIG_arg_fail(3)) SWIG_fail;
24728 }
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 (arg1)->SetPageSizePixels(arg2,arg3);
24732
24733 wxPyEndAllowThreads(__tstate);
24734 if (PyErr_Occurred()) SWIG_fail;
24735 }
24736 Py_INCREF(Py_None); resultobj = Py_None;
24737 return resultobj;
24738 fail:
24739 return NULL;
24740 }
24741
24742
24743 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24744 PyObject *resultobj;
24745 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24746 int *arg2 = (int *) 0 ;
24747 int *arg3 = (int *) 0 ;
24748 int temp2 ;
24749 int res2 = 0 ;
24750 int temp3 ;
24751 int res3 = 0 ;
24752 PyObject * obj0 = 0 ;
24753 char *kwnames[] = {
24754 (char *) "self", NULL
24755 };
24756
24757 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24758 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24761 if (SWIG_arg_fail(1)) SWIG_fail;
24762 {
24763 PyThreadState* __tstate = wxPyBeginAllowThreads();
24764 (arg1)->GetPageSizePixels(arg2,arg3);
24765
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 Py_INCREF(Py_None); resultobj = Py_None;
24770 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24771 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24772 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24773 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24774 return resultobj;
24775 fail:
24776 return NULL;
24777 }
24778
24779
24780 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24781 PyObject *resultobj;
24782 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24783 int arg2 ;
24784 int arg3 ;
24785 PyObject * obj0 = 0 ;
24786 PyObject * obj1 = 0 ;
24787 PyObject * obj2 = 0 ;
24788 char *kwnames[] = {
24789 (char *) "self",(char *) "w",(char *) "h", NULL
24790 };
24791
24792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
24793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24794 if (SWIG_arg_fail(1)) SWIG_fail;
24795 {
24796 arg2 = (int)(SWIG_As_int(obj1));
24797 if (SWIG_arg_fail(2)) SWIG_fail;
24798 }
24799 {
24800 arg3 = (int)(SWIG_As_int(obj2));
24801 if (SWIG_arg_fail(3)) SWIG_fail;
24802 }
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 (arg1)->SetPageSizeMM(arg2,arg3);
24806
24807 wxPyEndAllowThreads(__tstate);
24808 if (PyErr_Occurred()) SWIG_fail;
24809 }
24810 Py_INCREF(Py_None); resultobj = Py_None;
24811 return resultobj;
24812 fail:
24813 return NULL;
24814 }
24815
24816
24817 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24818 PyObject *resultobj;
24819 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24820 int *arg2 = (int *) 0 ;
24821 int *arg3 = (int *) 0 ;
24822 int temp2 ;
24823 int res2 = 0 ;
24824 int temp3 ;
24825 int res3 = 0 ;
24826 PyObject * obj0 = 0 ;
24827 char *kwnames[] = {
24828 (char *) "self", NULL
24829 };
24830
24831 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24832 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24835 if (SWIG_arg_fail(1)) SWIG_fail;
24836 {
24837 PyThreadState* __tstate = wxPyBeginAllowThreads();
24838 (arg1)->GetPageSizeMM(arg2,arg3);
24839
24840 wxPyEndAllowThreads(__tstate);
24841 if (PyErr_Occurred()) SWIG_fail;
24842 }
24843 Py_INCREF(Py_None); resultobj = Py_None;
24844 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24845 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24846 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24847 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24848 return resultobj;
24849 fail:
24850 return NULL;
24851 }
24852
24853
24854 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24855 PyObject *resultobj;
24856 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24857 int arg2 ;
24858 int arg3 ;
24859 PyObject * obj0 = 0 ;
24860 PyObject * obj1 = 0 ;
24861 PyObject * obj2 = 0 ;
24862 char *kwnames[] = {
24863 (char *) "self",(char *) "x",(char *) "y", NULL
24864 };
24865
24866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) 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 = (int)(SWIG_As_int(obj1));
24871 if (SWIG_arg_fail(2)) SWIG_fail;
24872 }
24873 {
24874 arg3 = (int)(SWIG_As_int(obj2));
24875 if (SWIG_arg_fail(3)) SWIG_fail;
24876 }
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 (arg1)->SetPPIScreen(arg2,arg3);
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 Py_INCREF(Py_None); resultobj = Py_None;
24885 return resultobj;
24886 fail:
24887 return NULL;
24888 }
24889
24890
24891 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24892 PyObject *resultobj;
24893 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24894 int *arg2 = (int *) 0 ;
24895 int *arg3 = (int *) 0 ;
24896 int temp2 ;
24897 int res2 = 0 ;
24898 int temp3 ;
24899 int res3 = 0 ;
24900 PyObject * obj0 = 0 ;
24901 char *kwnames[] = {
24902 (char *) "self", NULL
24903 };
24904
24905 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24906 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
24908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24909 if (SWIG_arg_fail(1)) SWIG_fail;
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 (arg1)->GetPPIScreen(arg2,arg3);
24913
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 Py_INCREF(Py_None); resultobj = Py_None;
24918 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24919 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24920 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24921 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24922 return resultobj;
24923 fail:
24924 return NULL;
24925 }
24926
24927
24928 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24929 PyObject *resultobj;
24930 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24931 int arg2 ;
24932 int arg3 ;
24933 PyObject * obj0 = 0 ;
24934 PyObject * obj1 = 0 ;
24935 PyObject * obj2 = 0 ;
24936 char *kwnames[] = {
24937 (char *) "self",(char *) "x",(char *) "y", NULL
24938 };
24939
24940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24942 if (SWIG_arg_fail(1)) SWIG_fail;
24943 {
24944 arg2 = (int)(SWIG_As_int(obj1));
24945 if (SWIG_arg_fail(2)) SWIG_fail;
24946 }
24947 {
24948 arg3 = (int)(SWIG_As_int(obj2));
24949 if (SWIG_arg_fail(3)) SWIG_fail;
24950 }
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 (arg1)->SetPPIPrinter(arg2,arg3);
24954
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 Py_INCREF(Py_None); resultobj = Py_None;
24959 return resultobj;
24960 fail:
24961 return NULL;
24962 }
24963
24964
24965 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24966 PyObject *resultobj;
24967 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24968 int *arg2 = (int *) 0 ;
24969 int *arg3 = (int *) 0 ;
24970 int temp2 ;
24971 int res2 = 0 ;
24972 int temp3 ;
24973 int res3 = 0 ;
24974 PyObject * obj0 = 0 ;
24975 char *kwnames[] = {
24976 (char *) "self", NULL
24977 };
24978
24979 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24980 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24983 if (SWIG_arg_fail(1)) SWIG_fail;
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 (arg1)->GetPPIPrinter(arg2,arg3);
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 Py_INCREF(Py_None); resultobj = Py_None;
24992 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24993 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24994 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24995 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24996 return resultobj;
24997 fail:
24998 return NULL;
24999 }
25000
25001
25002 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25003 PyObject *resultobj;
25004 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25005 bool result;
25006 PyObject * obj0 = 0 ;
25007 char *kwnames[] = {
25008 (char *) "self", NULL
25009 };
25010
25011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
25012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25013 if (SWIG_arg_fail(1)) SWIG_fail;
25014 {
25015 PyThreadState* __tstate = wxPyBeginAllowThreads();
25016 result = (bool)(arg1)->IsPreview();
25017
25018 wxPyEndAllowThreads(__tstate);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 }
25021 {
25022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25023 }
25024 return resultobj;
25025 fail:
25026 return NULL;
25027 }
25028
25029
25030 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25031 PyObject *resultobj;
25032 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25033 bool arg2 ;
25034 PyObject * obj0 = 0 ;
25035 PyObject * obj1 = 0 ;
25036 char *kwnames[] = {
25037 (char *) "self",(char *) "p", NULL
25038 };
25039
25040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
25041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25042 if (SWIG_arg_fail(1)) SWIG_fail;
25043 {
25044 arg2 = (bool)(SWIG_As_bool(obj1));
25045 if (SWIG_arg_fail(2)) SWIG_fail;
25046 }
25047 {
25048 PyThreadState* __tstate = wxPyBeginAllowThreads();
25049 (arg1)->SetIsPreview(arg2);
25050
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 Py_INCREF(Py_None); resultobj = Py_None;
25055 return resultobj;
25056 fail:
25057 return NULL;
25058 }
25059
25060
25061 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25062 PyObject *resultobj;
25063 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25064 int arg2 ;
25065 int arg3 ;
25066 bool result;
25067 PyObject * obj0 = 0 ;
25068 PyObject * obj1 = 0 ;
25069 PyObject * obj2 = 0 ;
25070 char *kwnames[] = {
25071 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25072 };
25073
25074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
25075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25076 if (SWIG_arg_fail(1)) SWIG_fail;
25077 {
25078 arg2 = (int)(SWIG_As_int(obj1));
25079 if (SWIG_arg_fail(2)) SWIG_fail;
25080 }
25081 {
25082 arg3 = (int)(SWIG_As_int(obj2));
25083 if (SWIG_arg_fail(3)) SWIG_fail;
25084 }
25085 {
25086 PyThreadState* __tstate = wxPyBeginAllowThreads();
25087 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25088
25089 wxPyEndAllowThreads(__tstate);
25090 if (PyErr_Occurred()) SWIG_fail;
25091 }
25092 {
25093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25094 }
25095 return resultobj;
25096 fail:
25097 return NULL;
25098 }
25099
25100
25101 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25102 PyObject *resultobj;
25103 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25104 PyObject * obj0 = 0 ;
25105 char *kwnames[] = {
25106 (char *) "self", NULL
25107 };
25108
25109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
25110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25111 if (SWIG_arg_fail(1)) SWIG_fail;
25112 {
25113 PyThreadState* __tstate = wxPyBeginAllowThreads();
25114 (arg1)->base_OnEndDocument();
25115
25116 wxPyEndAllowThreads(__tstate);
25117 if (PyErr_Occurred()) SWIG_fail;
25118 }
25119 Py_INCREF(Py_None); resultobj = Py_None;
25120 return resultobj;
25121 fail:
25122 return NULL;
25123 }
25124
25125
25126 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25127 PyObject *resultobj;
25128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25129 PyObject * obj0 = 0 ;
25130 char *kwnames[] = {
25131 (char *) "self", NULL
25132 };
25133
25134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
25135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25136 if (SWIG_arg_fail(1)) SWIG_fail;
25137 {
25138 PyThreadState* __tstate = wxPyBeginAllowThreads();
25139 (arg1)->base_OnBeginPrinting();
25140
25141 wxPyEndAllowThreads(__tstate);
25142 if (PyErr_Occurred()) SWIG_fail;
25143 }
25144 Py_INCREF(Py_None); resultobj = Py_None;
25145 return resultobj;
25146 fail:
25147 return NULL;
25148 }
25149
25150
25151 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25152 PyObject *resultobj;
25153 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25154 PyObject * obj0 = 0 ;
25155 char *kwnames[] = {
25156 (char *) "self", NULL
25157 };
25158
25159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
25160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25161 if (SWIG_arg_fail(1)) SWIG_fail;
25162 {
25163 PyThreadState* __tstate = wxPyBeginAllowThreads();
25164 (arg1)->base_OnEndPrinting();
25165
25166 wxPyEndAllowThreads(__tstate);
25167 if (PyErr_Occurred()) SWIG_fail;
25168 }
25169 Py_INCREF(Py_None); resultobj = Py_None;
25170 return resultobj;
25171 fail:
25172 return NULL;
25173 }
25174
25175
25176 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25177 PyObject *resultobj;
25178 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25179 PyObject * obj0 = 0 ;
25180 char *kwnames[] = {
25181 (char *) "self", NULL
25182 };
25183
25184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25186 if (SWIG_arg_fail(1)) SWIG_fail;
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 (arg1)->base_OnPreparePrinting();
25190
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 Py_INCREF(Py_None); resultobj = Py_None;
25195 return resultobj;
25196 fail:
25197 return NULL;
25198 }
25199
25200
25201 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25202 PyObject *resultobj;
25203 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25204 int arg2 ;
25205 bool result;
25206 PyObject * obj0 = 0 ;
25207 PyObject * obj1 = 0 ;
25208 char *kwnames[] = {
25209 (char *) "self",(char *) "page", NULL
25210 };
25211
25212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25214 if (SWIG_arg_fail(1)) SWIG_fail;
25215 {
25216 arg2 = (int)(SWIG_As_int(obj1));
25217 if (SWIG_arg_fail(2)) SWIG_fail;
25218 }
25219 {
25220 PyThreadState* __tstate = wxPyBeginAllowThreads();
25221 result = (bool)(arg1)->base_HasPage(arg2);
25222
25223 wxPyEndAllowThreads(__tstate);
25224 if (PyErr_Occurred()) SWIG_fail;
25225 }
25226 {
25227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25228 }
25229 return resultobj;
25230 fail:
25231 return NULL;
25232 }
25233
25234
25235 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25236 PyObject *resultobj;
25237 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25238 int *arg2 = (int *) 0 ;
25239 int *arg3 = (int *) 0 ;
25240 int *arg4 = (int *) 0 ;
25241 int *arg5 = (int *) 0 ;
25242 int temp2 ;
25243 int res2 = 0 ;
25244 int temp3 ;
25245 int res3 = 0 ;
25246 int temp4 ;
25247 int res4 = 0 ;
25248 int temp5 ;
25249 int res5 = 0 ;
25250 PyObject * obj0 = 0 ;
25251 char *kwnames[] = {
25252 (char *) "self", NULL
25253 };
25254
25255 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25256 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25257 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25258 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25261 if (SWIG_arg_fail(1)) SWIG_fail;
25262 {
25263 PyThreadState* __tstate = wxPyBeginAllowThreads();
25264 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25265
25266 wxPyEndAllowThreads(__tstate);
25267 if (PyErr_Occurred()) SWIG_fail;
25268 }
25269 Py_INCREF(Py_None); resultobj = Py_None;
25270 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25271 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25272 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25273 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25274 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25275 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25276 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25277 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25278 return resultobj;
25279 fail:
25280 return NULL;
25281 }
25282
25283
25284 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25285 PyObject *obj;
25286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25287 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25288 Py_INCREF(obj);
25289 return Py_BuildValue((char *)"");
25290 }
25291 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25292 PyObject *resultobj;
25293 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25294 wxWindow *arg2 = (wxWindow *) 0 ;
25295 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25296 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25297 wxSize const &arg4_defvalue = wxDefaultSize ;
25298 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25299 long arg5 = (long) 0 ;
25300 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25301 wxString *arg6 = (wxString *) &arg6_defvalue ;
25302 wxPreviewCanvas *result;
25303 wxPoint temp3 ;
25304 wxSize temp4 ;
25305 bool temp6 = false ;
25306 PyObject * obj0 = 0 ;
25307 PyObject * obj1 = 0 ;
25308 PyObject * obj2 = 0 ;
25309 PyObject * obj3 = 0 ;
25310 PyObject * obj4 = 0 ;
25311 PyObject * obj5 = 0 ;
25312 char *kwnames[] = {
25313 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25314 };
25315
25316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25318 if (SWIG_arg_fail(1)) SWIG_fail;
25319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25320 if (SWIG_arg_fail(2)) SWIG_fail;
25321 if (obj2) {
25322 {
25323 arg3 = &temp3;
25324 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25325 }
25326 }
25327 if (obj3) {
25328 {
25329 arg4 = &temp4;
25330 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25331 }
25332 }
25333 if (obj4) {
25334 {
25335 arg5 = (long)(SWIG_As_long(obj4));
25336 if (SWIG_arg_fail(5)) SWIG_fail;
25337 }
25338 }
25339 if (obj5) {
25340 {
25341 arg6 = wxString_in_helper(obj5);
25342 if (arg6 == NULL) SWIG_fail;
25343 temp6 = true;
25344 }
25345 }
25346 {
25347 if (!wxPyCheckForApp()) SWIG_fail;
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25350
25351 wxPyEndAllowThreads(__tstate);
25352 if (PyErr_Occurred()) SWIG_fail;
25353 }
25354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25355 {
25356 if (temp6)
25357 delete arg6;
25358 }
25359 return resultobj;
25360 fail:
25361 {
25362 if (temp6)
25363 delete arg6;
25364 }
25365 return NULL;
25366 }
25367
25368
25369 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25370 PyObject *obj;
25371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25372 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25373 Py_INCREF(obj);
25374 return Py_BuildValue((char *)"");
25375 }
25376 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25377 PyObject *resultobj;
25378 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25379 wxFrame *arg2 = (wxFrame *) 0 ;
25380 wxString *arg3 = 0 ;
25381 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25382 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25383 wxSize const &arg5_defvalue = wxDefaultSize ;
25384 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25385 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25386 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25387 wxString *arg7 = (wxString *) &arg7_defvalue ;
25388 wxPreviewFrame *result;
25389 bool temp3 = false ;
25390 wxPoint temp4 ;
25391 wxSize temp5 ;
25392 bool temp7 = false ;
25393 PyObject * obj0 = 0 ;
25394 PyObject * obj1 = 0 ;
25395 PyObject * obj2 = 0 ;
25396 PyObject * obj3 = 0 ;
25397 PyObject * obj4 = 0 ;
25398 PyObject * obj5 = 0 ;
25399 PyObject * obj6 = 0 ;
25400 char *kwnames[] = {
25401 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25402 };
25403
25404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25406 if (SWIG_arg_fail(1)) SWIG_fail;
25407 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25408 if (SWIG_arg_fail(2)) SWIG_fail;
25409 {
25410 arg3 = wxString_in_helper(obj2);
25411 if (arg3 == NULL) SWIG_fail;
25412 temp3 = true;
25413 }
25414 if (obj3) {
25415 {
25416 arg4 = &temp4;
25417 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25418 }
25419 }
25420 if (obj4) {
25421 {
25422 arg5 = &temp5;
25423 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25424 }
25425 }
25426 if (obj5) {
25427 {
25428 arg6 = (long)(SWIG_As_long(obj5));
25429 if (SWIG_arg_fail(6)) SWIG_fail;
25430 }
25431 }
25432 if (obj6) {
25433 {
25434 arg7 = wxString_in_helper(obj6);
25435 if (arg7 == NULL) SWIG_fail;
25436 temp7 = true;
25437 }
25438 }
25439 {
25440 if (!wxPyCheckForApp()) SWIG_fail;
25441 PyThreadState* __tstate = wxPyBeginAllowThreads();
25442 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25443
25444 wxPyEndAllowThreads(__tstate);
25445 if (PyErr_Occurred()) SWIG_fail;
25446 }
25447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25448 {
25449 if (temp3)
25450 delete arg3;
25451 }
25452 {
25453 if (temp7)
25454 delete arg7;
25455 }
25456 return resultobj;
25457 fail:
25458 {
25459 if (temp3)
25460 delete arg3;
25461 }
25462 {
25463 if (temp7)
25464 delete arg7;
25465 }
25466 return NULL;
25467 }
25468
25469
25470 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25471 PyObject *resultobj;
25472 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25473 PyObject * obj0 = 0 ;
25474 char *kwnames[] = {
25475 (char *) "self", NULL
25476 };
25477
25478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25480 if (SWIG_arg_fail(1)) SWIG_fail;
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 (arg1)->Initialize();
25484
25485 wxPyEndAllowThreads(__tstate);
25486 if (PyErr_Occurred()) SWIG_fail;
25487 }
25488 Py_INCREF(Py_None); resultobj = Py_None;
25489 return resultobj;
25490 fail:
25491 return NULL;
25492 }
25493
25494
25495 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25496 PyObject *resultobj;
25497 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25498 PyObject * obj0 = 0 ;
25499 char *kwnames[] = {
25500 (char *) "self", NULL
25501 };
25502
25503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25505 if (SWIG_arg_fail(1)) SWIG_fail;
25506 {
25507 PyThreadState* __tstate = wxPyBeginAllowThreads();
25508 (arg1)->CreateControlBar();
25509
25510 wxPyEndAllowThreads(__tstate);
25511 if (PyErr_Occurred()) SWIG_fail;
25512 }
25513 Py_INCREF(Py_None); resultobj = Py_None;
25514 return resultobj;
25515 fail:
25516 return NULL;
25517 }
25518
25519
25520 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25521 PyObject *resultobj;
25522 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25523 PyObject * obj0 = 0 ;
25524 char *kwnames[] = {
25525 (char *) "self", NULL
25526 };
25527
25528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail;
25531 {
25532 PyThreadState* __tstate = wxPyBeginAllowThreads();
25533 (arg1)->CreateCanvas();
25534
25535 wxPyEndAllowThreads(__tstate);
25536 if (PyErr_Occurred()) SWIG_fail;
25537 }
25538 Py_INCREF(Py_None); resultobj = Py_None;
25539 return resultobj;
25540 fail:
25541 return NULL;
25542 }
25543
25544
25545 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25546 PyObject *resultobj;
25547 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25548 wxPreviewControlBar *result;
25549 PyObject * obj0 = 0 ;
25550 char *kwnames[] = {
25551 (char *) "self", NULL
25552 };
25553
25554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25556 if (SWIG_arg_fail(1)) SWIG_fail;
25557 {
25558 PyThreadState* __tstate = wxPyBeginAllowThreads();
25559 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25560
25561 wxPyEndAllowThreads(__tstate);
25562 if (PyErr_Occurred()) SWIG_fail;
25563 }
25564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25565 return resultobj;
25566 fail:
25567 return NULL;
25568 }
25569
25570
25571 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25572 PyObject *obj;
25573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25574 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25575 Py_INCREF(obj);
25576 return Py_BuildValue((char *)"");
25577 }
25578 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25579 PyObject *resultobj;
25580 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25581 long arg2 ;
25582 wxWindow *arg3 = (wxWindow *) 0 ;
25583 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25584 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25585 wxSize const &arg5_defvalue = wxDefaultSize ;
25586 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25587 long arg6 = (long) wxTAB_TRAVERSAL ;
25588 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25589 wxString *arg7 = (wxString *) &arg7_defvalue ;
25590 wxPreviewControlBar *result;
25591 wxPoint temp4 ;
25592 wxSize temp5 ;
25593 bool temp7 = false ;
25594 PyObject * obj0 = 0 ;
25595 PyObject * obj1 = 0 ;
25596 PyObject * obj2 = 0 ;
25597 PyObject * obj3 = 0 ;
25598 PyObject * obj4 = 0 ;
25599 PyObject * obj5 = 0 ;
25600 PyObject * obj6 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail;
25608 {
25609 arg2 = (long)(SWIG_As_long(obj1));
25610 if (SWIG_arg_fail(2)) SWIG_fail;
25611 }
25612 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25613 if (SWIG_arg_fail(3)) SWIG_fail;
25614 if (obj3) {
25615 {
25616 arg4 = &temp4;
25617 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25618 }
25619 }
25620 if (obj4) {
25621 {
25622 arg5 = &temp5;
25623 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25624 }
25625 }
25626 if (obj5) {
25627 {
25628 arg6 = (long)(SWIG_As_long(obj5));
25629 if (SWIG_arg_fail(6)) SWIG_fail;
25630 }
25631 }
25632 if (obj6) {
25633 {
25634 arg7 = wxString_in_helper(obj6);
25635 if (arg7 == NULL) SWIG_fail;
25636 temp7 = true;
25637 }
25638 }
25639 {
25640 if (!wxPyCheckForApp()) SWIG_fail;
25641 PyThreadState* __tstate = wxPyBeginAllowThreads();
25642 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25643
25644 wxPyEndAllowThreads(__tstate);
25645 if (PyErr_Occurred()) SWIG_fail;
25646 }
25647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25648 {
25649 if (temp7)
25650 delete arg7;
25651 }
25652 return resultobj;
25653 fail:
25654 {
25655 if (temp7)
25656 delete arg7;
25657 }
25658 return NULL;
25659 }
25660
25661
25662 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25663 PyObject *resultobj;
25664 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25665 int result;
25666 PyObject * obj0 = 0 ;
25667 char *kwnames[] = {
25668 (char *) "self", NULL
25669 };
25670
25671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25673 if (SWIG_arg_fail(1)) SWIG_fail;
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 result = (int)(arg1)->GetZoomControl();
25677
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 {
25682 resultobj = SWIG_From_int((int)(result));
25683 }
25684 return resultobj;
25685 fail:
25686 return NULL;
25687 }
25688
25689
25690 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25691 PyObject *resultobj;
25692 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25693 int arg2 ;
25694 PyObject * obj0 = 0 ;
25695 PyObject * obj1 = 0 ;
25696 char *kwnames[] = {
25697 (char *) "self",(char *) "zoom", NULL
25698 };
25699
25700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25702 if (SWIG_arg_fail(1)) SWIG_fail;
25703 {
25704 arg2 = (int)(SWIG_As_int(obj1));
25705 if (SWIG_arg_fail(2)) SWIG_fail;
25706 }
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 (arg1)->SetZoomControl(arg2);
25710
25711 wxPyEndAllowThreads(__tstate);
25712 if (PyErr_Occurred()) SWIG_fail;
25713 }
25714 Py_INCREF(Py_None); resultobj = Py_None;
25715 return resultobj;
25716 fail:
25717 return NULL;
25718 }
25719
25720
25721 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25722 PyObject *resultobj;
25723 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25724 wxPrintPreview *result;
25725 PyObject * obj0 = 0 ;
25726 char *kwnames[] = {
25727 (char *) "self", NULL
25728 };
25729
25730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25732 if (SWIG_arg_fail(1)) SWIG_fail;
25733 {
25734 PyThreadState* __tstate = wxPyBeginAllowThreads();
25735 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25736
25737 wxPyEndAllowThreads(__tstate);
25738 if (PyErr_Occurred()) SWIG_fail;
25739 }
25740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25741 return resultobj;
25742 fail:
25743 return NULL;
25744 }
25745
25746
25747 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25748 PyObject *resultobj;
25749 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25750 PyObject * obj0 = 0 ;
25751 char *kwnames[] = {
25752 (char *) "self", NULL
25753 };
25754
25755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25757 if (SWIG_arg_fail(1)) SWIG_fail;
25758 {
25759 PyThreadState* __tstate = wxPyBeginAllowThreads();
25760 (arg1)->OnNext();
25761
25762 wxPyEndAllowThreads(__tstate);
25763 if (PyErr_Occurred()) SWIG_fail;
25764 }
25765 Py_INCREF(Py_None); resultobj = Py_None;
25766 return resultobj;
25767 fail:
25768 return NULL;
25769 }
25770
25771
25772 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25773 PyObject *resultobj;
25774 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25775 PyObject * obj0 = 0 ;
25776 char *kwnames[] = {
25777 (char *) "self", NULL
25778 };
25779
25780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25782 if (SWIG_arg_fail(1)) SWIG_fail;
25783 {
25784 PyThreadState* __tstate = wxPyBeginAllowThreads();
25785 (arg1)->OnPrevious();
25786
25787 wxPyEndAllowThreads(__tstate);
25788 if (PyErr_Occurred()) SWIG_fail;
25789 }
25790 Py_INCREF(Py_None); resultobj = Py_None;
25791 return resultobj;
25792 fail:
25793 return NULL;
25794 }
25795
25796
25797 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25798 PyObject *resultobj;
25799 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25800 PyObject * obj0 = 0 ;
25801 char *kwnames[] = {
25802 (char *) "self", NULL
25803 };
25804
25805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25807 if (SWIG_arg_fail(1)) SWIG_fail;
25808 {
25809 PyThreadState* __tstate = wxPyBeginAllowThreads();
25810 (arg1)->OnFirst();
25811
25812 wxPyEndAllowThreads(__tstate);
25813 if (PyErr_Occurred()) SWIG_fail;
25814 }
25815 Py_INCREF(Py_None); resultobj = Py_None;
25816 return resultobj;
25817 fail:
25818 return NULL;
25819 }
25820
25821
25822 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25823 PyObject *resultobj;
25824 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25825 PyObject * obj0 = 0 ;
25826 char *kwnames[] = {
25827 (char *) "self", NULL
25828 };
25829
25830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25832 if (SWIG_arg_fail(1)) SWIG_fail;
25833 {
25834 PyThreadState* __tstate = wxPyBeginAllowThreads();
25835 (arg1)->OnLast();
25836
25837 wxPyEndAllowThreads(__tstate);
25838 if (PyErr_Occurred()) SWIG_fail;
25839 }
25840 Py_INCREF(Py_None); resultobj = Py_None;
25841 return resultobj;
25842 fail:
25843 return NULL;
25844 }
25845
25846
25847 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25848 PyObject *resultobj;
25849 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25850 PyObject * obj0 = 0 ;
25851 char *kwnames[] = {
25852 (char *) "self", NULL
25853 };
25854
25855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25857 if (SWIG_arg_fail(1)) SWIG_fail;
25858 {
25859 PyThreadState* __tstate = wxPyBeginAllowThreads();
25860 (arg1)->OnGoto();
25861
25862 wxPyEndAllowThreads(__tstate);
25863 if (PyErr_Occurred()) SWIG_fail;
25864 }
25865 Py_INCREF(Py_None); resultobj = Py_None;
25866 return resultobj;
25867 fail:
25868 return NULL;
25869 }
25870
25871
25872 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25873 PyObject *obj;
25874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25875 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25876 Py_INCREF(obj);
25877 return Py_BuildValue((char *)"");
25878 }
25879 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25880 PyObject *resultobj;
25881 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25882 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25883 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25884 wxPrintPreview *result;
25885 PyObject * obj0 = 0 ;
25886 PyObject * obj1 = 0 ;
25887 PyObject * obj2 = 0 ;
25888
25889 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25891 if (SWIG_arg_fail(1)) SWIG_fail;
25892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25893 if (SWIG_arg_fail(2)) SWIG_fail;
25894 if (obj2) {
25895 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25896 if (SWIG_arg_fail(3)) SWIG_fail;
25897 }
25898 {
25899 if (!wxPyCheckForApp()) SWIG_fail;
25900 PyThreadState* __tstate = wxPyBeginAllowThreads();
25901 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25907 return resultobj;
25908 fail:
25909 return NULL;
25910 }
25911
25912
25913 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25914 PyObject *resultobj;
25915 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25916 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25917 wxPrintData *arg3 = (wxPrintData *) 0 ;
25918 wxPrintPreview *result;
25919 PyObject * obj0 = 0 ;
25920 PyObject * obj1 = 0 ;
25921 PyObject * obj2 = 0 ;
25922
25923 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25925 if (SWIG_arg_fail(1)) SWIG_fail;
25926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25927 if (SWIG_arg_fail(2)) SWIG_fail;
25928 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25929 if (SWIG_arg_fail(3)) SWIG_fail;
25930 {
25931 if (!wxPyCheckForApp()) SWIG_fail;
25932 PyThreadState* __tstate = wxPyBeginAllowThreads();
25933 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25934
25935 wxPyEndAllowThreads(__tstate);
25936 if (PyErr_Occurred()) SWIG_fail;
25937 }
25938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25939 return resultobj;
25940 fail:
25941 return NULL;
25942 }
25943
25944
25945 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25946 int argc;
25947 PyObject *argv[4];
25948 int ii;
25949
25950 argc = PyObject_Length(args);
25951 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25952 argv[ii] = PyTuple_GetItem(args,ii);
25953 }
25954 if ((argc >= 2) && (argc <= 3)) {
25955 int _v;
25956 {
25957 void *ptr;
25958 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25959 _v = 0;
25960 PyErr_Clear();
25961 } else {
25962 _v = 1;
25963 }
25964 }
25965 if (_v) {
25966 {
25967 void *ptr;
25968 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25969 _v = 0;
25970 PyErr_Clear();
25971 } else {
25972 _v = 1;
25973 }
25974 }
25975 if (_v) {
25976 if (argc <= 2) {
25977 return _wrap_new_PrintPreview__SWIG_0(self,args);
25978 }
25979 {
25980 void *ptr;
25981 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25982 _v = 0;
25983 PyErr_Clear();
25984 } else {
25985 _v = 1;
25986 }
25987 }
25988 if (_v) {
25989 return _wrap_new_PrintPreview__SWIG_0(self,args);
25990 }
25991 }
25992 }
25993 }
25994 if (argc == 3) {
25995 int _v;
25996 {
25997 void *ptr;
25998 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25999 _v = 0;
26000 PyErr_Clear();
26001 } else {
26002 _v = 1;
26003 }
26004 }
26005 if (_v) {
26006 {
26007 void *ptr;
26008 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26009 _v = 0;
26010 PyErr_Clear();
26011 } else {
26012 _v = 1;
26013 }
26014 }
26015 if (_v) {
26016 {
26017 void *ptr;
26018 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26019 _v = 0;
26020 PyErr_Clear();
26021 } else {
26022 _v = 1;
26023 }
26024 }
26025 if (_v) {
26026 return _wrap_new_PrintPreview__SWIG_1(self,args);
26027 }
26028 }
26029 }
26030 }
26031
26032 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
26033 return NULL;
26034 }
26035
26036
26037 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26038 PyObject *resultobj;
26039 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26040 int arg2 ;
26041 bool result;
26042 PyObject * obj0 = 0 ;
26043 PyObject * obj1 = 0 ;
26044 char *kwnames[] = {
26045 (char *) "self",(char *) "pageNum", NULL
26046 };
26047
26048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26050 if (SWIG_arg_fail(1)) SWIG_fail;
26051 {
26052 arg2 = (int)(SWIG_As_int(obj1));
26053 if (SWIG_arg_fail(2)) SWIG_fail;
26054 }
26055 {
26056 PyThreadState* __tstate = wxPyBeginAllowThreads();
26057 result = (bool)(arg1)->SetCurrentPage(arg2);
26058
26059 wxPyEndAllowThreads(__tstate);
26060 if (PyErr_Occurred()) SWIG_fail;
26061 }
26062 {
26063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26064 }
26065 return resultobj;
26066 fail:
26067 return NULL;
26068 }
26069
26070
26071 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26072 PyObject *resultobj;
26073 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26074 int result;
26075 PyObject * obj0 = 0 ;
26076 char *kwnames[] = {
26077 (char *) "self", NULL
26078 };
26079
26080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
26081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26082 if (SWIG_arg_fail(1)) SWIG_fail;
26083 {
26084 PyThreadState* __tstate = wxPyBeginAllowThreads();
26085 result = (int)(arg1)->GetCurrentPage();
26086
26087 wxPyEndAllowThreads(__tstate);
26088 if (PyErr_Occurred()) SWIG_fail;
26089 }
26090 {
26091 resultobj = SWIG_From_int((int)(result));
26092 }
26093 return resultobj;
26094 fail:
26095 return NULL;
26096 }
26097
26098
26099 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26100 PyObject *resultobj;
26101 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26102 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26103 PyObject * obj0 = 0 ;
26104 PyObject * obj1 = 0 ;
26105 char *kwnames[] = {
26106 (char *) "self",(char *) "printout", NULL
26107 };
26108
26109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
26110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26111 if (SWIG_arg_fail(1)) SWIG_fail;
26112 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26113 if (SWIG_arg_fail(2)) SWIG_fail;
26114 {
26115 PyThreadState* __tstate = wxPyBeginAllowThreads();
26116 (arg1)->SetPrintout(arg2);
26117
26118 wxPyEndAllowThreads(__tstate);
26119 if (PyErr_Occurred()) SWIG_fail;
26120 }
26121 Py_INCREF(Py_None); resultobj = Py_None;
26122 return resultobj;
26123 fail:
26124 return NULL;
26125 }
26126
26127
26128 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26129 PyObject *resultobj;
26130 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26131 wxPyPrintout *result;
26132 PyObject * obj0 = 0 ;
26133 char *kwnames[] = {
26134 (char *) "self", NULL
26135 };
26136
26137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
26138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26139 if (SWIG_arg_fail(1)) SWIG_fail;
26140 {
26141 PyThreadState* __tstate = wxPyBeginAllowThreads();
26142 result = (wxPyPrintout *)(arg1)->GetPrintout();
26143
26144 wxPyEndAllowThreads(__tstate);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 }
26147 {
26148 resultobj = wxPyMake_wxObject(result, 0);
26149 }
26150 return resultobj;
26151 fail:
26152 return NULL;
26153 }
26154
26155
26156 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
26157 PyObject *resultobj;
26158 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26159 wxPyPrintout *result;
26160 PyObject * obj0 = 0 ;
26161 char *kwnames[] = {
26162 (char *) "self", NULL
26163 };
26164
26165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
26166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail;
26168 {
26169 PyThreadState* __tstate = wxPyBeginAllowThreads();
26170 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26171
26172 wxPyEndAllowThreads(__tstate);
26173 if (PyErr_Occurred()) SWIG_fail;
26174 }
26175 {
26176 resultobj = wxPyMake_wxObject(result, 0);
26177 }
26178 return resultobj;
26179 fail:
26180 return NULL;
26181 }
26182
26183
26184 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26185 PyObject *resultobj;
26186 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26187 wxFrame *arg2 = (wxFrame *) 0 ;
26188 PyObject * obj0 = 0 ;
26189 PyObject * obj1 = 0 ;
26190 char *kwnames[] = {
26191 (char *) "self",(char *) "frame", NULL
26192 };
26193
26194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
26195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26196 if (SWIG_arg_fail(1)) SWIG_fail;
26197 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26198 if (SWIG_arg_fail(2)) SWIG_fail;
26199 {
26200 PyThreadState* __tstate = wxPyBeginAllowThreads();
26201 (arg1)->SetFrame(arg2);
26202
26203 wxPyEndAllowThreads(__tstate);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 }
26206 Py_INCREF(Py_None); resultobj = Py_None;
26207 return resultobj;
26208 fail:
26209 return NULL;
26210 }
26211
26212
26213 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26214 PyObject *resultobj;
26215 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26216 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26217 PyObject * obj0 = 0 ;
26218 PyObject * obj1 = 0 ;
26219 char *kwnames[] = {
26220 (char *) "self",(char *) "canvas", NULL
26221 };
26222
26223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26225 if (SWIG_arg_fail(1)) SWIG_fail;
26226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26227 if (SWIG_arg_fail(2)) SWIG_fail;
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 (arg1)->SetCanvas(arg2);
26231
26232 wxPyEndAllowThreads(__tstate);
26233 if (PyErr_Occurred()) SWIG_fail;
26234 }
26235 Py_INCREF(Py_None); resultobj = Py_None;
26236 return resultobj;
26237 fail:
26238 return NULL;
26239 }
26240
26241
26242 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26243 PyObject *resultobj;
26244 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26245 wxFrame *result;
26246 PyObject * obj0 = 0 ;
26247 char *kwnames[] = {
26248 (char *) "self", NULL
26249 };
26250
26251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26253 if (SWIG_arg_fail(1)) SWIG_fail;
26254 {
26255 PyThreadState* __tstate = wxPyBeginAllowThreads();
26256 result = (wxFrame *)(arg1)->GetFrame();
26257
26258 wxPyEndAllowThreads(__tstate);
26259 if (PyErr_Occurred()) SWIG_fail;
26260 }
26261 {
26262 resultobj = wxPyMake_wxObject(result, 0);
26263 }
26264 return resultobj;
26265 fail:
26266 return NULL;
26267 }
26268
26269
26270 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26271 PyObject *resultobj;
26272 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26273 wxPreviewCanvas *result;
26274 PyObject * obj0 = 0 ;
26275 char *kwnames[] = {
26276 (char *) "self", NULL
26277 };
26278
26279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26281 if (SWIG_arg_fail(1)) SWIG_fail;
26282 {
26283 PyThreadState* __tstate = wxPyBeginAllowThreads();
26284 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26285
26286 wxPyEndAllowThreads(__tstate);
26287 if (PyErr_Occurred()) SWIG_fail;
26288 }
26289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26290 return resultobj;
26291 fail:
26292 return NULL;
26293 }
26294
26295
26296 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26297 PyObject *resultobj;
26298 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26299 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26300 wxDC *arg3 = 0 ;
26301 bool result;
26302 PyObject * obj0 = 0 ;
26303 PyObject * obj1 = 0 ;
26304 PyObject * obj2 = 0 ;
26305 char *kwnames[] = {
26306 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26307 };
26308
26309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26311 if (SWIG_arg_fail(1)) SWIG_fail;
26312 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26313 if (SWIG_arg_fail(2)) SWIG_fail;
26314 {
26315 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26316 if (SWIG_arg_fail(3)) SWIG_fail;
26317 if (arg3 == NULL) {
26318 SWIG_null_ref("wxDC");
26319 }
26320 if (SWIG_arg_fail(3)) SWIG_fail;
26321 }
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26325
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
26329 {
26330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26331 }
26332 return resultobj;
26333 fail:
26334 return NULL;
26335 }
26336
26337
26338 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26339 PyObject *resultobj;
26340 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26341 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26342 wxDC *arg3 = 0 ;
26343 bool result;
26344 PyObject * obj0 = 0 ;
26345 PyObject * obj1 = 0 ;
26346 PyObject * obj2 = 0 ;
26347 char *kwnames[] = {
26348 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26349 };
26350
26351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26353 if (SWIG_arg_fail(1)) SWIG_fail;
26354 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26355 if (SWIG_arg_fail(2)) SWIG_fail;
26356 {
26357 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26358 if (SWIG_arg_fail(3)) SWIG_fail;
26359 if (arg3 == NULL) {
26360 SWIG_null_ref("wxDC");
26361 }
26362 if (SWIG_arg_fail(3)) SWIG_fail;
26363 }
26364 {
26365 PyThreadState* __tstate = wxPyBeginAllowThreads();
26366 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26367
26368 wxPyEndAllowThreads(__tstate);
26369 if (PyErr_Occurred()) SWIG_fail;
26370 }
26371 {
26372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26373 }
26374 return resultobj;
26375 fail:
26376 return NULL;
26377 }
26378
26379
26380 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26381 PyObject *resultobj;
26382 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26383 int arg2 ;
26384 bool result;
26385 PyObject * obj0 = 0 ;
26386 PyObject * obj1 = 0 ;
26387 char *kwnames[] = {
26388 (char *) "self",(char *) "pageNum", NULL
26389 };
26390
26391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26393 if (SWIG_arg_fail(1)) SWIG_fail;
26394 {
26395 arg2 = (int)(SWIG_As_int(obj1));
26396 if (SWIG_arg_fail(2)) SWIG_fail;
26397 }
26398 {
26399 PyThreadState* __tstate = wxPyBeginAllowThreads();
26400 result = (bool)(arg1)->RenderPage(arg2);
26401
26402 wxPyEndAllowThreads(__tstate);
26403 if (PyErr_Occurred()) SWIG_fail;
26404 }
26405 {
26406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26407 }
26408 return resultobj;
26409 fail:
26410 return NULL;
26411 }
26412
26413
26414 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26415 PyObject *resultobj;
26416 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26417 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26418 PyObject * obj0 = 0 ;
26419 PyObject * obj1 = 0 ;
26420 char *kwnames[] = {
26421 (char *) "self",(char *) "canvas", NULL
26422 };
26423
26424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail;
26427 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26428 if (SWIG_arg_fail(2)) SWIG_fail;
26429 {
26430 PyThreadState* __tstate = wxPyBeginAllowThreads();
26431 (arg1)->AdjustScrollbars(arg2);
26432
26433 wxPyEndAllowThreads(__tstate);
26434 if (PyErr_Occurred()) SWIG_fail;
26435 }
26436 Py_INCREF(Py_None); resultobj = Py_None;
26437 return resultobj;
26438 fail:
26439 return NULL;
26440 }
26441
26442
26443 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26444 PyObject *resultobj;
26445 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26446 wxPrintDialogData *result;
26447 PyObject * obj0 = 0 ;
26448 char *kwnames[] = {
26449 (char *) "self", NULL
26450 };
26451
26452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26454 if (SWIG_arg_fail(1)) SWIG_fail;
26455 {
26456 PyThreadState* __tstate = wxPyBeginAllowThreads();
26457 {
26458 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26459 result = (wxPrintDialogData *) &_result_ref;
26460 }
26461
26462 wxPyEndAllowThreads(__tstate);
26463 if (PyErr_Occurred()) SWIG_fail;
26464 }
26465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26466 return resultobj;
26467 fail:
26468 return NULL;
26469 }
26470
26471
26472 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26473 PyObject *resultobj;
26474 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26475 int arg2 ;
26476 PyObject * obj0 = 0 ;
26477 PyObject * obj1 = 0 ;
26478 char *kwnames[] = {
26479 (char *) "self",(char *) "percent", NULL
26480 };
26481
26482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26484 if (SWIG_arg_fail(1)) SWIG_fail;
26485 {
26486 arg2 = (int)(SWIG_As_int(obj1));
26487 if (SWIG_arg_fail(2)) SWIG_fail;
26488 }
26489 {
26490 PyThreadState* __tstate = wxPyBeginAllowThreads();
26491 (arg1)->SetZoom(arg2);
26492
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 Py_INCREF(Py_None); resultobj = Py_None;
26497 return resultobj;
26498 fail:
26499 return NULL;
26500 }
26501
26502
26503 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26504 PyObject *resultobj;
26505 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26506 int result;
26507 PyObject * obj0 = 0 ;
26508 char *kwnames[] = {
26509 (char *) "self", NULL
26510 };
26511
26512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26514 if (SWIG_arg_fail(1)) SWIG_fail;
26515 {
26516 PyThreadState* __tstate = wxPyBeginAllowThreads();
26517 result = (int)(arg1)->GetZoom();
26518
26519 wxPyEndAllowThreads(__tstate);
26520 if (PyErr_Occurred()) SWIG_fail;
26521 }
26522 {
26523 resultobj = SWIG_From_int((int)(result));
26524 }
26525 return resultobj;
26526 fail:
26527 return NULL;
26528 }
26529
26530
26531 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26532 PyObject *resultobj;
26533 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26534 int result;
26535 PyObject * obj0 = 0 ;
26536 char *kwnames[] = {
26537 (char *) "self", NULL
26538 };
26539
26540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26542 if (SWIG_arg_fail(1)) SWIG_fail;
26543 {
26544 PyThreadState* __tstate = wxPyBeginAllowThreads();
26545 result = (int)(arg1)->GetMaxPage();
26546
26547 wxPyEndAllowThreads(__tstate);
26548 if (PyErr_Occurred()) SWIG_fail;
26549 }
26550 {
26551 resultobj = SWIG_From_int((int)(result));
26552 }
26553 return resultobj;
26554 fail:
26555 return NULL;
26556 }
26557
26558
26559 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26560 PyObject *resultobj;
26561 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26562 int result;
26563 PyObject * obj0 = 0 ;
26564 char *kwnames[] = {
26565 (char *) "self", NULL
26566 };
26567
26568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26570 if (SWIG_arg_fail(1)) SWIG_fail;
26571 {
26572 PyThreadState* __tstate = wxPyBeginAllowThreads();
26573 result = (int)(arg1)->GetMinPage();
26574
26575 wxPyEndAllowThreads(__tstate);
26576 if (PyErr_Occurred()) SWIG_fail;
26577 }
26578 {
26579 resultobj = SWIG_From_int((int)(result));
26580 }
26581 return resultobj;
26582 fail:
26583 return NULL;
26584 }
26585
26586
26587 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26588 PyObject *resultobj;
26589 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26590 bool result;
26591 PyObject * obj0 = 0 ;
26592 char *kwnames[] = {
26593 (char *) "self", NULL
26594 };
26595
26596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26598 if (SWIG_arg_fail(1)) SWIG_fail;
26599 {
26600 PyThreadState* __tstate = wxPyBeginAllowThreads();
26601 result = (bool)(arg1)->Ok();
26602
26603 wxPyEndAllowThreads(__tstate);
26604 if (PyErr_Occurred()) SWIG_fail;
26605 }
26606 {
26607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26608 }
26609 return resultobj;
26610 fail:
26611 return NULL;
26612 }
26613
26614
26615 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26616 PyObject *resultobj;
26617 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26618 bool arg2 ;
26619 PyObject * obj0 = 0 ;
26620 PyObject * obj1 = 0 ;
26621 char *kwnames[] = {
26622 (char *) "self",(char *) "ok", NULL
26623 };
26624
26625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26627 if (SWIG_arg_fail(1)) SWIG_fail;
26628 {
26629 arg2 = (bool)(SWIG_As_bool(obj1));
26630 if (SWIG_arg_fail(2)) SWIG_fail;
26631 }
26632 {
26633 PyThreadState* __tstate = wxPyBeginAllowThreads();
26634 (arg1)->SetOk(arg2);
26635
26636 wxPyEndAllowThreads(__tstate);
26637 if (PyErr_Occurred()) SWIG_fail;
26638 }
26639 Py_INCREF(Py_None); resultobj = Py_None;
26640 return resultobj;
26641 fail:
26642 return NULL;
26643 }
26644
26645
26646 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26647 PyObject *resultobj;
26648 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26649 bool arg2 ;
26650 bool result;
26651 PyObject * obj0 = 0 ;
26652 PyObject * obj1 = 0 ;
26653 char *kwnames[] = {
26654 (char *) "self",(char *) "interactive", NULL
26655 };
26656
26657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26659 if (SWIG_arg_fail(1)) SWIG_fail;
26660 {
26661 arg2 = (bool)(SWIG_As_bool(obj1));
26662 if (SWIG_arg_fail(2)) SWIG_fail;
26663 }
26664 {
26665 PyThreadState* __tstate = wxPyBeginAllowThreads();
26666 result = (bool)(arg1)->Print(arg2);
26667
26668 wxPyEndAllowThreads(__tstate);
26669 if (PyErr_Occurred()) SWIG_fail;
26670 }
26671 {
26672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26673 }
26674 return resultobj;
26675 fail:
26676 return NULL;
26677 }
26678
26679
26680 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26681 PyObject *resultobj;
26682 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26683 PyObject * obj0 = 0 ;
26684 char *kwnames[] = {
26685 (char *) "self", NULL
26686 };
26687
26688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26690 if (SWIG_arg_fail(1)) SWIG_fail;
26691 {
26692 PyThreadState* __tstate = wxPyBeginAllowThreads();
26693 (arg1)->DetermineScaling();
26694
26695 wxPyEndAllowThreads(__tstate);
26696 if (PyErr_Occurred()) SWIG_fail;
26697 }
26698 Py_INCREF(Py_None); resultobj = Py_None;
26699 return resultobj;
26700 fail:
26701 return NULL;
26702 }
26703
26704
26705 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26706 PyObject *obj;
26707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26708 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26709 Py_INCREF(obj);
26710 return Py_BuildValue((char *)"");
26711 }
26712 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26713 PyObject *resultobj;
26714 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26715 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26716 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26717 wxPyPrintPreview *result;
26718 PyObject * obj0 = 0 ;
26719 PyObject * obj1 = 0 ;
26720 PyObject * obj2 = 0 ;
26721
26722 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26724 if (SWIG_arg_fail(1)) SWIG_fail;
26725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26726 if (SWIG_arg_fail(2)) SWIG_fail;
26727 if (obj2) {
26728 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26729 if (SWIG_arg_fail(3)) SWIG_fail;
26730 }
26731 {
26732 if (!wxPyCheckForApp()) SWIG_fail;
26733 PyThreadState* __tstate = wxPyBeginAllowThreads();
26734 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26735
26736 wxPyEndAllowThreads(__tstate);
26737 if (PyErr_Occurred()) SWIG_fail;
26738 }
26739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26740 return resultobj;
26741 fail:
26742 return NULL;
26743 }
26744
26745
26746 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26747 PyObject *resultobj;
26748 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26749 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26750 wxPrintData *arg3 = (wxPrintData *) 0 ;
26751 wxPyPrintPreview *result;
26752 PyObject * obj0 = 0 ;
26753 PyObject * obj1 = 0 ;
26754 PyObject * obj2 = 0 ;
26755
26756 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26758 if (SWIG_arg_fail(1)) SWIG_fail;
26759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26760 if (SWIG_arg_fail(2)) SWIG_fail;
26761 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26762 if (SWIG_arg_fail(3)) SWIG_fail;
26763 {
26764 if (!wxPyCheckForApp()) SWIG_fail;
26765 PyThreadState* __tstate = wxPyBeginAllowThreads();
26766 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26767
26768 wxPyEndAllowThreads(__tstate);
26769 if (PyErr_Occurred()) SWIG_fail;
26770 }
26771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26772 return resultobj;
26773 fail:
26774 return NULL;
26775 }
26776
26777
26778 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26779 int argc;
26780 PyObject *argv[4];
26781 int ii;
26782
26783 argc = PyObject_Length(args);
26784 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26785 argv[ii] = PyTuple_GetItem(args,ii);
26786 }
26787 if ((argc >= 2) && (argc <= 3)) {
26788 int _v;
26789 {
26790 void *ptr;
26791 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26792 _v = 0;
26793 PyErr_Clear();
26794 } else {
26795 _v = 1;
26796 }
26797 }
26798 if (_v) {
26799 {
26800 void *ptr;
26801 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26802 _v = 0;
26803 PyErr_Clear();
26804 } else {
26805 _v = 1;
26806 }
26807 }
26808 if (_v) {
26809 if (argc <= 2) {
26810 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26811 }
26812 {
26813 void *ptr;
26814 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26815 _v = 0;
26816 PyErr_Clear();
26817 } else {
26818 _v = 1;
26819 }
26820 }
26821 if (_v) {
26822 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26823 }
26824 }
26825 }
26826 }
26827 if (argc == 3) {
26828 int _v;
26829 {
26830 void *ptr;
26831 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26832 _v = 0;
26833 PyErr_Clear();
26834 } else {
26835 _v = 1;
26836 }
26837 }
26838 if (_v) {
26839 {
26840 void *ptr;
26841 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26842 _v = 0;
26843 PyErr_Clear();
26844 } else {
26845 _v = 1;
26846 }
26847 }
26848 if (_v) {
26849 {
26850 void *ptr;
26851 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26852 _v = 0;
26853 PyErr_Clear();
26854 } else {
26855 _v = 1;
26856 }
26857 }
26858 if (_v) {
26859 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26860 }
26861 }
26862 }
26863 }
26864
26865 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26866 return NULL;
26867 }
26868
26869
26870 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26871 PyObject *resultobj;
26872 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26873 PyObject *arg2 = (PyObject *) 0 ;
26874 PyObject *arg3 = (PyObject *) 0 ;
26875 PyObject * obj0 = 0 ;
26876 PyObject * obj1 = 0 ;
26877 PyObject * obj2 = 0 ;
26878 char *kwnames[] = {
26879 (char *) "self",(char *) "self",(char *) "_class", NULL
26880 };
26881
26882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26884 if (SWIG_arg_fail(1)) SWIG_fail;
26885 arg2 = obj1;
26886 arg3 = obj2;
26887 {
26888 PyThreadState* __tstate = wxPyBeginAllowThreads();
26889 (arg1)->_setCallbackInfo(arg2,arg3);
26890
26891 wxPyEndAllowThreads(__tstate);
26892 if (PyErr_Occurred()) SWIG_fail;
26893 }
26894 Py_INCREF(Py_None); resultobj = Py_None;
26895 return resultobj;
26896 fail:
26897 return NULL;
26898 }
26899
26900
26901 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26902 PyObject *resultobj;
26903 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26904 int arg2 ;
26905 bool result;
26906 PyObject * obj0 = 0 ;
26907 PyObject * obj1 = 0 ;
26908 char *kwnames[] = {
26909 (char *) "self",(char *) "pageNum", NULL
26910 };
26911
26912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail;
26915 {
26916 arg2 = (int)(SWIG_As_int(obj1));
26917 if (SWIG_arg_fail(2)) SWIG_fail;
26918 }
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 {
26927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26928 }
26929 return resultobj;
26930 fail:
26931 return NULL;
26932 }
26933
26934
26935 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26936 PyObject *resultobj;
26937 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26938 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26939 wxDC *arg3 = 0 ;
26940 bool result;
26941 PyObject * obj0 = 0 ;
26942 PyObject * obj1 = 0 ;
26943 PyObject * obj2 = 0 ;
26944 char *kwnames[] = {
26945 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26946 };
26947
26948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26950 if (SWIG_arg_fail(1)) SWIG_fail;
26951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26952 if (SWIG_arg_fail(2)) SWIG_fail;
26953 {
26954 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26955 if (SWIG_arg_fail(3)) SWIG_fail;
26956 if (arg3 == NULL) {
26957 SWIG_null_ref("wxDC");
26958 }
26959 if (SWIG_arg_fail(3)) SWIG_fail;
26960 }
26961 {
26962 PyThreadState* __tstate = wxPyBeginAllowThreads();
26963 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26964
26965 wxPyEndAllowThreads(__tstate);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 {
26969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26970 }
26971 return resultobj;
26972 fail:
26973 return NULL;
26974 }
26975
26976
26977 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26978 PyObject *resultobj;
26979 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26980 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26981 wxDC *arg3 = 0 ;
26982 bool result;
26983 PyObject * obj0 = 0 ;
26984 PyObject * obj1 = 0 ;
26985 PyObject * obj2 = 0 ;
26986 char *kwnames[] = {
26987 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26988 };
26989
26990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26992 if (SWIG_arg_fail(1)) SWIG_fail;
26993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26994 if (SWIG_arg_fail(2)) SWIG_fail;
26995 {
26996 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26997 if (SWIG_arg_fail(3)) SWIG_fail;
26998 if (arg3 == NULL) {
26999 SWIG_null_ref("wxDC");
27000 }
27001 if (SWIG_arg_fail(3)) SWIG_fail;
27002 }
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
27006
27007 wxPyEndAllowThreads(__tstate);
27008 if (PyErr_Occurred()) SWIG_fail;
27009 }
27010 {
27011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27012 }
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
27020 PyObject *resultobj;
27021 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27022 int arg2 ;
27023 bool result;
27024 PyObject * obj0 = 0 ;
27025 PyObject * obj1 = 0 ;
27026 char *kwnames[] = {
27027 (char *) "self",(char *) "pageNum", NULL
27028 };
27029
27030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
27031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27032 if (SWIG_arg_fail(1)) SWIG_fail;
27033 {
27034 arg2 = (int)(SWIG_As_int(obj1));
27035 if (SWIG_arg_fail(2)) SWIG_fail;
27036 }
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (bool)(arg1)->base_RenderPage(arg2);
27040
27041 wxPyEndAllowThreads(__tstate);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 }
27044 {
27045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27046 }
27047 return resultobj;
27048 fail:
27049 return NULL;
27050 }
27051
27052
27053 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
27054 PyObject *resultobj;
27055 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27056 int arg2 ;
27057 PyObject * obj0 = 0 ;
27058 PyObject * obj1 = 0 ;
27059 char *kwnames[] = {
27060 (char *) "self",(char *) "percent", NULL
27061 };
27062
27063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
27064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27065 if (SWIG_arg_fail(1)) SWIG_fail;
27066 {
27067 arg2 = (int)(SWIG_As_int(obj1));
27068 if (SWIG_arg_fail(2)) SWIG_fail;
27069 }
27070 {
27071 PyThreadState* __tstate = wxPyBeginAllowThreads();
27072 (arg1)->base_SetZoom(arg2);
27073
27074 wxPyEndAllowThreads(__tstate);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 }
27077 Py_INCREF(Py_None); resultobj = Py_None;
27078 return resultobj;
27079 fail:
27080 return NULL;
27081 }
27082
27083
27084 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
27085 PyObject *resultobj;
27086 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27087 bool arg2 ;
27088 bool result;
27089 PyObject * obj0 = 0 ;
27090 PyObject * obj1 = 0 ;
27091 char *kwnames[] = {
27092 (char *) "self",(char *) "interactive", NULL
27093 };
27094
27095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
27096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27097 if (SWIG_arg_fail(1)) SWIG_fail;
27098 {
27099 arg2 = (bool)(SWIG_As_bool(obj1));
27100 if (SWIG_arg_fail(2)) SWIG_fail;
27101 }
27102 {
27103 PyThreadState* __tstate = wxPyBeginAllowThreads();
27104 result = (bool)(arg1)->base_Print(arg2);
27105
27106 wxPyEndAllowThreads(__tstate);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 }
27109 {
27110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27111 }
27112 return resultobj;
27113 fail:
27114 return NULL;
27115 }
27116
27117
27118 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
27119 PyObject *resultobj;
27120 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27121 PyObject * obj0 = 0 ;
27122 char *kwnames[] = {
27123 (char *) "self", NULL
27124 };
27125
27126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
27127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27128 if (SWIG_arg_fail(1)) SWIG_fail;
27129 {
27130 PyThreadState* __tstate = wxPyBeginAllowThreads();
27131 (arg1)->base_DetermineScaling();
27132
27133 wxPyEndAllowThreads(__tstate);
27134 if (PyErr_Occurred()) SWIG_fail;
27135 }
27136 Py_INCREF(Py_None); resultobj = Py_None;
27137 return resultobj;
27138 fail:
27139 return NULL;
27140 }
27141
27142
27143 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
27144 PyObject *obj;
27145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27146 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27147 Py_INCREF(obj);
27148 return Py_BuildValue((char *)"");
27149 }
27150 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
27151 PyObject *resultobj;
27152 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27153 wxFrame *arg2 = (wxFrame *) 0 ;
27154 wxString *arg3 = 0 ;
27155 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27156 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27157 wxSize const &arg5_defvalue = wxDefaultSize ;
27158 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27159 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27160 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27161 wxString *arg7 = (wxString *) &arg7_defvalue ;
27162 wxPyPreviewFrame *result;
27163 bool temp3 = false ;
27164 wxPoint temp4 ;
27165 wxSize temp5 ;
27166 bool temp7 = false ;
27167 PyObject * obj0 = 0 ;
27168 PyObject * obj1 = 0 ;
27169 PyObject * obj2 = 0 ;
27170 PyObject * obj3 = 0 ;
27171 PyObject * obj4 = 0 ;
27172 PyObject * obj5 = 0 ;
27173 PyObject * obj6 = 0 ;
27174 char *kwnames[] = {
27175 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27176 };
27177
27178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27180 if (SWIG_arg_fail(1)) SWIG_fail;
27181 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27182 if (SWIG_arg_fail(2)) SWIG_fail;
27183 {
27184 arg3 = wxString_in_helper(obj2);
27185 if (arg3 == NULL) SWIG_fail;
27186 temp3 = true;
27187 }
27188 if (obj3) {
27189 {
27190 arg4 = &temp4;
27191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27192 }
27193 }
27194 if (obj4) {
27195 {
27196 arg5 = &temp5;
27197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27198 }
27199 }
27200 if (obj5) {
27201 {
27202 arg6 = (long)(SWIG_As_long(obj5));
27203 if (SWIG_arg_fail(6)) SWIG_fail;
27204 }
27205 }
27206 if (obj6) {
27207 {
27208 arg7 = wxString_in_helper(obj6);
27209 if (arg7 == NULL) SWIG_fail;
27210 temp7 = true;
27211 }
27212 }
27213 {
27214 if (!wxPyCheckForApp()) SWIG_fail;
27215 PyThreadState* __tstate = wxPyBeginAllowThreads();
27216 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27217
27218 wxPyEndAllowThreads(__tstate);
27219 if (PyErr_Occurred()) SWIG_fail;
27220 }
27221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27222 {
27223 if (temp3)
27224 delete arg3;
27225 }
27226 {
27227 if (temp7)
27228 delete arg7;
27229 }
27230 return resultobj;
27231 fail:
27232 {
27233 if (temp3)
27234 delete arg3;
27235 }
27236 {
27237 if (temp7)
27238 delete arg7;
27239 }
27240 return NULL;
27241 }
27242
27243
27244 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27245 PyObject *resultobj;
27246 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27247 PyObject *arg2 = (PyObject *) 0 ;
27248 PyObject *arg3 = (PyObject *) 0 ;
27249 PyObject * obj0 = 0 ;
27250 PyObject * obj1 = 0 ;
27251 PyObject * obj2 = 0 ;
27252 char *kwnames[] = {
27253 (char *) "self",(char *) "self",(char *) "_class", NULL
27254 };
27255
27256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27258 if (SWIG_arg_fail(1)) SWIG_fail;
27259 arg2 = obj1;
27260 arg3 = obj2;
27261 {
27262 PyThreadState* __tstate = wxPyBeginAllowThreads();
27263 (arg1)->_setCallbackInfo(arg2,arg3);
27264
27265 wxPyEndAllowThreads(__tstate);
27266 if (PyErr_Occurred()) SWIG_fail;
27267 }
27268 Py_INCREF(Py_None); resultobj = Py_None;
27269 return resultobj;
27270 fail:
27271 return NULL;
27272 }
27273
27274
27275 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27276 PyObject *resultobj;
27277 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27278 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27279 PyObject * obj0 = 0 ;
27280 PyObject * obj1 = 0 ;
27281 char *kwnames[] = {
27282 (char *) "self",(char *) "canvas", NULL
27283 };
27284
27285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27287 if (SWIG_arg_fail(1)) SWIG_fail;
27288 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27289 if (SWIG_arg_fail(2)) SWIG_fail;
27290 {
27291 PyThreadState* __tstate = wxPyBeginAllowThreads();
27292 (arg1)->SetPreviewCanvas(arg2);
27293
27294 wxPyEndAllowThreads(__tstate);
27295 if (PyErr_Occurred()) SWIG_fail;
27296 }
27297 Py_INCREF(Py_None); resultobj = Py_None;
27298 return resultobj;
27299 fail:
27300 return NULL;
27301 }
27302
27303
27304 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27305 PyObject *resultobj;
27306 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27307 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27308 PyObject * obj0 = 0 ;
27309 PyObject * obj1 = 0 ;
27310 char *kwnames[] = {
27311 (char *) "self",(char *) "bar", NULL
27312 };
27313
27314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27316 if (SWIG_arg_fail(1)) SWIG_fail;
27317 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27318 if (SWIG_arg_fail(2)) SWIG_fail;
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 (arg1)->SetControlBar(arg2);
27322
27323 wxPyEndAllowThreads(__tstate);
27324 if (PyErr_Occurred()) SWIG_fail;
27325 }
27326 Py_INCREF(Py_None); resultobj = Py_None;
27327 return resultobj;
27328 fail:
27329 return NULL;
27330 }
27331
27332
27333 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27334 PyObject *resultobj;
27335 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27336 PyObject * obj0 = 0 ;
27337 char *kwnames[] = {
27338 (char *) "self", NULL
27339 };
27340
27341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27343 if (SWIG_arg_fail(1)) SWIG_fail;
27344 {
27345 PyThreadState* __tstate = wxPyBeginAllowThreads();
27346 (arg1)->base_Initialize();
27347
27348 wxPyEndAllowThreads(__tstate);
27349 if (PyErr_Occurred()) SWIG_fail;
27350 }
27351 Py_INCREF(Py_None); resultobj = Py_None;
27352 return resultobj;
27353 fail:
27354 return NULL;
27355 }
27356
27357
27358 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27359 PyObject *resultobj;
27360 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27361 PyObject * obj0 = 0 ;
27362 char *kwnames[] = {
27363 (char *) "self", NULL
27364 };
27365
27366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27368 if (SWIG_arg_fail(1)) SWIG_fail;
27369 {
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 (arg1)->base_CreateCanvas();
27372
27373 wxPyEndAllowThreads(__tstate);
27374 if (PyErr_Occurred()) SWIG_fail;
27375 }
27376 Py_INCREF(Py_None); resultobj = Py_None;
27377 return resultobj;
27378 fail:
27379 return NULL;
27380 }
27381
27382
27383 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27384 PyObject *resultobj;
27385 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27386 PyObject * obj0 = 0 ;
27387 char *kwnames[] = {
27388 (char *) "self", NULL
27389 };
27390
27391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail;
27394 {
27395 PyThreadState* __tstate = wxPyBeginAllowThreads();
27396 (arg1)->base_CreateControlBar();
27397
27398 wxPyEndAllowThreads(__tstate);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 }
27401 Py_INCREF(Py_None); resultobj = Py_None;
27402 return resultobj;
27403 fail:
27404 return NULL;
27405 }
27406
27407
27408 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27409 PyObject *obj;
27410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27411 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27412 Py_INCREF(obj);
27413 return Py_BuildValue((char *)"");
27414 }
27415 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27416 PyObject *resultobj;
27417 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27418 long arg2 ;
27419 wxWindow *arg3 = (wxWindow *) 0 ;
27420 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27421 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27422 wxSize const &arg5_defvalue = wxDefaultSize ;
27423 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27424 long arg6 = (long) 0 ;
27425 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27426 wxString *arg7 = (wxString *) &arg7_defvalue ;
27427 wxPyPreviewControlBar *result;
27428 wxPoint temp4 ;
27429 wxSize temp5 ;
27430 bool temp7 = false ;
27431 PyObject * obj0 = 0 ;
27432 PyObject * obj1 = 0 ;
27433 PyObject * obj2 = 0 ;
27434 PyObject * obj3 = 0 ;
27435 PyObject * obj4 = 0 ;
27436 PyObject * obj5 = 0 ;
27437 PyObject * obj6 = 0 ;
27438 char *kwnames[] = {
27439 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27440 };
27441
27442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27444 if (SWIG_arg_fail(1)) SWIG_fail;
27445 {
27446 arg2 = (long)(SWIG_As_long(obj1));
27447 if (SWIG_arg_fail(2)) SWIG_fail;
27448 }
27449 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27450 if (SWIG_arg_fail(3)) SWIG_fail;
27451 if (obj3) {
27452 {
27453 arg4 = &temp4;
27454 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27455 }
27456 }
27457 if (obj4) {
27458 {
27459 arg5 = &temp5;
27460 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27461 }
27462 }
27463 if (obj5) {
27464 {
27465 arg6 = (long)(SWIG_As_long(obj5));
27466 if (SWIG_arg_fail(6)) SWIG_fail;
27467 }
27468 }
27469 if (obj6) {
27470 {
27471 arg7 = wxString_in_helper(obj6);
27472 if (arg7 == NULL) SWIG_fail;
27473 temp7 = true;
27474 }
27475 }
27476 {
27477 if (!wxPyCheckForApp()) SWIG_fail;
27478 PyThreadState* __tstate = wxPyBeginAllowThreads();
27479 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27480
27481 wxPyEndAllowThreads(__tstate);
27482 if (PyErr_Occurred()) SWIG_fail;
27483 }
27484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27485 {
27486 if (temp7)
27487 delete arg7;
27488 }
27489 return resultobj;
27490 fail:
27491 {
27492 if (temp7)
27493 delete arg7;
27494 }
27495 return NULL;
27496 }
27497
27498
27499 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27500 PyObject *resultobj;
27501 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27502 PyObject *arg2 = (PyObject *) 0 ;
27503 PyObject *arg3 = (PyObject *) 0 ;
27504 PyObject * obj0 = 0 ;
27505 PyObject * obj1 = 0 ;
27506 PyObject * obj2 = 0 ;
27507 char *kwnames[] = {
27508 (char *) "self",(char *) "self",(char *) "_class", NULL
27509 };
27510
27511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail;
27514 arg2 = obj1;
27515 arg3 = obj2;
27516 {
27517 PyThreadState* __tstate = wxPyBeginAllowThreads();
27518 (arg1)->_setCallbackInfo(arg2,arg3);
27519
27520 wxPyEndAllowThreads(__tstate);
27521 if (PyErr_Occurred()) SWIG_fail;
27522 }
27523 Py_INCREF(Py_None); resultobj = Py_None;
27524 return resultobj;
27525 fail:
27526 return NULL;
27527 }
27528
27529
27530 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27531 PyObject *resultobj;
27532 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27533 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27534 PyObject * obj0 = 0 ;
27535 PyObject * obj1 = 0 ;
27536 char *kwnames[] = {
27537 (char *) "self",(char *) "preview", NULL
27538 };
27539
27540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27542 if (SWIG_arg_fail(1)) SWIG_fail;
27543 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27544 if (SWIG_arg_fail(2)) SWIG_fail;
27545 {
27546 PyThreadState* __tstate = wxPyBeginAllowThreads();
27547 (arg1)->SetPrintPreview(arg2);
27548
27549 wxPyEndAllowThreads(__tstate);
27550 if (PyErr_Occurred()) SWIG_fail;
27551 }
27552 Py_INCREF(Py_None); resultobj = Py_None;
27553 return resultobj;
27554 fail:
27555 return NULL;
27556 }
27557
27558
27559 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27560 PyObject *resultobj;
27561 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27562 PyObject * obj0 = 0 ;
27563 char *kwnames[] = {
27564 (char *) "self", NULL
27565 };
27566
27567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27569 if (SWIG_arg_fail(1)) SWIG_fail;
27570 {
27571 PyThreadState* __tstate = wxPyBeginAllowThreads();
27572 (arg1)->base_CreateButtons();
27573
27574 wxPyEndAllowThreads(__tstate);
27575 if (PyErr_Occurred()) SWIG_fail;
27576 }
27577 Py_INCREF(Py_None); resultobj = Py_None;
27578 return resultobj;
27579 fail:
27580 return NULL;
27581 }
27582
27583
27584 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27585 PyObject *resultobj;
27586 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27587 int arg2 ;
27588 PyObject * obj0 = 0 ;
27589 PyObject * obj1 = 0 ;
27590 char *kwnames[] = {
27591 (char *) "self",(char *) "zoom", NULL
27592 };
27593
27594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27596 if (SWIG_arg_fail(1)) SWIG_fail;
27597 {
27598 arg2 = (int)(SWIG_As_int(obj1));
27599 if (SWIG_arg_fail(2)) SWIG_fail;
27600 }
27601 {
27602 PyThreadState* __tstate = wxPyBeginAllowThreads();
27603 (arg1)->base_SetZoomControl(arg2);
27604
27605 wxPyEndAllowThreads(__tstate);
27606 if (PyErr_Occurred()) SWIG_fail;
27607 }
27608 Py_INCREF(Py_None); resultobj = Py_None;
27609 return resultobj;
27610 fail:
27611 return NULL;
27612 }
27613
27614
27615 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27616 PyObject *obj;
27617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27618 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27619 Py_INCREF(obj);
27620 return Py_BuildValue((char *)"");
27621 }
27622 static PyMethodDef SwigMethods[] = {
27623 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27631 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27646 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27647 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27654 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27672 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27696 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27709 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27713 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27717 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27722 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27739 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27769 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27776 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27799 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27807 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27819 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27825 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27834 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27840 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27845 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27851 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27855 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27875 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27901 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27909 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27918 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27920 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27929 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27932 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27939 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27957 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27961 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27966 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27970 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27972 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27988 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27991 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27993 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27997 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
28006 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
28015 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
28021 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28033 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28040 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28044 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28069 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28094 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28119 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28120 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28167 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28168 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28201 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28206 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28207 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28240 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28246 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28257 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28275 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28279 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28280 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28281 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28282 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28287 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28288 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28289 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28293 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28294 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28295 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28298 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28299 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28309 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28310 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28314 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28316 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28317 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28318 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28320 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28321 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28322 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28323 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28324 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28325 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28326 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28327 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28328 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28329 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28330 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28331 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28332 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28333 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28334 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28335 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28336 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28337 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28338 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28339 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28340 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28341 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28342 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28343 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28344 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28345 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28346 { NULL, NULL, 0, NULL }
28347 };
28348
28349
28350 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28351
28352 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28353 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28354 }
28355 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28356 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28357 }
28358 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28359 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28360 }
28361 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28362 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28363 }
28364 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28365 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28366 }
28367 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28368 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28369 }
28370 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28371 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28372 }
28373 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28374 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28375 }
28376 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28377 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28378 }
28379 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28380 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28381 }
28382 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28383 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28384 }
28385 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28386 return (void *)((wxEvent *) ((wxPyEvent *) x));
28387 }
28388 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28389 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28390 }
28391 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28392 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28393 }
28394 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28395 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28396 }
28397 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28398 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28399 }
28400 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28401 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28402 }
28403 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28404 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28405 }
28406 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28407 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28408 }
28409 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28410 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28411 }
28412 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28413 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28414 }
28415 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28416 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28417 }
28418 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28419 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28420 }
28421 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28422 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28423 }
28424 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28425 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28426 }
28427 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28428 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28429 }
28430 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28431 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28432 }
28433 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28434 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28435 }
28436 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28437 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28438 }
28439 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28440 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28441 }
28442 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28443 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28444 }
28445 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28446 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28447 }
28448 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28449 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28450 }
28451 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28452 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28453 }
28454 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28455 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28456 }
28457 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28458 return (void *)((wxEvent *) ((wxShowEvent *) x));
28459 }
28460 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28461 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28462 }
28463 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28464 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28465 }
28466 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28467 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28468 }
28469 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28470 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28471 }
28472 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28473 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28474 }
28475 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28476 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28477 }
28478 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28479 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28480 }
28481 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28482 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28483 }
28484 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28485 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28486 }
28487 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28488 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28489 }
28490 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28491 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28492 }
28493 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28494 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28495 }
28496 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28497 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28498 }
28499 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28500 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28501 }
28502 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28503 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28504 }
28505 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28506 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28507 }
28508 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28509 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28510 }
28511 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28512 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28513 }
28514 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28515 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28516 }
28517 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28518 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28519 }
28520 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28521 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28522 }
28523 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28524 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28525 }
28526 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28527 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28528 }
28529 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28530 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28531 }
28532 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28533 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28534 }
28535 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28536 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28537 }
28538 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28539 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28540 }
28541 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28542 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28543 }
28544 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28545 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28546 }
28547 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28548 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28549 }
28550 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28551 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28552 }
28553 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28554 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28555 }
28556 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28557 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28558 }
28559 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28560 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28561 }
28562 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28563 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28564 }
28565 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28566 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28567 }
28568 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28569 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28570 }
28571 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28572 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28573 }
28574 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28575 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28576 }
28577 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28578 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28579 }
28580 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28581 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28582 }
28583 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28584 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28585 }
28586 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28587 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28588 }
28589 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28590 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28591 }
28592 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28593 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28594 }
28595 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28596 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28597 }
28598 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28599 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28600 }
28601 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28602 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28603 }
28604 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28605 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28606 }
28607 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28608 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28609 }
28610 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28611 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28612 }
28613 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28614 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28615 }
28616 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28617 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28618 }
28619 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28620 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28621 }
28622 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28623 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28624 }
28625 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28626 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28627 }
28628 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28629 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28630 }
28631 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28632 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28633 }
28634 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28635 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28636 }
28637 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28638 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28639 }
28640 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28641 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28642 }
28643 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28644 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28645 }
28646 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28647 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28648 }
28649 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28650 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28651 }
28652 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28653 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28654 }
28655 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28656 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28657 }
28658 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28659 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28660 }
28661 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28662 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28663 }
28664 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28666 }
28667 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28669 }
28670 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28671 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28672 }
28673 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28674 return (void *)((wxObject *) ((wxSizerItem *) x));
28675 }
28676 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28678 }
28679 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28680 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28681 }
28682 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28683 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28684 }
28685 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28686 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28687 }
28688 static void *_p_wxSizerTo_p_wxObject(void *x) {
28689 return (void *)((wxObject *) ((wxSizer *) x));
28690 }
28691 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28692 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28693 }
28694 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28695 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28696 }
28697 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28699 }
28700 static void *_p_wxEventTo_p_wxObject(void *x) {
28701 return (void *)((wxObject *) ((wxEvent *) x));
28702 }
28703 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28704 return (void *)((wxObject *) ((wxFontData *) x));
28705 }
28706 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28707 return (void *)((wxObject *) ((wxPrintData *) x));
28708 }
28709 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28710 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28711 }
28712 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28713 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28714 }
28715 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28716 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28717 }
28718 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28719 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28720 }
28721 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28722 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28723 }
28724 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28725 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28726 }
28727 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28728 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28729 }
28730 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28731 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28732 }
28733 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28734 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28735 }
28736 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28737 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28738 }
28739 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28740 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28741 }
28742 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28743 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28744 }
28745 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28747 }
28748 static void *_p_wxControlTo_p_wxObject(void *x) {
28749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28750 }
28751 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28752 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28753 }
28754 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28755 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28756 }
28757 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28758 return (void *)((wxObject *) ((wxFSFile *) x));
28759 }
28760 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28761 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28762 }
28763 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28764 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28765 }
28766 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28768 }
28769 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28770 return (void *)((wxObject *) ((wxColourData *) x));
28771 }
28772 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28773 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28774 }
28775 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28776 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28777 }
28778 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28780 }
28781 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28783 }
28784 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28786 }
28787 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28789 }
28790 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28792 }
28793 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28795 }
28796 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28798 }
28799 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28801 }
28802 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28804 }
28805 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28807 }
28808 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28809 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28810 }
28811 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28812 return (void *)((wxObject *) ((wxPrinter *) x));
28813 }
28814 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28815 return (void *)((wxObject *) ((wxMenuItem *) x));
28816 }
28817 static void *_p_wxDateEventTo_p_wxObject(void *x) {
28818 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28819 }
28820 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28821 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28822 }
28823 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28825 }
28826 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28827 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28828 }
28829 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28830 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28831 }
28832 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28833 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28834 }
28835 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28836 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28837 }
28838 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28839 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28840 }
28841 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28842 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28843 }
28844 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28845 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28846 }
28847 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28848 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28849 }
28850 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28851 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28852 }
28853 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28854 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28855 }
28856 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28857 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28858 }
28859 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28860 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28861 }
28862 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28863 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28864 }
28865 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28866 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28867 }
28868 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28869 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28870 }
28871 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28872 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28873 }
28874 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28875 return (void *)((wxObject *) ((wxImageHandler *) x));
28876 }
28877 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28878 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28879 }
28880 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28881 return (void *)((wxObject *) ((wxEvtHandler *) x));
28882 }
28883 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28884 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28885 }
28886 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28888 }
28889 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28891 }
28892 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28893 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28894 }
28895 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28896 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28897 }
28898 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28900 }
28901 static void *_p_wxImageTo_p_wxObject(void *x) {
28902 return (void *)((wxObject *) ((wxImage *) x));
28903 }
28904 static void *_p_wxFrameTo_p_wxObject(void *x) {
28905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28906 }
28907 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28908 return (void *)((wxObject *) ((wxPyPrintout *) x));
28909 }
28910 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28911 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28912 }
28913 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28914 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28915 }
28916 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28918 }
28919 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28921 }
28922 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28924 }
28925 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28926 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28927 }
28928 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28929 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28930 }
28931 static void *_p_wxWindowTo_p_wxObject(void *x) {
28932 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28933 }
28934 static void *_p_wxMenuTo_p_wxObject(void *x) {
28935 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28936 }
28937 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28939 }
28940 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28942 }
28943 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28945 }
28946 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28948 }
28949 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28951 }
28952 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28954 }
28955 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28957 }
28958 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28960 }
28961 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28963 }
28964 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28966 }
28967 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28969 }
28970 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28971 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28972 }
28973 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28975 }
28976 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28977 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28978 }
28979 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28980 return (void *)((wxObject *) ((wxPrintPreview *) x));
28981 }
28982 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28983 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28984 }
28985 static void *_p_wxPanelTo_p_wxObject(void *x) {
28986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28987 }
28988 static void *_p_wxDialogTo_p_wxObject(void *x) {
28989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28990 }
28991 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28993 }
28994 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28996 }
28997 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28999 }
29000 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
29001 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
29002 }
29003 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
29004 return (void *)((wxObject *) ((wxPrintDialog *) x));
29005 }
29006 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29007 return (void *)((wxObject *) ((wxFileSystem *) x));
29008 }
29009 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29011 }
29012 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29013 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29014 }
29015 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29016 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29017 }
29018 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29019 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29020 }
29021 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29022 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29023 }
29024 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29025 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29026 }
29027 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29028 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29029 }
29030 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29031 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29032 }
29033 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29035 }
29036 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29038 }
29039 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29040 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29041 }
29042 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29043 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29044 }
29045 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29046 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29047 }
29048 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29050 }
29051 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29052 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29053 }
29054 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29055 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29056 }
29057 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29058 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29059 }
29060 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29061 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29062 }
29063 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29064 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29065 }
29066 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29067 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29068 }
29069 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29070 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29071 }
29072 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29073 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29074 }
29075 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29076 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29077 }
29078 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29079 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29080 }
29081 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29082 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29083 }
29084 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29085 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29086 }
29087 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29088 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29089 }
29090 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29091 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29092 }
29093 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29094 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29095 }
29096 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29097 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29098 }
29099 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29100 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29101 }
29102 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29103 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29104 }
29105 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29106 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29107 }
29108 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29109 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29110 }
29111 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29112 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29113 }
29114 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29115 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29116 }
29117 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29118 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29119 }
29120 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29121 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29122 }
29123 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29124 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29125 }
29126 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29127 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29128 }
29129 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29130 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29131 }
29132 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29133 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29134 }
29135 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29136 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29137 }
29138 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29139 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29140 }
29141 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29142 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29143 }
29144 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29145 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29146 }
29147 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29148 return (void *)((wxWindow *) ((wxMenuBar *) x));
29149 }
29150 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29151 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29152 }
29153 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29154 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29155 }
29156 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29157 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29158 }
29159 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29160 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29161 }
29162 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29163 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29164 }
29165 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29166 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29167 }
29168 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29169 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29170 }
29171 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29172 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29173 }
29174 static void *_p_wxPanelTo_p_wxWindow(void *x) {
29175 return (void *)((wxWindow *) ((wxPanel *) x));
29176 }
29177 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29178 return (void *)((wxWindow *) ((wxStatusBar *) x));
29179 }
29180 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29181 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29182 }
29183 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29184 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29185 }
29186 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29187 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29188 }
29189 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29190 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29191 }
29192 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29193 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29194 }
29195 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29196 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29197 }
29198 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29199 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29200 }
29201 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29202 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29203 }
29204 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29205 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29206 }
29207 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29208 return (void *)((wxWindow *) ((wxSashWindow *) x));
29209 }
29210 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29211 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29212 }
29213 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29214 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29215 }
29216 static void *_p_wxControlTo_p_wxWindow(void *x) {
29217 return (void *)((wxWindow *) ((wxControl *) x));
29218 }
29219 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29220 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29221 }
29222 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29223 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29224 }
29225 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29226 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29227 }
29228 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29229 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29230 }
29231 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29232 return (void *)((wxWindow *) ((wxPyWindow *) x));
29233 }
29234 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29235 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29236 }
29237 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29238 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29239 }
29240 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29241 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29242 }
29243 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29244 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29245 }
29246 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29247 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29248 }
29249 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29250 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29251 }
29252 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29254 }
29255 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29256 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29257 }
29258 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29259 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29260 }
29261 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29262 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29263 }
29264 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29265 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29266 }
29267 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29268 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29269 }
29270 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29271 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29272 }
29273 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29274 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29275 }
29276 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29277 return (void *)((wxDialog *) ((wxColourDialog *) x));
29278 }
29279 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29280 return (void *)((wxDialog *) ((wxDirDialog *) x));
29281 }
29282 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29283 return (void *)((wxDialog *) ((wxFontDialog *) x));
29284 }
29285 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29286 return (void *)((wxDialog *) ((wxFileDialog *) x));
29287 }
29288 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29289 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29290 }
29291 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29292 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29293 }
29294 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29295 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29296 }
29297 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29298 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29299 }
29300 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29301 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29302 }
29303 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29304 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29305 }
29306 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29307 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29308 }
29309 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29310 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29311 }
29312 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29313 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29314 }
29315 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29316 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29317 }
29318 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29319 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29320 }
29321 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29322 return (void *)((wxPanel *) ((wxPyPanel *) x));
29323 }
29324 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29325 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29326 }
29327 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29328 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29329 }
29330 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29331 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29332 }
29333 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29334 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29335 }
29336 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29337 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29338 }
29339 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29340 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29341 }
29342 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29343 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29344 }
29345 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29346 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29347 }
29348 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29349 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29350 }
29351 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29352 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29353 }
29354 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29355 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29356 }
29357 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29358 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29359 }
29360 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29361 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29362 }
29363 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29364 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29365 }
29366 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29367 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29368 }
29369 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29370 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29371 }
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29463 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}};
29464 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}};
29465 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}};
29466 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}};
29467 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}};
29468 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}};
29469
29470 static swig_type_info *swig_types_initial[] = {
29471 _swigt__p_wxQueryLayoutInfoEvent,
29472 _swigt__p_wxPreviewFrame,
29473 _swigt__p_wxPyPreviewFrame,
29474 _swigt__p_wxPyPanel,
29475 _swigt__p_wxMenu,
29476 _swigt__p_wxFontData,
29477 _swigt__p_wxEvent,
29478 _swigt__p_wxPrintData,
29479 _swigt__p_wxTaskBarIcon,
29480 _swigt__p_wxPyTaskBarIcon,
29481 _swigt__p_wxIconBundle,
29482 _swigt__p_wxLayoutAlgorithm,
29483 _swigt__p_wxFindDialogEvent,
29484 _swigt__p_wxPreviewCanvas,
29485 _swigt__p_wxFont,
29486 _swigt__p_wxSplitterEvent,
29487 _swigt__p_wxRegion,
29488 _swigt__ptrdiff_t,
29489 _swigt__std__ptrdiff_t,
29490 _swigt__p_wxFindReplaceData,
29491 _swigt__p_int,
29492 _swigt__p_wxSize,
29493 _swigt__p_wxDC,
29494 _swigt__p_wxIcon,
29495 _swigt__p_wxVisualAttributes,
29496 _swigt__p_wxMDIChildFrame,
29497 _swigt__p_wxColourData,
29498 _swigt__p_wxNotifyEvent,
29499 _swigt__p_wxPyWindow,
29500 _swigt__p_form_ops_t,
29501 _swigt__p_wxSplashScreen,
29502 _swigt__p_wxPasswordEntryDialog,
29503 _swigt__p_wxSingleChoiceDialog,
29504 _swigt__p_wxMultiChoiceDialog,
29505 _swigt__p_wxFileDialog,
29506 _swigt__p_wxTextEntryDialog,
29507 _swigt__p_wxMessageDialog,
29508 _swigt__p_wxProgressDialog,
29509 _swigt__p_wxFindReplaceDialog,
29510 _swigt__p_wxPrinter,
29511 _swigt__p_wxArrayInt,
29512 _swigt__p_wxDuplexMode,
29513 _swigt__p_wxEvtHandler,
29514 _swigt__p_wxCalculateLayoutEvent,
29515 _swigt__p_wxPyHtmlListBox,
29516 _swigt__p_wxPyVListBox,
29517 _swigt__p_wxRect,
29518 _swigt__p_wxStdDialogButtonSizer,
29519 _swigt__p_char,
29520 _swigt__p_wxMiniFrame,
29521 _swigt__p_wxFrame,
29522 _swigt__p_wxPyPrintout,
29523 _swigt__p_wxTaskBarIconEvent,
29524 _swigt__p_wxScrollWinEvent,
29525 _swigt__p_wxPaperSize,
29526 _swigt__p_wxStatusBar,
29527 _swigt__p_wxMDIParentFrame,
29528 _swigt__p_wxPoint,
29529 _swigt__p_wxObject,
29530 _swigt__p_unsigned_long,
29531 _swigt__p_wxTipWindow,
29532 _swigt__p_wxSashLayoutWindow,
29533 _swigt__p_wxSplitterWindow,
29534 _swigt__p_wxSplashScreenWindow,
29535 _swigt__p_wxPyVScrolledWindow,
29536 _swigt__p_wxPyPopupTransientWindow,
29537 _swigt__p_wxPopupWindow,
29538 _swigt__p_wxSashWindow,
29539 _swigt__p_wxTopLevelWindow,
29540 _swigt__p_wxWindow,
29541 _swigt__p_wxScrolledWindow,
29542 _swigt__p_wxMenuBar,
29543 _swigt__p_wxMDIClientWindow,
29544 _swigt__p_wxPyScrolledWindow,
29545 _swigt__p_wxPrintPreview,
29546 _swigt__p_wxSashEvent,
29547 _swigt__p_wxString,
29548 _swigt__p_wxPyPrintPreview,
29549 _swigt__p_wxDirDialog,
29550 _swigt__p_wxColourDialog,
29551 _swigt__p_wxDialog,
29552 _swigt__p_wxPanel,
29553 _swigt__p_wxFontDialog,
29554 _swigt__p_wxPageSetupDialog,
29555 _swigt__p_wxPrintDialog,
29556 _swigt__p_wxFileSystem,
29557 _swigt__p_wxBitmap,
29558 _swigt__unsigned_int,
29559 _swigt__p_unsigned_int,
29560 _swigt__p_unsigned_char,
29561 _swigt__p_wxCommandEvent,
29562 _swigt__p_wxPreviewControlBar,
29563 _swigt__p_wxPyPreviewControlBar,
29564 _swigt__p_wxColour,
29565 _swigt__p_wxToolBar,
29566 _swigt__p_wxPageSetupDialogData,
29567 _swigt__p_wxPrintDialogData,
29568 0
29569 };
29570
29571
29572 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29573
29574 static swig_const_info swig_const_table[] = {
29575 {0, 0, 0, 0.0, 0, 0}};
29576
29577 #ifdef __cplusplus
29578 }
29579 #endif
29580
29581
29582 #ifdef __cplusplus
29583 extern "C" {
29584 #endif
29585
29586 /* Python-specific SWIG API */
29587 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29588 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29589 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29590
29591 /* -----------------------------------------------------------------------------
29592 * global variable support code.
29593 * ----------------------------------------------------------------------------- */
29594
29595 typedef struct swig_globalvar {
29596 char *name; /* Name of global variable */
29597 PyObject *(*get_attr)(); /* Return the current value */
29598 int (*set_attr)(PyObject *); /* Set the value */
29599 struct swig_globalvar *next;
29600 } swig_globalvar;
29601
29602 typedef struct swig_varlinkobject {
29603 PyObject_HEAD
29604 swig_globalvar *vars;
29605 } swig_varlinkobject;
29606
29607 static PyObject *
29608 swig_varlink_repr(swig_varlinkobject *v) {
29609 v = v;
29610 return PyString_FromString("<Swig global variables>");
29611 }
29612
29613 static int
29614 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29615 swig_globalvar *var;
29616 flags = flags;
29617 fprintf(fp,"Swig global variables { ");
29618 for (var = v->vars; var; var=var->next) {
29619 fprintf(fp,"%s", var->name);
29620 if (var->next) fprintf(fp,", ");
29621 }
29622 fprintf(fp," }\n");
29623 return 0;
29624 }
29625
29626 static PyObject *
29627 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29628 swig_globalvar *var = v->vars;
29629 while (var) {
29630 if (strcmp(var->name,n) == 0) {
29631 return (*var->get_attr)();
29632 }
29633 var = var->next;
29634 }
29635 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29636 return NULL;
29637 }
29638
29639 static int
29640 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29641 swig_globalvar *var = v->vars;
29642 while (var) {
29643 if (strcmp(var->name,n) == 0) {
29644 return (*var->set_attr)(p);
29645 }
29646 var = var->next;
29647 }
29648 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29649 return 1;
29650 }
29651
29652 static PyTypeObject varlinktype = {
29653 PyObject_HEAD_INIT(0)
29654 0, /* Number of items in variable part (ob_size) */
29655 (char *)"swigvarlink", /* Type name (tp_name) */
29656 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29657 0, /* Itemsize (tp_itemsize) */
29658 0, /* Deallocator (tp_dealloc) */
29659 (printfunc) swig_varlink_print, /* Print (tp_print) */
29660 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29661 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29662 0, /* tp_compare */
29663 (reprfunc) swig_varlink_repr, /* tp_repr */
29664 0, /* tp_as_number */
29665 0, /* tp_as_sequence */
29666 0, /* tp_as_mapping */
29667 0, /* tp_hash */
29668 0, /* tp_call */
29669 0, /* tp_str */
29670 0, /* tp_getattro */
29671 0, /* tp_setattro */
29672 0, /* tp_as_buffer */
29673 0, /* tp_flags */
29674 0, /* tp_doc */
29675 #if PY_VERSION_HEX >= 0x02000000
29676 0, /* tp_traverse */
29677 0, /* tp_clear */
29678 #endif
29679 #if PY_VERSION_HEX >= 0x02010000
29680 0, /* tp_richcompare */
29681 0, /* tp_weaklistoffset */
29682 #endif
29683 #if PY_VERSION_HEX >= 0x02020000
29684 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29685 #endif
29686 #if PY_VERSION_HEX >= 0x02030000
29687 0, /* tp_del */
29688 #endif
29689 #ifdef COUNT_ALLOCS
29690 0,0,0,0 /* tp_alloc -> tp_next */
29691 #endif
29692 };
29693
29694 /* Create a variable linking object for use later */
29695 static PyObject *
29696 SWIG_Python_newvarlink(void) {
29697 swig_varlinkobject *result = 0;
29698 result = PyMem_NEW(swig_varlinkobject,1);
29699 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29700 result->ob_type = &varlinktype;
29701 result->vars = 0;
29702 result->ob_refcnt = 0;
29703 Py_XINCREF((PyObject *) result);
29704 return ((PyObject*) result);
29705 }
29706
29707 static void
29708 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29709 swig_varlinkobject *v;
29710 swig_globalvar *gv;
29711 v= (swig_varlinkobject *) p;
29712 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29713 gv->name = (char *) malloc(strlen(name)+1);
29714 strcpy(gv->name,name);
29715 gv->get_attr = get_attr;
29716 gv->set_attr = set_attr;
29717 gv->next = v->vars;
29718 v->vars = gv;
29719 }
29720
29721 /* -----------------------------------------------------------------------------
29722 * constants/methods manipulation
29723 * ----------------------------------------------------------------------------- */
29724
29725 /* Install Constants */
29726 static void
29727 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29728 PyObject *obj = 0;
29729 size_t i;
29730 for (i = 0; constants[i].type; i++) {
29731 switch(constants[i].type) {
29732 case SWIG_PY_INT:
29733 obj = PyInt_FromLong(constants[i].lvalue);
29734 break;
29735 case SWIG_PY_FLOAT:
29736 obj = PyFloat_FromDouble(constants[i].dvalue);
29737 break;
29738 case SWIG_PY_STRING:
29739 if (constants[i].pvalue) {
29740 obj = PyString_FromString((char *) constants[i].pvalue);
29741 } else {
29742 Py_INCREF(Py_None);
29743 obj = Py_None;
29744 }
29745 break;
29746 case SWIG_PY_POINTER:
29747 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29748 break;
29749 case SWIG_PY_BINARY:
29750 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29751 break;
29752 default:
29753 obj = 0;
29754 break;
29755 }
29756 if (obj) {
29757 PyDict_SetItemString(d,constants[i].name,obj);
29758 Py_DECREF(obj);
29759 }
29760 }
29761 }
29762
29763 /* -----------------------------------------------------------------------------*/
29764 /* Fix SwigMethods to carry the callback ptrs when needed */
29765 /* -----------------------------------------------------------------------------*/
29766
29767 static void
29768 SWIG_Python_FixMethods(PyMethodDef *methods,
29769 swig_const_info *const_table,
29770 swig_type_info **types,
29771 swig_type_info **types_initial) {
29772 size_t i;
29773 for (i = 0; methods[i].ml_name; ++i) {
29774 char *c = methods[i].ml_doc;
29775 if (c && (c = strstr(c, "swig_ptr: "))) {
29776 int j;
29777 swig_const_info *ci = 0;
29778 char *name = c + 10;
29779 for (j = 0; const_table[j].type; j++) {
29780 if (strncmp(const_table[j].name, name,
29781 strlen(const_table[j].name)) == 0) {
29782 ci = &(const_table[j]);
29783 break;
29784 }
29785 }
29786 if (ci) {
29787 size_t shift = (ci->ptype) - types;
29788 swig_type_info *ty = types_initial[shift];
29789 size_t ldoc = (c - methods[i].ml_doc);
29790 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29791 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29792 char *buff = ndoc;
29793 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29794 strncpy(buff, methods[i].ml_doc, ldoc);
29795 buff += ldoc;
29796 strncpy(buff, "swig_ptr: ", 10);
29797 buff += 10;
29798 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29799 methods[i].ml_doc = ndoc;
29800 }
29801 }
29802 }
29803 }
29804
29805 /* -----------------------------------------------------------------------------*
29806 * Initialize type list
29807 * -----------------------------------------------------------------------------*/
29808
29809 #if PY_MAJOR_VERSION < 2
29810 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29811 is copied out of Python/modsupport.c in python version 2.3.4 */
29812 static int
29813 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29814 {
29815 PyObject *dict;
29816 if (!PyModule_Check(m)) {
29817 PyErr_SetString(PyExc_TypeError,
29818 "PyModule_AddObject() needs module as first arg");
29819 return -1;
29820 }
29821 if (!o) {
29822 PyErr_SetString(PyExc_TypeError,
29823 "PyModule_AddObject() needs non-NULL value");
29824 return -1;
29825 }
29826
29827 dict = PyModule_GetDict(m);
29828 if (dict == NULL) {
29829 /* Internal error -- modules must have a dict! */
29830 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29831 PyModule_GetName(m));
29832 return -1;
29833 }
29834 if (PyDict_SetItemString(dict, name, o))
29835 return -1;
29836 Py_DECREF(o);
29837 return 0;
29838 }
29839 #endif
29840
29841 static swig_type_info **
29842 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29843 static PyMethodDef swig_empty_runtime_method_table[] = {
29844 {
29845 NULL, NULL, 0, NULL
29846 }
29847 };/* Sentinel */
29848
29849 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29850 swig_empty_runtime_method_table);
29851 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29852 if (pointer && module) {
29853 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29854 }
29855 return type_list_handle;
29856 }
29857
29858 static swig_type_info **
29859 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29860 swig_type_info **type_pointer;
29861
29862 /* first check if module already created */
29863 type_pointer = SWIG_Python_GetTypeListHandle();
29864 if (type_pointer) {
29865 return type_pointer;
29866 } else {
29867 /* create a new module and variable */
29868 return SWIG_Python_SetTypeListHandle(type_list_handle);
29869 }
29870 }
29871
29872 #ifdef __cplusplus
29873 }
29874 #endif
29875
29876 /* -----------------------------------------------------------------------------*
29877 * Partial Init method
29878 * -----------------------------------------------------------------------------*/
29879
29880 #ifdef SWIG_LINK_RUNTIME
29881 #ifdef __cplusplus
29882 extern "C"
29883 #endif
29884 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29885 #endif
29886
29887 #ifdef __cplusplus
29888 extern "C"
29889 #endif
29890 SWIGEXPORT(void) SWIG_init(void) {
29891 static PyObject *SWIG_globals = 0;
29892 static int typeinit = 0;
29893 PyObject *m, *d;
29894 int i;
29895 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29896
29897 /* Fix SwigMethods to carry the callback ptrs when needed */
29898 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29899
29900 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29901 d = PyModule_GetDict(m);
29902
29903 if (!typeinit) {
29904 #ifdef SWIG_LINK_RUNTIME
29905 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29906 #else
29907 # ifndef SWIG_STATIC_RUNTIME
29908 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29909 # endif
29910 #endif
29911 for (i = 0; swig_types_initial[i]; i++) {
29912 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29913 }
29914 typeinit = 1;
29915 }
29916 SWIG_InstallConstants(d,swig_const_table);
29917
29918 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29919 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29920 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29921 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29922 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29923 {
29924 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29925 }
29926 {
29927 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29928 }
29929 {
29930 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29931 }
29932 {
29933 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29934 }
29935 {
29936 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29937 }
29938 {
29939 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29940 }
29941 {
29942 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29943 }
29944 {
29945 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29946 }
29947 {
29948 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29949 }
29950 {
29951 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29952 }
29953 {
29954 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29955 }
29956 {
29957 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29958 }
29959 {
29960 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29961 }
29962 {
29963 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29964 }
29965 {
29966 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29967 }
29968 {
29969 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29970 }
29971 {
29972 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29973 }
29974 {
29975 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29976 }
29977 {
29978 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29979 }
29980 {
29981 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29982 }
29983 {
29984 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29985 }
29986 {
29987 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29988 }
29989 {
29990 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL)));
29991 }
29992 {
29993 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL)));
29994 }
29995 {
29996 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29997 }
29998 {
29999 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
30000 }
30001 {
30002 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
30003 }
30004 {
30005 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
30006 }
30007 {
30008 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
30009 }
30010 {
30011 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
30012 }
30013 {
30014 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
30015 }
30016 {
30017 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
30018 }
30019 {
30020 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
30021 }
30022 {
30023 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
30024 }
30025 {
30026 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
30027 }
30028 {
30029 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
30030 }
30031 {
30032 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
30033 }
30034 {
30035 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
30036 }
30037 {
30038 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
30039 }
30040 {
30041 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
30042 }
30043 {
30044 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
30045 }
30046 {
30047 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
30048 }
30049 {
30050 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
30051 }
30052 {
30053 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
30054 }
30055 {
30056 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
30057 }
30058 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
30059 {
30060 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
30061 }
30062 {
30063 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
30064 }
30065 {
30066 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
30067 }
30068 {
30069 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
30070 }
30071 {
30072 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30073 }
30074 {
30075 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30076 }
30077 {
30078 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30079 }
30080 {
30081 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30082 }
30083 {
30084 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30085 }
30086 {
30087 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30088 }
30089 {
30090 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30091 }
30092 {
30093 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30094 }
30095 {
30096 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30097 }
30098 {
30099 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30100 }
30101 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30102 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30103 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30104 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30105 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30106 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30107 {
30108 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30109 }
30110 {
30111 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30112 }
30113 {
30114 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30115 }
30116 {
30117 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30118 }
30119 {
30120 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30121 }
30122 {
30123 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30124 }
30125 {
30126 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30127 }
30128 {
30129 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30130 }
30131 {
30132 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30133 }
30134 {
30135 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30136 }
30137 {
30138 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30139 }
30140 {
30141 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30142 }
30143 {
30144 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30145 }
30146 {
30147 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30148 }
30149 {
30150 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30151 }
30152 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30153 {
30154 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30155 }
30156 {
30157 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30158 }
30159 {
30160 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30161 }
30162 {
30163 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30164 }
30165 {
30166 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30167 }
30168 {
30169 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30170 }
30171 {
30172 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30173 }
30174 {
30175 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30176 }
30177 {
30178 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30179 }
30180 {
30181 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30182 }
30183 {
30184 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30185 }
30186 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30187 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30188 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30189
30190 // Map renamed classes back to their common name for OOR
30191 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30192 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30193 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30194
30195 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30196 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30197 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30198 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30199 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30200 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30201 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30202 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30203 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30204 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30205 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30206 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30207 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30208 {
30209 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30210 }
30211 {
30212 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30213 }
30214 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30215 {
30216 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30217 }
30218 {
30219 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30220 }
30221 {
30222 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30223 }
30224 {
30225 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30226 }
30227 {
30228 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30229 }
30230 {
30231 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30232 }
30233 {
30234 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30235 }
30236 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30237 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30238 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30239 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30240 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30241 {
30242 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30243 }
30244 {
30245 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30246 }
30247 {
30248 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30249 }
30250 {
30251 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30252 }
30253 {
30254 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30255 }
30256 {
30257 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30258 }
30259 {
30260 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30261 }
30262 {
30263 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30264 }
30265 {
30266 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30267 }
30268 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30269 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30270 {
30271 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30272 }
30273 {
30274 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30275 }
30276 {
30277 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30278 }
30279 {
30280 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30281 }
30282 {
30283 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30284 }
30285 {
30286 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30287 }
30288 {
30289 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30290 }
30291 {
30292 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30293 }
30294 {
30295 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30296 }
30297 {
30298 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30299 }
30300 {
30301 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30302 }
30303 {
30304 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30305 }
30306 {
30307 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30308 }
30309 {
30310 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30311 }
30312 {
30313 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30314 }
30315 {
30316 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30317 }
30318 {
30319 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30320 }
30321 {
30322 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30323 }
30324 {
30325 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30326 }
30327 {
30328 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30329 }
30330 {
30331 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30332 }
30333 {
30334 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30335 }
30336 {
30337 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30338 }
30339 {
30340 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30341 }
30342 {
30343 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30344 }
30345 {
30346 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30347 }
30348 {
30349 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30350 }
30351 {
30352 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30353 }
30354 {
30355 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30356 }
30357 {
30358 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30359 }
30360 {
30361 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30362 }
30363 {
30364 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30365 }
30366 {
30367 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30368 }
30369 {
30370 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30371 }
30372 {
30373 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30374 }
30375 {
30376 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30377 }
30378 {
30379 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30380 }
30381 {
30382 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30383 }
30384 {
30385 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30386 }
30387
30388 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30389
30390 }
30391