]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 if (str)
1041 Py_DECREF(str);
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049 }
1050
1051 SWIGRUNTIMEINLINE void
1052 SWIG_Python_NullRef(const char *type)
1053 {
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059 }
1060
1061 SWIGRUNTIME int
1062 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063 {
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084 }
1085
1086 SWIGRUNTIME int
1087 SWIG_Python_ArgFail(int argnum)
1088 {
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097 }
1098
1099
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104 /* Convert a pointer value */
1105 SWIGRUNTIME int
1106 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137 #else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155 #endif
1156
1157 type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172 type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195 }
1196
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIGRUNTIME void *
1199 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209 }
1210
1211 /* Convert a packed value value */
1212 SWIGRUNTIME int
1213 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219 #else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224 #endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232 type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242 }
1243
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject *
1246 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254 #else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260 #endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276 }
1277
1278 SWIGRUNTIME PyObject *
1279 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287 #else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293 #endif
1294 return robj;
1295 }
1296
1297 /* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312 #else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320 #endif
1321 return (swig_type_info **) type_pointer;
1322 }
1323
1324 /*
1325 Search for a swig_type_info structure
1326 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331 }
1332
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335 #ifdef __cplusplus
1336 }
1337 #endif
1338
1339
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1341
1342 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1343 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1344 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1345 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1346 #define SWIGTYPE_p_wxMenu swig_types[4]
1347 #define SWIGTYPE_p_wxFontData swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxPrintData swig_types[7]
1350 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1351 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1352 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1353 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1354 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1355 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1356 #define SWIGTYPE_p_wxFont swig_types[14]
1357 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1358 #define SWIGTYPE_p_wxRegion swig_types[16]
1359 #define SWIGTYPE_ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1362 #define SWIGTYPE_p_int swig_types[20]
1363 #define SWIGTYPE_p_wxSize swig_types[21]
1364 #define SWIGTYPE_p_wxDC swig_types[22]
1365 #define SWIGTYPE_p_wxIcon swig_types[23]
1366 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1367 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1368 #define SWIGTYPE_p_wxColourData swig_types[26]
1369 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1370 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1371 #define SWIGTYPE_p_form_ops_t swig_types[29]
1372 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1373 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1374 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1375 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1376 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1377 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1378 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1379 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1380 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1381 #define SWIGTYPE_p_wxPrinter swig_types[39]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1383 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1384 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1385 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1386 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1387 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1388 #define SWIGTYPE_p_wxRect swig_types[46]
1389 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1390 #define SWIGTYPE_p_char swig_types[48]
1391 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1392 #define SWIGTYPE_p_wxFrame swig_types[50]
1393 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1394 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1395 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1396 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1397 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1398 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1399 #define SWIGTYPE_p_wxPoint swig_types[57]
1400 #define SWIGTYPE_p_wxObject swig_types[58]
1401 #define SWIGTYPE_p_unsigned_long swig_types[59]
1402 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1403 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1407 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1408 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1409 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1410 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1411 #define SWIGTYPE_p_wxWindow swig_types[69]
1412 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1413 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1414 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1415 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1416 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1417 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1418 #define SWIGTYPE_p_wxString swig_types[76]
1419 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1420 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1421 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1422 #define SWIGTYPE_p_wxDialog swig_types[80]
1423 #define SWIGTYPE_p_wxPanel swig_types[81]
1424 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1425 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1426 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1427 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1428 #define SWIGTYPE_p_wxBitmap swig_types[86]
1429 #define SWIGTYPE_unsigned_int swig_types[87]
1430 #define SWIGTYPE_p_unsigned_int swig_types[88]
1431 #define SWIGTYPE_p_unsigned_char swig_types[89]
1432 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1434 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1435 #define SWIGTYPE_p_wxColour swig_types[93]
1436 #define SWIGTYPE_p_wxToolBar swig_types[94]
1437 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1438 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1439 static swig_type_info *swig_types[98];
1440
1441 /* -------- TYPES TABLE (END) -------- */
1442
1443
1444 /*-----------------------------------------------
1445 @(target):= _windows_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_windows_
1448
1449 #define SWIG_name "_windows_"
1450
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1453
1454
1455 static const wxString wxPyEmptyString(wxEmptyString);
1456 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1457
1458
1459
1460 #include <limits.h>
1461
1462
1463 SWIGINTERN int
1464 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1465 const char *errmsg)
1466 {
1467 if (value < min_value) {
1468 if (errmsg) {
1469 PyErr_Format(PyExc_OverflowError,
1470 "value %ld is less than '%s' minimum %ld",
1471 value, errmsg, min_value);
1472 }
1473 return 0;
1474 } else if (value > max_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is greater than '%s' maximum %ld",
1478 value, errmsg, max_value);
1479 }
1480 return 0;
1481 }
1482 return 1;
1483 }
1484
1485
1486 SWIGINTERN int
1487 SWIG_AsVal_long(PyObject* obj, long* val)
1488 {
1489 if (PyNumber_Check(obj)) {
1490 if (val) *val = PyInt_AsLong(obj);
1491 return 1;
1492 }
1493 else {
1494 SWIG_type_error("number", obj);
1495 }
1496 return 0;
1497 }
1498
1499
1500 #if INT_MAX != LONG_MAX
1501 SWIGINTERN int
1502 SWIG_AsVal_int(PyObject *obj, int *val)
1503 {
1504 const char* errmsg = val ? "int" : (char*)0;
1505 long v;
1506 if (SWIG_AsVal_long(obj, &v)) {
1507 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1508 if (val) *val = (int)(v);
1509 return 1;
1510 } else {
1511 return 0;
1512 }
1513 } else {
1514 PyErr_Clear();
1515 }
1516 if (val) {
1517 SWIG_type_error(errmsg, obj);
1518 }
1519 return 0;
1520 }
1521 #else
1522 SWIGINTERNSHORT int
1523 SWIG_AsVal_int(PyObject *obj, int *val)
1524 {
1525 return SWIG_AsVal_long(obj,(long*)val);
1526 }
1527 #endif
1528
1529
1530 SWIGINTERNSHORT int
1531 SWIG_As_int(PyObject* obj)
1532 {
1533 int v;
1534 if (!SWIG_AsVal_int(obj, &v)) {
1535 /*
1536 this is needed to make valgrind/purify happier.
1537 */
1538 memset((void*)&v, 0, sizeof(int));
1539 }
1540 return v;
1541 }
1542
1543
1544 SWIGINTERNSHORT long
1545 SWIG_As_long(PyObject* obj)
1546 {
1547 long v;
1548 if (!SWIG_AsVal_long(obj, &v)) {
1549 /*
1550 this is needed to make valgrind/purify happier.
1551 */
1552 memset((void*)&v, 0, sizeof(long));
1553 }
1554 return v;
1555 }
1556
1557
1558 SWIGINTERNSHORT int
1559 SWIG_Check_int(PyObject* obj)
1560 {
1561 return SWIG_AsVal_int(obj, (int*)0);
1562 }
1563
1564
1565 SWIGINTERNSHORT int
1566 SWIG_Check_long(PyObject* obj)
1567 {
1568 return SWIG_AsVal_long(obj, (long*)0);
1569 }
1570
1571
1572 SWIGINTERN int
1573 SWIG_AsVal_bool(PyObject *obj, bool *val)
1574 {
1575 if (obj == Py_True) {
1576 if (val) *val = true;
1577 return 1;
1578 }
1579 if (obj == Py_False) {
1580 if (val) *val = false;
1581 return 1;
1582 }
1583 int res = 0;
1584 if (SWIG_AsVal_int(obj, &res)) {
1585 if (val) *val = res ? true : false;
1586 return 1;
1587 } else {
1588 PyErr_Clear();
1589 }
1590 if (val) {
1591 SWIG_type_error("bool", obj);
1592 }
1593 return 0;
1594 }
1595
1596
1597 SWIGINTERNSHORT bool
1598 SWIG_As_bool(PyObject* obj)
1599 {
1600 bool v;
1601 if (!SWIG_AsVal_bool(obj, &v)) {
1602 /*
1603 this is needed to make valgrind/purify happier.
1604 */
1605 memset((void*)&v, 0, sizeof(bool));
1606 }
1607 return v;
1608 }
1609
1610
1611 SWIGINTERNSHORT int
1612 SWIG_Check_bool(PyObject* obj)
1613 {
1614 return SWIG_AsVal_bool(obj, (bool*)0);
1615 }
1616
1617
1618 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1619 #define SWIG_From_int PyInt_FromLong
1620 /*@@*/
1621
1622
1623 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1624 PyObject* o2;
1625 PyObject* o3;
1626
1627 if (!target) {
1628 target = o;
1629 } else if (target == Py_None) {
1630 Py_DECREF(Py_None);
1631 target = o;
1632 } else {
1633 if (!PyTuple_Check(target)) {
1634 o2 = target;
1635 target = PyTuple_New(1);
1636 PyTuple_SetItem(target, 0, o2);
1637 }
1638 o3 = PyTuple_New(1);
1639 PyTuple_SetItem(o3, 0, o);
1640
1641 o2 = target;
1642 target = PySequence_Concat(o2, o3);
1643 Py_DECREF(o2);
1644 Py_DECREF(o3);
1645 }
1646 return target;
1647 }
1648
1649
1650
1651 SWIGINTERN int
1652 SWIG_AsVal_double(PyObject *obj, double* val)
1653 {
1654 if (PyNumber_Check(obj)) {
1655 if (val) *val = PyFloat_AsDouble(obj);
1656 return 1;
1657 }
1658 else {
1659 SWIG_type_error("number", obj);
1660 }
1661 return 0;
1662 }
1663
1664
1665 SWIGINTERNSHORT double
1666 SWIG_As_double(PyObject* obj)
1667 {
1668 double v;
1669 if (!SWIG_AsVal_double(obj, &v)) {
1670 /*
1671 this is needed to make valgrind/purify happier.
1672 */
1673 memset((void*)&v, 0, sizeof(double));
1674 }
1675 return v;
1676 }
1677
1678
1679 SWIGINTERNSHORT int
1680 SWIG_Check_double(PyObject* obj)
1681 {
1682 return SWIG_AsVal_double(obj, (double*)0);
1683 }
1684
1685
1686 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1687 #define SWIG_From_double PyFloat_FromDouble
1688 /*@@*/
1689
1690 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1691 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1692 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1693 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1694 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1695 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1696
1697 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1698 #define SWIG_From_long PyInt_FromLong
1699 /*@@*/
1700
1701
1702
1703 static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1704 wxRect r;
1705 self->GetFieldRect(i, r);
1706 return r;
1707 }
1708 static const wxString wxPySplitterNameStr(wxT("splitter"));
1709 static const wxString wxPySashNameStr(wxT("sashWindow"));
1710 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1711
1712 #include <wx/popupwin.h>
1713
1714
1715 class wxPyPopupTransientWindow : public wxPopupTransientWindow
1716 {
1717 public:
1718 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1719 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1720 : wxPopupTransientWindow(parent, style) {}
1721
1722 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1723 DEC_PYCALLBACK__(OnDismiss);
1724 DEC_PYCALLBACK_BOOL_(CanDismiss);
1725 PYPRIVATE;
1726 };
1727
1728
1729 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1730 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1731 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1732
1733
1734 #include <wx/tipwin.h>
1735
1736 static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1737 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1738 }
1739
1740 #include <wx/tipwin.h>
1741
1742
1743 #include <wx/vscroll.h>
1744
1745
1746 class wxPyVScrolledWindow : public wxVScrolledWindow
1747 {
1748 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1749 public:
1750 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1751
1752 wxPyVScrolledWindow(wxWindow *parent,
1753 wxWindowID id = wxID_ANY,
1754 const wxPoint& pos = wxDefaultPosition,
1755 const wxSize& size = wxDefaultSize,
1756 long style = 0,
1757 const wxString& name = wxPyPanelNameStr)
1758 : wxVScrolledWindow(parent, id, pos, size, style, name)
1759 {}
1760
1761 // Overridable virtuals
1762
1763 // this function must be overridden in the derived class and it should
1764 // return the height of the given line in pixels
1765 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1766
1767
1768 // this function doesn't have to be overridden but it may be useful to do
1769 // it if calculating the lines heights is a relatively expensive operation
1770 // as it gives the user code a possibility to calculate several of them at
1771 // once
1772 //
1773 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1774 // shouldn't rely on the latter being called for all lines in the interval
1775 // specified here. It is also possible that OnGetLineHeight() will be
1776 // called for the lines outside of this interval, so this is really just a
1777 // hint, not a promise.
1778 //
1779 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1780 // usual
1781 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1782
1783
1784 // when the number of lines changes, we try to estimate the total height
1785 // of all lines which is a rather expensive operation in terms of lines
1786 // access, so if the user code may estimate the average height
1787 // better/faster than we do, it should override this function to implement
1788 // its own logic
1789 //
1790 // this function should return the best guess for the total height it may
1791 // make
1792 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1793
1794
1795 // Also expose some other interesting protected methods
1796
1797
1798 // find the index of the line we need to show at the top of the window such
1799 // that the last (fully or partially) visible line is the given one
1800 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1801 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1802
1803 // get the total height of the lines between lineMin (inclusive) and
1804 // lineMax (exclusive)
1805 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1806 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1807
1808
1809 PYPRIVATE;
1810 };
1811
1812 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1813
1814 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1815 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1816 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1817
1818
1819 SWIGINTERN int
1820 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1821 {
1822 long v = 0;
1823 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1824 SWIG_type_error("unsigned number", obj);
1825 }
1826 else if (val)
1827 *val = (unsigned long)v;
1828 return 1;
1829 }
1830
1831
1832 SWIGINTERNSHORT unsigned long
1833 SWIG_As_unsigned_SS_long(PyObject* obj)
1834 {
1835 unsigned long v;
1836 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1837 /*
1838 this is needed to make valgrind/purify happier.
1839 */
1840 memset((void*)&v, 0, sizeof(unsigned long));
1841 }
1842 return v;
1843 }
1844
1845
1846 SWIGINTERNSHORT int
1847 SWIG_Check_unsigned_SS_long(PyObject* obj)
1848 {
1849 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1850 }
1851
1852
1853 SWIGINTERNSHORT PyObject*
1854 SWIG_From_unsigned_SS_long(unsigned long value)
1855 {
1856 return (value > LONG_MAX) ?
1857 PyLong_FromUnsignedLong(value)
1858 : PyInt_FromLong((long)(value));
1859 }
1860
1861
1862 #include <wx/vlbox.h>
1863
1864 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1865
1866 class wxPyVListBox : public wxVListBox
1867 {
1868 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1869 public:
1870 wxPyVListBox() : wxVListBox() {}
1871
1872 wxPyVListBox(wxWindow *parent,
1873 wxWindowID id = wxID_ANY,
1874 const wxPoint& pos = wxDefaultPosition,
1875 const wxSize& size = wxDefaultSize,
1876 long style = 0,
1877 const wxString& name = wxPyVListBoxNameStr)
1878 : wxVListBox(parent, id, pos, size, style, name)
1879 {}
1880
1881 // Overridable virtuals
1882
1883 // the derived class must implement this function to actually draw the item
1884 // with the given index on the provided DC
1885 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1886 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1887
1888
1889 // the derived class must implement this method to return the height of the
1890 // specified item
1891 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1892 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1893
1894
1895 // this method may be used to draw separators between the lines; note that
1896 // the rectangle may be modified, typically to deflate it a bit before
1897 // passing to OnDrawItem()
1898 //
1899 // the base class version doesn't do anything
1900 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1901 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1902
1903
1904 // this method is used to draw the items background and, maybe, a border
1905 // around it
1906 //
1907 // the base class version implements a reasonable default behaviour which
1908 // consists in drawing the selected item with the standard background
1909 // colour and drawing a border around the item if it is either selected or
1910 // current
1911 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1912 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1913
1914
1915 PYPRIVATE;
1916 };
1917
1918 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1919
1920 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1921 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1922 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1923 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1924
1925
1926 static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
1927 unsigned long cookie = 0;
1928 int selected = self->GetFirstSelected(cookie);
1929 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1930 PyObject* tup = PyTuple_New(2);
1931 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1932 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1933 wxPyEndBlockThreads(blocked);
1934 return tup;
1935 }
1936 static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
1937 int selected = self->GetNextSelected(cookie);
1938 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1939 PyObject* tup = PyTuple_New(2);
1940 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1941 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1942 wxPyEndBlockThreads(blocked);
1943 return tup;
1944 }
1945
1946 #include <wx/htmllbox.h>
1947
1948
1949 class wxPyHtmlListBox : public wxHtmlListBox
1950 {
1951 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1952 public:
1953 wxPyHtmlListBox() : wxHtmlListBox() {}
1954
1955 wxPyHtmlListBox(wxWindow *parent,
1956 wxWindowID id = wxID_ANY,
1957 const wxPoint& pos = wxDefaultPosition,
1958 const wxSize& size = wxDefaultSize,
1959 long style = 0,
1960 const wxString& name = wxPyVListBoxNameStr)
1961 : wxHtmlListBox(parent, id, pos, size, style, name)
1962 {}
1963
1964 // Overridable virtuals
1965
1966 // this method must be implemented in the derived class and should return
1967 // the body (i.e. without <html>) of the HTML for the given item
1968 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1969
1970 // this function may be overridden to decorate HTML returned by OnGetItem()
1971 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1972
1973 // TODO:
1974 // // this method allows to customize the selection appearance: it may be used
1975 // // to specify the colour of the text which normally has the given colour
1976 // // colFg when it is inside the selection
1977 // //
1978 // // by default, the original colour is not used at all and all text has the
1979 // // same (default for this system) colour inside selection
1980 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1981
1982 // // this is the same as GetSelectedTextColour() but allows to customize the
1983 // // background colour -- this is even more rarely used as you can change it
1984 // // globally using SetSelectionBackground()
1985 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1986
1987
1988 PYPRIVATE;
1989 };
1990
1991
1992 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1993
1994 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1995 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1996
1997
1998
1999
2000
2001 #ifndef wxHAS_TASK_BAR_ICON
2002 // implement dummy classes for platforms that don't have it
2003
2004 class wxTaskBarIcon : public wxEvtHandler
2005 {
2006 public:
2007 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2008 };
2009
2010
2011 class wxTaskBarIconEvent : public wxEvent
2012 {
2013 public:
2014 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2015 { wxPyRaiseNotImplemented(); }
2016 virtual wxEvent* Clone() const { return NULL; }
2017 bool IsOk() const { return false; }
2018 bool IsIconInstalled() const { return false; }
2019 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2020 bool RemoveIcon() { return false; }
2021 bool PopupMenu(wxMenu *menu) { return false; }
2022 };
2023
2024 enum {
2025 wxEVT_TASKBAR_MOVE = 0,
2026 wxEVT_TASKBAR_LEFT_DOWN = 0,
2027 wxEVT_TASKBAR_LEFT_UP = 0,
2028 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2029 wxEVT_TASKBAR_RIGHT_UP = 0,
2030 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2031 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2032 };
2033
2034
2035 #else
2036 // Otherwise make a class that can virtualize CreatePopupMenu
2037 class wxPyTaskBarIcon : public wxTaskBarIcon
2038 {
2039 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2040 public:
2041 wxPyTaskBarIcon() : wxTaskBarIcon()
2042 {}
2043
2044 wxMenu* CreatePopupMenu() {
2045 wxMenu *rval = NULL;
2046 bool found;
2047 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2048 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2049 PyObject* ro;
2050 wxMenu* ptr;
2051 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2052 if (ro) {
2053 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2054 rval = ptr;
2055 Py_DECREF(ro);
2056 }
2057 }
2058 wxPyEndBlockThreads(blocked);
2059 if (! found)
2060 rval = wxTaskBarIcon::CreatePopupMenu();
2061 return rval;
2062 }
2063
2064 PYPRIVATE;
2065 };
2066
2067 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2068
2069 #endif
2070
2071 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2072 self->RemoveIcon();
2073 delete self;
2074 }
2075 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2076 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2077 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2078 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2079 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2080 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
2081 static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2082 wxArrayString arr;
2083 self->GetFilenames(arr);
2084 return wxArrayString2PyList_helper(arr);
2085 }
2086 static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2087 wxArrayString arr;
2088 self->GetPaths(arr);
2089 return wxArrayString2PyList_helper(arr);
2090 }
2091 static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2092 return wxArrayInt2PyList_helper(self->GetSelections());
2093 }
2094 static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
2095 return new wxSingleChoiceDialog(parent, message, caption,
2096 choices, choices_array, NULL, style, pos);
2097 }
2098 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2099
2100 #include <wx/mdi.h>
2101
2102 // C++ version of Python aware wxWindow
2103 class wxPyWindow : public wxWindow
2104 {
2105 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2106 public:
2107 wxPyWindow() : wxWindow() {}
2108 wxPyWindow(wxWindow* parent, const wxWindowID id,
2109 const wxPoint& pos = wxDefaultPosition,
2110 const wxSize& size = wxDefaultSize,
2111 long style = 0,
2112 const wxString& name = wxPyPanelNameStr)
2113 : wxWindow(parent, id, pos, size, style, name) {}
2114
2115 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2116
2117 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_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3872 PyObject *resultobj;
3873 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3874 wxRect *arg2 = 0 ;
3875 wxRect temp2 ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj1 = 0 ;
3878 char *kwnames[] = {
3879 (char *) "self",(char *) "rect", NULL
3880 };
3881
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
3883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3884 if (SWIG_arg_fail(1)) SWIG_fail;
3885 {
3886 arg2 = &temp2;
3887 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3888 }
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 (arg1)->SetTargetRect((wxRect const &)*arg2);
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 Py_INCREF(Py_None); resultobj = Py_None;
3897 return resultobj;
3898 fail:
3899 return NULL;
3900 }
3901
3902
3903 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3904 PyObject *resultobj;
3905 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3906 wxRect result;
3907 PyObject * obj0 = 0 ;
3908 char *kwnames[] = {
3909 (char *) "self", NULL
3910 };
3911
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
3913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3914 if (SWIG_arg_fail(1)) SWIG_fail;
3915 {
3916 PyThreadState* __tstate = wxPyBeginAllowThreads();
3917 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
3918
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 {
3923 wxRect * resultptr;
3924 resultptr = new wxRect((wxRect &)(result));
3925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3926 }
3927 return resultobj;
3928 fail:
3929 return NULL;
3930 }
3931
3932
3933 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
3934 PyObject *resultobj;
3935 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3936 wxDC *arg2 = 0 ;
3937 PyObject * obj0 = 0 ;
3938 PyObject * obj1 = 0 ;
3939 char *kwnames[] = {
3940 (char *) "self",(char *) "dc", NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
3944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3945 if (SWIG_arg_fail(1)) SWIG_fail;
3946 {
3947 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3948 if (SWIG_arg_fail(2)) SWIG_fail;
3949 if (arg2 == NULL) {
3950 SWIG_null_ref("wxDC");
3951 }
3952 if (SWIG_arg_fail(2)) SWIG_fail;
3953 }
3954 {
3955 PyThreadState* __tstate = wxPyBeginAllowThreads();
3956 (arg1)->DoPrepareDC(*arg2);
3957
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 Py_INCREF(Py_None); resultobj = Py_None;
3962 return resultobj;
3963 fail:
3964 return NULL;
3965 }
3966
3967
3968 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3969 PyObject *resultobj;
3970 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3971 wxVisualAttributes result;
3972 PyObject * obj0 = 0 ;
3973 char *kwnames[] = {
3974 (char *) "variant", NULL
3975 };
3976
3977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3978 if (obj0) {
3979 {
3980 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3981 if (SWIG_arg_fail(1)) SWIG_fail;
3982 }
3983 }
3984 {
3985 if (!wxPyCheckForApp()) SWIG_fail;
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3988
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 {
3993 wxVisualAttributes * resultptr;
3994 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3995 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3996 }
3997 return resultobj;
3998 fail:
3999 return NULL;
4000 }
4001
4002
4003 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
4004 PyObject *obj;
4005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4006 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4007 Py_INCREF(obj);
4008 return Py_BuildValue((char *)"");
4009 }
4010 static int _wrap_FrameNameStr_set(PyObject *) {
4011 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4012 return 1;
4013 }
4014
4015
4016 static PyObject *_wrap_FrameNameStr_get(void) {
4017 PyObject *pyobj;
4018
4019 {
4020 #if wxUSE_UNICODE
4021 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4022 #else
4023 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4024 #endif
4025 }
4026 return pyobj;
4027 }
4028
4029
4030 static int _wrap_DialogNameStr_set(PyObject *) {
4031 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4032 return 1;
4033 }
4034
4035
4036 static PyObject *_wrap_DialogNameStr_get(void) {
4037 PyObject *pyobj;
4038
4039 {
4040 #if wxUSE_UNICODE
4041 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4042 #else
4043 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4044 #endif
4045 }
4046 return pyobj;
4047 }
4048
4049
4050 static int _wrap_StatusLineNameStr_set(PyObject *) {
4051 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4052 return 1;
4053 }
4054
4055
4056 static PyObject *_wrap_StatusLineNameStr_get(void) {
4057 PyObject *pyobj;
4058
4059 {
4060 #if wxUSE_UNICODE
4061 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4062 #else
4063 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4064 #endif
4065 }
4066 return pyobj;
4067 }
4068
4069
4070 static int _wrap_ToolBarNameStr_set(PyObject *) {
4071 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4072 return 1;
4073 }
4074
4075
4076 static PyObject *_wrap_ToolBarNameStr_get(void) {
4077 PyObject *pyobj;
4078
4079 {
4080 #if wxUSE_UNICODE
4081 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4082 #else
4083 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4084 #endif
4085 }
4086 return pyobj;
4087 }
4088
4089
4090 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4091 PyObject *resultobj;
4092 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4093 bool arg2 = (bool) true ;
4094 PyObject * obj0 = 0 ;
4095 PyObject * obj1 = 0 ;
4096 char *kwnames[] = {
4097 (char *) "self",(char *) "maximize", NULL
4098 };
4099
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4102 if (SWIG_arg_fail(1)) SWIG_fail;
4103 if (obj1) {
4104 {
4105 arg2 = (bool)(SWIG_As_bool(obj1));
4106 if (SWIG_arg_fail(2)) SWIG_fail;
4107 }
4108 }
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 (arg1)->Maximize(arg2);
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 Py_INCREF(Py_None); resultobj = Py_None;
4117 return resultobj;
4118 fail:
4119 return NULL;
4120 }
4121
4122
4123 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4124 PyObject *resultobj;
4125 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4126 PyObject * obj0 = 0 ;
4127 char *kwnames[] = {
4128 (char *) "self", NULL
4129 };
4130
4131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4133 if (SWIG_arg_fail(1)) SWIG_fail;
4134 {
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 (arg1)->Restore();
4137
4138 wxPyEndAllowThreads(__tstate);
4139 if (PyErr_Occurred()) SWIG_fail;
4140 }
4141 Py_INCREF(Py_None); resultobj = Py_None;
4142 return resultobj;
4143 fail:
4144 return NULL;
4145 }
4146
4147
4148 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4149 PyObject *resultobj;
4150 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4151 bool arg2 = (bool) true ;
4152 PyObject * obj0 = 0 ;
4153 PyObject * obj1 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self",(char *) "iconize", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4160 if (SWIG_arg_fail(1)) SWIG_fail;
4161 if (obj1) {
4162 {
4163 arg2 = (bool)(SWIG_As_bool(obj1));
4164 if (SWIG_arg_fail(2)) SWIG_fail;
4165 }
4166 }
4167 {
4168 PyThreadState* __tstate = wxPyBeginAllowThreads();
4169 (arg1)->Iconize(arg2);
4170
4171 wxPyEndAllowThreads(__tstate);
4172 if (PyErr_Occurred()) SWIG_fail;
4173 }
4174 Py_INCREF(Py_None); resultobj = Py_None;
4175 return resultobj;
4176 fail:
4177 return NULL;
4178 }
4179
4180
4181 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj;
4183 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4184 bool result;
4185 PyObject * obj0 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4192 if (SWIG_arg_fail(1)) SWIG_fail;
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 {
4201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4202 }
4203 return resultobj;
4204 fail:
4205 return NULL;
4206 }
4207
4208
4209 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4210 PyObject *resultobj;
4211 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4212 bool result;
4213 PyObject * obj0 = 0 ;
4214 char *kwnames[] = {
4215 (char *) "self", NULL
4216 };
4217
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4220 if (SWIG_arg_fail(1)) SWIG_fail;
4221 {
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4224
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 {
4229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4230 }
4231 return resultobj;
4232 fail:
4233 return NULL;
4234 }
4235
4236
4237 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4240 wxIcon result;
4241 PyObject * obj0 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4248 if (SWIG_arg_fail(1)) SWIG_fail;
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 {
4257 wxIcon * resultptr;
4258 resultptr = new wxIcon((wxIcon &)(result));
4259 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4260 }
4261 return resultobj;
4262 fail:
4263 return NULL;
4264 }
4265
4266
4267 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4268 PyObject *resultobj;
4269 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4270 wxIcon *arg2 = 0 ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 char *kwnames[] = {
4274 (char *) "self",(char *) "icon", NULL
4275 };
4276
4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4279 if (SWIG_arg_fail(1)) SWIG_fail;
4280 {
4281 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4282 if (SWIG_arg_fail(2)) SWIG_fail;
4283 if (arg2 == NULL) {
4284 SWIG_null_ref("wxIcon");
4285 }
4286 if (SWIG_arg_fail(2)) SWIG_fail;
4287 }
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 (arg1)->SetIcon((wxIcon const &)*arg2);
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 Py_INCREF(Py_None); resultobj = Py_None;
4296 return resultobj;
4297 fail:
4298 return NULL;
4299 }
4300
4301
4302 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4303 PyObject *resultobj;
4304 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4305 wxIconBundle *arg2 = 0 ;
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
4308 char *kwnames[] = {
4309 (char *) "self",(char *) "icons", NULL
4310 };
4311
4312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4314 if (SWIG_arg_fail(1)) SWIG_fail;
4315 {
4316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4317 if (SWIG_arg_fail(2)) SWIG_fail;
4318 if (arg2 == NULL) {
4319 SWIG_null_ref("wxIconBundle");
4320 }
4321 if (SWIG_arg_fail(2)) SWIG_fail;
4322 }
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4326
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 Py_INCREF(Py_None); resultobj = Py_None;
4331 return resultobj;
4332 fail:
4333 return NULL;
4334 }
4335
4336
4337 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4340 bool arg2 ;
4341 long arg3 = (long) wxFULLSCREEN_ALL ;
4342 bool result;
4343 PyObject * obj0 = 0 ;
4344 PyObject * obj1 = 0 ;
4345 PyObject * obj2 = 0 ;
4346 char *kwnames[] = {
4347 (char *) "self",(char *) "show",(char *) "style", NULL
4348 };
4349
4350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4352 if (SWIG_arg_fail(1)) SWIG_fail;
4353 {
4354 arg2 = (bool)(SWIG_As_bool(obj1));
4355 if (SWIG_arg_fail(2)) SWIG_fail;
4356 }
4357 if (obj2) {
4358 {
4359 arg3 = (long)(SWIG_As_long(obj2));
4360 if (SWIG_arg_fail(3)) SWIG_fail;
4361 }
4362 }
4363 {
4364 PyThreadState* __tstate = wxPyBeginAllowThreads();
4365 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4366
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 {
4371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4372 }
4373 return resultobj;
4374 fail:
4375 return NULL;
4376 }
4377
4378
4379 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4380 PyObject *resultobj;
4381 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4382 bool result;
4383 PyObject * obj0 = 0 ;
4384 char *kwnames[] = {
4385 (char *) "self", NULL
4386 };
4387
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4390 if (SWIG_arg_fail(1)) SWIG_fail;
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 {
4399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4400 }
4401 return resultobj;
4402 fail:
4403 return NULL;
4404 }
4405
4406
4407 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4408 PyObject *resultobj;
4409 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4410 wxString *arg2 = 0 ;
4411 bool temp2 = false ;
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4414 char *kwnames[] = {
4415 (char *) "self",(char *) "title", NULL
4416 };
4417
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4420 if (SWIG_arg_fail(1)) SWIG_fail;
4421 {
4422 arg2 = wxString_in_helper(obj1);
4423 if (arg2 == NULL) SWIG_fail;
4424 temp2 = true;
4425 }
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 (arg1)->SetTitle((wxString const &)*arg2);
4429
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 Py_INCREF(Py_None); resultobj = Py_None;
4434 {
4435 if (temp2)
4436 delete arg2;
4437 }
4438 return resultobj;
4439 fail:
4440 {
4441 if (temp2)
4442 delete arg2;
4443 }
4444 return NULL;
4445 }
4446
4447
4448 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4449 PyObject *resultobj;
4450 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4451 wxString result;
4452 PyObject * obj0 = 0 ;
4453 char *kwnames[] = {
4454 (char *) "self", NULL
4455 };
4456
4457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4459 if (SWIG_arg_fail(1)) SWIG_fail;
4460 {
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 {
4468 #if wxUSE_UNICODE
4469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4470 #else
4471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4472 #endif
4473 }
4474 return resultobj;
4475 fail:
4476 return NULL;
4477 }
4478
4479
4480 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4481 PyObject *resultobj;
4482 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4483 wxRegion *arg2 = 0 ;
4484 bool result;
4485 PyObject * obj0 = 0 ;
4486 PyObject * obj1 = 0 ;
4487 char *kwnames[] = {
4488 (char *) "self",(char *) "region", NULL
4489 };
4490
4491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4493 if (SWIG_arg_fail(1)) SWIG_fail;
4494 {
4495 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4496 if (SWIG_arg_fail(2)) SWIG_fail;
4497 if (arg2 == NULL) {
4498 SWIG_null_ref("wxRegion");
4499 }
4500 if (SWIG_arg_fail(2)) SWIG_fail;
4501 }
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 {
4510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4511 }
4512 return resultobj;
4513 fail:
4514 return NULL;
4515 }
4516
4517
4518 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj;
4520 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4521 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4522 PyObject * obj0 = 0 ;
4523 PyObject * obj1 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "self",(char *) "flags", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4530 if (SWIG_arg_fail(1)) SWIG_fail;
4531 if (obj1) {
4532 {
4533 arg2 = (int)(SWIG_As_int(obj1));
4534 if (SWIG_arg_fail(2)) SWIG_fail;
4535 }
4536 }
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 (arg1)->RequestUserAttention(arg2);
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 Py_INCREF(Py_None); resultobj = Py_None;
4545 return resultobj;
4546 fail:
4547 return NULL;
4548 }
4549
4550
4551 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4552 PyObject *resultobj;
4553 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4554 bool result;
4555 PyObject * obj0 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "self", NULL
4558 };
4559
4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4562 if (SWIG_arg_fail(1)) SWIG_fail;
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 result = (bool)(arg1)->IsActive();
4566
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 {
4571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4572 }
4573 return resultobj;
4574 fail:
4575 return NULL;
4576 }
4577
4578
4579 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4582 bool arg2 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 char *kwnames[] = {
4586 (char *) "self",(char *) "on", NULL
4587 };
4588
4589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail;
4592 {
4593 arg2 = (bool)(SWIG_As_bool(obj1));
4594 if (SWIG_arg_fail(2)) SWIG_fail;
4595 }
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4599
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
4603 Py_INCREF(Py_None); resultobj = Py_None;
4604 return resultobj;
4605 fail:
4606 return NULL;
4607 }
4608
4609
4610 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4611 PyObject *resultobj;
4612 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4613 bool result;
4614 PyObject * obj0 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "self", NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail;
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 {
4630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4631 }
4632 return resultobj;
4633 fail:
4634 return NULL;
4635 }
4636
4637
4638 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4639 PyObject *obj;
4640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4641 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4642 Py_INCREF(obj);
4643 return Py_BuildValue((char *)"");
4644 }
4645 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4646 PyObject *resultobj;
4647 wxWindow *arg1 = (wxWindow *) 0 ;
4648 int arg2 = (int) (int)-1 ;
4649 wxString const &arg3_defvalue = wxPyEmptyString ;
4650 wxString *arg3 = (wxString *) &arg3_defvalue ;
4651 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4652 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4653 wxSize const &arg5_defvalue = wxDefaultSize ;
4654 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4655 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4656 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4657 wxString *arg7 = (wxString *) &arg7_defvalue ;
4658 wxFrame *result;
4659 bool temp3 = false ;
4660 wxPoint temp4 ;
4661 wxSize temp5 ;
4662 bool temp7 = false ;
4663 PyObject * obj0 = 0 ;
4664 PyObject * obj1 = 0 ;
4665 PyObject * obj2 = 0 ;
4666 PyObject * obj3 = 0 ;
4667 PyObject * obj4 = 0 ;
4668 PyObject * obj5 = 0 ;
4669 PyObject * obj6 = 0 ;
4670 char *kwnames[] = {
4671 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4672 };
4673
4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4676 if (SWIG_arg_fail(1)) SWIG_fail;
4677 if (obj1) {
4678 {
4679 arg2 = (int const)(SWIG_As_int(obj1));
4680 if (SWIG_arg_fail(2)) SWIG_fail;
4681 }
4682 }
4683 if (obj2) {
4684 {
4685 arg3 = wxString_in_helper(obj2);
4686 if (arg3 == NULL) SWIG_fail;
4687 temp3 = true;
4688 }
4689 }
4690 if (obj3) {
4691 {
4692 arg4 = &temp4;
4693 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4694 }
4695 }
4696 if (obj4) {
4697 {
4698 arg5 = &temp5;
4699 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4700 }
4701 }
4702 if (obj5) {
4703 {
4704 arg6 = (long)(SWIG_As_long(obj5));
4705 if (SWIG_arg_fail(6)) SWIG_fail;
4706 }
4707 }
4708 if (obj6) {
4709 {
4710 arg7 = wxString_in_helper(obj6);
4711 if (arg7 == NULL) SWIG_fail;
4712 temp7 = true;
4713 }
4714 }
4715 {
4716 if (!wxPyCheckForApp()) SWIG_fail;
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4724 {
4725 if (temp3)
4726 delete arg3;
4727 }
4728 {
4729 if (temp7)
4730 delete arg7;
4731 }
4732 return resultobj;
4733 fail:
4734 {
4735 if (temp3)
4736 delete arg3;
4737 }
4738 {
4739 if (temp7)
4740 delete arg7;
4741 }
4742 return NULL;
4743 }
4744
4745
4746 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4747 PyObject *resultobj;
4748 wxFrame *result;
4749 char *kwnames[] = {
4750 NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4754 {
4755 if (!wxPyCheckForApp()) SWIG_fail;
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 result = (wxFrame *)new wxFrame();
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4763 return resultobj;
4764 fail:
4765 return NULL;
4766 }
4767
4768
4769 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4770 PyObject *resultobj;
4771 wxFrame *arg1 = (wxFrame *) 0 ;
4772 wxWindow *arg2 = (wxWindow *) 0 ;
4773 int arg3 = (int) (int)-1 ;
4774 wxString const &arg4_defvalue = wxPyEmptyString ;
4775 wxString *arg4 = (wxString *) &arg4_defvalue ;
4776 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4777 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4778 wxSize const &arg6_defvalue = wxDefaultSize ;
4779 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4780 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4781 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4782 wxString *arg8 = (wxString *) &arg8_defvalue ;
4783 bool result;
4784 bool temp4 = false ;
4785 wxPoint temp5 ;
4786 wxSize temp6 ;
4787 bool temp8 = false ;
4788 PyObject * obj0 = 0 ;
4789 PyObject * obj1 = 0 ;
4790 PyObject * obj2 = 0 ;
4791 PyObject * obj3 = 0 ;
4792 PyObject * obj4 = 0 ;
4793 PyObject * obj5 = 0 ;
4794 PyObject * obj6 = 0 ;
4795 PyObject * obj7 = 0 ;
4796 char *kwnames[] = {
4797 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4798 };
4799
4800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4802 if (SWIG_arg_fail(1)) SWIG_fail;
4803 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4804 if (SWIG_arg_fail(2)) SWIG_fail;
4805 if (obj2) {
4806 {
4807 arg3 = (int const)(SWIG_As_int(obj2));
4808 if (SWIG_arg_fail(3)) SWIG_fail;
4809 }
4810 }
4811 if (obj3) {
4812 {
4813 arg4 = wxString_in_helper(obj3);
4814 if (arg4 == NULL) SWIG_fail;
4815 temp4 = true;
4816 }
4817 }
4818 if (obj4) {
4819 {
4820 arg5 = &temp5;
4821 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4822 }
4823 }
4824 if (obj5) {
4825 {
4826 arg6 = &temp6;
4827 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4828 }
4829 }
4830 if (obj6) {
4831 {
4832 arg7 = (long)(SWIG_As_long(obj6));
4833 if (SWIG_arg_fail(7)) SWIG_fail;
4834 }
4835 }
4836 if (obj7) {
4837 {
4838 arg8 = wxString_in_helper(obj7);
4839 if (arg8 == NULL) SWIG_fail;
4840 temp8 = true;
4841 }
4842 }
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 {
4851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4852 }
4853 {
4854 if (temp4)
4855 delete arg4;
4856 }
4857 {
4858 if (temp8)
4859 delete arg8;
4860 }
4861 return resultobj;
4862 fail:
4863 {
4864 if (temp4)
4865 delete arg4;
4866 }
4867 {
4868 if (temp8)
4869 delete arg8;
4870 }
4871 return NULL;
4872 }
4873
4874
4875 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxFrame *arg1 = (wxFrame *) 0 ;
4878 wxPoint result;
4879 PyObject * obj0 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
4885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4886 if (SWIG_arg_fail(1)) SWIG_fail;
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 {
4895 wxPoint * resultptr;
4896 resultptr = new wxPoint((wxPoint &)(result));
4897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4898 }
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxFrame *arg1 = (wxFrame *) 0 ;
4908 PyObject * obj0 = 0 ;
4909 char *kwnames[] = {
4910 (char *) "self", NULL
4911 };
4912
4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
4914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4915 if (SWIG_arg_fail(1)) SWIG_fail;
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 (arg1)->SendSizeEvent();
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 Py_INCREF(Py_None); resultobj = Py_None;
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4931 PyObject *resultobj;
4932 wxFrame *arg1 = (wxFrame *) 0 ;
4933 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4934 PyObject * obj0 = 0 ;
4935 PyObject * obj1 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self",(char *) "menubar", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
4941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4942 if (SWIG_arg_fail(1)) SWIG_fail;
4943 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4944 if (SWIG_arg_fail(2)) SWIG_fail;
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 (arg1)->SetMenuBar(arg2);
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 Py_INCREF(Py_None); resultobj = Py_None;
4953 return resultobj;
4954 fail:
4955 return NULL;
4956 }
4957
4958
4959 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 wxFrame *arg1 = (wxFrame *) 0 ;
4962 wxMenuBar *result;
4963 PyObject * obj0 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
4969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4970 if (SWIG_arg_fail(1)) SWIG_fail;
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 {
4979 resultobj = wxPyMake_wxObject(result, 0);
4980 }
4981 return resultobj;
4982 fail:
4983 return NULL;
4984 }
4985
4986
4987 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
4988 PyObject *resultobj;
4989 wxFrame *arg1 = (wxFrame *) 0 ;
4990 int arg2 ;
4991 bool result;
4992 PyObject * obj0 = 0 ;
4993 PyObject * obj1 = 0 ;
4994 char *kwnames[] = {
4995 (char *) "self",(char *) "winid", NULL
4996 };
4997
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
4999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5000 if (SWIG_arg_fail(1)) SWIG_fail;
5001 {
5002 arg2 = (int)(SWIG_As_int(obj1));
5003 if (SWIG_arg_fail(2)) SWIG_fail;
5004 }
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 result = (bool)(arg1)->ProcessCommand(arg2);
5008
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 {
5013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5014 }
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxFrame *arg1 = (wxFrame *) 0 ;
5024 int arg2 = (int) 1 ;
5025 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
5026 int arg4 = (int) 0 ;
5027 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5028 wxString *arg5 = (wxString *) &arg5_defvalue ;
5029 wxStatusBar *result;
5030 bool temp5 = false ;
5031 PyObject * obj0 = 0 ;
5032 PyObject * obj1 = 0 ;
5033 PyObject * obj2 = 0 ;
5034 PyObject * obj3 = 0 ;
5035 PyObject * obj4 = 0 ;
5036 char *kwnames[] = {
5037 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5038 };
5039
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5042 if (SWIG_arg_fail(1)) SWIG_fail;
5043 if (obj1) {
5044 {
5045 arg2 = (int)(SWIG_As_int(obj1));
5046 if (SWIG_arg_fail(2)) SWIG_fail;
5047 }
5048 }
5049 if (obj2) {
5050 {
5051 arg3 = (long)(SWIG_As_long(obj2));
5052 if (SWIG_arg_fail(3)) SWIG_fail;
5053 }
5054 }
5055 if (obj3) {
5056 {
5057 arg4 = (int)(SWIG_As_int(obj3));
5058 if (SWIG_arg_fail(4)) SWIG_fail;
5059 }
5060 }
5061 if (obj4) {
5062 {
5063 arg5 = wxString_in_helper(obj4);
5064 if (arg5 == NULL) SWIG_fail;
5065 temp5 = true;
5066 }
5067 }
5068 {
5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
5070 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5071
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 {
5076 resultobj = wxPyMake_wxObject(result, 0);
5077 }
5078 {
5079 if (temp5)
5080 delete arg5;
5081 }
5082 return resultobj;
5083 fail:
5084 {
5085 if (temp5)
5086 delete arg5;
5087 }
5088 return NULL;
5089 }
5090
5091
5092 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5093 PyObject *resultobj;
5094 wxFrame *arg1 = (wxFrame *) 0 ;
5095 wxStatusBar *result;
5096 PyObject * obj0 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5103 if (SWIG_arg_fail(1)) SWIG_fail;
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 {
5112 resultobj = wxPyMake_wxObject(result, 0);
5113 }
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj;
5122 wxFrame *arg1 = (wxFrame *) 0 ;
5123 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5124 PyObject * obj0 = 0 ;
5125 PyObject * obj1 = 0 ;
5126 char *kwnames[] = {
5127 (char *) "self",(char *) "statBar", NULL
5128 };
5129
5130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5132 if (SWIG_arg_fail(1)) SWIG_fail;
5133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5134 if (SWIG_arg_fail(2)) SWIG_fail;
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 (arg1)->SetStatusBar(arg2);
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 Py_INCREF(Py_None); resultobj = Py_None;
5143 return resultobj;
5144 fail:
5145 return NULL;
5146 }
5147
5148
5149 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5150 PyObject *resultobj;
5151 wxFrame *arg1 = (wxFrame *) 0 ;
5152 wxString *arg2 = 0 ;
5153 int arg3 = (int) 0 ;
5154 bool temp2 = false ;
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj1 = 0 ;
5157 PyObject * obj2 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self",(char *) "text",(char *) "number", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail;
5165 {
5166 arg2 = wxString_in_helper(obj1);
5167 if (arg2 == NULL) SWIG_fail;
5168 temp2 = true;
5169 }
5170 if (obj2) {
5171 {
5172 arg3 = (int)(SWIG_As_int(obj2));
5173 if (SWIG_arg_fail(3)) SWIG_fail;
5174 }
5175 }
5176 {
5177 PyThreadState* __tstate = wxPyBeginAllowThreads();
5178 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5179
5180 wxPyEndAllowThreads(__tstate);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
5183 Py_INCREF(Py_None); resultobj = Py_None;
5184 {
5185 if (temp2)
5186 delete arg2;
5187 }
5188 return resultobj;
5189 fail:
5190 {
5191 if (temp2)
5192 delete arg2;
5193 }
5194 return NULL;
5195 }
5196
5197
5198 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxFrame *arg1 = (wxFrame *) 0 ;
5201 int arg2 ;
5202 int *arg3 = (int *) 0 ;
5203 PyObject * obj0 = 0 ;
5204 PyObject * obj1 = 0 ;
5205 char *kwnames[] = {
5206 (char *) "self",(char *) "widths", NULL
5207 };
5208
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5211 if (SWIG_arg_fail(1)) SWIG_fail;
5212 {
5213 arg2 = PyList_Size(obj1);
5214 arg3 = int_LIST_helper(obj1);
5215 if (arg3 == NULL) SWIG_fail;
5216 }
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 Py_INCREF(Py_None); resultobj = Py_None;
5225 {
5226 if (arg3) delete [] arg3;
5227 }
5228 return resultobj;
5229 fail:
5230 {
5231 if (arg3) delete [] arg3;
5232 }
5233 return NULL;
5234 }
5235
5236
5237 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxFrame *arg1 = (wxFrame *) 0 ;
5240 wxString *arg2 = 0 ;
5241 int arg3 = (int) 0 ;
5242 bool temp2 = false ;
5243 PyObject * obj0 = 0 ;
5244 PyObject * obj1 = 0 ;
5245 PyObject * obj2 = 0 ;
5246 char *kwnames[] = {
5247 (char *) "self",(char *) "text",(char *) "number", NULL
5248 };
5249
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5252 if (SWIG_arg_fail(1)) SWIG_fail;
5253 {
5254 arg2 = wxString_in_helper(obj1);
5255 if (arg2 == NULL) SWIG_fail;
5256 temp2 = true;
5257 }
5258 if (obj2) {
5259 {
5260 arg3 = (int)(SWIG_As_int(obj2));
5261 if (SWIG_arg_fail(3)) SWIG_fail;
5262 }
5263 }
5264 {
5265 PyThreadState* __tstate = wxPyBeginAllowThreads();
5266 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5267
5268 wxPyEndAllowThreads(__tstate);
5269 if (PyErr_Occurred()) SWIG_fail;
5270 }
5271 Py_INCREF(Py_None); resultobj = Py_None;
5272 {
5273 if (temp2)
5274 delete arg2;
5275 }
5276 return resultobj;
5277 fail:
5278 {
5279 if (temp2)
5280 delete arg2;
5281 }
5282 return NULL;
5283 }
5284
5285
5286 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5287 PyObject *resultobj;
5288 wxFrame *arg1 = (wxFrame *) 0 ;
5289 int arg2 = (int) 0 ;
5290 PyObject * obj0 = 0 ;
5291 PyObject * obj1 = 0 ;
5292 char *kwnames[] = {
5293 (char *) "self",(char *) "number", NULL
5294 };
5295
5296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5298 if (SWIG_arg_fail(1)) SWIG_fail;
5299 if (obj1) {
5300 {
5301 arg2 = (int)(SWIG_As_int(obj1));
5302 if (SWIG_arg_fail(2)) SWIG_fail;
5303 }
5304 }
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 (arg1)->PopStatusText(arg2);
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 Py_INCREF(Py_None); resultobj = Py_None;
5313 return resultobj;
5314 fail:
5315 return NULL;
5316 }
5317
5318
5319 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5320 PyObject *resultobj;
5321 wxFrame *arg1 = (wxFrame *) 0 ;
5322 int arg2 ;
5323 PyObject * obj0 = 0 ;
5324 PyObject * obj1 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "self",(char *) "n", NULL
5327 };
5328
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail;
5332 {
5333 arg2 = (int)(SWIG_As_int(obj1));
5334 if (SWIG_arg_fail(2)) SWIG_fail;
5335 }
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 (arg1)->SetStatusBarPane(arg2);
5339
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
5343 Py_INCREF(Py_None); resultobj = Py_None;
5344 return resultobj;
5345 fail:
5346 return NULL;
5347 }
5348
5349
5350 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj;
5352 wxFrame *arg1 = (wxFrame *) 0 ;
5353 int result;
5354 PyObject * obj0 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5361 if (SWIG_arg_fail(1)) SWIG_fail;
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 {
5370 resultobj = SWIG_From_int((int)(result));
5371 }
5372 return resultobj;
5373 fail:
5374 return NULL;
5375 }
5376
5377
5378 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5379 PyObject *resultobj;
5380 wxFrame *arg1 = (wxFrame *) 0 ;
5381 long arg2 = (long) -1 ;
5382 int arg3 = (int) -1 ;
5383 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5384 wxString *arg4 = (wxString *) &arg4_defvalue ;
5385 wxToolBar *result;
5386 bool temp4 = false ;
5387 PyObject * obj0 = 0 ;
5388 PyObject * obj1 = 0 ;
5389 PyObject * obj2 = 0 ;
5390 PyObject * obj3 = 0 ;
5391 char *kwnames[] = {
5392 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5393 };
5394
5395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5397 if (SWIG_arg_fail(1)) SWIG_fail;
5398 if (obj1) {
5399 {
5400 arg2 = (long)(SWIG_As_long(obj1));
5401 if (SWIG_arg_fail(2)) SWIG_fail;
5402 }
5403 }
5404 if (obj2) {
5405 {
5406 arg3 = (int)(SWIG_As_int(obj2));
5407 if (SWIG_arg_fail(3)) SWIG_fail;
5408 }
5409 }
5410 if (obj3) {
5411 {
5412 arg4 = wxString_in_helper(obj3);
5413 if (arg4 == NULL) SWIG_fail;
5414 temp4 = true;
5415 }
5416 }
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 {
5425 resultobj = wxPyMake_wxObject(result, 0);
5426 }
5427 {
5428 if (temp4)
5429 delete arg4;
5430 }
5431 return resultobj;
5432 fail:
5433 {
5434 if (temp4)
5435 delete arg4;
5436 }
5437 return NULL;
5438 }
5439
5440
5441 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5442 PyObject *resultobj;
5443 wxFrame *arg1 = (wxFrame *) 0 ;
5444 wxToolBar *result;
5445 PyObject * obj0 = 0 ;
5446 char *kwnames[] = {
5447 (char *) "self", NULL
5448 };
5449
5450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5452 if (SWIG_arg_fail(1)) SWIG_fail;
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 {
5461 resultobj = wxPyMake_wxObject(result, 0);
5462 }
5463 return resultobj;
5464 fail:
5465 return NULL;
5466 }
5467
5468
5469 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxFrame *arg1 = (wxFrame *) 0 ;
5472 wxToolBar *arg2 = (wxToolBar *) 0 ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "toolbar", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5481 if (SWIG_arg_fail(1)) SWIG_fail;
5482 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5483 if (SWIG_arg_fail(2)) SWIG_fail;
5484 {
5485 PyThreadState* __tstate = wxPyBeginAllowThreads();
5486 (arg1)->SetToolBar(arg2);
5487
5488 wxPyEndAllowThreads(__tstate);
5489 if (PyErr_Occurred()) SWIG_fail;
5490 }
5491 Py_INCREF(Py_None); resultobj = Py_None;
5492 return resultobj;
5493 fail:
5494 return NULL;
5495 }
5496
5497
5498 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5499 PyObject *resultobj;
5500 wxFrame *arg1 = (wxFrame *) 0 ;
5501 wxString *arg2 = 0 ;
5502 bool arg3 ;
5503 bool temp2 = false ;
5504 PyObject * obj0 = 0 ;
5505 PyObject * obj1 = 0 ;
5506 PyObject * obj2 = 0 ;
5507 char *kwnames[] = {
5508 (char *) "self",(char *) "text",(char *) "show", NULL
5509 };
5510
5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5513 if (SWIG_arg_fail(1)) SWIG_fail;
5514 {
5515 arg2 = wxString_in_helper(obj1);
5516 if (arg2 == NULL) SWIG_fail;
5517 temp2 = true;
5518 }
5519 {
5520 arg3 = (bool)(SWIG_As_bool(obj2));
5521 if (SWIG_arg_fail(3)) SWIG_fail;
5522 }
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5526
5527 wxPyEndAllowThreads(__tstate);
5528 if (PyErr_Occurred()) SWIG_fail;
5529 }
5530 Py_INCREF(Py_None); resultobj = Py_None;
5531 {
5532 if (temp2)
5533 delete arg2;
5534 }
5535 return resultobj;
5536 fail:
5537 {
5538 if (temp2)
5539 delete arg2;
5540 }
5541 return NULL;
5542 }
5543
5544
5545 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxFrame *arg1 = (wxFrame *) 0 ;
5548 wxMenu *arg2 = (wxMenu *) NULL ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "menu", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5557 if (SWIG_arg_fail(1)) SWIG_fail;
5558 if (obj1) {
5559 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5560 if (SWIG_arg_fail(2)) SWIG_fail;
5561 }
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 (arg1)->DoMenuUpdates(arg2);
5565
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 Py_INCREF(Py_None); resultobj = Py_None;
5570 return resultobj;
5571 fail:
5572 return NULL;
5573 }
5574
5575
5576 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5577 PyObject *resultobj;
5578 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5579 wxVisualAttributes result;
5580 PyObject * obj0 = 0 ;
5581 char *kwnames[] = {
5582 (char *) "variant", NULL
5583 };
5584
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5586 if (obj0) {
5587 {
5588 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5589 if (SWIG_arg_fail(1)) SWIG_fail;
5590 }
5591 }
5592 {
5593 if (!wxPyCheckForApp()) SWIG_fail;
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 {
5601 wxVisualAttributes * resultptr;
5602 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5604 }
5605 return resultobj;
5606 fail:
5607 return NULL;
5608 }
5609
5610
5611 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5612 PyObject *obj;
5613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5614 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5615 Py_INCREF(obj);
5616 return Py_BuildValue((char *)"");
5617 }
5618 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5619 PyObject *resultobj;
5620 wxWindow *arg1 = (wxWindow *) 0 ;
5621 int arg2 = (int) (int)-1 ;
5622 wxString const &arg3_defvalue = wxPyEmptyString ;
5623 wxString *arg3 = (wxString *) &arg3_defvalue ;
5624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5626 wxSize const &arg5_defvalue = wxDefaultSize ;
5627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5628 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5629 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5630 wxString *arg7 = (wxString *) &arg7_defvalue ;
5631 wxDialog *result;
5632 bool temp3 = false ;
5633 wxPoint temp4 ;
5634 wxSize temp5 ;
5635 bool temp7 = false ;
5636 PyObject * obj0 = 0 ;
5637 PyObject * obj1 = 0 ;
5638 PyObject * obj2 = 0 ;
5639 PyObject * obj3 = 0 ;
5640 PyObject * obj4 = 0 ;
5641 PyObject * obj5 = 0 ;
5642 PyObject * obj6 = 0 ;
5643 char *kwnames[] = {
5644 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5645 };
5646
5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5649 if (SWIG_arg_fail(1)) SWIG_fail;
5650 if (obj1) {
5651 {
5652 arg2 = (int const)(SWIG_As_int(obj1));
5653 if (SWIG_arg_fail(2)) SWIG_fail;
5654 }
5655 }
5656 if (obj2) {
5657 {
5658 arg3 = wxString_in_helper(obj2);
5659 if (arg3 == NULL) SWIG_fail;
5660 temp3 = true;
5661 }
5662 }
5663 if (obj3) {
5664 {
5665 arg4 = &temp4;
5666 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5667 }
5668 }
5669 if (obj4) {
5670 {
5671 arg5 = &temp5;
5672 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5673 }
5674 }
5675 if (obj5) {
5676 {
5677 arg6 = (long)(SWIG_As_long(obj5));
5678 if (SWIG_arg_fail(6)) SWIG_fail;
5679 }
5680 }
5681 if (obj6) {
5682 {
5683 arg7 = wxString_in_helper(obj6);
5684 if (arg7 == NULL) SWIG_fail;
5685 temp7 = true;
5686 }
5687 }
5688 {
5689 if (!wxPyCheckForApp()) SWIG_fail;
5690 PyThreadState* __tstate = wxPyBeginAllowThreads();
5691 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5697 {
5698 if (temp3)
5699 delete arg3;
5700 }
5701 {
5702 if (temp7)
5703 delete arg7;
5704 }
5705 return resultobj;
5706 fail:
5707 {
5708 if (temp3)
5709 delete arg3;
5710 }
5711 {
5712 if (temp7)
5713 delete arg7;
5714 }
5715 return NULL;
5716 }
5717
5718
5719 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxDialog *result;
5722 char *kwnames[] = {
5723 NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5727 {
5728 if (!wxPyCheckForApp()) SWIG_fail;
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 result = (wxDialog *)new wxDialog();
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5736 return resultobj;
5737 fail:
5738 return NULL;
5739 }
5740
5741
5742 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxDialog *arg1 = (wxDialog *) 0 ;
5745 wxWindow *arg2 = (wxWindow *) 0 ;
5746 int arg3 = (int) (int)-1 ;
5747 wxString const &arg4_defvalue = wxPyEmptyString ;
5748 wxString *arg4 = (wxString *) &arg4_defvalue ;
5749 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5750 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5751 wxSize const &arg6_defvalue = wxDefaultSize ;
5752 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5753 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5754 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5755 wxString *arg8 = (wxString *) &arg8_defvalue ;
5756 bool result;
5757 bool temp4 = false ;
5758 wxPoint temp5 ;
5759 wxSize temp6 ;
5760 bool temp8 = false ;
5761 PyObject * obj0 = 0 ;
5762 PyObject * obj1 = 0 ;
5763 PyObject * obj2 = 0 ;
5764 PyObject * obj3 = 0 ;
5765 PyObject * obj4 = 0 ;
5766 PyObject * obj5 = 0 ;
5767 PyObject * obj6 = 0 ;
5768 PyObject * obj7 = 0 ;
5769 char *kwnames[] = {
5770 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5771 };
5772
5773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5775 if (SWIG_arg_fail(1)) SWIG_fail;
5776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5777 if (SWIG_arg_fail(2)) SWIG_fail;
5778 if (obj2) {
5779 {
5780 arg3 = (int const)(SWIG_As_int(obj2));
5781 if (SWIG_arg_fail(3)) SWIG_fail;
5782 }
5783 }
5784 if (obj3) {
5785 {
5786 arg4 = wxString_in_helper(obj3);
5787 if (arg4 == NULL) SWIG_fail;
5788 temp4 = true;
5789 }
5790 }
5791 if (obj4) {
5792 {
5793 arg5 = &temp5;
5794 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5795 }
5796 }
5797 if (obj5) {
5798 {
5799 arg6 = &temp6;
5800 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5801 }
5802 }
5803 if (obj6) {
5804 {
5805 arg7 = (long)(SWIG_As_long(obj6));
5806 if (SWIG_arg_fail(7)) SWIG_fail;
5807 }
5808 }
5809 if (obj7) {
5810 {
5811 arg8 = wxString_in_helper(obj7);
5812 if (arg8 == NULL) SWIG_fail;
5813 temp8 = true;
5814 }
5815 }
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
5823 {
5824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5825 }
5826 {
5827 if (temp4)
5828 delete arg4;
5829 }
5830 {
5831 if (temp8)
5832 delete arg8;
5833 }
5834 return resultobj;
5835 fail:
5836 {
5837 if (temp4)
5838 delete arg4;
5839 }
5840 {
5841 if (temp8)
5842 delete arg8;
5843 }
5844 return NULL;
5845 }
5846
5847
5848 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5849 PyObject *resultobj;
5850 wxDialog *arg1 = (wxDialog *) 0 ;
5851 int arg2 ;
5852 PyObject * obj0 = 0 ;
5853 PyObject * obj1 = 0 ;
5854 char *kwnames[] = {
5855 (char *) "self",(char *) "returnCode", NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5860 if (SWIG_arg_fail(1)) SWIG_fail;
5861 {
5862 arg2 = (int)(SWIG_As_int(obj1));
5863 if (SWIG_arg_fail(2)) SWIG_fail;
5864 }
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 (arg1)->SetReturnCode(arg2);
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 Py_INCREF(Py_None); resultobj = Py_None;
5873 return resultobj;
5874 fail:
5875 return NULL;
5876 }
5877
5878
5879 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxDialog *arg1 = (wxDialog *) 0 ;
5882 int result;
5883 PyObject * obj0 = 0 ;
5884 char *kwnames[] = {
5885 (char *) "self", NULL
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
5889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5890 if (SWIG_arg_fail(1)) SWIG_fail;
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5894
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 {
5899 resultobj = SWIG_From_int((int)(result));
5900 }
5901 return resultobj;
5902 fail:
5903 return NULL;
5904 }
5905
5906
5907 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5908 PyObject *resultobj;
5909 wxDialog *arg1 = (wxDialog *) 0 ;
5910 wxString *arg2 = 0 ;
5911 wxSizer *result;
5912 bool temp2 = false ;
5913 PyObject * obj0 = 0 ;
5914 PyObject * obj1 = 0 ;
5915 char *kwnames[] = {
5916 (char *) "self",(char *) "message", NULL
5917 };
5918
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
5920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5921 if (SWIG_arg_fail(1)) SWIG_fail;
5922 {
5923 arg2 = wxString_in_helper(obj1);
5924 if (arg2 == NULL) SWIG_fail;
5925 temp2 = true;
5926 }
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 {
5935 resultobj = wxPyMake_wxObject(result, 0);
5936 }
5937 {
5938 if (temp2)
5939 delete arg2;
5940 }
5941 return resultobj;
5942 fail:
5943 {
5944 if (temp2)
5945 delete arg2;
5946 }
5947 return NULL;
5948 }
5949
5950
5951 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 wxDialog *arg1 = (wxDialog *) 0 ;
5954 long arg2 ;
5955 wxSizer *result;
5956 PyObject * obj0 = 0 ;
5957 PyObject * obj1 = 0 ;
5958 char *kwnames[] = {
5959 (char *) "self",(char *) "flags", NULL
5960 };
5961
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5964 if (SWIG_arg_fail(1)) SWIG_fail;
5965 {
5966 arg2 = (long)(SWIG_As_long(obj1));
5967 if (SWIG_arg_fail(2)) SWIG_fail;
5968 }
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 {
5977 resultobj = wxPyMake_wxObject(result, 0);
5978 }
5979 return resultobj;
5980 fail:
5981 return NULL;
5982 }
5983
5984
5985 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj;
5987 wxDialog *arg1 = (wxDialog *) 0 ;
5988 long arg2 ;
5989 wxStdDialogButtonSizer *result;
5990 PyObject * obj0 = 0 ;
5991 PyObject * obj1 = 0 ;
5992 char *kwnames[] = {
5993 (char *) "self",(char *) "flags", NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5998 if (SWIG_arg_fail(1)) SWIG_fail;
5999 {
6000 arg2 = (long)(SWIG_As_long(obj1));
6001 if (SWIG_arg_fail(2)) SWIG_fail;
6002 }
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6011 return resultobj;
6012 fail:
6013 return NULL;
6014 }
6015
6016
6017 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxDialog *arg1 = (wxDialog *) 0 ;
6020 bool result;
6021 PyObject * obj0 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6028 if (SWIG_arg_fail(1)) SWIG_fail;
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 result = (bool)((wxDialog const *)arg1)->IsModal();
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 {
6037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6038 }
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6046 PyObject *resultobj;
6047 wxDialog *arg1 = (wxDialog *) 0 ;
6048 int result;
6049 PyObject * obj0 = 0 ;
6050 char *kwnames[] = {
6051 (char *) "self", NULL
6052 };
6053
6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6056 if (SWIG_arg_fail(1)) SWIG_fail;
6057 {
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 result = (int)(arg1)->ShowModal();
6060
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) SWIG_fail;
6063 }
6064 {
6065 resultobj = SWIG_From_int((int)(result));
6066 }
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj;
6075 wxDialog *arg1 = (wxDialog *) 0 ;
6076 int arg2 ;
6077 PyObject * obj0 = 0 ;
6078 PyObject * obj1 = 0 ;
6079 char *kwnames[] = {
6080 (char *) "self",(char *) "retCode", NULL
6081 };
6082
6083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6085 if (SWIG_arg_fail(1)) SWIG_fail;
6086 {
6087 arg2 = (int)(SWIG_As_int(obj1));
6088 if (SWIG_arg_fail(2)) SWIG_fail;
6089 }
6090 {
6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
6092 (arg1)->EndModal(arg2);
6093
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 Py_INCREF(Py_None); resultobj = Py_None;
6098 return resultobj;
6099 fail:
6100 return NULL;
6101 }
6102
6103
6104 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6105 PyObject *resultobj;
6106 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6107 wxVisualAttributes result;
6108 PyObject * obj0 = 0 ;
6109 char *kwnames[] = {
6110 (char *) "variant", NULL
6111 };
6112
6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6114 if (obj0) {
6115 {
6116 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6117 if (SWIG_arg_fail(1)) SWIG_fail;
6118 }
6119 }
6120 {
6121 if (!wxPyCheckForApp()) SWIG_fail;
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 {
6129 wxVisualAttributes * resultptr;
6130 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6131 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6132 }
6133 return resultobj;
6134 fail:
6135 return NULL;
6136 }
6137
6138
6139 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6140 PyObject *obj;
6141 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6142 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6143 Py_INCREF(obj);
6144 return Py_BuildValue((char *)"");
6145 }
6146 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6147 PyObject *resultobj;
6148 wxWindow *arg1 = (wxWindow *) 0 ;
6149 int arg2 = (int) (int)-1 ;
6150 wxString const &arg3_defvalue = wxPyEmptyString ;
6151 wxString *arg3 = (wxString *) &arg3_defvalue ;
6152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6154 wxSize const &arg5_defvalue = wxDefaultSize ;
6155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6156 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6157 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6158 wxString *arg7 = (wxString *) &arg7_defvalue ;
6159 wxMiniFrame *result;
6160 bool temp3 = false ;
6161 wxPoint temp4 ;
6162 wxSize temp5 ;
6163 bool temp7 = false ;
6164 PyObject * obj0 = 0 ;
6165 PyObject * obj1 = 0 ;
6166 PyObject * obj2 = 0 ;
6167 PyObject * obj3 = 0 ;
6168 PyObject * obj4 = 0 ;
6169 PyObject * obj5 = 0 ;
6170 PyObject * obj6 = 0 ;
6171 char *kwnames[] = {
6172 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6173 };
6174
6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6177 if (SWIG_arg_fail(1)) SWIG_fail;
6178 if (obj1) {
6179 {
6180 arg2 = (int const)(SWIG_As_int(obj1));
6181 if (SWIG_arg_fail(2)) SWIG_fail;
6182 }
6183 }
6184 if (obj2) {
6185 {
6186 arg3 = wxString_in_helper(obj2);
6187 if (arg3 == NULL) SWIG_fail;
6188 temp3 = true;
6189 }
6190 }
6191 if (obj3) {
6192 {
6193 arg4 = &temp4;
6194 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6195 }
6196 }
6197 if (obj4) {
6198 {
6199 arg5 = &temp5;
6200 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6201 }
6202 }
6203 if (obj5) {
6204 {
6205 arg6 = (long)(SWIG_As_long(obj5));
6206 if (SWIG_arg_fail(6)) SWIG_fail;
6207 }
6208 }
6209 if (obj6) {
6210 {
6211 arg7 = wxString_in_helper(obj6);
6212 if (arg7 == NULL) SWIG_fail;
6213 temp7 = true;
6214 }
6215 }
6216 {
6217 if (!wxPyCheckForApp()) SWIG_fail;
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6225 {
6226 if (temp3)
6227 delete arg3;
6228 }
6229 {
6230 if (temp7)
6231 delete arg7;
6232 }
6233 return resultobj;
6234 fail:
6235 {
6236 if (temp3)
6237 delete arg3;
6238 }
6239 {
6240 if (temp7)
6241 delete arg7;
6242 }
6243 return NULL;
6244 }
6245
6246
6247 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6248 PyObject *resultobj;
6249 wxMiniFrame *result;
6250 char *kwnames[] = {
6251 NULL
6252 };
6253
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6255 {
6256 if (!wxPyCheckForApp()) SWIG_fail;
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 result = (wxMiniFrame *)new wxMiniFrame();
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6264 return resultobj;
6265 fail:
6266 return NULL;
6267 }
6268
6269
6270 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6273 wxWindow *arg2 = (wxWindow *) 0 ;
6274 int arg3 = (int) (int)-1 ;
6275 wxString const &arg4_defvalue = wxPyEmptyString ;
6276 wxString *arg4 = (wxString *) &arg4_defvalue ;
6277 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6278 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6279 wxSize const &arg6_defvalue = wxDefaultSize ;
6280 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6281 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6282 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6283 wxString *arg8 = (wxString *) &arg8_defvalue ;
6284 bool result;
6285 bool temp4 = false ;
6286 wxPoint temp5 ;
6287 wxSize temp6 ;
6288 bool temp8 = false ;
6289 PyObject * obj0 = 0 ;
6290 PyObject * obj1 = 0 ;
6291 PyObject * obj2 = 0 ;
6292 PyObject * obj3 = 0 ;
6293 PyObject * obj4 = 0 ;
6294 PyObject * obj5 = 0 ;
6295 PyObject * obj6 = 0 ;
6296 PyObject * obj7 = 0 ;
6297 char *kwnames[] = {
6298 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6299 };
6300
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6303 if (SWIG_arg_fail(1)) SWIG_fail;
6304 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6305 if (SWIG_arg_fail(2)) SWIG_fail;
6306 if (obj2) {
6307 {
6308 arg3 = (int const)(SWIG_As_int(obj2));
6309 if (SWIG_arg_fail(3)) SWIG_fail;
6310 }
6311 }
6312 if (obj3) {
6313 {
6314 arg4 = wxString_in_helper(obj3);
6315 if (arg4 == NULL) SWIG_fail;
6316 temp4 = true;
6317 }
6318 }
6319 if (obj4) {
6320 {
6321 arg5 = &temp5;
6322 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6323 }
6324 }
6325 if (obj5) {
6326 {
6327 arg6 = &temp6;
6328 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6329 }
6330 }
6331 if (obj6) {
6332 {
6333 arg7 = (long)(SWIG_As_long(obj6));
6334 if (SWIG_arg_fail(7)) SWIG_fail;
6335 }
6336 }
6337 if (obj7) {
6338 {
6339 arg8 = wxString_in_helper(obj7);
6340 if (arg8 == NULL) SWIG_fail;
6341 temp8 = true;
6342 }
6343 }
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 {
6352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6353 }
6354 {
6355 if (temp4)
6356 delete arg4;
6357 }
6358 {
6359 if (temp8)
6360 delete arg8;
6361 }
6362 return resultobj;
6363 fail:
6364 {
6365 if (temp4)
6366 delete arg4;
6367 }
6368 {
6369 if (temp8)
6370 delete arg8;
6371 }
6372 return NULL;
6373 }
6374
6375
6376 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6377 PyObject *obj;
6378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6379 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6380 Py_INCREF(obj);
6381 return Py_BuildValue((char *)"");
6382 }
6383 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 wxBitmap *arg1 = 0 ;
6386 wxWindow *arg2 = (wxWindow *) 0 ;
6387 int arg3 ;
6388 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6389 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6390 wxSize const &arg5_defvalue = wxDefaultSize ;
6391 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6392 long arg6 = (long) wxNO_BORDER ;
6393 wxSplashScreenWindow *result;
6394 wxPoint temp4 ;
6395 wxSize temp5 ;
6396 PyObject * obj0 = 0 ;
6397 PyObject * obj1 = 0 ;
6398 PyObject * obj2 = 0 ;
6399 PyObject * obj3 = 0 ;
6400 PyObject * obj4 = 0 ;
6401 PyObject * obj5 = 0 ;
6402 char *kwnames[] = {
6403 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6407 {
6408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6409 if (SWIG_arg_fail(1)) SWIG_fail;
6410 if (arg1 == NULL) {
6411 SWIG_null_ref("wxBitmap");
6412 }
6413 if (SWIG_arg_fail(1)) SWIG_fail;
6414 }
6415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6416 if (SWIG_arg_fail(2)) SWIG_fail;
6417 {
6418 arg3 = (int)(SWIG_As_int(obj2));
6419 if (SWIG_arg_fail(3)) SWIG_fail;
6420 }
6421 if (obj3) {
6422 {
6423 arg4 = &temp4;
6424 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6425 }
6426 }
6427 if (obj4) {
6428 {
6429 arg5 = &temp5;
6430 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6431 }
6432 }
6433 if (obj5) {
6434 {
6435 arg6 = (long)(SWIG_As_long(obj5));
6436 if (SWIG_arg_fail(6)) SWIG_fail;
6437 }
6438 }
6439 {
6440 if (!wxPyCheckForApp()) SWIG_fail;
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6448 return resultobj;
6449 fail:
6450 return NULL;
6451 }
6452
6453
6454 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6455 PyObject *resultobj;
6456 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6457 wxBitmap *arg2 = 0 ;
6458 PyObject * obj0 = 0 ;
6459 PyObject * obj1 = 0 ;
6460 char *kwnames[] = {
6461 (char *) "self",(char *) "bitmap", NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6466 if (SWIG_arg_fail(1)) SWIG_fail;
6467 {
6468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6469 if (SWIG_arg_fail(2)) SWIG_fail;
6470 if (arg2 == NULL) {
6471 SWIG_null_ref("wxBitmap");
6472 }
6473 if (SWIG_arg_fail(2)) SWIG_fail;
6474 }
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 Py_INCREF(Py_None); resultobj = Py_None;
6483 return resultobj;
6484 fail:
6485 return NULL;
6486 }
6487
6488
6489 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6490 PyObject *resultobj;
6491 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6492 wxBitmap *result;
6493 PyObject * obj0 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6500 if (SWIG_arg_fail(1)) SWIG_fail;
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 {
6504 wxBitmap &_result_ref = (arg1)->GetBitmap();
6505 result = (wxBitmap *) &_result_ref;
6506 }
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 {
6512 wxBitmap* resultptr = new wxBitmap(*result);
6513 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6514 }
6515 return resultobj;
6516 fail:
6517 return NULL;
6518 }
6519
6520
6521 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6522 PyObject *obj;
6523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6524 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6525 Py_INCREF(obj);
6526 return Py_BuildValue((char *)"");
6527 }
6528 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6529 PyObject *resultobj;
6530 wxBitmap *arg1 = 0 ;
6531 long arg2 ;
6532 int arg3 ;
6533 wxWindow *arg4 = (wxWindow *) 0 ;
6534 int arg5 = (int) -1 ;
6535 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6536 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6537 wxSize const &arg7_defvalue = wxDefaultSize ;
6538 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6539 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6540 wxSplashScreen *result;
6541 wxPoint temp6 ;
6542 wxSize temp7 ;
6543 PyObject * obj0 = 0 ;
6544 PyObject * obj1 = 0 ;
6545 PyObject * obj2 = 0 ;
6546 PyObject * obj3 = 0 ;
6547 PyObject * obj4 = 0 ;
6548 PyObject * obj5 = 0 ;
6549 PyObject * obj6 = 0 ;
6550 PyObject * obj7 = 0 ;
6551 char *kwnames[] = {
6552 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6553 };
6554
6555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6556 {
6557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6558 if (SWIG_arg_fail(1)) SWIG_fail;
6559 if (arg1 == NULL) {
6560 SWIG_null_ref("wxBitmap");
6561 }
6562 if (SWIG_arg_fail(1)) SWIG_fail;
6563 }
6564 {
6565 arg2 = (long)(SWIG_As_long(obj1));
6566 if (SWIG_arg_fail(2)) SWIG_fail;
6567 }
6568 {
6569 arg3 = (int)(SWIG_As_int(obj2));
6570 if (SWIG_arg_fail(3)) SWIG_fail;
6571 }
6572 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6573 if (SWIG_arg_fail(4)) SWIG_fail;
6574 if (obj4) {
6575 {
6576 arg5 = (int)(SWIG_As_int(obj4));
6577 if (SWIG_arg_fail(5)) SWIG_fail;
6578 }
6579 }
6580 if (obj5) {
6581 {
6582 arg6 = &temp6;
6583 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6584 }
6585 }
6586 if (obj6) {
6587 {
6588 arg7 = &temp7;
6589 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6590 }
6591 }
6592 if (obj7) {
6593 {
6594 arg8 = (long)(SWIG_As_long(obj7));
6595 if (SWIG_arg_fail(8)) SWIG_fail;
6596 }
6597 }
6598 {
6599 if (!wxPyCheckForApp()) SWIG_fail;
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
6601 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6602
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6607 return resultobj;
6608 fail:
6609 return NULL;
6610 }
6611
6612
6613 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj;
6615 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6616 long result;
6617 PyObject * obj0 = 0 ;
6618 char *kwnames[] = {
6619 (char *) "self", NULL
6620 };
6621
6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6624 if (SWIG_arg_fail(1)) SWIG_fail;
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 {
6633 resultobj = SWIG_From_long((long)(result));
6634 }
6635 return resultobj;
6636 fail:
6637 return NULL;
6638 }
6639
6640
6641 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6642 PyObject *resultobj;
6643 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6644 wxSplashScreenWindow *result;
6645 PyObject * obj0 = 0 ;
6646 char *kwnames[] = {
6647 (char *) "self", NULL
6648 };
6649
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6652 if (SWIG_arg_fail(1)) SWIG_fail;
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6670 int result;
6671 PyObject * obj0 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "self", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6678 if (SWIG_arg_fail(1)) SWIG_fail;
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 {
6687 resultobj = SWIG_From_int((int)(result));
6688 }
6689 return resultobj;
6690 fail:
6691 return NULL;
6692 }
6693
6694
6695 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6696 PyObject *obj;
6697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6698 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6699 Py_INCREF(obj);
6700 return Py_BuildValue((char *)"");
6701 }
6702 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6703 PyObject *resultobj;
6704 wxWindow *arg1 = (wxWindow *) 0 ;
6705 int arg2 = (int) -1 ;
6706 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6707 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6708 wxString *arg4 = (wxString *) &arg4_defvalue ;
6709 wxStatusBar *result;
6710 bool temp4 = false ;
6711 PyObject * obj0 = 0 ;
6712 PyObject * obj1 = 0 ;
6713 PyObject * obj2 = 0 ;
6714 PyObject * obj3 = 0 ;
6715 char *kwnames[] = {
6716 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6717 };
6718
6719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6721 if (SWIG_arg_fail(1)) SWIG_fail;
6722 if (obj1) {
6723 {
6724 arg2 = (int)(SWIG_As_int(obj1));
6725 if (SWIG_arg_fail(2)) SWIG_fail;
6726 }
6727 }
6728 if (obj2) {
6729 {
6730 arg3 = (long)(SWIG_As_long(obj2));
6731 if (SWIG_arg_fail(3)) SWIG_fail;
6732 }
6733 }
6734 if (obj3) {
6735 {
6736 arg4 = wxString_in_helper(obj3);
6737 if (arg4 == NULL) SWIG_fail;
6738 temp4 = true;
6739 }
6740 }
6741 {
6742 if (!wxPyCheckForApp()) SWIG_fail;
6743 PyThreadState* __tstate = wxPyBeginAllowThreads();
6744 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6745
6746 wxPyEndAllowThreads(__tstate);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
6749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6750 {
6751 if (temp4)
6752 delete arg4;
6753 }
6754 return resultobj;
6755 fail:
6756 {
6757 if (temp4)
6758 delete arg4;
6759 }
6760 return NULL;
6761 }
6762
6763
6764 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj;
6766 wxStatusBar *result;
6767 char *kwnames[] = {
6768 NULL
6769 };
6770
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6772 {
6773 if (!wxPyCheckForApp()) SWIG_fail;
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 result = (wxStatusBar *)new wxStatusBar();
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6781 return resultobj;
6782 fail:
6783 return NULL;
6784 }
6785
6786
6787 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6788 PyObject *resultobj;
6789 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6790 wxWindow *arg2 = (wxWindow *) 0 ;
6791 int arg3 = (int) -1 ;
6792 long arg4 = (long) wxST_SIZEGRIP ;
6793 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6794 wxString *arg5 = (wxString *) &arg5_defvalue ;
6795 bool result;
6796 bool temp5 = false ;
6797 PyObject * obj0 = 0 ;
6798 PyObject * obj1 = 0 ;
6799 PyObject * obj2 = 0 ;
6800 PyObject * obj3 = 0 ;
6801 PyObject * obj4 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6808 if (SWIG_arg_fail(1)) SWIG_fail;
6809 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6810 if (SWIG_arg_fail(2)) SWIG_fail;
6811 if (obj2) {
6812 {
6813 arg3 = (int)(SWIG_As_int(obj2));
6814 if (SWIG_arg_fail(3)) SWIG_fail;
6815 }
6816 }
6817 if (obj3) {
6818 {
6819 arg4 = (long)(SWIG_As_long(obj3));
6820 if (SWIG_arg_fail(4)) SWIG_fail;
6821 }
6822 }
6823 if (obj4) {
6824 {
6825 arg5 = wxString_in_helper(obj4);
6826 if (arg5 == NULL) SWIG_fail;
6827 temp5 = true;
6828 }
6829 }
6830 {
6831 PyThreadState* __tstate = wxPyBeginAllowThreads();
6832 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6833
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) SWIG_fail;
6836 }
6837 {
6838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6839 }
6840 {
6841 if (temp5)
6842 delete arg5;
6843 }
6844 return resultobj;
6845 fail:
6846 {
6847 if (temp5)
6848 delete arg5;
6849 }
6850 return NULL;
6851 }
6852
6853
6854 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6857 int arg2 = (int) 1 ;
6858 PyObject * obj0 = 0 ;
6859 PyObject * obj1 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "self",(char *) "number", NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
6865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6866 if (SWIG_arg_fail(1)) SWIG_fail;
6867 if (obj1) {
6868 {
6869 arg2 = (int)(SWIG_As_int(obj1));
6870 if (SWIG_arg_fail(2)) SWIG_fail;
6871 }
6872 }
6873 {
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 (arg1)->SetFieldsCount(arg2);
6876
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) SWIG_fail;
6879 }
6880 Py_INCREF(Py_None); resultobj = Py_None;
6881 return resultobj;
6882 fail:
6883 return NULL;
6884 }
6885
6886
6887 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6888 PyObject *resultobj;
6889 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6890 int result;
6891 PyObject * obj0 = 0 ;
6892 char *kwnames[] = {
6893 (char *) "self", NULL
6894 };
6895
6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
6897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6898 if (SWIG_arg_fail(1)) SWIG_fail;
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 {
6907 resultobj = SWIG_From_int((int)(result));
6908 }
6909 return resultobj;
6910 fail:
6911 return NULL;
6912 }
6913
6914
6915 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6916 PyObject *resultobj;
6917 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6918 wxString *arg2 = 0 ;
6919 int arg3 = (int) 0 ;
6920 bool temp2 = false ;
6921 PyObject * obj0 = 0 ;
6922 PyObject * obj1 = 0 ;
6923 PyObject * obj2 = 0 ;
6924 char *kwnames[] = {
6925 (char *) "self",(char *) "text",(char *) "number", NULL
6926 };
6927
6928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6930 if (SWIG_arg_fail(1)) SWIG_fail;
6931 {
6932 arg2 = wxString_in_helper(obj1);
6933 if (arg2 == NULL) SWIG_fail;
6934 temp2 = true;
6935 }
6936 if (obj2) {
6937 {
6938 arg3 = (int)(SWIG_As_int(obj2));
6939 if (SWIG_arg_fail(3)) SWIG_fail;
6940 }
6941 }
6942 {
6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
6944 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6945
6946 wxPyEndAllowThreads(__tstate);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 }
6949 Py_INCREF(Py_None); resultobj = Py_None;
6950 {
6951 if (temp2)
6952 delete arg2;
6953 }
6954 return resultobj;
6955 fail:
6956 {
6957 if (temp2)
6958 delete arg2;
6959 }
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6967 int arg2 = (int) 0 ;
6968 wxString result;
6969 PyObject * obj0 = 0 ;
6970 PyObject * obj1 = 0 ;
6971 char *kwnames[] = {
6972 (char *) "self",(char *) "number", NULL
6973 };
6974
6975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
6976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6977 if (SWIG_arg_fail(1)) SWIG_fail;
6978 if (obj1) {
6979 {
6980 arg2 = (int)(SWIG_As_int(obj1));
6981 if (SWIG_arg_fail(2)) SWIG_fail;
6982 }
6983 }
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 }
6991 {
6992 #if wxUSE_UNICODE
6993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6994 #else
6995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6996 #endif
6997 }
6998 return resultobj;
6999 fail:
7000 return NULL;
7001 }
7002
7003
7004 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7005 PyObject *resultobj;
7006 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7007 wxString *arg2 = 0 ;
7008 int arg3 = (int) 0 ;
7009 bool temp2 = false ;
7010 PyObject * obj0 = 0 ;
7011 PyObject * obj1 = 0 ;
7012 PyObject * obj2 = 0 ;
7013 char *kwnames[] = {
7014 (char *) "self",(char *) "text",(char *) "number", NULL
7015 };
7016
7017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7019 if (SWIG_arg_fail(1)) SWIG_fail;
7020 {
7021 arg2 = wxString_in_helper(obj1);
7022 if (arg2 == NULL) SWIG_fail;
7023 temp2 = true;
7024 }
7025 if (obj2) {
7026 {
7027 arg3 = (int)(SWIG_As_int(obj2));
7028 if (SWIG_arg_fail(3)) SWIG_fail;
7029 }
7030 }
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 Py_INCREF(Py_None); resultobj = Py_None;
7039 {
7040 if (temp2)
7041 delete arg2;
7042 }
7043 return resultobj;
7044 fail:
7045 {
7046 if (temp2)
7047 delete arg2;
7048 }
7049 return NULL;
7050 }
7051
7052
7053 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7054 PyObject *resultobj;
7055 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7056 int arg2 = (int) 0 ;
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self",(char *) "number", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7065 if (SWIG_arg_fail(1)) SWIG_fail;
7066 if (obj1) {
7067 {
7068 arg2 = (int)(SWIG_As_int(obj1));
7069 if (SWIG_arg_fail(2)) SWIG_fail;
7070 }
7071 }
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 (arg1)->PopStatusText(arg2);
7075
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 Py_INCREF(Py_None); resultobj = Py_None;
7080 return resultobj;
7081 fail:
7082 return NULL;
7083 }
7084
7085
7086 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7089 int arg2 ;
7090 int *arg3 = (int *) 0 ;
7091 PyObject * obj0 = 0 ;
7092 PyObject * obj1 = 0 ;
7093 char *kwnames[] = {
7094 (char *) "self",(char *) "widths", NULL
7095 };
7096
7097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7099 if (SWIG_arg_fail(1)) SWIG_fail;
7100 {
7101 arg2 = PyList_Size(obj1);
7102 arg3 = int_LIST_helper(obj1);
7103 if (arg3 == NULL) SWIG_fail;
7104 }
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
7112 Py_INCREF(Py_None); resultobj = Py_None;
7113 {
7114 if (arg3) delete [] arg3;
7115 }
7116 return resultobj;
7117 fail:
7118 {
7119 if (arg3) delete [] arg3;
7120 }
7121 return NULL;
7122 }
7123
7124
7125 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7126 PyObject *resultobj;
7127 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7128 int arg2 ;
7129 int *arg3 = (int *) 0 ;
7130 PyObject * obj0 = 0 ;
7131 PyObject * obj1 = 0 ;
7132 char *kwnames[] = {
7133 (char *) "self",(char *) "styles", NULL
7134 };
7135
7136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7138 if (SWIG_arg_fail(1)) SWIG_fail;
7139 {
7140 arg2 = PyList_Size(obj1);
7141 arg3 = int_LIST_helper(obj1);
7142 if (arg3 == NULL) SWIG_fail;
7143 }
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 Py_INCREF(Py_None); resultobj = Py_None;
7152 {
7153 if (arg3) delete [] arg3;
7154 }
7155 return resultobj;
7156 fail:
7157 {
7158 if (arg3) delete [] arg3;
7159 }
7160 return NULL;
7161 }
7162
7163
7164 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj;
7166 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7167 int arg2 ;
7168 wxRect result;
7169 PyObject * obj0 = 0 ;
7170 PyObject * obj1 = 0 ;
7171 char *kwnames[] = {
7172 (char *) "self",(char *) "i", NULL
7173 };
7174
7175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7177 if (SWIG_arg_fail(1)) SWIG_fail;
7178 {
7179 arg2 = (int)(SWIG_As_int(obj1));
7180 if (SWIG_arg_fail(2)) SWIG_fail;
7181 }
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = wxStatusBar_GetFieldRect(arg1,arg2);
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 {
7190 wxRect * resultptr;
7191 resultptr = new wxRect((wxRect &)(result));
7192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7193 }
7194 return resultobj;
7195 fail:
7196 return NULL;
7197 }
7198
7199
7200 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7201 PyObject *resultobj;
7202 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7203 int arg2 ;
7204 PyObject * obj0 = 0 ;
7205 PyObject * obj1 = 0 ;
7206 char *kwnames[] = {
7207 (char *) "self",(char *) "height", NULL
7208 };
7209
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7212 if (SWIG_arg_fail(1)) SWIG_fail;
7213 {
7214 arg2 = (int)(SWIG_As_int(obj1));
7215 if (SWIG_arg_fail(2)) SWIG_fail;
7216 }
7217 {
7218 PyThreadState* __tstate = wxPyBeginAllowThreads();
7219 (arg1)->SetMinHeight(arg2);
7220
7221 wxPyEndAllowThreads(__tstate);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 }
7224 Py_INCREF(Py_None); resultobj = Py_None;
7225 return resultobj;
7226 fail:
7227 return NULL;
7228 }
7229
7230
7231 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7232 PyObject *resultobj;
7233 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7234 int result;
7235 PyObject * obj0 = 0 ;
7236 char *kwnames[] = {
7237 (char *) "self", NULL
7238 };
7239
7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7242 if (SWIG_arg_fail(1)) SWIG_fail;
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 {
7251 resultobj = SWIG_From_int((int)(result));
7252 }
7253 return resultobj;
7254 fail:
7255 return NULL;
7256 }
7257
7258
7259 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj;
7261 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7262 int result;
7263 PyObject * obj0 = 0 ;
7264 char *kwnames[] = {
7265 (char *) "self", NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7270 if (SWIG_arg_fail(1)) SWIG_fail;
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 {
7279 resultobj = SWIG_From_int((int)(result));
7280 }
7281 return resultobj;
7282 fail:
7283 return NULL;
7284 }
7285
7286
7287 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7288 PyObject *resultobj;
7289 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7290 wxVisualAttributes result;
7291 PyObject * obj0 = 0 ;
7292 char *kwnames[] = {
7293 (char *) "variant", NULL
7294 };
7295
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7297 if (obj0) {
7298 {
7299 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7300 if (SWIG_arg_fail(1)) SWIG_fail;
7301 }
7302 }
7303 {
7304 if (!wxPyCheckForApp()) SWIG_fail;
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 {
7312 wxVisualAttributes * resultptr;
7313 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7314 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7315 }
7316 return resultobj;
7317 fail:
7318 return NULL;
7319 }
7320
7321
7322 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7323 PyObject *obj;
7324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7325 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7326 Py_INCREF(obj);
7327 return Py_BuildValue((char *)"");
7328 }
7329 static int _wrap_SplitterNameStr_set(PyObject *) {
7330 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7331 return 1;
7332 }
7333
7334
7335 static PyObject *_wrap_SplitterNameStr_get(void) {
7336 PyObject *pyobj;
7337
7338 {
7339 #if wxUSE_UNICODE
7340 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7341 #else
7342 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7343 #endif
7344 }
7345 return pyobj;
7346 }
7347
7348
7349 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7350 PyObject *resultobj;
7351 wxWindow *arg1 = (wxWindow *) 0 ;
7352 int arg2 = (int) -1 ;
7353 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7354 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7355 wxSize const &arg4_defvalue = wxDefaultSize ;
7356 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7357 long arg5 = (long) wxSP_3D ;
7358 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7359 wxString *arg6 = (wxString *) &arg6_defvalue ;
7360 wxSplitterWindow *result;
7361 wxPoint temp3 ;
7362 wxSize temp4 ;
7363 bool temp6 = false ;
7364 PyObject * obj0 = 0 ;
7365 PyObject * obj1 = 0 ;
7366 PyObject * obj2 = 0 ;
7367 PyObject * obj3 = 0 ;
7368 PyObject * obj4 = 0 ;
7369 PyObject * obj5 = 0 ;
7370 char *kwnames[] = {
7371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7372 };
7373
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7376 if (SWIG_arg_fail(1)) SWIG_fail;
7377 if (obj1) {
7378 {
7379 arg2 = (int)(SWIG_As_int(obj1));
7380 if (SWIG_arg_fail(2)) SWIG_fail;
7381 }
7382 }
7383 if (obj2) {
7384 {
7385 arg3 = &temp3;
7386 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7387 }
7388 }
7389 if (obj3) {
7390 {
7391 arg4 = &temp4;
7392 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7393 }
7394 }
7395 if (obj4) {
7396 {
7397 arg5 = (long)(SWIG_As_long(obj4));
7398 if (SWIG_arg_fail(5)) SWIG_fail;
7399 }
7400 }
7401 if (obj5) {
7402 {
7403 arg6 = wxString_in_helper(obj5);
7404 if (arg6 == NULL) SWIG_fail;
7405 temp6 = true;
7406 }
7407 }
7408 {
7409 if (!wxPyCheckForApp()) SWIG_fail;
7410 PyThreadState* __tstate = wxPyBeginAllowThreads();
7411 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7412
7413 wxPyEndAllowThreads(__tstate);
7414 if (PyErr_Occurred()) SWIG_fail;
7415 }
7416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7417 {
7418 if (temp6)
7419 delete arg6;
7420 }
7421 return resultobj;
7422 fail:
7423 {
7424 if (temp6)
7425 delete arg6;
7426 }
7427 return NULL;
7428 }
7429
7430
7431 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxSplitterWindow *result;
7434 char *kwnames[] = {
7435 NULL
7436 };
7437
7438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7439 {
7440 if (!wxPyCheckForApp()) SWIG_fail;
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (wxSplitterWindow *)new wxSplitterWindow();
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7448 return resultobj;
7449 fail:
7450 return NULL;
7451 }
7452
7453
7454 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj;
7456 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7457 wxWindow *arg2 = (wxWindow *) 0 ;
7458 int arg3 = (int) -1 ;
7459 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7460 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7461 wxSize const &arg5_defvalue = wxDefaultSize ;
7462 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7463 long arg6 = (long) wxSP_3D ;
7464 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7465 wxString *arg7 = (wxString *) &arg7_defvalue ;
7466 bool result;
7467 wxPoint temp4 ;
7468 wxSize temp5 ;
7469 bool temp7 = false ;
7470 PyObject * obj0 = 0 ;
7471 PyObject * obj1 = 0 ;
7472 PyObject * obj2 = 0 ;
7473 PyObject * obj3 = 0 ;
7474 PyObject * obj4 = 0 ;
7475 PyObject * obj5 = 0 ;
7476 PyObject * obj6 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7483 if (SWIG_arg_fail(1)) SWIG_fail;
7484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7485 if (SWIG_arg_fail(2)) SWIG_fail;
7486 if (obj2) {
7487 {
7488 arg3 = (int)(SWIG_As_int(obj2));
7489 if (SWIG_arg_fail(3)) SWIG_fail;
7490 }
7491 }
7492 if (obj3) {
7493 {
7494 arg4 = &temp4;
7495 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7496 }
7497 }
7498 if (obj4) {
7499 {
7500 arg5 = &temp5;
7501 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7502 }
7503 }
7504 if (obj5) {
7505 {
7506 arg6 = (long)(SWIG_As_long(obj5));
7507 if (SWIG_arg_fail(6)) SWIG_fail;
7508 }
7509 }
7510 if (obj6) {
7511 {
7512 arg7 = wxString_in_helper(obj6);
7513 if (arg7 == NULL) SWIG_fail;
7514 temp7 = true;
7515 }
7516 }
7517 {
7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
7519 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7520
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 {
7525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7526 }
7527 {
7528 if (temp7)
7529 delete arg7;
7530 }
7531 return resultobj;
7532 fail:
7533 {
7534 if (temp7)
7535 delete arg7;
7536 }
7537 return NULL;
7538 }
7539
7540
7541 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7542 PyObject *resultobj;
7543 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7544 wxWindow *result;
7545 PyObject * obj0 = 0 ;
7546 char *kwnames[] = {
7547 (char *) "self", NULL
7548 };
7549
7550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7552 if (SWIG_arg_fail(1)) SWIG_fail;
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 {
7561 resultobj = wxPyMake_wxObject(result, 0);
7562 }
7563 return resultobj;
7564 fail:
7565 return NULL;
7566 }
7567
7568
7569 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj;
7571 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7572 wxWindow *result;
7573 PyObject * obj0 = 0 ;
7574 char *kwnames[] = {
7575 (char *) "self", NULL
7576 };
7577
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7580 if (SWIG_arg_fail(1)) SWIG_fail;
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 {
7589 resultobj = wxPyMake_wxObject(result, 0);
7590 }
7591 return resultobj;
7592 fail:
7593 return NULL;
7594 }
7595
7596
7597 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7598 PyObject *resultobj;
7599 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7600 int arg2 ;
7601 PyObject * obj0 = 0 ;
7602 PyObject * obj1 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "self",(char *) "mode", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7609 if (SWIG_arg_fail(1)) SWIG_fail;
7610 {
7611 arg2 = (int)(SWIG_As_int(obj1));
7612 if (SWIG_arg_fail(2)) SWIG_fail;
7613 }
7614 {
7615 PyThreadState* __tstate = wxPyBeginAllowThreads();
7616 (arg1)->SetSplitMode(arg2);
7617
7618 wxPyEndAllowThreads(__tstate);
7619 if (PyErr_Occurred()) SWIG_fail;
7620 }
7621 Py_INCREF(Py_None); resultobj = Py_None;
7622 return resultobj;
7623 fail:
7624 return NULL;
7625 }
7626
7627
7628 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7629 PyObject *resultobj;
7630 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7631 wxSplitMode result;
7632 PyObject * obj0 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7639 if (SWIG_arg_fail(1)) SWIG_fail;
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 resultobj = SWIG_From_int((result));
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7657 wxWindow *arg2 = (wxWindow *) 0 ;
7658 PyObject * obj0 = 0 ;
7659 PyObject * obj1 = 0 ;
7660 char *kwnames[] = {
7661 (char *) "self",(char *) "window", NULL
7662 };
7663
7664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail;
7667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7668 if (SWIG_arg_fail(2)) SWIG_fail;
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 (arg1)->Initialize(arg2);
7672
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 Py_INCREF(Py_None); resultobj = Py_None;
7677 return resultobj;
7678 fail:
7679 return NULL;
7680 }
7681
7682
7683 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7684 PyObject *resultobj;
7685 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7686 wxWindow *arg2 = (wxWindow *) 0 ;
7687 wxWindow *arg3 = (wxWindow *) 0 ;
7688 int arg4 = (int) 0 ;
7689 bool result;
7690 PyObject * obj0 = 0 ;
7691 PyObject * obj1 = 0 ;
7692 PyObject * obj2 = 0 ;
7693 PyObject * obj3 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7700 if (SWIG_arg_fail(1)) SWIG_fail;
7701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7702 if (SWIG_arg_fail(2)) SWIG_fail;
7703 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7704 if (SWIG_arg_fail(3)) SWIG_fail;
7705 if (obj3) {
7706 {
7707 arg4 = (int)(SWIG_As_int(obj3));
7708 if (SWIG_arg_fail(4)) SWIG_fail;
7709 }
7710 }
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7714
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
7718 {
7719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7720 }
7721 return resultobj;
7722 fail:
7723 return NULL;
7724 }
7725
7726
7727 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj;
7729 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7730 wxWindow *arg2 = (wxWindow *) 0 ;
7731 wxWindow *arg3 = (wxWindow *) 0 ;
7732 int arg4 = (int) 0 ;
7733 bool result;
7734 PyObject * obj0 = 0 ;
7735 PyObject * obj1 = 0 ;
7736 PyObject * obj2 = 0 ;
7737 PyObject * obj3 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7744 if (SWIG_arg_fail(1)) SWIG_fail;
7745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7746 if (SWIG_arg_fail(2)) SWIG_fail;
7747 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7748 if (SWIG_arg_fail(3)) SWIG_fail;
7749 if (obj3) {
7750 {
7751 arg4 = (int)(SWIG_As_int(obj3));
7752 if (SWIG_arg_fail(4)) SWIG_fail;
7753 }
7754 }
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 {
7763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7764 }
7765 return resultobj;
7766 fail:
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7774 wxWindow *arg2 = (wxWindow *) NULL ;
7775 bool result;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "toRemove", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail;
7785 if (obj1) {
7786 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7787 if (SWIG_arg_fail(2)) SWIG_fail;
7788 }
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 result = (bool)(arg1)->Unsplit(arg2);
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 {
7797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7798 }
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7808 wxWindow *arg2 = (wxWindow *) 0 ;
7809 wxWindow *arg3 = (wxWindow *) 0 ;
7810 bool result;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 PyObject * obj2 = 0 ;
7814 char *kwnames[] = {
7815 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7816 };
7817
7818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7820 if (SWIG_arg_fail(1)) SWIG_fail;
7821 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7822 if (SWIG_arg_fail(2)) SWIG_fail;
7823 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7824 if (SWIG_arg_fail(3)) SWIG_fail;
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7828
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 {
7833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7834 }
7835 return resultobj;
7836 fail:
7837 return NULL;
7838 }
7839
7840
7841 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7842 PyObject *resultobj;
7843 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7844 PyObject * obj0 = 0 ;
7845 char *kwnames[] = {
7846 (char *) "self", NULL
7847 };
7848
7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
7850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7851 if (SWIG_arg_fail(1)) SWIG_fail;
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 (arg1)->UpdateSize();
7855
7856 wxPyEndAllowThreads(__tstate);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 }
7859 Py_INCREF(Py_None); resultobj = Py_None;
7860 return resultobj;
7861 fail:
7862 return NULL;
7863 }
7864
7865
7866 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7867 PyObject *resultobj;
7868 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7869 bool result;
7870 PyObject * obj0 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
7876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7877 if (SWIG_arg_fail(1)) SWIG_fail;
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7881
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 {
7886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7887 }
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj;
7896 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7897 int arg2 ;
7898 PyObject * obj0 = 0 ;
7899 PyObject * obj1 = 0 ;
7900 char *kwnames[] = {
7901 (char *) "self",(char *) "width", NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
7905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7906 if (SWIG_arg_fail(1)) SWIG_fail;
7907 {
7908 arg2 = (int)(SWIG_As_int(obj1));
7909 if (SWIG_arg_fail(2)) SWIG_fail;
7910 }
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 (arg1)->SetSashSize(arg2);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 Py_INCREF(Py_None); resultobj = Py_None;
7919 return resultobj;
7920 fail:
7921 return NULL;
7922 }
7923
7924
7925 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7926 PyObject *resultobj;
7927 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7928 int arg2 ;
7929 PyObject * obj0 = 0 ;
7930 PyObject * obj1 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self",(char *) "width", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
7936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail;
7938 {
7939 arg2 = (int)(SWIG_As_int(obj1));
7940 if (SWIG_arg_fail(2)) SWIG_fail;
7941 }
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 (arg1)->SetBorderSize(arg2);
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
7949 Py_INCREF(Py_None); resultobj = Py_None;
7950 return resultobj;
7951 fail:
7952 return NULL;
7953 }
7954
7955
7956 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7957 PyObject *resultobj;
7958 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7959 int result;
7960 PyObject * obj0 = 0 ;
7961 char *kwnames[] = {
7962 (char *) "self", NULL
7963 };
7964
7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
7966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7967 if (SWIG_arg_fail(1)) SWIG_fail;
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 {
7976 resultobj = SWIG_From_int((int)(result));
7977 }
7978 return resultobj;
7979 fail:
7980 return NULL;
7981 }
7982
7983
7984 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7985 PyObject *resultobj;
7986 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7987 int result;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
7994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7995 if (SWIG_arg_fail(1)) SWIG_fail;
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 {
8004 resultobj = SWIG_From_int((int)(result));
8005 }
8006 return resultobj;
8007 fail:
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8015 int arg2 ;
8016 bool arg3 = (bool) true ;
8017 PyObject * obj0 = 0 ;
8018 PyObject * obj1 = 0 ;
8019 PyObject * obj2 = 0 ;
8020 char *kwnames[] = {
8021 (char *) "self",(char *) "position",(char *) "redraw", NULL
8022 };
8023
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8026 if (SWIG_arg_fail(1)) SWIG_fail;
8027 {
8028 arg2 = (int)(SWIG_As_int(obj1));
8029 if (SWIG_arg_fail(2)) SWIG_fail;
8030 }
8031 if (obj2) {
8032 {
8033 arg3 = (bool)(SWIG_As_bool(obj2));
8034 if (SWIG_arg_fail(3)) SWIG_fail;
8035 }
8036 }
8037 {
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 (arg1)->SetSashPosition(arg2,arg3);
8040
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 Py_INCREF(Py_None); resultobj = Py_None;
8045 return resultobj;
8046 fail:
8047 return NULL;
8048 }
8049
8050
8051 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8052 PyObject *resultobj;
8053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8054 int result;
8055 PyObject * obj0 = 0 ;
8056 char *kwnames[] = {
8057 (char *) "self", NULL
8058 };
8059
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8062 if (SWIG_arg_fail(1)) SWIG_fail;
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 {
8071 resultobj = SWIG_From_int((int)(result));
8072 }
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8082 double arg2 ;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self",(char *) "gravity", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8091 if (SWIG_arg_fail(1)) SWIG_fail;
8092 {
8093 arg2 = (double)(SWIG_As_double(obj1));
8094 if (SWIG_arg_fail(2)) SWIG_fail;
8095 }
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 (arg1)->SetSashGravity(arg2);
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 Py_INCREF(Py_None); resultobj = Py_None;
8104 return resultobj;
8105 fail:
8106 return NULL;
8107 }
8108
8109
8110 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8111 PyObject *resultobj;
8112 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8113 double result;
8114 PyObject * obj0 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8121 if (SWIG_arg_fail(1)) SWIG_fail;
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 {
8130 resultobj = SWIG_From_double((double)(result));
8131 }
8132 return resultobj;
8133 fail:
8134 return NULL;
8135 }
8136
8137
8138 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8139 PyObject *resultobj;
8140 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8141 int arg2 ;
8142 PyObject * obj0 = 0 ;
8143 PyObject * obj1 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self",(char *) "min", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8150 if (SWIG_arg_fail(1)) SWIG_fail;
8151 {
8152 arg2 = (int)(SWIG_As_int(obj1));
8153 if (SWIG_arg_fail(2)) SWIG_fail;
8154 }
8155 {
8156 PyThreadState* __tstate = wxPyBeginAllowThreads();
8157 (arg1)->SetMinimumPaneSize(arg2);
8158
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 Py_INCREF(Py_None); resultobj = Py_None;
8163 return resultobj;
8164 fail:
8165 return NULL;
8166 }
8167
8168
8169 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8170 PyObject *resultobj;
8171 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8172 int result;
8173 PyObject * obj0 = 0 ;
8174 char *kwnames[] = {
8175 (char *) "self", NULL
8176 };
8177
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8180 if (SWIG_arg_fail(1)) SWIG_fail;
8181 {
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8184
8185 wxPyEndAllowThreads(__tstate);
8186 if (PyErr_Occurred()) SWIG_fail;
8187 }
8188 {
8189 resultobj = SWIG_From_int((int)(result));
8190 }
8191 return resultobj;
8192 fail:
8193 return NULL;
8194 }
8195
8196
8197 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8198 PyObject *resultobj;
8199 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8200 int arg2 ;
8201 int arg3 ;
8202 int arg4 = (int) 5 ;
8203 bool result;
8204 PyObject * obj0 = 0 ;
8205 PyObject * obj1 = 0 ;
8206 PyObject * obj2 = 0 ;
8207 PyObject * obj3 = 0 ;
8208 char *kwnames[] = {
8209 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8210 };
8211
8212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8214 if (SWIG_arg_fail(1)) SWIG_fail;
8215 {
8216 arg2 = (int)(SWIG_As_int(obj1));
8217 if (SWIG_arg_fail(2)) SWIG_fail;
8218 }
8219 {
8220 arg3 = (int)(SWIG_As_int(obj2));
8221 if (SWIG_arg_fail(3)) SWIG_fail;
8222 }
8223 if (obj3) {
8224 {
8225 arg4 = (int)(SWIG_As_int(obj3));
8226 if (SWIG_arg_fail(4)) SWIG_fail;
8227 }
8228 }
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 {
8237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8238 }
8239 return resultobj;
8240 fail:
8241 return NULL;
8242 }
8243
8244
8245 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8246 PyObject *resultobj;
8247 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8248 PyObject * obj0 = 0 ;
8249 char *kwnames[] = {
8250 (char *) "self", NULL
8251 };
8252
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8255 if (SWIG_arg_fail(1)) SWIG_fail;
8256 {
8257 PyThreadState* __tstate = wxPyBeginAllowThreads();
8258 (arg1)->SizeWindows();
8259
8260 wxPyEndAllowThreads(__tstate);
8261 if (PyErr_Occurred()) SWIG_fail;
8262 }
8263 Py_INCREF(Py_None); resultobj = Py_None;
8264 return resultobj;
8265 fail:
8266 return NULL;
8267 }
8268
8269
8270 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8271 PyObject *resultobj;
8272 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8273 bool arg2 ;
8274 PyObject * obj0 = 0 ;
8275 PyObject * obj1 = 0 ;
8276 char *kwnames[] = {
8277 (char *) "self",(char *) "needUpdating", NULL
8278 };
8279
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8282 if (SWIG_arg_fail(1)) SWIG_fail;
8283 {
8284 arg2 = (bool)(SWIG_As_bool(obj1));
8285 if (SWIG_arg_fail(2)) SWIG_fail;
8286 }
8287 {
8288 PyThreadState* __tstate = wxPyBeginAllowThreads();
8289 (arg1)->SetNeedUpdating(arg2);
8290
8291 wxPyEndAllowThreads(__tstate);
8292 if (PyErr_Occurred()) SWIG_fail;
8293 }
8294 Py_INCREF(Py_None); resultobj = Py_None;
8295 return resultobj;
8296 fail:
8297 return NULL;
8298 }
8299
8300
8301 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8302 PyObject *resultobj;
8303 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8304 bool result;
8305 PyObject * obj0 = 0 ;
8306 char *kwnames[] = {
8307 (char *) "self", NULL
8308 };
8309
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8312 if (SWIG_arg_fail(1)) SWIG_fail;
8313 {
8314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8315 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8316
8317 wxPyEndAllowThreads(__tstate);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 {
8321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8322 }
8323 return resultobj;
8324 fail:
8325 return NULL;
8326 }
8327
8328
8329 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8332 wxVisualAttributes result;
8333 PyObject * obj0 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "variant", NULL
8336 };
8337
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8339 if (obj0) {
8340 {
8341 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8342 if (SWIG_arg_fail(1)) SWIG_fail;
8343 }
8344 }
8345 {
8346 if (!wxPyCheckForApp()) SWIG_fail;
8347 PyThreadState* __tstate = wxPyBeginAllowThreads();
8348 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8349
8350 wxPyEndAllowThreads(__tstate);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 }
8353 {
8354 wxVisualAttributes * resultptr;
8355 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8356 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8357 }
8358 return resultobj;
8359 fail:
8360 return NULL;
8361 }
8362
8363
8364 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8365 PyObject *obj;
8366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8367 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8368 Py_INCREF(obj);
8369 return Py_BuildValue((char *)"");
8370 }
8371 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj;
8373 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8374 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8375 wxSplitterEvent *result;
8376 PyObject * obj0 = 0 ;
8377 PyObject * obj1 = 0 ;
8378 char *kwnames[] = {
8379 (char *) "type",(char *) "splitter", NULL
8380 };
8381
8382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8383 if (obj0) {
8384 {
8385 arg1 = (wxEventType)(SWIG_As_int(obj0));
8386 if (SWIG_arg_fail(1)) SWIG_fail;
8387 }
8388 }
8389 if (obj1) {
8390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8391 if (SWIG_arg_fail(2)) SWIG_fail;
8392 }
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8410 int arg2 ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self",(char *) "pos", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8419 if (SWIG_arg_fail(1)) SWIG_fail;
8420 {
8421 arg2 = (int)(SWIG_As_int(obj1));
8422 if (SWIG_arg_fail(2)) SWIG_fail;
8423 }
8424 {
8425 PyThreadState* __tstate = wxPyBeginAllowThreads();
8426 (arg1)->SetSashPosition(arg2);
8427
8428 wxPyEndAllowThreads(__tstate);
8429 if (PyErr_Occurred()) SWIG_fail;
8430 }
8431 Py_INCREF(Py_None); resultobj = Py_None;
8432 return resultobj;
8433 fail:
8434 return NULL;
8435 }
8436
8437
8438 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8439 PyObject *resultobj;
8440 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8441 int result;
8442 PyObject * obj0 = 0 ;
8443 char *kwnames[] = {
8444 (char *) "self", NULL
8445 };
8446
8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8449 if (SWIG_arg_fail(1)) SWIG_fail;
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8453
8454 wxPyEndAllowThreads(__tstate);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 {
8458 resultobj = SWIG_From_int((int)(result));
8459 }
8460 return resultobj;
8461 fail:
8462 return NULL;
8463 }
8464
8465
8466 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8469 wxWindow *result;
8470 PyObject * obj0 = 0 ;
8471 char *kwnames[] = {
8472 (char *) "self", NULL
8473 };
8474
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8477 if (SWIG_arg_fail(1)) SWIG_fail;
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8481
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 {
8486 resultobj = wxPyMake_wxObject(result, 0);
8487 }
8488 return resultobj;
8489 fail:
8490 return NULL;
8491 }
8492
8493
8494 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8495 PyObject *resultobj;
8496 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8497 int result;
8498 PyObject * obj0 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "self", NULL
8501 };
8502
8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8505 if (SWIG_arg_fail(1)) SWIG_fail;
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 {
8514 resultobj = SWIG_From_int((int)(result));
8515 }
8516 return resultobj;
8517 fail:
8518 return NULL;
8519 }
8520
8521
8522 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8523 PyObject *resultobj;
8524 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8525 int result;
8526 PyObject * obj0 = 0 ;
8527 char *kwnames[] = {
8528 (char *) "self", NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8533 if (SWIG_arg_fail(1)) SWIG_fail;
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 {
8542 resultobj = SWIG_From_int((int)(result));
8543 }
8544 return resultobj;
8545 fail:
8546 return NULL;
8547 }
8548
8549
8550 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8551 PyObject *obj;
8552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8553 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8554 Py_INCREF(obj);
8555 return Py_BuildValue((char *)"");
8556 }
8557 static int _wrap_SashNameStr_set(PyObject *) {
8558 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8559 return 1;
8560 }
8561
8562
8563 static PyObject *_wrap_SashNameStr_get(void) {
8564 PyObject *pyobj;
8565
8566 {
8567 #if wxUSE_UNICODE
8568 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8569 #else
8570 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8571 #endif
8572 }
8573 return pyobj;
8574 }
8575
8576
8577 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8578 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8579 return 1;
8580 }
8581
8582
8583 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8584 PyObject *pyobj;
8585
8586 {
8587 #if wxUSE_UNICODE
8588 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8589 #else
8590 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8591 #endif
8592 }
8593 return pyobj;
8594 }
8595
8596
8597 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8598 PyObject *resultobj;
8599 wxWindow *arg1 = (wxWindow *) 0 ;
8600 int arg2 = (int) -1 ;
8601 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8602 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8603 wxSize const &arg4_defvalue = wxDefaultSize ;
8604 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8605 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8606 wxString const &arg6_defvalue = wxPySashNameStr ;
8607 wxString *arg6 = (wxString *) &arg6_defvalue ;
8608 wxSashWindow *result;
8609 wxPoint temp3 ;
8610 wxSize temp4 ;
8611 bool temp6 = false ;
8612 PyObject * obj0 = 0 ;
8613 PyObject * obj1 = 0 ;
8614 PyObject * obj2 = 0 ;
8615 PyObject * obj3 = 0 ;
8616 PyObject * obj4 = 0 ;
8617 PyObject * obj5 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8624 if (SWIG_arg_fail(1)) SWIG_fail;
8625 if (obj1) {
8626 {
8627 arg2 = (int)(SWIG_As_int(obj1));
8628 if (SWIG_arg_fail(2)) SWIG_fail;
8629 }
8630 }
8631 if (obj2) {
8632 {
8633 arg3 = &temp3;
8634 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8635 }
8636 }
8637 if (obj3) {
8638 {
8639 arg4 = &temp4;
8640 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8641 }
8642 }
8643 if (obj4) {
8644 {
8645 arg5 = (long)(SWIG_As_long(obj4));
8646 if (SWIG_arg_fail(5)) SWIG_fail;
8647 }
8648 }
8649 if (obj5) {
8650 {
8651 arg6 = wxString_in_helper(obj5);
8652 if (arg6 == NULL) SWIG_fail;
8653 temp6 = true;
8654 }
8655 }
8656 {
8657 if (!wxPyCheckForApp()) SWIG_fail;
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8665 {
8666 if (temp6)
8667 delete arg6;
8668 }
8669 return resultobj;
8670 fail:
8671 {
8672 if (temp6)
8673 delete arg6;
8674 }
8675 return NULL;
8676 }
8677
8678
8679 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxSashWindow *result;
8682 char *kwnames[] = {
8683 NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8687 {
8688 if (!wxPyCheckForApp()) SWIG_fail;
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (wxSashWindow *)new wxSashWindow();
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8696 return resultobj;
8697 fail:
8698 return NULL;
8699 }
8700
8701
8702 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj;
8704 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8705 wxWindow *arg2 = (wxWindow *) 0 ;
8706 int arg3 = (int) -1 ;
8707 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8708 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8709 wxSize const &arg5_defvalue = wxDefaultSize ;
8710 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8711 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8712 wxString const &arg7_defvalue = wxPySashNameStr ;
8713 wxString *arg7 = (wxString *) &arg7_defvalue ;
8714 bool result;
8715 wxPoint temp4 ;
8716 wxSize temp5 ;
8717 bool temp7 = false ;
8718 PyObject * obj0 = 0 ;
8719 PyObject * obj1 = 0 ;
8720 PyObject * obj2 = 0 ;
8721 PyObject * obj3 = 0 ;
8722 PyObject * obj4 = 0 ;
8723 PyObject * obj5 = 0 ;
8724 PyObject * obj6 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8727 };
8728
8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8731 if (SWIG_arg_fail(1)) SWIG_fail;
8732 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8733 if (SWIG_arg_fail(2)) SWIG_fail;
8734 if (obj2) {
8735 {
8736 arg3 = (int)(SWIG_As_int(obj2));
8737 if (SWIG_arg_fail(3)) SWIG_fail;
8738 }
8739 }
8740 if (obj3) {
8741 {
8742 arg4 = &temp4;
8743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8744 }
8745 }
8746 if (obj4) {
8747 {
8748 arg5 = &temp5;
8749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8750 }
8751 }
8752 if (obj5) {
8753 {
8754 arg6 = (long)(SWIG_As_long(obj5));
8755 if (SWIG_arg_fail(6)) SWIG_fail;
8756 }
8757 }
8758 if (obj6) {
8759 {
8760 arg7 = wxString_in_helper(obj6);
8761 if (arg7 == NULL) SWIG_fail;
8762 temp7 = true;
8763 }
8764 }
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
8772 {
8773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8774 }
8775 {
8776 if (temp7)
8777 delete arg7;
8778 }
8779 return resultobj;
8780 fail:
8781 {
8782 if (temp7)
8783 delete arg7;
8784 }
8785 return NULL;
8786 }
8787
8788
8789 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8792 wxSashEdgePosition arg2 ;
8793 bool arg3 ;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 PyObject * obj2 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self",(char *) "edge",(char *) "sash", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8803 if (SWIG_arg_fail(1)) SWIG_fail;
8804 {
8805 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8806 if (SWIG_arg_fail(2)) SWIG_fail;
8807 }
8808 {
8809 arg3 = (bool)(SWIG_As_bool(obj2));
8810 if (SWIG_arg_fail(3)) SWIG_fail;
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 Py_INCREF(Py_None); resultobj = Py_None;
8820 return resultobj;
8821 fail:
8822 return NULL;
8823 }
8824
8825
8826 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8827 PyObject *resultobj;
8828 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8829 wxSashEdgePosition arg2 ;
8830 bool result;
8831 PyObject * obj0 = 0 ;
8832 PyObject * obj1 = 0 ;
8833 char *kwnames[] = {
8834 (char *) "self",(char *) "edge", NULL
8835 };
8836
8837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8839 if (SWIG_arg_fail(1)) SWIG_fail;
8840 {
8841 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8842 if (SWIG_arg_fail(2)) SWIG_fail;
8843 }
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
8846 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8847
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
8851 {
8852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8853 }
8854 return resultobj;
8855 fail:
8856 return NULL;
8857 }
8858
8859
8860 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8861 PyObject *resultobj;
8862 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8863 wxSashEdgePosition arg2 ;
8864 bool arg3 ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 PyObject * obj2 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "edge",(char *) "border", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
8873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail;
8875 {
8876 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8877 if (SWIG_arg_fail(2)) SWIG_fail;
8878 }
8879 {
8880 arg3 = (bool)(SWIG_As_bool(obj2));
8881 if (SWIG_arg_fail(3)) SWIG_fail;
8882 }
8883 {
8884 PyThreadState* __tstate = wxPyBeginAllowThreads();
8885 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8886
8887 wxPyEndAllowThreads(__tstate);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 }
8890 Py_INCREF(Py_None); resultobj = Py_None;
8891 return resultobj;
8892 fail:
8893 return NULL;
8894 }
8895
8896
8897 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj;
8899 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8900 wxSashEdgePosition arg2 ;
8901 bool result;
8902 PyObject * obj0 = 0 ;
8903 PyObject * obj1 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self",(char *) "edge", NULL
8906 };
8907
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
8909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8910 if (SWIG_arg_fail(1)) SWIG_fail;
8911 {
8912 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8913 if (SWIG_arg_fail(2)) SWIG_fail;
8914 }
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 {
8923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8924 }
8925 return resultobj;
8926 fail:
8927 return NULL;
8928 }
8929
8930
8931 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
8932 PyObject *resultobj;
8933 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8934 wxSashEdgePosition arg2 ;
8935 int result;
8936 PyObject * obj0 = 0 ;
8937 PyObject * obj1 = 0 ;
8938 char *kwnames[] = {
8939 (char *) "self",(char *) "edge", NULL
8940 };
8941
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
8943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8944 if (SWIG_arg_fail(1)) SWIG_fail;
8945 {
8946 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8947 if (SWIG_arg_fail(2)) SWIG_fail;
8948 }
8949 {
8950 PyThreadState* __tstate = wxPyBeginAllowThreads();
8951 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8952
8953 wxPyEndAllowThreads(__tstate);
8954 if (PyErr_Occurred()) SWIG_fail;
8955 }
8956 {
8957 resultobj = SWIG_From_int((int)(result));
8958 }
8959 return resultobj;
8960 fail:
8961 return NULL;
8962 }
8963
8964
8965 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8966 PyObject *resultobj;
8967 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8968 int arg2 ;
8969 PyObject * obj0 = 0 ;
8970 PyObject * obj1 = 0 ;
8971 char *kwnames[] = {
8972 (char *) "self",(char *) "width", NULL
8973 };
8974
8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
8976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8977 if (SWIG_arg_fail(1)) SWIG_fail;
8978 {
8979 arg2 = (int)(SWIG_As_int(obj1));
8980 if (SWIG_arg_fail(2)) SWIG_fail;
8981 }
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 (arg1)->SetDefaultBorderSize(arg2);
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
8989 Py_INCREF(Py_None); resultobj = Py_None;
8990 return resultobj;
8991 fail:
8992 return NULL;
8993 }
8994
8995
8996 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8997 PyObject *resultobj;
8998 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8999 int result;
9000 PyObject * obj0 = 0 ;
9001 char *kwnames[] = {
9002 (char *) "self", NULL
9003 };
9004
9005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
9006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9007 if (SWIG_arg_fail(1)) SWIG_fail;
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 {
9016 resultobj = SWIG_From_int((int)(result));
9017 }
9018 return resultobj;
9019 fail:
9020 return NULL;
9021 }
9022
9023
9024 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9025 PyObject *resultobj;
9026 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9027 int arg2 ;
9028 PyObject * obj0 = 0 ;
9029 PyObject * obj1 = 0 ;
9030 char *kwnames[] = {
9031 (char *) "self",(char *) "width", NULL
9032 };
9033
9034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9036 if (SWIG_arg_fail(1)) SWIG_fail;
9037 {
9038 arg2 = (int)(SWIG_As_int(obj1));
9039 if (SWIG_arg_fail(2)) SWIG_fail;
9040 }
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 (arg1)->SetExtraBorderSize(arg2);
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 Py_INCREF(Py_None); resultobj = Py_None;
9049 return resultobj;
9050 fail:
9051 return NULL;
9052 }
9053
9054
9055 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj;
9057 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9058 int result;
9059 PyObject * obj0 = 0 ;
9060 char *kwnames[] = {
9061 (char *) "self", NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9066 if (SWIG_arg_fail(1)) SWIG_fail;
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 {
9075 resultobj = SWIG_From_int((int)(result));
9076 }
9077 return resultobj;
9078 fail:
9079 return NULL;
9080 }
9081
9082
9083 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9084 PyObject *resultobj;
9085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9086 int arg2 ;
9087 PyObject * obj0 = 0 ;
9088 PyObject * obj1 = 0 ;
9089 char *kwnames[] = {
9090 (char *) "self",(char *) "min", NULL
9091 };
9092
9093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9095 if (SWIG_arg_fail(1)) SWIG_fail;
9096 {
9097 arg2 = (int)(SWIG_As_int(obj1));
9098 if (SWIG_arg_fail(2)) SWIG_fail;
9099 }
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 (arg1)->SetMinimumSizeX(arg2);
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 Py_INCREF(Py_None); resultobj = Py_None;
9108 return resultobj;
9109 fail:
9110 return NULL;
9111 }
9112
9113
9114 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9115 PyObject *resultobj;
9116 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9117 int arg2 ;
9118 PyObject * obj0 = 0 ;
9119 PyObject * obj1 = 0 ;
9120 char *kwnames[] = {
9121 (char *) "self",(char *) "min", NULL
9122 };
9123
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9126 if (SWIG_arg_fail(1)) SWIG_fail;
9127 {
9128 arg2 = (int)(SWIG_As_int(obj1));
9129 if (SWIG_arg_fail(2)) SWIG_fail;
9130 }
9131 {
9132 PyThreadState* __tstate = wxPyBeginAllowThreads();
9133 (arg1)->SetMinimumSizeY(arg2);
9134
9135 wxPyEndAllowThreads(__tstate);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 }
9138 Py_INCREF(Py_None); resultobj = Py_None;
9139 return resultobj;
9140 fail:
9141 return NULL;
9142 }
9143
9144
9145 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9148 int result;
9149 PyObject * obj0 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9156 if (SWIG_arg_fail(1)) SWIG_fail;
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
9164 {
9165 resultobj = SWIG_From_int((int)(result));
9166 }
9167 return resultobj;
9168 fail:
9169 return NULL;
9170 }
9171
9172
9173 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj;
9175 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9176 int result;
9177 PyObject * obj0 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail;
9185 {
9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
9187 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9188
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 {
9193 resultobj = SWIG_From_int((int)(result));
9194 }
9195 return resultobj;
9196 fail:
9197 return NULL;
9198 }
9199
9200
9201 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9202 PyObject *resultobj;
9203 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9204 int arg2 ;
9205 PyObject * obj0 = 0 ;
9206 PyObject * obj1 = 0 ;
9207 char *kwnames[] = {
9208 (char *) "self",(char *) "max", NULL
9209 };
9210
9211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9213 if (SWIG_arg_fail(1)) SWIG_fail;
9214 {
9215 arg2 = (int)(SWIG_As_int(obj1));
9216 if (SWIG_arg_fail(2)) SWIG_fail;
9217 }
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 (arg1)->SetMaximumSizeX(arg2);
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 Py_INCREF(Py_None); resultobj = Py_None;
9226 return resultobj;
9227 fail:
9228 return NULL;
9229 }
9230
9231
9232 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj;
9234 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9235 int arg2 ;
9236 PyObject * obj0 = 0 ;
9237 PyObject * obj1 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self",(char *) "max", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9244 if (SWIG_arg_fail(1)) SWIG_fail;
9245 {
9246 arg2 = (int)(SWIG_As_int(obj1));
9247 if (SWIG_arg_fail(2)) SWIG_fail;
9248 }
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 (arg1)->SetMaximumSizeY(arg2);
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 Py_INCREF(Py_None); resultobj = Py_None;
9257 return resultobj;
9258 fail:
9259 return NULL;
9260 }
9261
9262
9263 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj;
9265 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9266 int result;
9267 PyObject * obj0 = 0 ;
9268 char *kwnames[] = {
9269 (char *) "self", NULL
9270 };
9271
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 {
9283 resultobj = SWIG_From_int((int)(result));
9284 }
9285 return resultobj;
9286 fail:
9287 return NULL;
9288 }
9289
9290
9291 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9292 PyObject *resultobj;
9293 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9294 int result;
9295 PyObject * obj0 = 0 ;
9296 char *kwnames[] = {
9297 (char *) "self", NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9302 if (SWIG_arg_fail(1)) SWIG_fail;
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 {
9311 resultobj = SWIG_From_int((int)(result));
9312 }
9313 return resultobj;
9314 fail:
9315 return NULL;
9316 }
9317
9318
9319 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9320 PyObject *resultobj;
9321 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9322 int arg2 ;
9323 int arg3 ;
9324 int arg4 = (int) 2 ;
9325 wxSashEdgePosition result;
9326 PyObject * obj0 = 0 ;
9327 PyObject * obj1 = 0 ;
9328 PyObject * obj2 = 0 ;
9329 PyObject * obj3 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9336 if (SWIG_arg_fail(1)) SWIG_fail;
9337 {
9338 arg2 = (int)(SWIG_As_int(obj1));
9339 if (SWIG_arg_fail(2)) SWIG_fail;
9340 }
9341 {
9342 arg3 = (int)(SWIG_As_int(obj2));
9343 if (SWIG_arg_fail(3)) SWIG_fail;
9344 }
9345 if (obj3) {
9346 {
9347 arg4 = (int)(SWIG_As_int(obj3));
9348 if (SWIG_arg_fail(4)) SWIG_fail;
9349 }
9350 }
9351 {
9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
9353 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9354
9355 wxPyEndAllowThreads(__tstate);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 }
9358 resultobj = SWIG_From_int((result));
9359 return resultobj;
9360 fail:
9361 return NULL;
9362 }
9363
9364
9365 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9366 PyObject *resultobj;
9367 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9375 if (SWIG_arg_fail(1)) SWIG_fail;
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 (arg1)->SizeWindows();
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 Py_INCREF(Py_None); resultobj = Py_None;
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9391 PyObject *obj;
9392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9393 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9394 Py_INCREF(obj);
9395 return Py_BuildValue((char *)"");
9396 }
9397 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj;
9399 int arg1 = (int) 0 ;
9400 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9401 wxSashEvent *result;
9402 PyObject * obj0 = 0 ;
9403 PyObject * obj1 = 0 ;
9404 char *kwnames[] = {
9405 (char *) "id",(char *) "edge", NULL
9406 };
9407
9408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9409 if (obj0) {
9410 {
9411 arg1 = (int)(SWIG_As_int(obj0));
9412 if (SWIG_arg_fail(1)) SWIG_fail;
9413 }
9414 }
9415 if (obj1) {
9416 {
9417 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9418 if (SWIG_arg_fail(2)) SWIG_fail;
9419 }
9420 }
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9429 return resultobj;
9430 fail:
9431 return NULL;
9432 }
9433
9434
9435 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj;
9437 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9438 wxSashEdgePosition arg2 ;
9439 PyObject * obj0 = 0 ;
9440 PyObject * obj1 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self",(char *) "edge", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9447 if (SWIG_arg_fail(1)) SWIG_fail;
9448 {
9449 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9450 if (SWIG_arg_fail(2)) SWIG_fail;
9451 }
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 Py_INCREF(Py_None); resultobj = Py_None;
9460 return resultobj;
9461 fail:
9462 return NULL;
9463 }
9464
9465
9466 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj;
9468 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9469 wxSashEdgePosition result;
9470 PyObject * obj0 = 0 ;
9471 char *kwnames[] = {
9472 (char *) "self", NULL
9473 };
9474
9475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9477 if (SWIG_arg_fail(1)) SWIG_fail;
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9481
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
9485 resultobj = SWIG_From_int((result));
9486 return resultobj;
9487 fail:
9488 return NULL;
9489 }
9490
9491
9492 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9493 PyObject *resultobj;
9494 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9495 wxRect *arg2 = 0 ;
9496 wxRect temp2 ;
9497 PyObject * obj0 = 0 ;
9498 PyObject * obj1 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self",(char *) "rect", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9505 if (SWIG_arg_fail(1)) SWIG_fail;
9506 {
9507 arg2 = &temp2;
9508 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9509 }
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 (arg1)->SetDragRect((wxRect const &)*arg2);
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 Py_INCREF(Py_None); resultobj = Py_None;
9518 return resultobj;
9519 fail:
9520 return NULL;
9521 }
9522
9523
9524 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9525 PyObject *resultobj;
9526 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9527 wxRect result;
9528 PyObject * obj0 = 0 ;
9529 char *kwnames[] = {
9530 (char *) "self", NULL
9531 };
9532
9533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9535 if (SWIG_arg_fail(1)) SWIG_fail;
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = ((wxSashEvent const *)arg1)->GetDragRect();
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 {
9544 wxRect * resultptr;
9545 resultptr = new wxRect((wxRect &)(result));
9546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9547 }
9548 return resultobj;
9549 fail:
9550 return NULL;
9551 }
9552
9553
9554 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9555 PyObject *resultobj;
9556 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9557 wxSashDragStatus arg2 ;
9558 PyObject * obj0 = 0 ;
9559 PyObject * obj1 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "self",(char *) "status", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail;
9567 {
9568 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9569 if (SWIG_arg_fail(2)) SWIG_fail;
9570 }
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 Py_INCREF(Py_None); resultobj = Py_None;
9579 return resultobj;
9580 fail:
9581 return NULL;
9582 }
9583
9584
9585 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj;
9587 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9588 wxSashDragStatus result;
9589 PyObject * obj0 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9596 if (SWIG_arg_fail(1)) SWIG_fail;
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 resultobj = SWIG_From_int((result));
9605 return resultobj;
9606 fail:
9607 return NULL;
9608 }
9609
9610
9611 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9612 PyObject *obj;
9613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9614 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9615 Py_INCREF(obj);
9616 return Py_BuildValue((char *)"");
9617 }
9618 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9619 PyObject *resultobj;
9620 int arg1 = (int) 0 ;
9621 wxQueryLayoutInfoEvent *result;
9622 PyObject * obj0 = 0 ;
9623 char *kwnames[] = {
9624 (char *) "id", NULL
9625 };
9626
9627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9628 if (obj0) {
9629 {
9630 arg1 = (int)(SWIG_As_int(obj0));
9631 if (SWIG_arg_fail(1)) SWIG_fail;
9632 }
9633 }
9634 {
9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
9636 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9637
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9642 return resultobj;
9643 fail:
9644 return NULL;
9645 }
9646
9647
9648 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9649 PyObject *resultobj;
9650 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9651 int arg2 ;
9652 PyObject * obj0 = 0 ;
9653 PyObject * obj1 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self",(char *) "length", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9660 if (SWIG_arg_fail(1)) SWIG_fail;
9661 {
9662 arg2 = (int)(SWIG_As_int(obj1));
9663 if (SWIG_arg_fail(2)) SWIG_fail;
9664 }
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 (arg1)->SetRequestedLength(arg2);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 Py_INCREF(Py_None); resultobj = Py_None;
9673 return resultobj;
9674 fail:
9675 return NULL;
9676 }
9677
9678
9679 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9682 int result;
9683 PyObject * obj0 = 0 ;
9684 char *kwnames[] = {
9685 (char *) "self", NULL
9686 };
9687
9688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9690 if (SWIG_arg_fail(1)) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 {
9699 resultobj = SWIG_From_int((int)(result));
9700 }
9701 return resultobj;
9702 fail:
9703 return NULL;
9704 }
9705
9706
9707 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9708 PyObject *resultobj;
9709 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9710 int arg2 ;
9711 PyObject * obj0 = 0 ;
9712 PyObject * obj1 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self",(char *) "flags", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9719 if (SWIG_arg_fail(1)) SWIG_fail;
9720 {
9721 arg2 = (int)(SWIG_As_int(obj1));
9722 if (SWIG_arg_fail(2)) SWIG_fail;
9723 }
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 (arg1)->SetFlags(arg2);
9727
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 Py_INCREF(Py_None); resultobj = Py_None;
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9739 PyObject *resultobj;
9740 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9741 int result;
9742 PyObject * obj0 = 0 ;
9743 char *kwnames[] = {
9744 (char *) "self", NULL
9745 };
9746
9747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9749 if (SWIG_arg_fail(1)) SWIG_fail;
9750 {
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9753
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 {
9758 resultobj = SWIG_From_int((int)(result));
9759 }
9760 return resultobj;
9761 fail:
9762 return NULL;
9763 }
9764
9765
9766 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj;
9768 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9769 wxSize *arg2 = 0 ;
9770 wxSize temp2 ;
9771 PyObject * obj0 = 0 ;
9772 PyObject * obj1 = 0 ;
9773 char *kwnames[] = {
9774 (char *) "self",(char *) "size", NULL
9775 };
9776
9777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9779 if (SWIG_arg_fail(1)) SWIG_fail;
9780 {
9781 arg2 = &temp2;
9782 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9783 }
9784 {
9785 PyThreadState* __tstate = wxPyBeginAllowThreads();
9786 (arg1)->SetSize((wxSize const &)*arg2);
9787
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 Py_INCREF(Py_None); resultobj = Py_None;
9792 return resultobj;
9793 fail:
9794 return NULL;
9795 }
9796
9797
9798 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9799 PyObject *resultobj;
9800 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9801 wxSize result;
9802 PyObject * obj0 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "self", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9809 if (SWIG_arg_fail(1)) SWIG_fail;
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9813
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
9817 {
9818 wxSize * resultptr;
9819 resultptr = new wxSize((wxSize &)(result));
9820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9821 }
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9831 wxLayoutOrientation arg2 ;
9832 PyObject * obj0 = 0 ;
9833 PyObject * obj1 = 0 ;
9834 char *kwnames[] = {
9835 (char *) "self",(char *) "orient", NULL
9836 };
9837
9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9840 if (SWIG_arg_fail(1)) SWIG_fail;
9841 {
9842 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9843 if (SWIG_arg_fail(2)) SWIG_fail;
9844 }
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 Py_INCREF(Py_None); resultobj = Py_None;
9853 return resultobj;
9854 fail:
9855 return NULL;
9856 }
9857
9858
9859 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj;
9861 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9862 wxLayoutOrientation result;
9863 PyObject * obj0 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
9869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9870 if (SWIG_arg_fail(1)) SWIG_fail;
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 resultobj = SWIG_From_int((result));
9879 return resultobj;
9880 fail:
9881 return NULL;
9882 }
9883
9884
9885 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9886 PyObject *resultobj;
9887 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9888 wxLayoutAlignment arg2 ;
9889 PyObject * obj0 = 0 ;
9890 PyObject * obj1 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "self",(char *) "align", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9897 if (SWIG_arg_fail(1)) SWIG_fail;
9898 {
9899 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9900 if (SWIG_arg_fail(2)) SWIG_fail;
9901 }
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 Py_INCREF(Py_None); resultobj = Py_None;
9910 return resultobj;
9911 fail:
9912 return NULL;
9913 }
9914
9915
9916 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9919 wxLayoutAlignment result;
9920 PyObject * obj0 = 0 ;
9921 char *kwnames[] = {
9922 (char *) "self", NULL
9923 };
9924
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
9926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9927 if (SWIG_arg_fail(1)) SWIG_fail;
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 resultobj = SWIG_From_int((result));
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
9943 PyObject *obj;
9944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9945 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9946 Py_INCREF(obj);
9947 return Py_BuildValue((char *)"");
9948 }
9949 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9950 PyObject *resultobj;
9951 int arg1 = (int) 0 ;
9952 wxCalculateLayoutEvent *result;
9953 PyObject * obj0 = 0 ;
9954 char *kwnames[] = {
9955 (char *) "id", NULL
9956 };
9957
9958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9959 if (obj0) {
9960 {
9961 arg1 = (int)(SWIG_As_int(obj0));
9962 if (SWIG_arg_fail(1)) SWIG_fail;
9963 }
9964 }
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9968
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9973 return resultobj;
9974 fail:
9975 return NULL;
9976 }
9977
9978
9979 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj;
9981 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9982 int arg2 ;
9983 PyObject * obj0 = 0 ;
9984 PyObject * obj1 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self",(char *) "flags", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9991 if (SWIG_arg_fail(1)) SWIG_fail;
9992 {
9993 arg2 = (int)(SWIG_As_int(obj1));
9994 if (SWIG_arg_fail(2)) SWIG_fail;
9995 }
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 (arg1)->SetFlags(arg2);
9999
10000 wxPyEndAllowThreads(__tstate);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 }
10003 Py_INCREF(Py_None); resultobj = Py_None;
10004 return resultobj;
10005 fail:
10006 return NULL;
10007 }
10008
10009
10010 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10011 PyObject *resultobj;
10012 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10013 int result;
10014 PyObject * obj0 = 0 ;
10015 char *kwnames[] = {
10016 (char *) "self", NULL
10017 };
10018
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
10020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10021 if (SWIG_arg_fail(1)) SWIG_fail;
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 {
10030 resultobj = SWIG_From_int((int)(result));
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035 }
10036
10037
10038 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj;
10040 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10041 wxRect *arg2 = 0 ;
10042 wxRect temp2 ;
10043 PyObject * obj0 = 0 ;
10044 PyObject * obj1 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "self",(char *) "rect", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10051 if (SWIG_arg_fail(1)) SWIG_fail;
10052 {
10053 arg2 = &temp2;
10054 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10055 }
10056 {
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
10058 (arg1)->SetRect((wxRect const &)*arg2);
10059
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 Py_INCREF(Py_None); resultobj = Py_None;
10064 return resultobj;
10065 fail:
10066 return NULL;
10067 }
10068
10069
10070 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10071 PyObject *resultobj;
10072 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10073 wxRect result;
10074 PyObject * obj0 = 0 ;
10075 char *kwnames[] = {
10076 (char *) "self", NULL
10077 };
10078
10079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10081 if (SWIG_arg_fail(1)) SWIG_fail;
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 {
10090 wxRect * resultptr;
10091 resultptr = new wxRect((wxRect &)(result));
10092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10093 }
10094 return resultobj;
10095 fail:
10096 return NULL;
10097 }
10098
10099
10100 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10101 PyObject *obj;
10102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10103 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10104 Py_INCREF(obj);
10105 return Py_BuildValue((char *)"");
10106 }
10107 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10108 PyObject *resultobj;
10109 wxWindow *arg1 = (wxWindow *) 0 ;
10110 int arg2 = (int) -1 ;
10111 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10112 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10113 wxSize const &arg4_defvalue = wxDefaultSize ;
10114 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10115 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10116 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10117 wxString *arg6 = (wxString *) &arg6_defvalue ;
10118 wxSashLayoutWindow *result;
10119 wxPoint temp3 ;
10120 wxSize temp4 ;
10121 bool temp6 = false ;
10122 PyObject * obj0 = 0 ;
10123 PyObject * obj1 = 0 ;
10124 PyObject * obj2 = 0 ;
10125 PyObject * obj3 = 0 ;
10126 PyObject * obj4 = 0 ;
10127 PyObject * obj5 = 0 ;
10128 char *kwnames[] = {
10129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10130 };
10131
10132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10134 if (SWIG_arg_fail(1)) SWIG_fail;
10135 if (obj1) {
10136 {
10137 arg2 = (int)(SWIG_As_int(obj1));
10138 if (SWIG_arg_fail(2)) SWIG_fail;
10139 }
10140 }
10141 if (obj2) {
10142 {
10143 arg3 = &temp3;
10144 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10145 }
10146 }
10147 if (obj3) {
10148 {
10149 arg4 = &temp4;
10150 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10151 }
10152 }
10153 if (obj4) {
10154 {
10155 arg5 = (long)(SWIG_As_long(obj4));
10156 if (SWIG_arg_fail(5)) SWIG_fail;
10157 }
10158 }
10159 if (obj5) {
10160 {
10161 arg6 = wxString_in_helper(obj5);
10162 if (arg6 == NULL) SWIG_fail;
10163 temp6 = true;
10164 }
10165 }
10166 {
10167 if (!wxPyCheckForApp()) SWIG_fail;
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10175 {
10176 if (temp6)
10177 delete arg6;
10178 }
10179 return resultobj;
10180 fail:
10181 {
10182 if (temp6)
10183 delete arg6;
10184 }
10185 return NULL;
10186 }
10187
10188
10189 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj;
10191 wxSashLayoutWindow *result;
10192 char *kwnames[] = {
10193 NULL
10194 };
10195
10196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10197 {
10198 if (!wxPyCheckForApp()) SWIG_fail;
10199 PyThreadState* __tstate = wxPyBeginAllowThreads();
10200 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10201
10202 wxPyEndAllowThreads(__tstate);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10206 return resultobj;
10207 fail:
10208 return NULL;
10209 }
10210
10211
10212 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10213 PyObject *resultobj;
10214 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10215 wxWindow *arg2 = (wxWindow *) 0 ;
10216 int arg3 = (int) -1 ;
10217 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10218 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10219 wxSize const &arg5_defvalue = wxDefaultSize ;
10220 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10221 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10222 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10223 wxString *arg7 = (wxString *) &arg7_defvalue ;
10224 bool result;
10225 wxPoint temp4 ;
10226 wxSize temp5 ;
10227 bool temp7 = false ;
10228 PyObject * obj0 = 0 ;
10229 PyObject * obj1 = 0 ;
10230 PyObject * obj2 = 0 ;
10231 PyObject * obj3 = 0 ;
10232 PyObject * obj4 = 0 ;
10233 PyObject * obj5 = 0 ;
10234 PyObject * obj6 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10241 if (SWIG_arg_fail(1)) SWIG_fail;
10242 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10243 if (SWIG_arg_fail(2)) SWIG_fail;
10244 if (obj2) {
10245 {
10246 arg3 = (int)(SWIG_As_int(obj2));
10247 if (SWIG_arg_fail(3)) SWIG_fail;
10248 }
10249 }
10250 if (obj3) {
10251 {
10252 arg4 = &temp4;
10253 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10254 }
10255 }
10256 if (obj4) {
10257 {
10258 arg5 = &temp5;
10259 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10260 }
10261 }
10262 if (obj5) {
10263 {
10264 arg6 = (long)(SWIG_As_long(obj5));
10265 if (SWIG_arg_fail(6)) SWIG_fail;
10266 }
10267 }
10268 if (obj6) {
10269 {
10270 arg7 = wxString_in_helper(obj6);
10271 if (arg7 == NULL) SWIG_fail;
10272 temp7 = true;
10273 }
10274 }
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 {
10283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10284 }
10285 {
10286 if (temp7)
10287 delete arg7;
10288 }
10289 return resultobj;
10290 fail:
10291 {
10292 if (temp7)
10293 delete arg7;
10294 }
10295 return NULL;
10296 }
10297
10298
10299 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10300 PyObject *resultobj;
10301 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10302 wxLayoutAlignment result;
10303 PyObject * obj0 = 0 ;
10304 char *kwnames[] = {
10305 (char *) "self", NULL
10306 };
10307
10308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10310 if (SWIG_arg_fail(1)) SWIG_fail;
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 resultobj = SWIG_From_int((result));
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj;
10327 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10328 wxLayoutOrientation result;
10329 PyObject * obj0 = 0 ;
10330 char *kwnames[] = {
10331 (char *) "self", NULL
10332 };
10333
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10336 if (SWIG_arg_fail(1)) SWIG_fail;
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 resultobj = SWIG_From_int((result));
10345 return resultobj;
10346 fail:
10347 return NULL;
10348 }
10349
10350
10351 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj;
10353 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10354 wxLayoutAlignment arg2 ;
10355 PyObject * obj0 = 0 ;
10356 PyObject * obj1 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self",(char *) "alignment", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail;
10364 {
10365 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10366 if (SWIG_arg_fail(2)) SWIG_fail;
10367 }
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
10375 Py_INCREF(Py_None); resultobj = Py_None;
10376 return resultobj;
10377 fail:
10378 return NULL;
10379 }
10380
10381
10382 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10383 PyObject *resultobj;
10384 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10385 wxSize *arg2 = 0 ;
10386 wxSize temp2 ;
10387 PyObject * obj0 = 0 ;
10388 PyObject * obj1 = 0 ;
10389 char *kwnames[] = {
10390 (char *) "self",(char *) "size", NULL
10391 };
10392
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10395 if (SWIG_arg_fail(1)) SWIG_fail;
10396 {
10397 arg2 = &temp2;
10398 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10399 }
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10403
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 Py_INCREF(Py_None); resultobj = Py_None;
10408 return resultobj;
10409 fail:
10410 return NULL;
10411 }
10412
10413
10414 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10417 wxLayoutOrientation arg2 ;
10418 PyObject * obj0 = 0 ;
10419 PyObject * obj1 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self",(char *) "orientation", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10426 if (SWIG_arg_fail(1)) SWIG_fail;
10427 {
10428 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10429 if (SWIG_arg_fail(2)) SWIG_fail;
10430 }
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 Py_INCREF(Py_None); resultobj = Py_None;
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10446 PyObject *obj;
10447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10448 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10449 Py_INCREF(obj);
10450 return Py_BuildValue((char *)"");
10451 }
10452 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxLayoutAlgorithm *result;
10455 char *kwnames[] = {
10456 NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10468 return resultobj;
10469 fail:
10470 return NULL;
10471 }
10472
10473
10474 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj;
10476 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10477 PyObject * obj0 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10484 if (SWIG_arg_fail(1)) SWIG_fail;
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 delete arg1;
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 Py_INCREF(Py_None); resultobj = Py_None;
10493 return resultobj;
10494 fail:
10495 return NULL;
10496 }
10497
10498
10499 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj;
10501 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10502 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10503 wxRect *arg3 = (wxRect *) NULL ;
10504 bool result;
10505 PyObject * obj0 = 0 ;
10506 PyObject * obj1 = 0 ;
10507 PyObject * obj2 = 0 ;
10508 char *kwnames[] = {
10509 (char *) "self",(char *) "frame",(char *) "rect", NULL
10510 };
10511
10512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10514 if (SWIG_arg_fail(1)) SWIG_fail;
10515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10516 if (SWIG_arg_fail(2)) SWIG_fail;
10517 if (obj2) {
10518 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10519 if (SWIG_arg_fail(3)) SWIG_fail;
10520 }
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 {
10529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10530 }
10531 return resultobj;
10532 fail:
10533 return NULL;
10534 }
10535
10536
10537 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10538 PyObject *resultobj;
10539 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10540 wxFrame *arg2 = (wxFrame *) 0 ;
10541 wxWindow *arg3 = (wxWindow *) NULL ;
10542 bool result;
10543 PyObject * obj0 = 0 ;
10544 PyObject * obj1 = 0 ;
10545 PyObject * obj2 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10552 if (SWIG_arg_fail(1)) SWIG_fail;
10553 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10554 if (SWIG_arg_fail(2)) SWIG_fail;
10555 if (obj2) {
10556 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10557 if (SWIG_arg_fail(3)) SWIG_fail;
10558 }
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 {
10567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10568 }
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj;
10577 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10578 wxWindow *arg2 = (wxWindow *) 0 ;
10579 wxWindow *arg3 = (wxWindow *) NULL ;
10580 bool result;
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 PyObject * obj2 = 0 ;
10584 char *kwnames[] = {
10585 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10586 };
10587
10588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10590 if (SWIG_arg_fail(1)) SWIG_fail;
10591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10592 if (SWIG_arg_fail(2)) SWIG_fail;
10593 if (obj2) {
10594 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10595 if (SWIG_arg_fail(3)) SWIG_fail;
10596 }
10597 {
10598 PyThreadState* __tstate = wxPyBeginAllowThreads();
10599 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10600
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 }
10604 {
10605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10606 }
10607 return resultobj;
10608 fail:
10609 return NULL;
10610 }
10611
10612
10613 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10614 PyObject *obj;
10615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10616 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10617 Py_INCREF(obj);
10618 return Py_BuildValue((char *)"");
10619 }
10620 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxWindow *arg1 = (wxWindow *) 0 ;
10623 int arg2 = (int) wxBORDER_NONE ;
10624 wxPopupWindow *result;
10625 PyObject * obj0 = 0 ;
10626 PyObject * obj1 = 0 ;
10627 char *kwnames[] = {
10628 (char *) "parent",(char *) "flags", NULL
10629 };
10630
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10633 if (SWIG_arg_fail(1)) SWIG_fail;
10634 if (obj1) {
10635 {
10636 arg2 = (int)(SWIG_As_int(obj1));
10637 if (SWIG_arg_fail(2)) SWIG_fail;
10638 }
10639 }
10640 {
10641 if (!wxPyCheckForApp()) SWIG_fail;
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10649 return resultobj;
10650 fail:
10651 return NULL;
10652 }
10653
10654
10655 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10656 PyObject *resultobj;
10657 wxPopupWindow *result;
10658 char *kwnames[] = {
10659 NULL
10660 };
10661
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10663 {
10664 if (!wxPyCheckForApp()) SWIG_fail;
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
10666 result = (wxPopupWindow *)new wxPopupWindow();
10667
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10672 return resultobj;
10673 fail:
10674 return NULL;
10675 }
10676
10677
10678 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10679 PyObject *resultobj;
10680 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10681 wxWindow *arg2 = (wxWindow *) 0 ;
10682 int arg3 = (int) wxBORDER_NONE ;
10683 bool result;
10684 PyObject * obj0 = 0 ;
10685 PyObject * obj1 = 0 ;
10686 PyObject * obj2 = 0 ;
10687 char *kwnames[] = {
10688 (char *) "self",(char *) "parent",(char *) "flags", NULL
10689 };
10690
10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
10692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10693 if (SWIG_arg_fail(1)) SWIG_fail;
10694 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10695 if (SWIG_arg_fail(2)) SWIG_fail;
10696 if (obj2) {
10697 {
10698 arg3 = (int)(SWIG_As_int(obj2));
10699 if (SWIG_arg_fail(3)) SWIG_fail;
10700 }
10701 }
10702 {
10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
10704 result = (bool)(arg1)->Create(arg2,arg3);
10705
10706 wxPyEndAllowThreads(__tstate);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 }
10709 {
10710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10711 }
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10721 wxPoint *arg2 = 0 ;
10722 wxSize *arg3 = 0 ;
10723 wxPoint temp2 ;
10724 wxSize temp3 ;
10725 PyObject * obj0 = 0 ;
10726 PyObject * obj1 = 0 ;
10727 PyObject * obj2 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
10733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10734 if (SWIG_arg_fail(1)) SWIG_fail;
10735 {
10736 arg2 = &temp2;
10737 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10738 }
10739 {
10740 arg3 = &temp3;
10741 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10742 }
10743 {
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
10745 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10746
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 Py_INCREF(Py_None); resultobj = Py_None;
10751 return resultobj;
10752 fail:
10753 return NULL;
10754 }
10755
10756
10757 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10758 PyObject *obj;
10759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10760 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10761 Py_INCREF(obj);
10762 return Py_BuildValue((char *)"");
10763 }
10764 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10765 PyObject *resultobj;
10766 wxWindow *arg1 = (wxWindow *) 0 ;
10767 int arg2 = (int) wxBORDER_NONE ;
10768 wxPyPopupTransientWindow *result;
10769 PyObject * obj0 = 0 ;
10770 PyObject * obj1 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "parent",(char *) "style", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10777 if (SWIG_arg_fail(1)) SWIG_fail;
10778 if (obj1) {
10779 {
10780 arg2 = (int)(SWIG_As_int(obj1));
10781 if (SWIG_arg_fail(2)) SWIG_fail;
10782 }
10783 }
10784 {
10785 if (!wxPyCheckForApp()) SWIG_fail;
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10793 return resultobj;
10794 fail:
10795 return NULL;
10796 }
10797
10798
10799 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxPyPopupTransientWindow *result;
10802 char *kwnames[] = {
10803 NULL
10804 };
10805
10806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10807 {
10808 if (!wxPyCheckForApp()) SWIG_fail;
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10811
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10816 return resultobj;
10817 fail:
10818 return NULL;
10819 }
10820
10821
10822 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10823 PyObject *resultobj;
10824 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10825 PyObject *arg2 = (PyObject *) 0 ;
10826 PyObject *arg3 = (PyObject *) 0 ;
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 PyObject * obj2 = 0 ;
10830 char *kwnames[] = {
10831 (char *) "self",(char *) "self",(char *) "_class", NULL
10832 };
10833
10834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10836 if (SWIG_arg_fail(1)) SWIG_fail;
10837 arg2 = obj1;
10838 arg3 = obj2;
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 (arg1)->_setCallbackInfo(arg2,arg3);
10842
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 Py_INCREF(Py_None); resultobj = Py_None;
10847 return resultobj;
10848 fail:
10849 return NULL;
10850 }
10851
10852
10853 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
10854 PyObject *resultobj;
10855 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10856 wxWindow *arg2 = (wxWindow *) NULL ;
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self",(char *) "focus", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
10864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10865 if (SWIG_arg_fail(1)) SWIG_fail;
10866 if (obj1) {
10867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10868 if (SWIG_arg_fail(2)) SWIG_fail;
10869 }
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 (arg1)->Popup(arg2);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 Py_INCREF(Py_None); resultobj = Py_None;
10878 return resultobj;
10879 fail:
10880 return NULL;
10881 }
10882
10883
10884 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
10885 PyObject *resultobj;
10886 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10887 PyObject * obj0 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
10893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10894 if (SWIG_arg_fail(1)) SWIG_fail;
10895 {
10896 PyThreadState* __tstate = wxPyBeginAllowThreads();
10897 (arg1)->Dismiss();
10898
10899 wxPyEndAllowThreads(__tstate);
10900 if (PyErr_Occurred()) SWIG_fail;
10901 }
10902 Py_INCREF(Py_None); resultobj = Py_None;
10903 return resultobj;
10904 fail:
10905 return NULL;
10906 }
10907
10908
10909 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10910 PyObject *obj;
10911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10912 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10913 Py_INCREF(obj);
10914 return Py_BuildValue((char *)"");
10915 }
10916 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10917 PyObject *resultobj;
10918 wxWindow *arg1 = (wxWindow *) 0 ;
10919 wxString *arg2 = 0 ;
10920 int arg3 = (int) 100 ;
10921 wxRect *arg4 = (wxRect *) NULL ;
10922 wxTipWindow *result;
10923 bool temp2 = false ;
10924 PyObject * obj0 = 0 ;
10925 PyObject * obj1 = 0 ;
10926 PyObject * obj2 = 0 ;
10927 PyObject * obj3 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail;
10935 {
10936 arg2 = wxString_in_helper(obj1);
10937 if (arg2 == NULL) SWIG_fail;
10938 temp2 = true;
10939 }
10940 if (obj2) {
10941 {
10942 arg3 = (int)(SWIG_As_int(obj2));
10943 if (SWIG_arg_fail(3)) SWIG_fail;
10944 }
10945 }
10946 if (obj3) {
10947 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10948 if (SWIG_arg_fail(4)) SWIG_fail;
10949 }
10950 {
10951 if (!wxPyCheckForApp()) SWIG_fail;
10952 PyThreadState* __tstate = wxPyBeginAllowThreads();
10953 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10954
10955 wxPyEndAllowThreads(__tstate);
10956 if (PyErr_Occurred()) SWIG_fail;
10957 }
10958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10959 {
10960 if (temp2)
10961 delete arg2;
10962 }
10963 return resultobj;
10964 fail:
10965 {
10966 if (temp2)
10967 delete arg2;
10968 }
10969 return NULL;
10970 }
10971
10972
10973 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10976 wxRect *arg2 = 0 ;
10977 wxRect temp2 ;
10978 PyObject * obj0 = 0 ;
10979 PyObject * obj1 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self",(char *) "rectBound", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
10985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10986 if (SWIG_arg_fail(1)) SWIG_fail;
10987 {
10988 arg2 = &temp2;
10989 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10990 }
10991 {
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10994
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 Py_INCREF(Py_None); resultobj = Py_None;
10999 return resultobj;
11000 fail:
11001 return NULL;
11002 }
11003
11004
11005 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
11006 PyObject *resultobj;
11007 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11008 PyObject * obj0 = 0 ;
11009 char *kwnames[] = {
11010 (char *) "self", NULL
11011 };
11012
11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
11014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11015 if (SWIG_arg_fail(1)) SWIG_fail;
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 (arg1)->Close();
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 Py_INCREF(Py_None); resultobj = Py_None;
11024 return resultobj;
11025 fail:
11026 return NULL;
11027 }
11028
11029
11030 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
11031 PyObject *obj;
11032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11033 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11034 Py_INCREF(obj);
11035 return Py_BuildValue((char *)"");
11036 }
11037 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11038 PyObject *resultobj;
11039 wxWindow *arg1 = (wxWindow *) 0 ;
11040 int arg2 = (int) wxID_ANY ;
11041 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11042 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11043 wxSize const &arg4_defvalue = wxDefaultSize ;
11044 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11045 long arg5 = (long) 0 ;
11046 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11047 wxString *arg6 = (wxString *) &arg6_defvalue ;
11048 wxPyVScrolledWindow *result;
11049 wxPoint temp3 ;
11050 wxSize temp4 ;
11051 bool temp6 = false ;
11052 PyObject * obj0 = 0 ;
11053 PyObject * obj1 = 0 ;
11054 PyObject * obj2 = 0 ;
11055 PyObject * obj3 = 0 ;
11056 PyObject * obj4 = 0 ;
11057 PyObject * obj5 = 0 ;
11058 char *kwnames[] = {
11059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11060 };
11061
11062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11064 if (SWIG_arg_fail(1)) SWIG_fail;
11065 if (obj1) {
11066 {
11067 arg2 = (int)(SWIG_As_int(obj1));
11068 if (SWIG_arg_fail(2)) SWIG_fail;
11069 }
11070 }
11071 if (obj2) {
11072 {
11073 arg3 = &temp3;
11074 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11075 }
11076 }
11077 if (obj3) {
11078 {
11079 arg4 = &temp4;
11080 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11081 }
11082 }
11083 if (obj4) {
11084 {
11085 arg5 = (long)(SWIG_As_long(obj4));
11086 if (SWIG_arg_fail(5)) SWIG_fail;
11087 }
11088 }
11089 if (obj5) {
11090 {
11091 arg6 = wxString_in_helper(obj5);
11092 if (arg6 == NULL) SWIG_fail;
11093 temp6 = true;
11094 }
11095 }
11096 {
11097 if (!wxPyCheckForApp()) SWIG_fail;
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11100
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11105 {
11106 if (temp6)
11107 delete arg6;
11108 }
11109 return resultobj;
11110 fail:
11111 {
11112 if (temp6)
11113 delete arg6;
11114 }
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxPyVScrolledWindow *result;
11122 char *kwnames[] = {
11123 NULL
11124 };
11125
11126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11127 {
11128 if (!wxPyCheckForApp()) SWIG_fail;
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11136 return resultobj;
11137 fail:
11138 return NULL;
11139 }
11140
11141
11142 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj;
11144 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11145 PyObject *arg2 = (PyObject *) 0 ;
11146 PyObject *arg3 = (PyObject *) 0 ;
11147 PyObject * obj0 = 0 ;
11148 PyObject * obj1 = 0 ;
11149 PyObject * obj2 = 0 ;
11150 char *kwnames[] = {
11151 (char *) "self",(char *) "self",(char *) "_class", NULL
11152 };
11153
11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11156 if (SWIG_arg_fail(1)) SWIG_fail;
11157 arg2 = obj1;
11158 arg3 = obj2;
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 (arg1)->_setCallbackInfo(arg2,arg3);
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 Py_INCREF(Py_None); resultobj = Py_None;
11167 return resultobj;
11168 fail:
11169 return NULL;
11170 }
11171
11172
11173 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11174 PyObject *resultobj;
11175 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11176 wxWindow *arg2 = (wxWindow *) 0 ;
11177 int arg3 = (int) wxID_ANY ;
11178 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11179 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11180 wxSize const &arg5_defvalue = wxDefaultSize ;
11181 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11182 long arg6 = (long) 0 ;
11183 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11184 wxString *arg7 = (wxString *) &arg7_defvalue ;
11185 bool result;
11186 wxPoint temp4 ;
11187 wxSize temp5 ;
11188 bool temp7 = false ;
11189 PyObject * obj0 = 0 ;
11190 PyObject * obj1 = 0 ;
11191 PyObject * obj2 = 0 ;
11192 PyObject * obj3 = 0 ;
11193 PyObject * obj4 = 0 ;
11194 PyObject * obj5 = 0 ;
11195 PyObject * obj6 = 0 ;
11196 char *kwnames[] = {
11197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11198 };
11199
11200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11202 if (SWIG_arg_fail(1)) SWIG_fail;
11203 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11204 if (SWIG_arg_fail(2)) SWIG_fail;
11205 if (obj2) {
11206 {
11207 arg3 = (int)(SWIG_As_int(obj2));
11208 if (SWIG_arg_fail(3)) SWIG_fail;
11209 }
11210 }
11211 if (obj3) {
11212 {
11213 arg4 = &temp4;
11214 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11215 }
11216 }
11217 if (obj4) {
11218 {
11219 arg5 = &temp5;
11220 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11221 }
11222 }
11223 if (obj5) {
11224 {
11225 arg6 = (long)(SWIG_As_long(obj5));
11226 if (SWIG_arg_fail(6)) SWIG_fail;
11227 }
11228 }
11229 if (obj6) {
11230 {
11231 arg7 = wxString_in_helper(obj6);
11232 if (arg7 == NULL) SWIG_fail;
11233 temp7 = true;
11234 }
11235 }
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11239
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 {
11244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11245 }
11246 {
11247 if (temp7)
11248 delete arg7;
11249 }
11250 return resultobj;
11251 fail:
11252 {
11253 if (temp7)
11254 delete arg7;
11255 }
11256 return NULL;
11257 }
11258
11259
11260 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11261 PyObject *resultobj;
11262 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11263 size_t arg2 ;
11264 PyObject * obj0 = 0 ;
11265 PyObject * obj1 = 0 ;
11266 char *kwnames[] = {
11267 (char *) "self",(char *) "count", NULL
11268 };
11269
11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11272 if (SWIG_arg_fail(1)) SWIG_fail;
11273 {
11274 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11275 if (SWIG_arg_fail(2)) SWIG_fail;
11276 }
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 (arg1)->SetLineCount(arg2);
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 Py_INCREF(Py_None); resultobj = Py_None;
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj;
11293 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11294 size_t arg2 ;
11295 bool result;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 char *kwnames[] = {
11299 (char *) "self",(char *) "line", NULL
11300 };
11301
11302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail;
11305 {
11306 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11307 if (SWIG_arg_fail(2)) SWIG_fail;
11308 }
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 result = (bool)(arg1)->ScrollToLine(arg2);
11312
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 {
11317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11318 }
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11328 int arg2 ;
11329 bool result;
11330 PyObject * obj0 = 0 ;
11331 PyObject * obj1 = 0 ;
11332 char *kwnames[] = {
11333 (char *) "self",(char *) "lines", NULL
11334 };
11335
11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11338 if (SWIG_arg_fail(1)) SWIG_fail;
11339 {
11340 arg2 = (int)(SWIG_As_int(obj1));
11341 if (SWIG_arg_fail(2)) SWIG_fail;
11342 }
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (bool)(arg1)->ScrollLines(arg2);
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 {
11351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11352 }
11353 return resultobj;
11354 fail:
11355 return NULL;
11356 }
11357
11358
11359 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11360 PyObject *resultobj;
11361 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11362 int arg2 ;
11363 bool result;
11364 PyObject * obj0 = 0 ;
11365 PyObject * obj1 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "self",(char *) "pages", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11372 if (SWIG_arg_fail(1)) SWIG_fail;
11373 {
11374 arg2 = (int)(SWIG_As_int(obj1));
11375 if (SWIG_arg_fail(2)) SWIG_fail;
11376 }
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 result = (bool)(arg1)->ScrollPages(arg2);
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 {
11385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11386 }
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11394 PyObject *resultobj;
11395 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11396 size_t arg2 ;
11397 PyObject * obj0 = 0 ;
11398 PyObject * obj1 = 0 ;
11399 char *kwnames[] = {
11400 (char *) "self",(char *) "line", NULL
11401 };
11402
11403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11405 if (SWIG_arg_fail(1)) SWIG_fail;
11406 {
11407 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11408 if (SWIG_arg_fail(2)) SWIG_fail;
11409 }
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 (arg1)->RefreshLine(arg2);
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 Py_INCREF(Py_None); resultobj = Py_None;
11418 return resultobj;
11419 fail:
11420 return NULL;
11421 }
11422
11423
11424 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj;
11426 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11427 size_t arg2 ;
11428 size_t arg3 ;
11429 PyObject * obj0 = 0 ;
11430 PyObject * obj1 = 0 ;
11431 PyObject * obj2 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "from",(char *) "to", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11438 if (SWIG_arg_fail(1)) SWIG_fail;
11439 {
11440 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11441 if (SWIG_arg_fail(2)) SWIG_fail;
11442 }
11443 {
11444 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11445 if (SWIG_arg_fail(3)) SWIG_fail;
11446 }
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 (arg1)->RefreshLines(arg2,arg3);
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 Py_INCREF(Py_None); resultobj = Py_None;
11455 return resultobj;
11456 fail:
11457 return NULL;
11458 }
11459
11460
11461 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11462 PyObject *resultobj;
11463 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11464 int arg2 ;
11465 int arg3 ;
11466 int result;
11467 PyObject * obj0 = 0 ;
11468 PyObject * obj1 = 0 ;
11469 PyObject * obj2 = 0 ;
11470 char *kwnames[] = {
11471 (char *) "self",(char *) "x",(char *) "y", NULL
11472 };
11473
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11476 if (SWIG_arg_fail(1)) SWIG_fail;
11477 {
11478 arg2 = (int)(SWIG_As_int(obj1));
11479 if (SWIG_arg_fail(2)) SWIG_fail;
11480 }
11481 {
11482 arg3 = (int)(SWIG_As_int(obj2));
11483 if (SWIG_arg_fail(3)) SWIG_fail;
11484 }
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 {
11493 resultobj = SWIG_From_int((int)(result));
11494 }
11495 return resultobj;
11496 fail:
11497 return NULL;
11498 }
11499
11500
11501 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj;
11503 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11504 wxPoint *arg2 = 0 ;
11505 int result;
11506 wxPoint temp2 ;
11507 PyObject * obj0 = 0 ;
11508 PyObject * obj1 = 0 ;
11509 char *kwnames[] = {
11510 (char *) "self",(char *) "pt", NULL
11511 };
11512
11513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11515 if (SWIG_arg_fail(1)) SWIG_fail;
11516 {
11517 arg2 = &temp2;
11518 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11519 }
11520 {
11521 PyThreadState* __tstate = wxPyBeginAllowThreads();
11522 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11523
11524 wxPyEndAllowThreads(__tstate);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 }
11527 {
11528 resultobj = SWIG_From_int((int)(result));
11529 }
11530 return resultobj;
11531 fail:
11532 return NULL;
11533 }
11534
11535
11536 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11537 PyObject *resultobj;
11538 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11539 PyObject * obj0 = 0 ;
11540 char *kwnames[] = {
11541 (char *) "self", NULL
11542 };
11543
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11546 if (SWIG_arg_fail(1)) SWIG_fail;
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 (arg1)->RefreshAll();
11550
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 Py_INCREF(Py_None); resultobj = Py_None;
11555 return resultobj;
11556 fail:
11557 return NULL;
11558 }
11559
11560
11561 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11562 PyObject *resultobj;
11563 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11564 size_t result;
11565 PyObject * obj0 = 0 ;
11566 char *kwnames[] = {
11567 (char *) "self", NULL
11568 };
11569
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail;
11573 {
11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
11575 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11576
11577 wxPyEndAllowThreads(__tstate);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 }
11580 {
11581 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11582 }
11583 return resultobj;
11584 fail:
11585 return NULL;
11586 }
11587
11588
11589 static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
11590 PyObject *resultobj;
11591 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11592 size_t result;
11593 PyObject * obj0 = 0 ;
11594 char *kwnames[] = {
11595 (char *) "self", NULL
11596 };
11597
11598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
11599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail;
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 {
11609 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11610 }
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(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_GetVisibleEnd",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)->GetVisibleEnd();
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_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11646 PyObject *resultobj;
11647 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11648 size_t arg2 ;
11649 bool result;
11650 PyObject * obj0 = 0 ;
11651 PyObject * obj1 = 0 ;
11652 char *kwnames[] = {
11653 (char *) "self",(char *) "line", NULL
11654 };
11655
11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11658 if (SWIG_arg_fail(1)) SWIG_fail;
11659 {
11660 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11661 if (SWIG_arg_fail(2)) SWIG_fail;
11662 }
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 {
11671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11672 }
11673 return resultobj;
11674 fail:
11675 return NULL;
11676 }
11677
11678
11679 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11680 PyObject *resultobj;
11681 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11682 size_t result;
11683 PyObject * obj0 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "self", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail;
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 {
11699 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11700 }
11701 return resultobj;
11702 fail:
11703 return NULL;
11704 }
11705
11706
11707 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11708 PyObject *resultobj;
11709 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11710 size_t result;
11711 PyObject * obj0 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "self", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11718 if (SWIG_arg_fail(1)) SWIG_fail;
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 {
11727 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11728 }
11729 return resultobj;
11730 fail:
11731 return NULL;
11732 }
11733
11734
11735 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11736 PyObject *obj;
11737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11738 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11739 Py_INCREF(obj);
11740 return Py_BuildValue((char *)"");
11741 }
11742 static int _wrap_VListBoxNameStr_set(PyObject *) {
11743 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11744 return 1;
11745 }
11746
11747
11748 static PyObject *_wrap_VListBoxNameStr_get(void) {
11749 PyObject *pyobj;
11750
11751 {
11752 #if wxUSE_UNICODE
11753 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11754 #else
11755 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11756 #endif
11757 }
11758 return pyobj;
11759 }
11760
11761
11762 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxWindow *arg1 = (wxWindow *) 0 ;
11765 int arg2 = (int) wxID_ANY ;
11766 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11767 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11768 wxSize const &arg4_defvalue = wxDefaultSize ;
11769 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11770 long arg5 = (long) 0 ;
11771 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11772 wxString *arg6 = (wxString *) &arg6_defvalue ;
11773 wxPyVListBox *result;
11774 wxPoint temp3 ;
11775 wxSize temp4 ;
11776 bool temp6 = false ;
11777 PyObject * obj0 = 0 ;
11778 PyObject * obj1 = 0 ;
11779 PyObject * obj2 = 0 ;
11780 PyObject * obj3 = 0 ;
11781 PyObject * obj4 = 0 ;
11782 PyObject * obj5 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11789 if (SWIG_arg_fail(1)) SWIG_fail;
11790 if (obj1) {
11791 {
11792 arg2 = (int)(SWIG_As_int(obj1));
11793 if (SWIG_arg_fail(2)) SWIG_fail;
11794 }
11795 }
11796 if (obj2) {
11797 {
11798 arg3 = &temp3;
11799 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11800 }
11801 }
11802 if (obj3) {
11803 {
11804 arg4 = &temp4;
11805 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11806 }
11807 }
11808 if (obj4) {
11809 {
11810 arg5 = (long)(SWIG_As_long(obj4));
11811 if (SWIG_arg_fail(5)) SWIG_fail;
11812 }
11813 }
11814 if (obj5) {
11815 {
11816 arg6 = wxString_in_helper(obj5);
11817 if (arg6 == NULL) SWIG_fail;
11818 temp6 = true;
11819 }
11820 }
11821 {
11822 if (!wxPyCheckForApp()) SWIG_fail;
11823 PyThreadState* __tstate = wxPyBeginAllowThreads();
11824 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11825
11826 wxPyEndAllowThreads(__tstate);
11827 if (PyErr_Occurred()) SWIG_fail;
11828 }
11829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11830 {
11831 if (temp6)
11832 delete arg6;
11833 }
11834 return resultobj;
11835 fail:
11836 {
11837 if (temp6)
11838 delete arg6;
11839 }
11840 return NULL;
11841 }
11842
11843
11844 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxPyVListBox *result;
11847 char *kwnames[] = {
11848 NULL
11849 };
11850
11851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11852 {
11853 if (!wxPyCheckForApp()) SWIG_fail;
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 result = (wxPyVListBox *)new wxPyVListBox();
11856
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 }
11860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11861 return resultobj;
11862 fail:
11863 return NULL;
11864 }
11865
11866
11867 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11868 PyObject *resultobj;
11869 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11870 PyObject *arg2 = (PyObject *) 0 ;
11871 PyObject *arg3 = (PyObject *) 0 ;
11872 PyObject * obj0 = 0 ;
11873 PyObject * obj1 = 0 ;
11874 PyObject * obj2 = 0 ;
11875 char *kwnames[] = {
11876 (char *) "self",(char *) "self",(char *) "_class", NULL
11877 };
11878
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11881 if (SWIG_arg_fail(1)) SWIG_fail;
11882 arg2 = obj1;
11883 arg3 = obj2;
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 (arg1)->_setCallbackInfo(arg2,arg3);
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
11891 Py_INCREF(Py_None); resultobj = Py_None;
11892 return resultobj;
11893 fail:
11894 return NULL;
11895 }
11896
11897
11898 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj;
11900 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11901 wxWindow *arg2 = (wxWindow *) 0 ;
11902 int arg3 = (int) wxID_ANY ;
11903 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11904 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11905 wxSize const &arg5_defvalue = wxDefaultSize ;
11906 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11907 long arg6 = (long) 0 ;
11908 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11909 wxString *arg7 = (wxString *) &arg7_defvalue ;
11910 bool result;
11911 wxPoint temp4 ;
11912 wxSize temp5 ;
11913 bool temp7 = false ;
11914 PyObject * obj0 = 0 ;
11915 PyObject * obj1 = 0 ;
11916 PyObject * obj2 = 0 ;
11917 PyObject * obj3 = 0 ;
11918 PyObject * obj4 = 0 ;
11919 PyObject * obj5 = 0 ;
11920 PyObject * obj6 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11927 if (SWIG_arg_fail(1)) SWIG_fail;
11928 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11929 if (SWIG_arg_fail(2)) SWIG_fail;
11930 if (obj2) {
11931 {
11932 arg3 = (int)(SWIG_As_int(obj2));
11933 if (SWIG_arg_fail(3)) SWIG_fail;
11934 }
11935 }
11936 if (obj3) {
11937 {
11938 arg4 = &temp4;
11939 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11940 }
11941 }
11942 if (obj4) {
11943 {
11944 arg5 = &temp5;
11945 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11946 }
11947 }
11948 if (obj5) {
11949 {
11950 arg6 = (long)(SWIG_As_long(obj5));
11951 if (SWIG_arg_fail(6)) SWIG_fail;
11952 }
11953 }
11954 if (obj6) {
11955 {
11956 arg7 = wxString_in_helper(obj6);
11957 if (arg7 == NULL) SWIG_fail;
11958 temp7 = true;
11959 }
11960 }
11961 {
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
11963 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11964
11965 wxPyEndAllowThreads(__tstate);
11966 if (PyErr_Occurred()) SWIG_fail;
11967 }
11968 {
11969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11970 }
11971 {
11972 if (temp7)
11973 delete arg7;
11974 }
11975 return resultobj;
11976 fail:
11977 {
11978 if (temp7)
11979 delete arg7;
11980 }
11981 return NULL;
11982 }
11983
11984
11985 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11986 PyObject *resultobj;
11987 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11988 size_t result;
11989 PyObject * obj0 = 0 ;
11990 char *kwnames[] = {
11991 (char *) "self", NULL
11992 };
11993
11994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
11995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11996 if (SWIG_arg_fail(1)) SWIG_fail;
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
12004 {
12005 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12006 }
12007 return resultobj;
12008 fail:
12009 return NULL;
12010 }
12011
12012
12013 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj;
12015 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12016 bool result;
12017 PyObject * obj0 = 0 ;
12018 char *kwnames[] = {
12019 (char *) "self", NULL
12020 };
12021
12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
12023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12024 if (SWIG_arg_fail(1)) SWIG_fail;
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
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_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12042 PyObject *resultobj;
12043 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12044 int result;
12045 PyObject * obj0 = 0 ;
12046 char *kwnames[] = {
12047 (char *) "self", NULL
12048 };
12049
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
12051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12052 if (SWIG_arg_fail(1)) SWIG_fail;
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12056
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 {
12061 resultobj = SWIG_From_int((int)(result));
12062 }
12063 return resultobj;
12064 fail:
12065 return NULL;
12066 }
12067
12068
12069 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12070 PyObject *resultobj;
12071 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12072 size_t arg2 ;
12073 bool result;
12074 PyObject * obj0 = 0 ;
12075 PyObject * obj1 = 0 ;
12076 char *kwnames[] = {
12077 (char *) "self",(char *) "item", NULL
12078 };
12079
12080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
12081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail;
12083 {
12084 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12085 if (SWIG_arg_fail(2)) SWIG_fail;
12086 }
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 {
12095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12096 }
12097 return resultobj;
12098 fail:
12099 return NULL;
12100 }
12101
12102
12103 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12104 PyObject *resultobj;
12105 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12106 size_t arg2 ;
12107 bool result;
12108 PyObject * obj0 = 0 ;
12109 PyObject * obj1 = 0 ;
12110 char *kwnames[] = {
12111 (char *) "self",(char *) "item", NULL
12112 };
12113
12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
12115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12116 if (SWIG_arg_fail(1)) SWIG_fail;
12117 {
12118 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12119 if (SWIG_arg_fail(2)) SWIG_fail;
12120 }
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12124
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 {
12129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12130 }
12131 return resultobj;
12132 fail:
12133 return NULL;
12134 }
12135
12136
12137 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12138 PyObject *resultobj;
12139 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12140 size_t result;
12141 PyObject * obj0 = 0 ;
12142 char *kwnames[] = {
12143 (char *) "self", NULL
12144 };
12145
12146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12148 if (SWIG_arg_fail(1)) SWIG_fail;
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 {
12157 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12158 }
12159 return resultobj;
12160 fail:
12161 return NULL;
12162 }
12163
12164
12165 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12168 PyObject *result;
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail;
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 resultobj = result;
12185 return resultobj;
12186 fail:
12187 return NULL;
12188 }
12189
12190
12191 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12194 unsigned long arg2 ;
12195 PyObject *result;
12196 PyObject * obj0 = 0 ;
12197 PyObject * obj1 = 0 ;
12198 char *kwnames[] = {
12199 (char *) "self",(char *) "cookie", NULL
12200 };
12201
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail;
12205 {
12206 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12207 if (SWIG_arg_fail(2)) SWIG_fail;
12208 }
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12212
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 resultobj = result;
12217 return resultobj;
12218 fail:
12219 return NULL;
12220 }
12221
12222
12223 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12226 wxPoint result;
12227 PyObject * obj0 = 0 ;
12228 char *kwnames[] = {
12229 (char *) "self", NULL
12230 };
12231
12232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12234 if (SWIG_arg_fail(1)) SWIG_fail;
12235 {
12236 PyThreadState* __tstate = wxPyBeginAllowThreads();
12237 result = ((wxPyVListBox const *)arg1)->GetMargins();
12238
12239 wxPyEndAllowThreads(__tstate);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 }
12242 {
12243 wxPoint * resultptr;
12244 resultptr = new wxPoint((wxPoint &)(result));
12245 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12246 }
12247 return resultobj;
12248 fail:
12249 return NULL;
12250 }
12251
12252
12253 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12254 PyObject *resultobj;
12255 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12256 wxColour *result;
12257 PyObject * obj0 = 0 ;
12258 char *kwnames[] = {
12259 (char *) "self", NULL
12260 };
12261
12262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12264 if (SWIG_arg_fail(1)) SWIG_fail;
12265 {
12266 PyThreadState* __tstate = wxPyBeginAllowThreads();
12267 {
12268 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12269 result = (wxColour *) &_result_ref;
12270 }
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
12275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12276 return resultobj;
12277 fail:
12278 return NULL;
12279 }
12280
12281
12282 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12285 size_t arg2 ;
12286 PyObject * obj0 = 0 ;
12287 PyObject * obj1 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "self",(char *) "count", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12294 if (SWIG_arg_fail(1)) SWIG_fail;
12295 {
12296 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12297 if (SWIG_arg_fail(2)) SWIG_fail;
12298 }
12299 {
12300 PyThreadState* __tstate = wxPyBeginAllowThreads();
12301 (arg1)->SetItemCount(arg2);
12302
12303 wxPyEndAllowThreads(__tstate);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
12306 Py_INCREF(Py_None); resultobj = Py_None;
12307 return resultobj;
12308 fail:
12309 return NULL;
12310 }
12311
12312
12313 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12314 PyObject *resultobj;
12315 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12316 PyObject * obj0 = 0 ;
12317 char *kwnames[] = {
12318 (char *) "self", NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12323 if (SWIG_arg_fail(1)) SWIG_fail;
12324 {
12325 PyThreadState* __tstate = wxPyBeginAllowThreads();
12326 (arg1)->Clear();
12327
12328 wxPyEndAllowThreads(__tstate);
12329 if (PyErr_Occurred()) SWIG_fail;
12330 }
12331 Py_INCREF(Py_None); resultobj = Py_None;
12332 return resultobj;
12333 fail:
12334 return NULL;
12335 }
12336
12337
12338 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12339 PyObject *resultobj;
12340 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12341 int arg2 ;
12342 PyObject * obj0 = 0 ;
12343 PyObject * obj1 = 0 ;
12344 char *kwnames[] = {
12345 (char *) "self",(char *) "selection", NULL
12346 };
12347
12348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12350 if (SWIG_arg_fail(1)) SWIG_fail;
12351 {
12352 arg2 = (int)(SWIG_As_int(obj1));
12353 if (SWIG_arg_fail(2)) SWIG_fail;
12354 }
12355 {
12356 PyThreadState* __tstate = wxPyBeginAllowThreads();
12357 (arg1)->SetSelection(arg2);
12358
12359 wxPyEndAllowThreads(__tstate);
12360 if (PyErr_Occurred()) SWIG_fail;
12361 }
12362 Py_INCREF(Py_None); resultobj = Py_None;
12363 return resultobj;
12364 fail:
12365 return NULL;
12366 }
12367
12368
12369 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12370 PyObject *resultobj;
12371 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12372 size_t arg2 ;
12373 bool arg3 = (bool) true ;
12374 bool result;
12375 PyObject * obj0 = 0 ;
12376 PyObject * obj1 = 0 ;
12377 PyObject * obj2 = 0 ;
12378 char *kwnames[] = {
12379 (char *) "self",(char *) "item",(char *) "select", NULL
12380 };
12381
12382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail;
12385 {
12386 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12387 if (SWIG_arg_fail(2)) SWIG_fail;
12388 }
12389 if (obj2) {
12390 {
12391 arg3 = (bool)(SWIG_As_bool(obj2));
12392 if (SWIG_arg_fail(3)) SWIG_fail;
12393 }
12394 }
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 result = (bool)(arg1)->Select(arg2,arg3);
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 {
12403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12404 }
12405 return resultobj;
12406 fail:
12407 return NULL;
12408 }
12409
12410
12411 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12412 PyObject *resultobj;
12413 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12414 size_t arg2 ;
12415 size_t arg3 ;
12416 bool result;
12417 PyObject * obj0 = 0 ;
12418 PyObject * obj1 = 0 ;
12419 PyObject * obj2 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self",(char *) "from",(char *) "to", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12426 if (SWIG_arg_fail(1)) SWIG_fail;
12427 {
12428 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12429 if (SWIG_arg_fail(2)) SWIG_fail;
12430 }
12431 {
12432 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12433 if (SWIG_arg_fail(3)) SWIG_fail;
12434 }
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 result = (bool)(arg1)->SelectRange(arg2,arg3);
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 {
12443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12444 }
12445 return resultobj;
12446 fail:
12447 return NULL;
12448 }
12449
12450
12451 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12452 PyObject *resultobj;
12453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12454 size_t arg2 ;
12455 PyObject * obj0 = 0 ;
12456 PyObject * obj1 = 0 ;
12457 char *kwnames[] = {
12458 (char *) "self",(char *) "item", NULL
12459 };
12460
12461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail;
12464 {
12465 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12466 if (SWIG_arg_fail(2)) SWIG_fail;
12467 }
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 (arg1)->Toggle(arg2);
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 Py_INCREF(Py_None); resultobj = Py_None;
12476 return resultobj;
12477 fail:
12478 return NULL;
12479 }
12480
12481
12482 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12483 PyObject *resultobj;
12484 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12485 bool result;
12486 PyObject * obj0 = 0 ;
12487 char *kwnames[] = {
12488 (char *) "self", NULL
12489 };
12490
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail;
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (bool)(arg1)->SelectAll();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 {
12502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12503 }
12504 return resultobj;
12505 fail:
12506 return NULL;
12507 }
12508
12509
12510 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12513 bool result;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12521 if (SWIG_arg_fail(1)) SWIG_fail;
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 result = (bool)(arg1)->DeselectAll();
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 {
12530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12531 }
12532 return resultobj;
12533 fail:
12534 return NULL;
12535 }
12536
12537
12538 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12539 PyObject *resultobj;
12540 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12541 wxPoint *arg2 = 0 ;
12542 wxPoint temp2 ;
12543 PyObject * obj0 = 0 ;
12544 PyObject * obj1 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "self",(char *) "pt", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12551 if (SWIG_arg_fail(1)) SWIG_fail;
12552 {
12553 arg2 = &temp2;
12554 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12555 }
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 (arg1)->SetMargins((wxPoint const &)*arg2);
12559
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 }
12563 Py_INCREF(Py_None); resultobj = Py_None;
12564 return resultobj;
12565 fail:
12566 return NULL;
12567 }
12568
12569
12570 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12571 PyObject *resultobj;
12572 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12573 int arg2 ;
12574 int arg3 ;
12575 PyObject * obj0 = 0 ;
12576 PyObject * obj1 = 0 ;
12577 PyObject * obj2 = 0 ;
12578 char *kwnames[] = {
12579 (char *) "self",(char *) "x",(char *) "y", NULL
12580 };
12581
12582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12584 if (SWIG_arg_fail(1)) SWIG_fail;
12585 {
12586 arg2 = (int)(SWIG_As_int(obj1));
12587 if (SWIG_arg_fail(2)) SWIG_fail;
12588 }
12589 {
12590 arg3 = (int)(SWIG_As_int(obj2));
12591 if (SWIG_arg_fail(3)) SWIG_fail;
12592 }
12593 {
12594 PyThreadState* __tstate = wxPyBeginAllowThreads();
12595 (arg1)->SetMargins(arg2,arg3);
12596
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 Py_INCREF(Py_None); resultobj = Py_None;
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12608 PyObject *resultobj;
12609 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12610 wxColour *arg2 = 0 ;
12611 wxColour temp2 ;
12612 PyObject * obj0 = 0 ;
12613 PyObject * obj1 = 0 ;
12614 char *kwnames[] = {
12615 (char *) "self",(char *) "col", NULL
12616 };
12617
12618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12620 if (SWIG_arg_fail(1)) SWIG_fail;
12621 {
12622 arg2 = &temp2;
12623 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12624 }
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12628
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
12632 Py_INCREF(Py_None); resultobj = Py_None;
12633 return resultobj;
12634 fail:
12635 return NULL;
12636 }
12637
12638
12639 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12640 PyObject *obj;
12641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12642 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12643 Py_INCREF(obj);
12644 return Py_BuildValue((char *)"");
12645 }
12646 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj;
12648 wxWindow *arg1 = (wxWindow *) 0 ;
12649 int arg2 = (int) wxID_ANY ;
12650 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12651 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12652 wxSize const &arg4_defvalue = wxDefaultSize ;
12653 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12654 long arg5 = (long) 0 ;
12655 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12656 wxString *arg6 = (wxString *) &arg6_defvalue ;
12657 wxPyHtmlListBox *result;
12658 wxPoint temp3 ;
12659 wxSize temp4 ;
12660 bool temp6 = false ;
12661 PyObject * obj0 = 0 ;
12662 PyObject * obj1 = 0 ;
12663 PyObject * obj2 = 0 ;
12664 PyObject * obj3 = 0 ;
12665 PyObject * obj4 = 0 ;
12666 PyObject * obj5 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12673 if (SWIG_arg_fail(1)) SWIG_fail;
12674 if (obj1) {
12675 {
12676 arg2 = (int)(SWIG_As_int(obj1));
12677 if (SWIG_arg_fail(2)) SWIG_fail;
12678 }
12679 }
12680 if (obj2) {
12681 {
12682 arg3 = &temp3;
12683 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12684 }
12685 }
12686 if (obj3) {
12687 {
12688 arg4 = &temp4;
12689 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12690 }
12691 }
12692 if (obj4) {
12693 {
12694 arg5 = (long)(SWIG_As_long(obj4));
12695 if (SWIG_arg_fail(5)) SWIG_fail;
12696 }
12697 }
12698 if (obj5) {
12699 {
12700 arg6 = wxString_in_helper(obj5);
12701 if (arg6 == NULL) SWIG_fail;
12702 temp6 = true;
12703 }
12704 }
12705 {
12706 if (!wxPyCheckForApp()) SWIG_fail;
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12714 {
12715 if (temp6)
12716 delete arg6;
12717 }
12718 return resultobj;
12719 fail:
12720 {
12721 if (temp6)
12722 delete arg6;
12723 }
12724 return NULL;
12725 }
12726
12727
12728 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12729 PyObject *resultobj;
12730 wxPyHtmlListBox *result;
12731 char *kwnames[] = {
12732 NULL
12733 };
12734
12735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12736 {
12737 if (!wxPyCheckForApp()) SWIG_fail;
12738 PyThreadState* __tstate = wxPyBeginAllowThreads();
12739 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12740
12741 wxPyEndAllowThreads(__tstate);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12745 return resultobj;
12746 fail:
12747 return NULL;
12748 }
12749
12750
12751 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12752 PyObject *resultobj;
12753 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12754 PyObject *arg2 = (PyObject *) 0 ;
12755 PyObject *arg3 = (PyObject *) 0 ;
12756 PyObject * obj0 = 0 ;
12757 PyObject * obj1 = 0 ;
12758 PyObject * obj2 = 0 ;
12759 char *kwnames[] = {
12760 (char *) "self",(char *) "self",(char *) "_class", NULL
12761 };
12762
12763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12765 if (SWIG_arg_fail(1)) SWIG_fail;
12766 arg2 = obj1;
12767 arg3 = obj2;
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 (arg1)->_setCallbackInfo(arg2,arg3);
12771
12772 wxPyEndAllowThreads(__tstate);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 }
12775 Py_INCREF(Py_None); resultobj = Py_None;
12776 return resultobj;
12777 fail:
12778 return NULL;
12779 }
12780
12781
12782 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12783 PyObject *resultobj;
12784 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12785 wxWindow *arg2 = (wxWindow *) 0 ;
12786 int arg3 = (int) wxID_ANY ;
12787 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12788 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12789 wxSize const &arg5_defvalue = wxDefaultSize ;
12790 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12791 long arg6 = (long) 0 ;
12792 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12793 wxString *arg7 = (wxString *) &arg7_defvalue ;
12794 bool result;
12795 wxPoint temp4 ;
12796 wxSize temp5 ;
12797 bool temp7 = false ;
12798 PyObject * obj0 = 0 ;
12799 PyObject * obj1 = 0 ;
12800 PyObject * obj2 = 0 ;
12801 PyObject * obj3 = 0 ;
12802 PyObject * obj4 = 0 ;
12803 PyObject * obj5 = 0 ;
12804 PyObject * obj6 = 0 ;
12805 char *kwnames[] = {
12806 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12807 };
12808
12809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12811 if (SWIG_arg_fail(1)) SWIG_fail;
12812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12813 if (SWIG_arg_fail(2)) SWIG_fail;
12814 if (obj2) {
12815 {
12816 arg3 = (int)(SWIG_As_int(obj2));
12817 if (SWIG_arg_fail(3)) SWIG_fail;
12818 }
12819 }
12820 if (obj3) {
12821 {
12822 arg4 = &temp4;
12823 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12824 }
12825 }
12826 if (obj4) {
12827 {
12828 arg5 = &temp5;
12829 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12830 }
12831 }
12832 if (obj5) {
12833 {
12834 arg6 = (long)(SWIG_As_long(obj5));
12835 if (SWIG_arg_fail(6)) SWIG_fail;
12836 }
12837 }
12838 if (obj6) {
12839 {
12840 arg7 = wxString_in_helper(obj6);
12841 if (arg7 == NULL) SWIG_fail;
12842 temp7 = true;
12843 }
12844 }
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 {
12853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12854 }
12855 {
12856 if (temp7)
12857 delete arg7;
12858 }
12859 return resultobj;
12860 fail:
12861 {
12862 if (temp7)
12863 delete arg7;
12864 }
12865 return NULL;
12866 }
12867
12868
12869 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12870 PyObject *resultobj;
12871 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail;
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 (arg1)->RefreshAll();
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 Py_INCREF(Py_None); resultobj = Py_None;
12888 return resultobj;
12889 fail:
12890 return NULL;
12891 }
12892
12893
12894 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12895 PyObject *resultobj;
12896 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12897 size_t arg2 ;
12898 PyObject * obj0 = 0 ;
12899 PyObject * obj1 = 0 ;
12900 char *kwnames[] = {
12901 (char *) "self",(char *) "count", NULL
12902 };
12903
12904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12906 if (SWIG_arg_fail(1)) SWIG_fail;
12907 {
12908 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12909 if (SWIG_arg_fail(2)) SWIG_fail;
12910 }
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 (arg1)->SetItemCount(arg2);
12914
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 Py_INCREF(Py_None); resultobj = Py_None;
12919 return resultobj;
12920 fail:
12921 return NULL;
12922 }
12923
12924
12925 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj;
12927 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12928 wxFileSystem *result;
12929 PyObject * obj0 = 0 ;
12930 char *kwnames[] = {
12931 (char *) "self", NULL
12932 };
12933
12934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12936 if (SWIG_arg_fail(1)) SWIG_fail;
12937 {
12938 PyThreadState* __tstate = wxPyBeginAllowThreads();
12939 {
12940 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12941 result = (wxFileSystem *) &_result_ref;
12942 }
12943
12944 wxPyEndAllowThreads(__tstate);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 }
12947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12948 return resultobj;
12949 fail:
12950 return NULL;
12951 }
12952
12953
12954 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12955 PyObject *obj;
12956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12957 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12958 Py_INCREF(obj);
12959 return Py_BuildValue((char *)"");
12960 }
12961 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12962 PyObject *resultobj;
12963 wxPyTaskBarIcon *result;
12964 char *kwnames[] = {
12965 NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12969 {
12970 if (!wxPyCheckForApp()) SWIG_fail;
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
12972 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
12973
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
12978 return resultobj;
12979 fail:
12980 return NULL;
12981 }
12982
12983
12984 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12987 PyObject *arg2 = (PyObject *) 0 ;
12988 PyObject *arg3 = (PyObject *) 0 ;
12989 int arg4 ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 PyObject * obj2 = 0 ;
12993 PyObject * obj3 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13000 if (SWIG_arg_fail(1)) SWIG_fail;
13001 arg2 = obj1;
13002 arg3 = obj2;
13003 {
13004 arg4 = (int)(SWIG_As_int(obj3));
13005 if (SWIG_arg_fail(4)) SWIG_fail;
13006 }
13007 {
13008 PyThreadState* __tstate = wxPyBeginAllowThreads();
13009 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
13010
13011 wxPyEndAllowThreads(__tstate);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 Py_INCREF(Py_None); resultobj = Py_None;
13015 return resultobj;
13016 fail:
13017 return NULL;
13018 }
13019
13020
13021 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
13022 PyObject *resultobj;
13023 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13024 PyObject * obj0 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
13030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13031 if (SWIG_arg_fail(1)) SWIG_fail;
13032 {
13033 PyThreadState* __tstate = wxPyBeginAllowThreads();
13034 wxPyTaskBarIcon_Destroy(arg1);
13035
13036 wxPyEndAllowThreads(__tstate);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 }
13039 Py_INCREF(Py_None); resultobj = Py_None;
13040 return resultobj;
13041 fail:
13042 return NULL;
13043 }
13044
13045
13046 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
13047 PyObject *resultobj;
13048 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13049 bool result;
13050 PyObject * obj0 = 0 ;
13051 char *kwnames[] = {
13052 (char *) "self", NULL
13053 };
13054
13055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 {
13066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13067 }
13068 return resultobj;
13069 fail:
13070 return NULL;
13071 }
13072
13073
13074 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
13075 PyObject *resultobj;
13076 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13077 bool result;
13078 PyObject * obj0 = 0 ;
13079 char *kwnames[] = {
13080 (char *) "self", NULL
13081 };
13082
13083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
13084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13085 if (SWIG_arg_fail(1)) SWIG_fail;
13086 {
13087 PyThreadState* __tstate = wxPyBeginAllowThreads();
13088 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
13089
13090 wxPyEndAllowThreads(__tstate);
13091 if (PyErr_Occurred()) SWIG_fail;
13092 }
13093 {
13094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13095 }
13096 return resultobj;
13097 fail:
13098 return NULL;
13099 }
13100
13101
13102 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj;
13104 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13105 wxIcon *arg2 = 0 ;
13106 wxString const &arg3_defvalue = wxPyEmptyString ;
13107 wxString *arg3 = (wxString *) &arg3_defvalue ;
13108 bool result;
13109 bool temp3 = false ;
13110 PyObject * obj0 = 0 ;
13111 PyObject * obj1 = 0 ;
13112 PyObject * obj2 = 0 ;
13113 char *kwnames[] = {
13114 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13115 };
13116
13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13119 if (SWIG_arg_fail(1)) SWIG_fail;
13120 {
13121 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13122 if (SWIG_arg_fail(2)) SWIG_fail;
13123 if (arg2 == NULL) {
13124 SWIG_null_ref("wxIcon");
13125 }
13126 if (SWIG_arg_fail(2)) SWIG_fail;
13127 }
13128 if (obj2) {
13129 {
13130 arg3 = wxString_in_helper(obj2);
13131 if (arg3 == NULL) SWIG_fail;
13132 temp3 = true;
13133 }
13134 }
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 {
13143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13144 }
13145 {
13146 if (temp3)
13147 delete arg3;
13148 }
13149 return resultobj;
13150 fail:
13151 {
13152 if (temp3)
13153 delete arg3;
13154 }
13155 return NULL;
13156 }
13157
13158
13159 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13160 PyObject *resultobj;
13161 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13162 bool result;
13163 PyObject * obj0 = 0 ;
13164 char *kwnames[] = {
13165 (char *) "self", NULL
13166 };
13167
13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13170 if (SWIG_arg_fail(1)) SWIG_fail;
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 result = (bool)(arg1)->RemoveIcon();
13174
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 {
13179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13180 }
13181 return resultobj;
13182 fail:
13183 return NULL;
13184 }
13185
13186
13187 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj;
13189 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13190 wxMenu *arg2 = (wxMenu *) 0 ;
13191 bool result;
13192 PyObject * obj0 = 0 ;
13193 PyObject * obj1 = 0 ;
13194 char *kwnames[] = {
13195 (char *) "self",(char *) "menu", NULL
13196 };
13197
13198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13200 if (SWIG_arg_fail(1)) SWIG_fail;
13201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13202 if (SWIG_arg_fail(2)) SWIG_fail;
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 result = (bool)(arg1)->PopupMenu(arg2);
13206
13207 wxPyEndAllowThreads(__tstate);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
13210 {
13211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13212 }
13213 return resultobj;
13214 fail:
13215 return NULL;
13216 }
13217
13218
13219 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13220 PyObject *obj;
13221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13222 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13223 Py_INCREF(obj);
13224 return Py_BuildValue((char *)"");
13225 }
13226 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxEventType arg1 ;
13229 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13230 wxTaskBarIconEvent *result;
13231 PyObject * obj0 = 0 ;
13232 PyObject * obj1 = 0 ;
13233 char *kwnames[] = {
13234 (char *) "evtType",(char *) "tbIcon", NULL
13235 };
13236
13237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13238 {
13239 arg1 = (wxEventType)(SWIG_As_int(obj0));
13240 if (SWIG_arg_fail(1)) SWIG_fail;
13241 }
13242 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13243 if (SWIG_arg_fail(2)) SWIG_fail;
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13252 return resultobj;
13253 fail:
13254 return NULL;
13255 }
13256
13257
13258 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13259 PyObject *obj;
13260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13261 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13262 Py_INCREF(obj);
13263 return Py_BuildValue((char *)"");
13264 }
13265 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13266 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13267 return 1;
13268 }
13269
13270
13271 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13272 PyObject *pyobj;
13273
13274 {
13275 #if wxUSE_UNICODE
13276 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13277 #else
13278 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13279 #endif
13280 }
13281 return pyobj;
13282 }
13283
13284
13285 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13286 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13287 return 1;
13288 }
13289
13290
13291 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13292 PyObject *pyobj;
13293
13294 {
13295 #if wxUSE_UNICODE
13296 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13297 #else
13298 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13299 #endif
13300 }
13301 return pyobj;
13302 }
13303
13304
13305 static int _wrap_DirDialogNameStr_set(PyObject *) {
13306 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13307 return 1;
13308 }
13309
13310
13311 static PyObject *_wrap_DirDialogNameStr_get(void) {
13312 PyObject *pyobj;
13313
13314 {
13315 #if wxUSE_UNICODE
13316 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13317 #else
13318 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13319 #endif
13320 }
13321 return pyobj;
13322 }
13323
13324
13325 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13326 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13327 return 1;
13328 }
13329
13330
13331 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13332 PyObject *pyobj;
13333
13334 {
13335 #if wxUSE_UNICODE
13336 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13337 #else
13338 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13339 #endif
13340 }
13341 return pyobj;
13342 }
13343
13344
13345 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13346 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13347 return 1;
13348 }
13349
13350
13351 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13352 PyObject *pyobj;
13353
13354 {
13355 #if wxUSE_UNICODE
13356 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13357 #else
13358 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13359 #endif
13360 }
13361 return pyobj;
13362 }
13363
13364
13365 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13366 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13367 return 1;
13368 }
13369
13370
13371 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13372 PyObject *pyobj;
13373
13374 {
13375 #if wxUSE_UNICODE
13376 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13377 #else
13378 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13379 #endif
13380 }
13381 return pyobj;
13382 }
13383
13384
13385 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxColourData *result;
13388 char *kwnames[] = {
13389 NULL
13390 };
13391
13392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 result = (wxColourData *)new wxColourData();
13396
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13401 return resultobj;
13402 fail:
13403 return NULL;
13404 }
13405
13406
13407 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13408 PyObject *resultobj;
13409 wxColourData *arg1 = (wxColourData *) 0 ;
13410 PyObject * obj0 = 0 ;
13411 char *kwnames[] = {
13412 (char *) "self", NULL
13413 };
13414
13415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13417 if (SWIG_arg_fail(1)) SWIG_fail;
13418 {
13419 PyThreadState* __tstate = wxPyBeginAllowThreads();
13420 delete arg1;
13421
13422 wxPyEndAllowThreads(__tstate);
13423 if (PyErr_Occurred()) SWIG_fail;
13424 }
13425 Py_INCREF(Py_None); resultobj = Py_None;
13426 return resultobj;
13427 fail:
13428 return NULL;
13429 }
13430
13431
13432 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13433 PyObject *resultobj;
13434 wxColourData *arg1 = (wxColourData *) 0 ;
13435 bool result;
13436 PyObject * obj0 = 0 ;
13437 char *kwnames[] = {
13438 (char *) "self", NULL
13439 };
13440
13441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13443 if (SWIG_arg_fail(1)) SWIG_fail;
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 result = (bool)(arg1)->GetChooseFull();
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 {
13452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13453 }
13454 return resultobj;
13455 fail:
13456 return NULL;
13457 }
13458
13459
13460 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxColourData *arg1 = (wxColourData *) 0 ;
13463 wxColour result;
13464 PyObject * obj0 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "self", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13471 if (SWIG_arg_fail(1)) SWIG_fail;
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (arg1)->GetColour();
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 {
13480 wxColour * resultptr;
13481 resultptr = new wxColour((wxColour &)(result));
13482 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13483 }
13484 return resultobj;
13485 fail:
13486 return NULL;
13487 }
13488
13489
13490 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13491 PyObject *resultobj;
13492 wxColourData *arg1 = (wxColourData *) 0 ;
13493 int arg2 ;
13494 wxColour result;
13495 PyObject * obj0 = 0 ;
13496 PyObject * obj1 = 0 ;
13497 char *kwnames[] = {
13498 (char *) "self",(char *) "i", NULL
13499 };
13500
13501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13503 if (SWIG_arg_fail(1)) SWIG_fail;
13504 {
13505 arg2 = (int)(SWIG_As_int(obj1));
13506 if (SWIG_arg_fail(2)) SWIG_fail;
13507 }
13508 {
13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
13510 result = (arg1)->GetCustomColour(arg2);
13511
13512 wxPyEndAllowThreads(__tstate);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 }
13515 {
13516 wxColour * resultptr;
13517 resultptr = new wxColour((wxColour &)(result));
13518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13519 }
13520 return resultobj;
13521 fail:
13522 return NULL;
13523 }
13524
13525
13526 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxColourData *arg1 = (wxColourData *) 0 ;
13529 int arg2 ;
13530 PyObject * obj0 = 0 ;
13531 PyObject * obj1 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self",(char *) "flag", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13538 if (SWIG_arg_fail(1)) SWIG_fail;
13539 {
13540 arg2 = (int)(SWIG_As_int(obj1));
13541 if (SWIG_arg_fail(2)) SWIG_fail;
13542 }
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 (arg1)->SetChooseFull(arg2);
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 Py_INCREF(Py_None); resultobj = Py_None;
13551 return resultobj;
13552 fail:
13553 return NULL;
13554 }
13555
13556
13557 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13558 PyObject *resultobj;
13559 wxColourData *arg1 = (wxColourData *) 0 ;
13560 wxColour *arg2 = 0 ;
13561 wxColour temp2 ;
13562 PyObject * obj0 = 0 ;
13563 PyObject * obj1 = 0 ;
13564 char *kwnames[] = {
13565 (char *) "self",(char *) "colour", NULL
13566 };
13567
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13570 if (SWIG_arg_fail(1)) SWIG_fail;
13571 {
13572 arg2 = &temp2;
13573 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13574 }
13575 {
13576 PyThreadState* __tstate = wxPyBeginAllowThreads();
13577 (arg1)->SetColour((wxColour const &)*arg2);
13578
13579 wxPyEndAllowThreads(__tstate);
13580 if (PyErr_Occurred()) SWIG_fail;
13581 }
13582 Py_INCREF(Py_None); resultobj = Py_None;
13583 return resultobj;
13584 fail:
13585 return NULL;
13586 }
13587
13588
13589 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13590 PyObject *resultobj;
13591 wxColourData *arg1 = (wxColourData *) 0 ;
13592 int arg2 ;
13593 wxColour *arg3 = 0 ;
13594 wxColour temp3 ;
13595 PyObject * obj0 = 0 ;
13596 PyObject * obj1 = 0 ;
13597 PyObject * obj2 = 0 ;
13598 char *kwnames[] = {
13599 (char *) "self",(char *) "i",(char *) "colour", NULL
13600 };
13601
13602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13604 if (SWIG_arg_fail(1)) SWIG_fail;
13605 {
13606 arg2 = (int)(SWIG_As_int(obj1));
13607 if (SWIG_arg_fail(2)) SWIG_fail;
13608 }
13609 {
13610 arg3 = &temp3;
13611 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13612 }
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13616
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
13620 Py_INCREF(Py_None); resultobj = Py_None;
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13628 PyObject *obj;
13629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13630 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13631 Py_INCREF(obj);
13632 return Py_BuildValue((char *)"");
13633 }
13634 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13635 PyObject *resultobj;
13636 wxWindow *arg1 = (wxWindow *) 0 ;
13637 wxColourData *arg2 = (wxColourData *) NULL ;
13638 wxColourDialog *result;
13639 PyObject * obj0 = 0 ;
13640 PyObject * obj1 = 0 ;
13641 char *kwnames[] = {
13642 (char *) "parent",(char *) "data", NULL
13643 };
13644
13645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13647 if (SWIG_arg_fail(1)) SWIG_fail;
13648 if (obj1) {
13649 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13650 if (SWIG_arg_fail(2)) SWIG_fail;
13651 }
13652 {
13653 if (!wxPyCheckForApp()) SWIG_fail;
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13661 return resultobj;
13662 fail:
13663 return NULL;
13664 }
13665
13666
13667 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13668 PyObject *resultobj;
13669 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13670 wxColourData *result;
13671 PyObject * obj0 = 0 ;
13672 char *kwnames[] = {
13673 (char *) "self", NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13678 if (SWIG_arg_fail(1)) SWIG_fail;
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 {
13682 wxColourData &_result_ref = (arg1)->GetColourData();
13683 result = (wxColourData *) &_result_ref;
13684 }
13685
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13690 return resultobj;
13691 fail:
13692 return NULL;
13693 }
13694
13695
13696 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13697 PyObject *obj;
13698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13699 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13700 Py_INCREF(obj);
13701 return Py_BuildValue((char *)"");
13702 }
13703 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj;
13705 wxWindow *arg1 = (wxWindow *) 0 ;
13706 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13707 wxString *arg2 = (wxString *) &arg2_defvalue ;
13708 wxString const &arg3_defvalue = wxPyEmptyString ;
13709 wxString *arg3 = (wxString *) &arg3_defvalue ;
13710 long arg4 = (long) 0 ;
13711 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13712 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13713 wxSize const &arg6_defvalue = wxDefaultSize ;
13714 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13715 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13716 wxString *arg7 = (wxString *) &arg7_defvalue ;
13717 wxDirDialog *result;
13718 bool temp2 = false ;
13719 bool temp3 = false ;
13720 wxPoint temp5 ;
13721 wxSize temp6 ;
13722 bool temp7 = false ;
13723 PyObject * obj0 = 0 ;
13724 PyObject * obj1 = 0 ;
13725 PyObject * obj2 = 0 ;
13726 PyObject * obj3 = 0 ;
13727 PyObject * obj4 = 0 ;
13728 PyObject * obj5 = 0 ;
13729 PyObject * obj6 = 0 ;
13730 char *kwnames[] = {
13731 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13732 };
13733
13734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13736 if (SWIG_arg_fail(1)) SWIG_fail;
13737 if (obj1) {
13738 {
13739 arg2 = wxString_in_helper(obj1);
13740 if (arg2 == NULL) SWIG_fail;
13741 temp2 = true;
13742 }
13743 }
13744 if (obj2) {
13745 {
13746 arg3 = wxString_in_helper(obj2);
13747 if (arg3 == NULL) SWIG_fail;
13748 temp3 = true;
13749 }
13750 }
13751 if (obj3) {
13752 {
13753 arg4 = (long)(SWIG_As_long(obj3));
13754 if (SWIG_arg_fail(4)) SWIG_fail;
13755 }
13756 }
13757 if (obj4) {
13758 {
13759 arg5 = &temp5;
13760 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13761 }
13762 }
13763 if (obj5) {
13764 {
13765 arg6 = &temp6;
13766 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13767 }
13768 }
13769 if (obj6) {
13770 {
13771 arg7 = wxString_in_helper(obj6);
13772 if (arg7 == NULL) SWIG_fail;
13773 temp7 = true;
13774 }
13775 }
13776 {
13777 if (!wxPyCheckForApp()) SWIG_fail;
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13780
13781 wxPyEndAllowThreads(__tstate);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13785 {
13786 if (temp2)
13787 delete arg2;
13788 }
13789 {
13790 if (temp3)
13791 delete arg3;
13792 }
13793 {
13794 if (temp7)
13795 delete arg7;
13796 }
13797 return resultobj;
13798 fail:
13799 {
13800 if (temp2)
13801 delete arg2;
13802 }
13803 {
13804 if (temp3)
13805 delete arg3;
13806 }
13807 {
13808 if (temp7)
13809 delete arg7;
13810 }
13811 return NULL;
13812 }
13813
13814
13815 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13816 PyObject *resultobj;
13817 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13818 wxString result;
13819 PyObject * obj0 = 0 ;
13820 char *kwnames[] = {
13821 (char *) "self", NULL
13822 };
13823
13824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13826 if (SWIG_arg_fail(1)) SWIG_fail;
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 result = (arg1)->GetPath();
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 {
13835 #if wxUSE_UNICODE
13836 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13837 #else
13838 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13839 #endif
13840 }
13841 return resultobj;
13842 fail:
13843 return NULL;
13844 }
13845
13846
13847 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj;
13849 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13850 wxString result;
13851 PyObject * obj0 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 result = (arg1)->GetMessage();
13862
13863 wxPyEndAllowThreads(__tstate);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 }
13866 {
13867 #if wxUSE_UNICODE
13868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13869 #else
13870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13871 #endif
13872 }
13873 return resultobj;
13874 fail:
13875 return NULL;
13876 }
13877
13878
13879 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13880 PyObject *resultobj;
13881 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13882 long result;
13883 PyObject * obj0 = 0 ;
13884 char *kwnames[] = {
13885 (char *) "self", NULL
13886 };
13887
13888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13890 if (SWIG_arg_fail(1)) SWIG_fail;
13891 {
13892 PyThreadState* __tstate = wxPyBeginAllowThreads();
13893 result = (long)(arg1)->GetStyle();
13894
13895 wxPyEndAllowThreads(__tstate);
13896 if (PyErr_Occurred()) SWIG_fail;
13897 }
13898 {
13899 resultobj = SWIG_From_long((long)(result));
13900 }
13901 return resultobj;
13902 fail:
13903 return NULL;
13904 }
13905
13906
13907 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13910 wxString *arg2 = 0 ;
13911 bool temp2 = false ;
13912 PyObject * obj0 = 0 ;
13913 PyObject * obj1 = 0 ;
13914 char *kwnames[] = {
13915 (char *) "self",(char *) "message", NULL
13916 };
13917
13918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13920 if (SWIG_arg_fail(1)) SWIG_fail;
13921 {
13922 arg2 = wxString_in_helper(obj1);
13923 if (arg2 == NULL) SWIG_fail;
13924 temp2 = true;
13925 }
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 (arg1)->SetMessage((wxString const &)*arg2);
13929
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) SWIG_fail;
13932 }
13933 Py_INCREF(Py_None); resultobj = Py_None;
13934 {
13935 if (temp2)
13936 delete arg2;
13937 }
13938 return resultobj;
13939 fail:
13940 {
13941 if (temp2)
13942 delete arg2;
13943 }
13944 return NULL;
13945 }
13946
13947
13948 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj;
13950 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13951 wxString *arg2 = 0 ;
13952 bool temp2 = false ;
13953 PyObject * obj0 = 0 ;
13954 PyObject * obj1 = 0 ;
13955 char *kwnames[] = {
13956 (char *) "self",(char *) "path", NULL
13957 };
13958
13959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
13960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13961 if (SWIG_arg_fail(1)) SWIG_fail;
13962 {
13963 arg2 = wxString_in_helper(obj1);
13964 if (arg2 == NULL) SWIG_fail;
13965 temp2 = true;
13966 }
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 (arg1)->SetPath((wxString const &)*arg2);
13970
13971 wxPyEndAllowThreads(__tstate);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 Py_INCREF(Py_None); resultobj = Py_None;
13975 {
13976 if (temp2)
13977 delete arg2;
13978 }
13979 return resultobj;
13980 fail:
13981 {
13982 if (temp2)
13983 delete arg2;
13984 }
13985 return NULL;
13986 }
13987
13988
13989 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
13990 PyObject *obj;
13991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13992 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13993 Py_INCREF(obj);
13994 return Py_BuildValue((char *)"");
13995 }
13996 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj;
13998 wxWindow *arg1 = (wxWindow *) 0 ;
13999 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14000 wxString *arg2 = (wxString *) &arg2_defvalue ;
14001 wxString const &arg3_defvalue = wxPyEmptyString ;
14002 wxString *arg3 = (wxString *) &arg3_defvalue ;
14003 wxString const &arg4_defvalue = wxPyEmptyString ;
14004 wxString *arg4 = (wxString *) &arg4_defvalue ;
14005 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14006 wxString *arg5 = (wxString *) &arg5_defvalue ;
14007 long arg6 = (long) 0 ;
14008 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14009 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14010 wxFileDialog *result;
14011 bool temp2 = false ;
14012 bool temp3 = false ;
14013 bool temp4 = false ;
14014 bool temp5 = false ;
14015 wxPoint temp7 ;
14016 PyObject * obj0 = 0 ;
14017 PyObject * obj1 = 0 ;
14018 PyObject * obj2 = 0 ;
14019 PyObject * obj3 = 0 ;
14020 PyObject * obj4 = 0 ;
14021 PyObject * obj5 = 0 ;
14022 PyObject * obj6 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14029 if (SWIG_arg_fail(1)) SWIG_fail;
14030 if (obj1) {
14031 {
14032 arg2 = wxString_in_helper(obj1);
14033 if (arg2 == NULL) SWIG_fail;
14034 temp2 = true;
14035 }
14036 }
14037 if (obj2) {
14038 {
14039 arg3 = wxString_in_helper(obj2);
14040 if (arg3 == NULL) SWIG_fail;
14041 temp3 = true;
14042 }
14043 }
14044 if (obj3) {
14045 {
14046 arg4 = wxString_in_helper(obj3);
14047 if (arg4 == NULL) SWIG_fail;
14048 temp4 = true;
14049 }
14050 }
14051 if (obj4) {
14052 {
14053 arg5 = wxString_in_helper(obj4);
14054 if (arg5 == NULL) SWIG_fail;
14055 temp5 = true;
14056 }
14057 }
14058 if (obj5) {
14059 {
14060 arg6 = (long)(SWIG_As_long(obj5));
14061 if (SWIG_arg_fail(6)) SWIG_fail;
14062 }
14063 }
14064 if (obj6) {
14065 {
14066 arg7 = &temp7;
14067 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14068 }
14069 }
14070 {
14071 if (!wxPyCheckForApp()) SWIG_fail;
14072 PyThreadState* __tstate = wxPyBeginAllowThreads();
14073 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14074
14075 wxPyEndAllowThreads(__tstate);
14076 if (PyErr_Occurred()) SWIG_fail;
14077 }
14078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14079 {
14080 if (temp2)
14081 delete arg2;
14082 }
14083 {
14084 if (temp3)
14085 delete arg3;
14086 }
14087 {
14088 if (temp4)
14089 delete arg4;
14090 }
14091 {
14092 if (temp5)
14093 delete arg5;
14094 }
14095 return resultobj;
14096 fail:
14097 {
14098 if (temp2)
14099 delete arg2;
14100 }
14101 {
14102 if (temp3)
14103 delete arg3;
14104 }
14105 {
14106 if (temp4)
14107 delete arg4;
14108 }
14109 {
14110 if (temp5)
14111 delete arg5;
14112 }
14113 return NULL;
14114 }
14115
14116
14117 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14118 PyObject *resultobj;
14119 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14120 wxString *arg2 = 0 ;
14121 bool temp2 = false ;
14122 PyObject * obj0 = 0 ;
14123 PyObject * obj1 = 0 ;
14124 char *kwnames[] = {
14125 (char *) "self",(char *) "message", NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14130 if (SWIG_arg_fail(1)) SWIG_fail;
14131 {
14132 arg2 = wxString_in_helper(obj1);
14133 if (arg2 == NULL) SWIG_fail;
14134 temp2 = true;
14135 }
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 (arg1)->SetMessage((wxString const &)*arg2);
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 Py_INCREF(Py_None); resultobj = Py_None;
14144 {
14145 if (temp2)
14146 delete arg2;
14147 }
14148 return resultobj;
14149 fail:
14150 {
14151 if (temp2)
14152 delete arg2;
14153 }
14154 return NULL;
14155 }
14156
14157
14158 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14159 PyObject *resultobj;
14160 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14161 wxString *arg2 = 0 ;
14162 bool temp2 = false ;
14163 PyObject * obj0 = 0 ;
14164 PyObject * obj1 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self",(char *) "path", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14171 if (SWIG_arg_fail(1)) SWIG_fail;
14172 {
14173 arg2 = wxString_in_helper(obj1);
14174 if (arg2 == NULL) SWIG_fail;
14175 temp2 = true;
14176 }
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 (arg1)->SetPath((wxString const &)*arg2);
14180
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
14184 Py_INCREF(Py_None); resultobj = Py_None;
14185 {
14186 if (temp2)
14187 delete arg2;
14188 }
14189 return resultobj;
14190 fail:
14191 {
14192 if (temp2)
14193 delete arg2;
14194 }
14195 return NULL;
14196 }
14197
14198
14199 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14200 PyObject *resultobj;
14201 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14202 wxString *arg2 = 0 ;
14203 bool temp2 = false ;
14204 PyObject * obj0 = 0 ;
14205 PyObject * obj1 = 0 ;
14206 char *kwnames[] = {
14207 (char *) "self",(char *) "dir", NULL
14208 };
14209
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14212 if (SWIG_arg_fail(1)) SWIG_fail;
14213 {
14214 arg2 = wxString_in_helper(obj1);
14215 if (arg2 == NULL) SWIG_fail;
14216 temp2 = true;
14217 }
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 (arg1)->SetDirectory((wxString const &)*arg2);
14221
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 Py_INCREF(Py_None); resultobj = Py_None;
14226 {
14227 if (temp2)
14228 delete arg2;
14229 }
14230 return resultobj;
14231 fail:
14232 {
14233 if (temp2)
14234 delete arg2;
14235 }
14236 return NULL;
14237 }
14238
14239
14240 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14241 PyObject *resultobj;
14242 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14243 wxString *arg2 = 0 ;
14244 bool temp2 = false ;
14245 PyObject * obj0 = 0 ;
14246 PyObject * obj1 = 0 ;
14247 char *kwnames[] = {
14248 (char *) "self",(char *) "name", NULL
14249 };
14250
14251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14253 if (SWIG_arg_fail(1)) SWIG_fail;
14254 {
14255 arg2 = wxString_in_helper(obj1);
14256 if (arg2 == NULL) SWIG_fail;
14257 temp2 = true;
14258 }
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 (arg1)->SetFilename((wxString const &)*arg2);
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 Py_INCREF(Py_None); resultobj = Py_None;
14267 {
14268 if (temp2)
14269 delete arg2;
14270 }
14271 return resultobj;
14272 fail:
14273 {
14274 if (temp2)
14275 delete arg2;
14276 }
14277 return NULL;
14278 }
14279
14280
14281 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14282 PyObject *resultobj;
14283 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14284 wxString *arg2 = 0 ;
14285 bool temp2 = false ;
14286 PyObject * obj0 = 0 ;
14287 PyObject * obj1 = 0 ;
14288 char *kwnames[] = {
14289 (char *) "self",(char *) "wildCard", NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14294 if (SWIG_arg_fail(1)) SWIG_fail;
14295 {
14296 arg2 = wxString_in_helper(obj1);
14297 if (arg2 == NULL) SWIG_fail;
14298 temp2 = true;
14299 }
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 (arg1)->SetWildcard((wxString const &)*arg2);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 Py_INCREF(Py_None); resultobj = Py_None;
14308 {
14309 if (temp2)
14310 delete arg2;
14311 }
14312 return resultobj;
14313 fail:
14314 {
14315 if (temp2)
14316 delete arg2;
14317 }
14318 return NULL;
14319 }
14320
14321
14322 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj;
14324 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14325 long arg2 ;
14326 PyObject * obj0 = 0 ;
14327 PyObject * obj1 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "self",(char *) "style", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14334 if (SWIG_arg_fail(1)) SWIG_fail;
14335 {
14336 arg2 = (long)(SWIG_As_long(obj1));
14337 if (SWIG_arg_fail(2)) SWIG_fail;
14338 }
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 (arg1)->SetStyle(arg2);
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 Py_INCREF(Py_None); resultobj = Py_None;
14347 return resultobj;
14348 fail:
14349 return NULL;
14350 }
14351
14352
14353 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14356 int arg2 ;
14357 PyObject * obj0 = 0 ;
14358 PyObject * obj1 = 0 ;
14359 char *kwnames[] = {
14360 (char *) "self",(char *) "filterIndex", NULL
14361 };
14362
14363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) 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 arg2 = (int)(SWIG_As_int(obj1));
14368 if (SWIG_arg_fail(2)) SWIG_fail;
14369 }
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 (arg1)->SetFilterIndex(arg2);
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 Py_INCREF(Py_None); resultobj = Py_None;
14378 return resultobj;
14379 fail:
14380 return NULL;
14381 }
14382
14383
14384 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj;
14386 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14387 wxString result;
14388 PyObject * obj0 = 0 ;
14389 char *kwnames[] = {
14390 (char *) "self", NULL
14391 };
14392
14393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14395 if (SWIG_arg_fail(1)) SWIG_fail;
14396 {
14397 PyThreadState* __tstate = wxPyBeginAllowThreads();
14398 result = ((wxFileDialog const *)arg1)->GetMessage();
14399
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 {
14404 #if wxUSE_UNICODE
14405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14406 #else
14407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14408 #endif
14409 }
14410 return resultobj;
14411 fail:
14412 return NULL;
14413 }
14414
14415
14416 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj;
14418 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14419 wxString result;
14420 PyObject * obj0 = 0 ;
14421 char *kwnames[] = {
14422 (char *) "self", NULL
14423 };
14424
14425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14427 if (SWIG_arg_fail(1)) SWIG_fail;
14428 {
14429 PyThreadState* __tstate = wxPyBeginAllowThreads();
14430 result = ((wxFileDialog const *)arg1)->GetPath();
14431
14432 wxPyEndAllowThreads(__tstate);
14433 if (PyErr_Occurred()) SWIG_fail;
14434 }
14435 {
14436 #if wxUSE_UNICODE
14437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14438 #else
14439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14440 #endif
14441 }
14442 return resultobj;
14443 fail:
14444 return NULL;
14445 }
14446
14447
14448 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14449 PyObject *resultobj;
14450 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14451 wxString result;
14452 PyObject * obj0 = 0 ;
14453 char *kwnames[] = {
14454 (char *) "self", NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail;
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = ((wxFileDialog const *)arg1)->GetDirectory();
14463
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 {
14468 #if wxUSE_UNICODE
14469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14470 #else
14471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14472 #endif
14473 }
14474 return resultobj;
14475 fail:
14476 return NULL;
14477 }
14478
14479
14480 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14481 PyObject *resultobj;
14482 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14483 wxString result;
14484 PyObject * obj0 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14491 if (SWIG_arg_fail(1)) SWIG_fail;
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = ((wxFileDialog const *)arg1)->GetFilename();
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 {
14500 #if wxUSE_UNICODE
14501 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14502 #else
14503 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14504 #endif
14505 }
14506 return resultobj;
14507 fail:
14508 return NULL;
14509 }
14510
14511
14512 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14513 PyObject *resultobj;
14514 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14515 wxString result;
14516 PyObject * obj0 = 0 ;
14517 char *kwnames[] = {
14518 (char *) "self", NULL
14519 };
14520
14521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14523 if (SWIG_arg_fail(1)) SWIG_fail;
14524 {
14525 PyThreadState* __tstate = wxPyBeginAllowThreads();
14526 result = ((wxFileDialog const *)arg1)->GetWildcard();
14527
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 }
14531 {
14532 #if wxUSE_UNICODE
14533 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14534 #else
14535 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14536 #endif
14537 }
14538 return resultobj;
14539 fail:
14540 return NULL;
14541 }
14542
14543
14544 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14545 PyObject *resultobj;
14546 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14547 long result;
14548 PyObject * obj0 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self", NULL
14551 };
14552
14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14555 if (SWIG_arg_fail(1)) SWIG_fail;
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14559
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 {
14564 resultobj = SWIG_From_long((long)(result));
14565 }
14566 return resultobj;
14567 fail:
14568 return NULL;
14569 }
14570
14571
14572 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14573 PyObject *resultobj;
14574 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14575 int result;
14576 PyObject * obj0 = 0 ;
14577 char *kwnames[] = {
14578 (char *) "self", NULL
14579 };
14580
14581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14583 if (SWIG_arg_fail(1)) SWIG_fail;
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 {
14592 resultobj = SWIG_From_int((int)(result));
14593 }
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj;
14602 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14603 PyObject *result;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14611 if (SWIG_arg_fail(1)) SWIG_fail;
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 resultobj = result;
14620 return resultobj;
14621 fail:
14622 return NULL;
14623 }
14624
14625
14626 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14629 PyObject *result;
14630 PyObject * obj0 = 0 ;
14631 char *kwnames[] = {
14632 (char *) "self", NULL
14633 };
14634
14635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14637 if (SWIG_arg_fail(1)) SWIG_fail;
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 resultobj = result;
14646 return resultobj;
14647 fail:
14648 return NULL;
14649 }
14650
14651
14652 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14653 PyObject *obj;
14654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14655 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14656 Py_INCREF(obj);
14657 return Py_BuildValue((char *)"");
14658 }
14659 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14660 PyObject *resultobj;
14661 wxWindow *arg1 = (wxWindow *) 0 ;
14662 wxString *arg2 = 0 ;
14663 wxString *arg3 = 0 ;
14664 int arg4 = (int) 0 ;
14665 wxString *arg5 = (wxString *) NULL ;
14666 long arg6 = (long) wxCHOICEDLG_STYLE ;
14667 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14668 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14669 wxMultiChoiceDialog *result;
14670 bool temp2 = false ;
14671 bool temp3 = false ;
14672 wxPoint temp7 ;
14673 PyObject * obj0 = 0 ;
14674 PyObject * obj1 = 0 ;
14675 PyObject * obj2 = 0 ;
14676 PyObject * obj3 = 0 ;
14677 PyObject * obj4 = 0 ;
14678 PyObject * obj5 = 0 ;
14679 char *kwnames[] = {
14680 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14681 };
14682
14683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14685 if (SWIG_arg_fail(1)) SWIG_fail;
14686 {
14687 arg2 = wxString_in_helper(obj1);
14688 if (arg2 == NULL) SWIG_fail;
14689 temp2 = true;
14690 }
14691 {
14692 arg3 = wxString_in_helper(obj2);
14693 if (arg3 == NULL) SWIG_fail;
14694 temp3 = true;
14695 }
14696 if (obj3) {
14697 {
14698 arg4 = PyList_Size(obj3);
14699 arg5 = wxString_LIST_helper(obj3);
14700 if (arg5 == NULL) SWIG_fail;
14701 }
14702 }
14703 if (obj4) {
14704 {
14705 arg6 = (long)(SWIG_As_long(obj4));
14706 if (SWIG_arg_fail(6)) SWIG_fail;
14707 }
14708 }
14709 if (obj5) {
14710 {
14711 arg7 = &temp7;
14712 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14713 }
14714 }
14715 {
14716 if (!wxPyCheckForApp()) SWIG_fail;
14717 PyThreadState* __tstate = wxPyBeginAllowThreads();
14718 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14719
14720 wxPyEndAllowThreads(__tstate);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 }
14723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14724 {
14725 if (temp2)
14726 delete arg2;
14727 }
14728 {
14729 if (temp3)
14730 delete arg3;
14731 }
14732 {
14733 if (arg5) delete [] arg5;
14734 }
14735 return resultobj;
14736 fail:
14737 {
14738 if (temp2)
14739 delete arg2;
14740 }
14741 {
14742 if (temp3)
14743 delete arg3;
14744 }
14745 {
14746 if (arg5) delete [] arg5;
14747 }
14748 return NULL;
14749 }
14750
14751
14752 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj;
14754 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14755 wxArrayInt *arg2 = 0 ;
14756 bool temp2 = false ;
14757 PyObject * obj0 = 0 ;
14758 PyObject * obj1 = 0 ;
14759 char *kwnames[] = {
14760 (char *) "self",(char *) "selections", NULL
14761 };
14762
14763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14765 if (SWIG_arg_fail(1)) SWIG_fail;
14766 {
14767 if (! PySequence_Check(obj1)) {
14768 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14769 SWIG_fail;
14770 }
14771 arg2 = new wxArrayInt;
14772 temp2 = true;
14773 int i, len=PySequence_Length(obj1);
14774 for (i=0; i<len; i++) {
14775 PyObject* item = PySequence_GetItem(obj1, i);
14776 PyObject* number = PyNumber_Int(item);
14777 arg2->Add(PyInt_AS_LONG(number));
14778 Py_DECREF(item);
14779 Py_DECREF(number);
14780 }
14781 }
14782 {
14783 PyThreadState* __tstate = wxPyBeginAllowThreads();
14784 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14785
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 Py_INCREF(Py_None); resultobj = Py_None;
14790 {
14791 if (temp2) delete arg2;
14792 }
14793 return resultobj;
14794 fail:
14795 {
14796 if (temp2) delete arg2;
14797 }
14798 return NULL;
14799 }
14800
14801
14802 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14803 PyObject *resultobj;
14804 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14805 PyObject *result;
14806 PyObject * obj0 = 0 ;
14807 char *kwnames[] = {
14808 (char *) "self", NULL
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14813 if (SWIG_arg_fail(1)) SWIG_fail;
14814 {
14815 PyThreadState* __tstate = wxPyBeginAllowThreads();
14816 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14817
14818 wxPyEndAllowThreads(__tstate);
14819 if (PyErr_Occurred()) SWIG_fail;
14820 }
14821 resultobj = result;
14822 return resultobj;
14823 fail:
14824 return NULL;
14825 }
14826
14827
14828 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14829 PyObject *obj;
14830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14831 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14832 Py_INCREF(obj);
14833 return Py_BuildValue((char *)"");
14834 }
14835 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxWindow *arg1 = (wxWindow *) 0 ;
14838 wxString *arg2 = 0 ;
14839 wxString *arg3 = 0 ;
14840 int arg4 ;
14841 wxString *arg5 = (wxString *) 0 ;
14842 long arg6 = (long) wxCHOICEDLG_STYLE ;
14843 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14844 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14845 wxSingleChoiceDialog *result;
14846 bool temp2 = false ;
14847 bool temp3 = false ;
14848 wxPoint temp7 ;
14849 PyObject * obj0 = 0 ;
14850 PyObject * obj1 = 0 ;
14851 PyObject * obj2 = 0 ;
14852 PyObject * obj3 = 0 ;
14853 PyObject * obj4 = 0 ;
14854 PyObject * obj5 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14861 if (SWIG_arg_fail(1)) SWIG_fail;
14862 {
14863 arg2 = wxString_in_helper(obj1);
14864 if (arg2 == NULL) SWIG_fail;
14865 temp2 = true;
14866 }
14867 {
14868 arg3 = wxString_in_helper(obj2);
14869 if (arg3 == NULL) SWIG_fail;
14870 temp3 = true;
14871 }
14872 {
14873 arg4 = PyList_Size(obj3);
14874 arg5 = wxString_LIST_helper(obj3);
14875 if (arg5 == NULL) SWIG_fail;
14876 }
14877 if (obj4) {
14878 {
14879 arg6 = (long)(SWIG_As_long(obj4));
14880 if (SWIG_arg_fail(6)) SWIG_fail;
14881 }
14882 }
14883 if (obj5) {
14884 {
14885 arg7 = &temp7;
14886 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14887 }
14888 }
14889 {
14890 if (!wxPyCheckForApp()) SWIG_fail;
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14893
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14898 {
14899 if (temp2)
14900 delete arg2;
14901 }
14902 {
14903 if (temp3)
14904 delete arg3;
14905 }
14906 {
14907 if (arg5) delete [] arg5;
14908 }
14909 return resultobj;
14910 fail:
14911 {
14912 if (temp2)
14913 delete arg2;
14914 }
14915 {
14916 if (temp3)
14917 delete arg3;
14918 }
14919 {
14920 if (arg5) delete [] arg5;
14921 }
14922 return NULL;
14923 }
14924
14925
14926 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14927 PyObject *resultobj;
14928 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14929 int result;
14930 PyObject * obj0 = 0 ;
14931 char *kwnames[] = {
14932 (char *) "self", NULL
14933 };
14934
14935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
14936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14937 if (SWIG_arg_fail(1)) SWIG_fail;
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 result = (int)(arg1)->GetSelection();
14941
14942 wxPyEndAllowThreads(__tstate);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 {
14946 resultobj = SWIG_From_int((int)(result));
14947 }
14948 return resultobj;
14949 fail:
14950 return NULL;
14951 }
14952
14953
14954 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14955 PyObject *resultobj;
14956 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14957 wxString result;
14958 PyObject * obj0 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
14964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14965 if (SWIG_arg_fail(1)) SWIG_fail;
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (arg1)->GetStringSelection();
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 {
14974 #if wxUSE_UNICODE
14975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14976 #else
14977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14978 #endif
14979 }
14980 return resultobj;
14981 fail:
14982 return NULL;
14983 }
14984
14985
14986 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14987 PyObject *resultobj;
14988 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14989 int arg2 ;
14990 PyObject * obj0 = 0 ;
14991 PyObject * obj1 = 0 ;
14992 char *kwnames[] = {
14993 (char *) "self",(char *) "sel", NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14998 if (SWIG_arg_fail(1)) SWIG_fail;
14999 {
15000 arg2 = (int)(SWIG_As_int(obj1));
15001 if (SWIG_arg_fail(2)) SWIG_fail;
15002 }
15003 {
15004 PyThreadState* __tstate = wxPyBeginAllowThreads();
15005 (arg1)->SetSelection(arg2);
15006
15007 wxPyEndAllowThreads(__tstate);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
15010 Py_INCREF(Py_None); resultobj = Py_None;
15011 return resultobj;
15012 fail:
15013 return NULL;
15014 }
15015
15016
15017 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
15018 PyObject *obj;
15019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15020 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15021 Py_INCREF(obj);
15022 return Py_BuildValue((char *)"");
15023 }
15024 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj;
15026 wxWindow *arg1 = (wxWindow *) 0 ;
15027 wxString *arg2 = 0 ;
15028 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15029 wxString *arg3 = (wxString *) &arg3_defvalue ;
15030 wxString const &arg4_defvalue = wxPyEmptyString ;
15031 wxString *arg4 = (wxString *) &arg4_defvalue ;
15032 long arg5 = (long) wxTextEntryDialogStyle ;
15033 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15034 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15035 wxTextEntryDialog *result;
15036 bool temp2 = false ;
15037 bool temp3 = false ;
15038 bool temp4 = false ;
15039 wxPoint temp6 ;
15040 PyObject * obj0 = 0 ;
15041 PyObject * obj1 = 0 ;
15042 PyObject * obj2 = 0 ;
15043 PyObject * obj3 = 0 ;
15044 PyObject * obj4 = 0 ;
15045 PyObject * obj5 = 0 ;
15046 char *kwnames[] = {
15047 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15048 };
15049
15050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15052 if (SWIG_arg_fail(1)) SWIG_fail;
15053 {
15054 arg2 = wxString_in_helper(obj1);
15055 if (arg2 == NULL) SWIG_fail;
15056 temp2 = true;
15057 }
15058 if (obj2) {
15059 {
15060 arg3 = wxString_in_helper(obj2);
15061 if (arg3 == NULL) SWIG_fail;
15062 temp3 = true;
15063 }
15064 }
15065 if (obj3) {
15066 {
15067 arg4 = wxString_in_helper(obj3);
15068 if (arg4 == NULL) SWIG_fail;
15069 temp4 = true;
15070 }
15071 }
15072 if (obj4) {
15073 {
15074 arg5 = (long)(SWIG_As_long(obj4));
15075 if (SWIG_arg_fail(5)) SWIG_fail;
15076 }
15077 }
15078 if (obj5) {
15079 {
15080 arg6 = &temp6;
15081 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15082 }
15083 }
15084 {
15085 if (!wxPyCheckForApp()) SWIG_fail;
15086 PyThreadState* __tstate = wxPyBeginAllowThreads();
15087 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15088
15089 wxPyEndAllowThreads(__tstate);
15090 if (PyErr_Occurred()) SWIG_fail;
15091 }
15092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15093 {
15094 if (temp2)
15095 delete arg2;
15096 }
15097 {
15098 if (temp3)
15099 delete arg3;
15100 }
15101 {
15102 if (temp4)
15103 delete arg4;
15104 }
15105 return resultobj;
15106 fail:
15107 {
15108 if (temp2)
15109 delete arg2;
15110 }
15111 {
15112 if (temp3)
15113 delete arg3;
15114 }
15115 {
15116 if (temp4)
15117 delete arg4;
15118 }
15119 return NULL;
15120 }
15121
15122
15123 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15126 wxString result;
15127 PyObject * obj0 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15134 if (SWIG_arg_fail(1)) SWIG_fail;
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 result = (arg1)->GetValue();
15138
15139 wxPyEndAllowThreads(__tstate);
15140 if (PyErr_Occurred()) SWIG_fail;
15141 }
15142 {
15143 #if wxUSE_UNICODE
15144 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15145 #else
15146 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15147 #endif
15148 }
15149 return resultobj;
15150 fail:
15151 return NULL;
15152 }
15153
15154
15155 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15156 PyObject *resultobj;
15157 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15158 wxString *arg2 = 0 ;
15159 bool temp2 = false ;
15160 PyObject * obj0 = 0 ;
15161 PyObject * obj1 = 0 ;
15162 char *kwnames[] = {
15163 (char *) "self",(char *) "value", NULL
15164 };
15165
15166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15168 if (SWIG_arg_fail(1)) SWIG_fail;
15169 {
15170 arg2 = wxString_in_helper(obj1);
15171 if (arg2 == NULL) SWIG_fail;
15172 temp2 = true;
15173 }
15174 {
15175 PyThreadState* __tstate = wxPyBeginAllowThreads();
15176 (arg1)->SetValue((wxString const &)*arg2);
15177
15178 wxPyEndAllowThreads(__tstate);
15179 if (PyErr_Occurred()) SWIG_fail;
15180 }
15181 Py_INCREF(Py_None); resultobj = Py_None;
15182 {
15183 if (temp2)
15184 delete arg2;
15185 }
15186 return resultobj;
15187 fail:
15188 {
15189 if (temp2)
15190 delete arg2;
15191 }
15192 return NULL;
15193 }
15194
15195
15196 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15197 PyObject *obj;
15198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15199 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15200 Py_INCREF(obj);
15201 return Py_BuildValue((char *)"");
15202 }
15203 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15204 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15205 return 1;
15206 }
15207
15208
15209 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15210 PyObject *pyobj;
15211
15212 {
15213 #if wxUSE_UNICODE
15214 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15215 #else
15216 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15217 #endif
15218 }
15219 return pyobj;
15220 }
15221
15222
15223 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15224 PyObject *resultobj;
15225 wxWindow *arg1 = (wxWindow *) 0 ;
15226 wxString *arg2 = 0 ;
15227 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15228 wxString *arg3 = (wxString *) &arg3_defvalue ;
15229 wxString const &arg4_defvalue = wxPyEmptyString ;
15230 wxString *arg4 = (wxString *) &arg4_defvalue ;
15231 long arg5 = (long) wxTextEntryDialogStyle ;
15232 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15233 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15234 wxPasswordEntryDialog *result;
15235 bool temp2 = false ;
15236 bool temp3 = false ;
15237 bool temp4 = false ;
15238 wxPoint temp6 ;
15239 PyObject * obj0 = 0 ;
15240 PyObject * obj1 = 0 ;
15241 PyObject * obj2 = 0 ;
15242 PyObject * obj3 = 0 ;
15243 PyObject * obj4 = 0 ;
15244 PyObject * obj5 = 0 ;
15245 char *kwnames[] = {
15246 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15247 };
15248
15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15251 if (SWIG_arg_fail(1)) SWIG_fail;
15252 {
15253 arg2 = wxString_in_helper(obj1);
15254 if (arg2 == NULL) SWIG_fail;
15255 temp2 = true;
15256 }
15257 if (obj2) {
15258 {
15259 arg3 = wxString_in_helper(obj2);
15260 if (arg3 == NULL) SWIG_fail;
15261 temp3 = true;
15262 }
15263 }
15264 if (obj3) {
15265 {
15266 arg4 = wxString_in_helper(obj3);
15267 if (arg4 == NULL) SWIG_fail;
15268 temp4 = true;
15269 }
15270 }
15271 if (obj4) {
15272 {
15273 arg5 = (long)(SWIG_As_long(obj4));
15274 if (SWIG_arg_fail(5)) SWIG_fail;
15275 }
15276 }
15277 if (obj5) {
15278 {
15279 arg6 = &temp6;
15280 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15281 }
15282 }
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15286
15287 wxPyEndAllowThreads(__tstate);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15291 {
15292 if (temp2)
15293 delete arg2;
15294 }
15295 {
15296 if (temp3)
15297 delete arg3;
15298 }
15299 {
15300 if (temp4)
15301 delete arg4;
15302 }
15303 return resultobj;
15304 fail:
15305 {
15306 if (temp2)
15307 delete arg2;
15308 }
15309 {
15310 if (temp3)
15311 delete arg3;
15312 }
15313 {
15314 if (temp4)
15315 delete arg4;
15316 }
15317 return NULL;
15318 }
15319
15320
15321 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15322 PyObject *obj;
15323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15324 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15325 Py_INCREF(obj);
15326 return Py_BuildValue((char *)"");
15327 }
15328 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxFontData *result;
15331 char *kwnames[] = {
15332 NULL
15333 };
15334
15335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (wxFontData *)new wxFontData();
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15344 return resultobj;
15345 fail:
15346 return NULL;
15347 }
15348
15349
15350 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj;
15352 wxFontData *arg1 = (wxFontData *) 0 ;
15353 PyObject * obj0 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "self", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15360 if (SWIG_arg_fail(1)) SWIG_fail;
15361 {
15362 PyThreadState* __tstate = wxPyBeginAllowThreads();
15363 delete arg1;
15364
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 Py_INCREF(Py_None); resultobj = Py_None;
15369 return resultobj;
15370 fail:
15371 return NULL;
15372 }
15373
15374
15375 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15376 PyObject *resultobj;
15377 wxFontData *arg1 = (wxFontData *) 0 ;
15378 bool arg2 ;
15379 PyObject * obj0 = 0 ;
15380 PyObject * obj1 = 0 ;
15381 char *kwnames[] = {
15382 (char *) "self",(char *) "enable", NULL
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15387 if (SWIG_arg_fail(1)) SWIG_fail;
15388 {
15389 arg2 = (bool)(SWIG_As_bool(obj1));
15390 if (SWIG_arg_fail(2)) SWIG_fail;
15391 }
15392 {
15393 PyThreadState* __tstate = wxPyBeginAllowThreads();
15394 (arg1)->EnableEffects(arg2);
15395
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 Py_INCREF(Py_None); resultobj = Py_None;
15400 return resultobj;
15401 fail:
15402 return NULL;
15403 }
15404
15405
15406 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15407 PyObject *resultobj;
15408 wxFontData *arg1 = (wxFontData *) 0 ;
15409 bool result;
15410 PyObject * obj0 = 0 ;
15411 char *kwnames[] = {
15412 (char *) "self", NULL
15413 };
15414
15415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15417 if (SWIG_arg_fail(1)) SWIG_fail;
15418 {
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
15420 result = (bool)(arg1)->GetAllowSymbols();
15421
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15425 {
15426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15427 }
15428 return resultobj;
15429 fail:
15430 return NULL;
15431 }
15432
15433
15434 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxFontData *arg1 = (wxFontData *) 0 ;
15437 wxColour result;
15438 PyObject * obj0 = 0 ;
15439 char *kwnames[] = {
15440 (char *) "self", NULL
15441 };
15442
15443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15445 if (SWIG_arg_fail(1)) SWIG_fail;
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 result = (arg1)->GetColour();
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 {
15454 wxColour * resultptr;
15455 resultptr = new wxColour((wxColour &)(result));
15456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15457 }
15458 return resultobj;
15459 fail:
15460 return NULL;
15461 }
15462
15463
15464 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15465 PyObject *resultobj;
15466 wxFontData *arg1 = (wxFontData *) 0 ;
15467 wxFont result;
15468 PyObject * obj0 = 0 ;
15469 char *kwnames[] = {
15470 (char *) "self", NULL
15471 };
15472
15473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15475 if (SWIG_arg_fail(1)) SWIG_fail;
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 result = (arg1)->GetChosenFont();
15479
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 {
15484 wxFont * resultptr;
15485 resultptr = new wxFont((wxFont &)(result));
15486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15487 }
15488 return resultobj;
15489 fail:
15490 return NULL;
15491 }
15492
15493
15494 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15495 PyObject *resultobj;
15496 wxFontData *arg1 = (wxFontData *) 0 ;
15497 bool result;
15498 PyObject * obj0 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail;
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = (bool)(arg1)->GetEnableEffects();
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 {
15514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15515 }
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxFontData *arg1 = (wxFontData *) 0 ;
15525 wxFont result;
15526 PyObject * obj0 = 0 ;
15527 char *kwnames[] = {
15528 (char *) "self", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15533 if (SWIG_arg_fail(1)) SWIG_fail;
15534 {
15535 PyThreadState* __tstate = wxPyBeginAllowThreads();
15536 result = (arg1)->GetInitialFont();
15537
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
15541 {
15542 wxFont * resultptr;
15543 resultptr = new wxFont((wxFont &)(result));
15544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15545 }
15546 return resultobj;
15547 fail:
15548 return NULL;
15549 }
15550
15551
15552 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15553 PyObject *resultobj;
15554 wxFontData *arg1 = (wxFontData *) 0 ;
15555 bool result;
15556 PyObject * obj0 = 0 ;
15557 char *kwnames[] = {
15558 (char *) "self", NULL
15559 };
15560
15561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15563 if (SWIG_arg_fail(1)) SWIG_fail;
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 result = (bool)(arg1)->GetShowHelp();
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 {
15572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15573 }
15574 return resultobj;
15575 fail:
15576 return NULL;
15577 }
15578
15579
15580 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15581 PyObject *resultobj;
15582 wxFontData *arg1 = (wxFontData *) 0 ;
15583 bool arg2 ;
15584 PyObject * obj0 = 0 ;
15585 PyObject * obj1 = 0 ;
15586 char *kwnames[] = {
15587 (char *) "self",(char *) "allowSymbols", NULL
15588 };
15589
15590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15592 if (SWIG_arg_fail(1)) SWIG_fail;
15593 {
15594 arg2 = (bool)(SWIG_As_bool(obj1));
15595 if (SWIG_arg_fail(2)) SWIG_fail;
15596 }
15597 {
15598 PyThreadState* __tstate = wxPyBeginAllowThreads();
15599 (arg1)->SetAllowSymbols(arg2);
15600
15601 wxPyEndAllowThreads(__tstate);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 Py_INCREF(Py_None); resultobj = Py_None;
15605 return resultobj;
15606 fail:
15607 return NULL;
15608 }
15609
15610
15611 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15612 PyObject *resultobj;
15613 wxFontData *arg1 = (wxFontData *) 0 ;
15614 wxFont *arg2 = 0 ;
15615 PyObject * obj0 = 0 ;
15616 PyObject * obj1 = 0 ;
15617 char *kwnames[] = {
15618 (char *) "self",(char *) "font", NULL
15619 };
15620
15621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15623 if (SWIG_arg_fail(1)) SWIG_fail;
15624 {
15625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15626 if (SWIG_arg_fail(2)) SWIG_fail;
15627 if (arg2 == NULL) {
15628 SWIG_null_ref("wxFont");
15629 }
15630 if (SWIG_arg_fail(2)) SWIG_fail;
15631 }
15632 {
15633 PyThreadState* __tstate = wxPyBeginAllowThreads();
15634 (arg1)->SetChosenFont((wxFont const &)*arg2);
15635
15636 wxPyEndAllowThreads(__tstate);
15637 if (PyErr_Occurred()) SWIG_fail;
15638 }
15639 Py_INCREF(Py_None); resultobj = Py_None;
15640 return resultobj;
15641 fail:
15642 return NULL;
15643 }
15644
15645
15646 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15647 PyObject *resultobj;
15648 wxFontData *arg1 = (wxFontData *) 0 ;
15649 wxColour *arg2 = 0 ;
15650 wxColour temp2 ;
15651 PyObject * obj0 = 0 ;
15652 PyObject * obj1 = 0 ;
15653 char *kwnames[] = {
15654 (char *) "self",(char *) "colour", NULL
15655 };
15656
15657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15659 if (SWIG_arg_fail(1)) SWIG_fail;
15660 {
15661 arg2 = &temp2;
15662 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15663 }
15664 {
15665 PyThreadState* __tstate = wxPyBeginAllowThreads();
15666 (arg1)->SetColour((wxColour const &)*arg2);
15667
15668 wxPyEndAllowThreads(__tstate);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 }
15671 Py_INCREF(Py_None); resultobj = Py_None;
15672 return resultobj;
15673 fail:
15674 return NULL;
15675 }
15676
15677
15678 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxFontData *arg1 = (wxFontData *) 0 ;
15681 wxFont *arg2 = 0 ;
15682 PyObject * obj0 = 0 ;
15683 PyObject * obj1 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self",(char *) "font", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15690 if (SWIG_arg_fail(1)) SWIG_fail;
15691 {
15692 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15693 if (SWIG_arg_fail(2)) SWIG_fail;
15694 if (arg2 == NULL) {
15695 SWIG_null_ref("wxFont");
15696 }
15697 if (SWIG_arg_fail(2)) SWIG_fail;
15698 }
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 (arg1)->SetInitialFont((wxFont const &)*arg2);
15702
15703 wxPyEndAllowThreads(__tstate);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 }
15706 Py_INCREF(Py_None); resultobj = Py_None;
15707 return resultobj;
15708 fail:
15709 return NULL;
15710 }
15711
15712
15713 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15714 PyObject *resultobj;
15715 wxFontData *arg1 = (wxFontData *) 0 ;
15716 int arg2 ;
15717 int arg3 ;
15718 PyObject * obj0 = 0 ;
15719 PyObject * obj1 = 0 ;
15720 PyObject * obj2 = 0 ;
15721 char *kwnames[] = {
15722 (char *) "self",(char *) "min",(char *) "max", NULL
15723 };
15724
15725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15727 if (SWIG_arg_fail(1)) SWIG_fail;
15728 {
15729 arg2 = (int)(SWIG_As_int(obj1));
15730 if (SWIG_arg_fail(2)) SWIG_fail;
15731 }
15732 {
15733 arg3 = (int)(SWIG_As_int(obj2));
15734 if (SWIG_arg_fail(3)) SWIG_fail;
15735 }
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 (arg1)->SetRange(arg2,arg3);
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 Py_INCREF(Py_None); resultobj = Py_None;
15744 return resultobj;
15745 fail:
15746 return NULL;
15747 }
15748
15749
15750 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj;
15752 wxFontData *arg1 = (wxFontData *) 0 ;
15753 bool arg2 ;
15754 PyObject * obj0 = 0 ;
15755 PyObject * obj1 = 0 ;
15756 char *kwnames[] = {
15757 (char *) "self",(char *) "showHelp", NULL
15758 };
15759
15760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15762 if (SWIG_arg_fail(1)) SWIG_fail;
15763 {
15764 arg2 = (bool)(SWIG_As_bool(obj1));
15765 if (SWIG_arg_fail(2)) SWIG_fail;
15766 }
15767 {
15768 PyThreadState* __tstate = wxPyBeginAllowThreads();
15769 (arg1)->SetShowHelp(arg2);
15770
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 Py_INCREF(Py_None); resultobj = Py_None;
15775 return resultobj;
15776 fail:
15777 return NULL;
15778 }
15779
15780
15781 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15782 PyObject *obj;
15783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15784 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15785 Py_INCREF(obj);
15786 return Py_BuildValue((char *)"");
15787 }
15788 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15789 PyObject *resultobj;
15790 wxWindow *arg1 = (wxWindow *) 0 ;
15791 wxFontData *arg2 = 0 ;
15792 wxFontDialog *result;
15793 PyObject * obj0 = 0 ;
15794 PyObject * obj1 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "parent",(char *) "data", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15801 if (SWIG_arg_fail(1)) SWIG_fail;
15802 {
15803 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15804 if (SWIG_arg_fail(2)) SWIG_fail;
15805 if (arg2 == NULL) {
15806 SWIG_null_ref("wxFontData");
15807 }
15808 if (SWIG_arg_fail(2)) SWIG_fail;
15809 }
15810 {
15811 if (!wxPyCheckForApp()) SWIG_fail;
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj;
15827 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15828 wxFontData *result;
15829 PyObject * obj0 = 0 ;
15830 char *kwnames[] = {
15831 (char *) "self", NULL
15832 };
15833
15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15836 if (SWIG_arg_fail(1)) SWIG_fail;
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 {
15840 wxFontData &_result_ref = (arg1)->GetFontData();
15841 result = (wxFontData *) &_result_ref;
15842 }
15843
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15848 return resultobj;
15849 fail:
15850 return NULL;
15851 }
15852
15853
15854 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15855 PyObject *obj;
15856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15857 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15858 Py_INCREF(obj);
15859 return Py_BuildValue((char *)"");
15860 }
15861 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15862 PyObject *resultobj;
15863 wxWindow *arg1 = (wxWindow *) 0 ;
15864 wxString *arg2 = 0 ;
15865 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15866 wxString *arg3 = (wxString *) &arg3_defvalue ;
15867 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15868 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15869 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15870 wxMessageDialog *result;
15871 bool temp2 = false ;
15872 bool temp3 = false ;
15873 wxPoint temp5 ;
15874 PyObject * obj0 = 0 ;
15875 PyObject * obj1 = 0 ;
15876 PyObject * obj2 = 0 ;
15877 PyObject * obj3 = 0 ;
15878 PyObject * obj4 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15885 if (SWIG_arg_fail(1)) SWIG_fail;
15886 {
15887 arg2 = wxString_in_helper(obj1);
15888 if (arg2 == NULL) SWIG_fail;
15889 temp2 = true;
15890 }
15891 if (obj2) {
15892 {
15893 arg3 = wxString_in_helper(obj2);
15894 if (arg3 == NULL) SWIG_fail;
15895 temp3 = true;
15896 }
15897 }
15898 if (obj3) {
15899 {
15900 arg4 = (long)(SWIG_As_long(obj3));
15901 if (SWIG_arg_fail(4)) SWIG_fail;
15902 }
15903 }
15904 if (obj4) {
15905 {
15906 arg5 = &temp5;
15907 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15908 }
15909 }
15910 {
15911 if (!wxPyCheckForApp()) SWIG_fail;
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15914
15915 wxPyEndAllowThreads(__tstate);
15916 if (PyErr_Occurred()) SWIG_fail;
15917 }
15918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15919 {
15920 if (temp2)
15921 delete arg2;
15922 }
15923 {
15924 if (temp3)
15925 delete arg3;
15926 }
15927 return resultobj;
15928 fail:
15929 {
15930 if (temp2)
15931 delete arg2;
15932 }
15933 {
15934 if (temp3)
15935 delete arg3;
15936 }
15937 return NULL;
15938 }
15939
15940
15941 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
15942 PyObject *obj;
15943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15944 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15945 Py_INCREF(obj);
15946 return Py_BuildValue((char *)"");
15947 }
15948 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15949 PyObject *resultobj;
15950 wxString *arg1 = 0 ;
15951 wxString *arg2 = 0 ;
15952 int arg3 = (int) 100 ;
15953 wxWindow *arg4 = (wxWindow *) NULL ;
15954 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15955 wxProgressDialog *result;
15956 bool temp1 = false ;
15957 bool temp2 = false ;
15958 PyObject * obj0 = 0 ;
15959 PyObject * obj1 = 0 ;
15960 PyObject * obj2 = 0 ;
15961 PyObject * obj3 = 0 ;
15962 PyObject * obj4 = 0 ;
15963 char *kwnames[] = {
15964 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15965 };
15966
15967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15968 {
15969 arg1 = wxString_in_helper(obj0);
15970 if (arg1 == NULL) SWIG_fail;
15971 temp1 = true;
15972 }
15973 {
15974 arg2 = wxString_in_helper(obj1);
15975 if (arg2 == NULL) SWIG_fail;
15976 temp2 = true;
15977 }
15978 if (obj2) {
15979 {
15980 arg3 = (int)(SWIG_As_int(obj2));
15981 if (SWIG_arg_fail(3)) SWIG_fail;
15982 }
15983 }
15984 if (obj3) {
15985 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15986 if (SWIG_arg_fail(4)) SWIG_fail;
15987 }
15988 if (obj4) {
15989 {
15990 arg5 = (int)(SWIG_As_int(obj4));
15991 if (SWIG_arg_fail(5)) SWIG_fail;
15992 }
15993 }
15994 {
15995 if (!wxPyCheckForApp()) SWIG_fail;
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15998
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16003 {
16004 if (temp1)
16005 delete arg1;
16006 }
16007 {
16008 if (temp2)
16009 delete arg2;
16010 }
16011 return resultobj;
16012 fail:
16013 {
16014 if (temp1)
16015 delete arg1;
16016 }
16017 {
16018 if (temp2)
16019 delete arg2;
16020 }
16021 return NULL;
16022 }
16023
16024
16025 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
16026 PyObject *resultobj;
16027 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16028 int arg2 ;
16029 wxString const &arg3_defvalue = wxPyEmptyString ;
16030 wxString *arg3 = (wxString *) &arg3_defvalue ;
16031 bool result;
16032 bool temp3 = false ;
16033 PyObject * obj0 = 0 ;
16034 PyObject * obj1 = 0 ;
16035 PyObject * obj2 = 0 ;
16036 char *kwnames[] = {
16037 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16038 };
16039
16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
16041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16042 if (SWIG_arg_fail(1)) SWIG_fail;
16043 {
16044 arg2 = (int)(SWIG_As_int(obj1));
16045 if (SWIG_arg_fail(2)) SWIG_fail;
16046 }
16047 if (obj2) {
16048 {
16049 arg3 = wxString_in_helper(obj2);
16050 if (arg3 == NULL) SWIG_fail;
16051 temp3 = true;
16052 }
16053 }
16054 {
16055 PyThreadState* __tstate = wxPyBeginAllowThreads();
16056 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16057
16058 wxPyEndAllowThreads(__tstate);
16059 if (PyErr_Occurred()) SWIG_fail;
16060 }
16061 {
16062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16063 }
16064 {
16065 if (temp3)
16066 delete arg3;
16067 }
16068 return resultobj;
16069 fail:
16070 {
16071 if (temp3)
16072 delete arg3;
16073 }
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16081 PyObject * obj0 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
16087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16088 if (SWIG_arg_fail(1)) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 (arg1)->Resume();
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 Py_INCREF(Py_None); resultobj = Py_None;
16097 return resultobj;
16098 fail:
16099 return NULL;
16100 }
16101
16102
16103 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
16104 PyObject *obj;
16105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16106 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16107 Py_INCREF(obj);
16108 return Py_BuildValue((char *)"");
16109 }
16110 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16111 PyObject *resultobj;
16112 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16113 int arg2 = (int) 0 ;
16114 wxFindDialogEvent *result;
16115 PyObject * obj0 = 0 ;
16116 PyObject * obj1 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "commandType",(char *) "id", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16122 if (obj0) {
16123 {
16124 arg1 = (wxEventType)(SWIG_As_int(obj0));
16125 if (SWIG_arg_fail(1)) SWIG_fail;
16126 }
16127 }
16128 if (obj1) {
16129 {
16130 arg2 = (int)(SWIG_As_int(obj1));
16131 if (SWIG_arg_fail(2)) SWIG_fail;
16132 }
16133 }
16134 {
16135 PyThreadState* __tstate = wxPyBeginAllowThreads();
16136 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16137
16138 wxPyEndAllowThreads(__tstate);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 }
16141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16142 return resultobj;
16143 fail:
16144 return NULL;
16145 }
16146
16147
16148 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16149 PyObject *resultobj;
16150 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16151 int result;
16152 PyObject * obj0 = 0 ;
16153 char *kwnames[] = {
16154 (char *) "self", NULL
16155 };
16156
16157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16159 if (SWIG_arg_fail(1)) SWIG_fail;
16160 {
16161 PyThreadState* __tstate = wxPyBeginAllowThreads();
16162 result = (int)(arg1)->GetFlags();
16163
16164 wxPyEndAllowThreads(__tstate);
16165 if (PyErr_Occurred()) SWIG_fail;
16166 }
16167 {
16168 resultobj = SWIG_From_int((int)(result));
16169 }
16170 return resultobj;
16171 fail:
16172 return NULL;
16173 }
16174
16175
16176 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16177 PyObject *resultobj;
16178 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16179 wxString *result;
16180 PyObject * obj0 = 0 ;
16181 char *kwnames[] = {
16182 (char *) "self", NULL
16183 };
16184
16185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
16186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16187 if (SWIG_arg_fail(1)) SWIG_fail;
16188 {
16189 PyThreadState* __tstate = wxPyBeginAllowThreads();
16190 {
16191 wxString const &_result_ref = (arg1)->GetFindString();
16192 result = (wxString *) &_result_ref;
16193 }
16194
16195 wxPyEndAllowThreads(__tstate);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 }
16198 {
16199 #if wxUSE_UNICODE
16200 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16201 #else
16202 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16203 #endif
16204 }
16205 return resultobj;
16206 fail:
16207 return NULL;
16208 }
16209
16210
16211 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16214 wxString *result;
16215 PyObject * obj0 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 {
16226 wxString const &_result_ref = (arg1)->GetReplaceString();
16227 result = (wxString *) &_result_ref;
16228 }
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234 #if wxUSE_UNICODE
16235 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16236 #else
16237 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16238 #endif
16239 }
16240 return resultobj;
16241 fail:
16242 return NULL;
16243 }
16244
16245
16246 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16247 PyObject *resultobj;
16248 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16249 wxFindReplaceDialog *result;
16250 PyObject * obj0 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "self", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16257 if (SWIG_arg_fail(1)) SWIG_fail;
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16266 return resultobj;
16267 fail:
16268 return NULL;
16269 }
16270
16271
16272 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16275 int arg2 ;
16276 PyObject * obj0 = 0 ;
16277 PyObject * obj1 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self",(char *) "flags", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16284 if (SWIG_arg_fail(1)) SWIG_fail;
16285 {
16286 arg2 = (int)(SWIG_As_int(obj1));
16287 if (SWIG_arg_fail(2)) SWIG_fail;
16288 }
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 (arg1)->SetFlags(arg2);
16292
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 Py_INCREF(Py_None); resultobj = Py_None;
16297 return resultobj;
16298 fail:
16299 return NULL;
16300 }
16301
16302
16303 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16304 PyObject *resultobj;
16305 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16306 wxString *arg2 = 0 ;
16307 bool temp2 = false ;
16308 PyObject * obj0 = 0 ;
16309 PyObject * obj1 = 0 ;
16310 char *kwnames[] = {
16311 (char *) "self",(char *) "str", NULL
16312 };
16313
16314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16316 if (SWIG_arg_fail(1)) SWIG_fail;
16317 {
16318 arg2 = wxString_in_helper(obj1);
16319 if (arg2 == NULL) SWIG_fail;
16320 temp2 = true;
16321 }
16322 {
16323 PyThreadState* __tstate = wxPyBeginAllowThreads();
16324 (arg1)->SetFindString((wxString const &)*arg2);
16325
16326 wxPyEndAllowThreads(__tstate);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 }
16329 Py_INCREF(Py_None); resultobj = Py_None;
16330 {
16331 if (temp2)
16332 delete arg2;
16333 }
16334 return resultobj;
16335 fail:
16336 {
16337 if (temp2)
16338 delete arg2;
16339 }
16340 return NULL;
16341 }
16342
16343
16344 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16347 wxString *arg2 = 0 ;
16348 bool temp2 = false ;
16349 PyObject * obj0 = 0 ;
16350 PyObject * obj1 = 0 ;
16351 char *kwnames[] = {
16352 (char *) "self",(char *) "str", NULL
16353 };
16354
16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16357 if (SWIG_arg_fail(1)) SWIG_fail;
16358 {
16359 arg2 = wxString_in_helper(obj1);
16360 if (arg2 == NULL) SWIG_fail;
16361 temp2 = true;
16362 }
16363 {
16364 PyThreadState* __tstate = wxPyBeginAllowThreads();
16365 (arg1)->SetReplaceString((wxString const &)*arg2);
16366
16367 wxPyEndAllowThreads(__tstate);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 }
16370 Py_INCREF(Py_None); resultobj = Py_None;
16371 {
16372 if (temp2)
16373 delete arg2;
16374 }
16375 return resultobj;
16376 fail:
16377 {
16378 if (temp2)
16379 delete arg2;
16380 }
16381 return NULL;
16382 }
16383
16384
16385 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16386 PyObject *obj;
16387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16388 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16389 Py_INCREF(obj);
16390 return Py_BuildValue((char *)"");
16391 }
16392 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16393 PyObject *resultobj;
16394 int arg1 = (int) 0 ;
16395 wxFindReplaceData *result;
16396 PyObject * obj0 = 0 ;
16397 char *kwnames[] = {
16398 (char *) "flags", NULL
16399 };
16400
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16402 if (obj0) {
16403 {
16404 arg1 = (int)(SWIG_As_int(obj0));
16405 if (SWIG_arg_fail(1)) SWIG_fail;
16406 }
16407 }
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16416 return resultobj;
16417 fail:
16418 return NULL;
16419 }
16420
16421
16422 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16423 PyObject *resultobj;
16424 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16425 PyObject * obj0 = 0 ;
16426 char *kwnames[] = {
16427 (char *) "self", NULL
16428 };
16429
16430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16432 if (SWIG_arg_fail(1)) SWIG_fail;
16433 {
16434 PyThreadState* __tstate = wxPyBeginAllowThreads();
16435 delete arg1;
16436
16437 wxPyEndAllowThreads(__tstate);
16438 if (PyErr_Occurred()) SWIG_fail;
16439 }
16440 Py_INCREF(Py_None); resultobj = Py_None;
16441 return resultobj;
16442 fail:
16443 return NULL;
16444 }
16445
16446
16447 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16448 PyObject *resultobj;
16449 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16450 wxString *result;
16451 PyObject * obj0 = 0 ;
16452 char *kwnames[] = {
16453 (char *) "self", NULL
16454 };
16455
16456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16458 if (SWIG_arg_fail(1)) SWIG_fail;
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 {
16462 wxString const &_result_ref = (arg1)->GetFindString();
16463 result = (wxString *) &_result_ref;
16464 }
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 {
16470 #if wxUSE_UNICODE
16471 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16472 #else
16473 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16474 #endif
16475 }
16476 return resultobj;
16477 fail:
16478 return NULL;
16479 }
16480
16481
16482 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16483 PyObject *resultobj;
16484 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16485 wxString *result;
16486 PyObject * obj0 = 0 ;
16487 char *kwnames[] = {
16488 (char *) "self", NULL
16489 };
16490
16491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16493 if (SWIG_arg_fail(1)) SWIG_fail;
16494 {
16495 PyThreadState* __tstate = wxPyBeginAllowThreads();
16496 {
16497 wxString const &_result_ref = (arg1)->GetReplaceString();
16498 result = (wxString *) &_result_ref;
16499 }
16500
16501 wxPyEndAllowThreads(__tstate);
16502 if (PyErr_Occurred()) SWIG_fail;
16503 }
16504 {
16505 #if wxUSE_UNICODE
16506 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16507 #else
16508 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16509 #endif
16510 }
16511 return resultobj;
16512 fail:
16513 return NULL;
16514 }
16515
16516
16517 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16520 int result;
16521 PyObject * obj0 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16528 if (SWIG_arg_fail(1)) SWIG_fail;
16529 {
16530 PyThreadState* __tstate = wxPyBeginAllowThreads();
16531 result = (int)(arg1)->GetFlags();
16532
16533 wxPyEndAllowThreads(__tstate);
16534 if (PyErr_Occurred()) SWIG_fail;
16535 }
16536 {
16537 resultobj = SWIG_From_int((int)(result));
16538 }
16539 return resultobj;
16540 fail:
16541 return NULL;
16542 }
16543
16544
16545 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16546 PyObject *resultobj;
16547 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16548 int arg2 ;
16549 PyObject * obj0 = 0 ;
16550 PyObject * obj1 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self",(char *) "flags", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16557 if (SWIG_arg_fail(1)) SWIG_fail;
16558 {
16559 arg2 = (int)(SWIG_As_int(obj1));
16560 if (SWIG_arg_fail(2)) SWIG_fail;
16561 }
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
16564 (arg1)->SetFlags(arg2);
16565
16566 wxPyEndAllowThreads(__tstate);
16567 if (PyErr_Occurred()) SWIG_fail;
16568 }
16569 Py_INCREF(Py_None); resultobj = Py_None;
16570 return resultobj;
16571 fail:
16572 return NULL;
16573 }
16574
16575
16576 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16577 PyObject *resultobj;
16578 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16579 wxString *arg2 = 0 ;
16580 bool temp2 = false ;
16581 PyObject * obj0 = 0 ;
16582 PyObject * obj1 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "self",(char *) "str", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16589 if (SWIG_arg_fail(1)) SWIG_fail;
16590 {
16591 arg2 = wxString_in_helper(obj1);
16592 if (arg2 == NULL) SWIG_fail;
16593 temp2 = true;
16594 }
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 (arg1)->SetFindString((wxString const &)*arg2);
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 Py_INCREF(Py_None); resultobj = Py_None;
16603 {
16604 if (temp2)
16605 delete arg2;
16606 }
16607 return resultobj;
16608 fail:
16609 {
16610 if (temp2)
16611 delete arg2;
16612 }
16613 return NULL;
16614 }
16615
16616
16617 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16620 wxString *arg2 = 0 ;
16621 bool temp2 = false ;
16622 PyObject * obj0 = 0 ;
16623 PyObject * obj1 = 0 ;
16624 char *kwnames[] = {
16625 (char *) "self",(char *) "str", NULL
16626 };
16627
16628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16630 if (SWIG_arg_fail(1)) SWIG_fail;
16631 {
16632 arg2 = wxString_in_helper(obj1);
16633 if (arg2 == NULL) SWIG_fail;
16634 temp2 = true;
16635 }
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 (arg1)->SetReplaceString((wxString const &)*arg2);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 Py_INCREF(Py_None); resultobj = Py_None;
16644 {
16645 if (temp2)
16646 delete arg2;
16647 }
16648 return resultobj;
16649 fail:
16650 {
16651 if (temp2)
16652 delete arg2;
16653 }
16654 return NULL;
16655 }
16656
16657
16658 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16659 PyObject *obj;
16660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16661 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16662 Py_INCREF(obj);
16663 return Py_BuildValue((char *)"");
16664 }
16665 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16666 PyObject *resultobj;
16667 wxWindow *arg1 = (wxWindow *) 0 ;
16668 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16669 wxString *arg3 = 0 ;
16670 int arg4 = (int) 0 ;
16671 wxFindReplaceDialog *result;
16672 bool temp3 = false ;
16673 PyObject * obj0 = 0 ;
16674 PyObject * obj1 = 0 ;
16675 PyObject * obj2 = 0 ;
16676 PyObject * obj3 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail;
16684 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16685 if (SWIG_arg_fail(2)) SWIG_fail;
16686 {
16687 arg3 = wxString_in_helper(obj2);
16688 if (arg3 == NULL) SWIG_fail;
16689 temp3 = true;
16690 }
16691 if (obj3) {
16692 {
16693 arg4 = (int)(SWIG_As_int(obj3));
16694 if (SWIG_arg_fail(4)) SWIG_fail;
16695 }
16696 }
16697 {
16698 if (!wxPyCheckForApp()) SWIG_fail;
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16701
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16706 {
16707 if (temp3)
16708 delete arg3;
16709 }
16710 return resultobj;
16711 fail:
16712 {
16713 if (temp3)
16714 delete arg3;
16715 }
16716 return NULL;
16717 }
16718
16719
16720 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16721 PyObject *resultobj;
16722 wxFindReplaceDialog *result;
16723 char *kwnames[] = {
16724 NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16728 {
16729 if (!wxPyCheckForApp()) SWIG_fail;
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16732
16733 wxPyEndAllowThreads(__tstate);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
16736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16737 return resultobj;
16738 fail:
16739 return NULL;
16740 }
16741
16742
16743 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16744 PyObject *resultobj;
16745 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16746 wxWindow *arg2 = (wxWindow *) 0 ;
16747 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16748 wxString *arg4 = 0 ;
16749 int arg5 = (int) 0 ;
16750 bool result;
16751 bool temp4 = false ;
16752 PyObject * obj0 = 0 ;
16753 PyObject * obj1 = 0 ;
16754 PyObject * obj2 = 0 ;
16755 PyObject * obj3 = 0 ;
16756 PyObject * obj4 = 0 ;
16757 char *kwnames[] = {
16758 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16759 };
16760
16761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16763 if (SWIG_arg_fail(1)) SWIG_fail;
16764 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16765 if (SWIG_arg_fail(2)) SWIG_fail;
16766 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16767 if (SWIG_arg_fail(3)) SWIG_fail;
16768 {
16769 arg4 = wxString_in_helper(obj3);
16770 if (arg4 == NULL) SWIG_fail;
16771 temp4 = true;
16772 }
16773 if (obj4) {
16774 {
16775 arg5 = (int)(SWIG_As_int(obj4));
16776 if (SWIG_arg_fail(5)) SWIG_fail;
16777 }
16778 }
16779 {
16780 PyThreadState* __tstate = wxPyBeginAllowThreads();
16781 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16782
16783 wxPyEndAllowThreads(__tstate);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 }
16786 {
16787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16788 }
16789 {
16790 if (temp4)
16791 delete arg4;
16792 }
16793 return resultobj;
16794 fail:
16795 {
16796 if (temp4)
16797 delete arg4;
16798 }
16799 return NULL;
16800 }
16801
16802
16803 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj;
16805 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16806 wxFindReplaceData *result;
16807 PyObject * obj0 = 0 ;
16808 char *kwnames[] = {
16809 (char *) "self", NULL
16810 };
16811
16812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16814 if (SWIG_arg_fail(1)) SWIG_fail;
16815 {
16816 PyThreadState* __tstate = wxPyBeginAllowThreads();
16817 result = (wxFindReplaceData *)(arg1)->GetData();
16818
16819 wxPyEndAllowThreads(__tstate);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 }
16822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16823 return resultobj;
16824 fail:
16825 return NULL;
16826 }
16827
16828
16829 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16832 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16833 PyObject * obj0 = 0 ;
16834 PyObject * obj1 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "self",(char *) "data", NULL
16837 };
16838
16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
16840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16841 if (SWIG_arg_fail(1)) SWIG_fail;
16842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16843 if (SWIG_arg_fail(2)) SWIG_fail;
16844 {
16845 PyThreadState* __tstate = wxPyBeginAllowThreads();
16846 (arg1)->SetData(arg2);
16847
16848 wxPyEndAllowThreads(__tstate);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 }
16851 Py_INCREF(Py_None); resultobj = Py_None;
16852 return resultobj;
16853 fail:
16854 return NULL;
16855 }
16856
16857
16858 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
16859 PyObject *obj;
16860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16861 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16862 Py_INCREF(obj);
16863 return Py_BuildValue((char *)"");
16864 }
16865 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16866 PyObject *resultobj;
16867 wxWindow *arg1 = (wxWindow *) 0 ;
16868 int arg2 = (int) (int)-1 ;
16869 wxString const &arg3_defvalue = wxPyEmptyString ;
16870 wxString *arg3 = (wxString *) &arg3_defvalue ;
16871 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16872 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16873 wxSize const &arg5_defvalue = wxDefaultSize ;
16874 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16875 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16876 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16877 wxString *arg7 = (wxString *) &arg7_defvalue ;
16878 wxMDIParentFrame *result;
16879 bool temp3 = false ;
16880 wxPoint temp4 ;
16881 wxSize temp5 ;
16882 bool temp7 = false ;
16883 PyObject * obj0 = 0 ;
16884 PyObject * obj1 = 0 ;
16885 PyObject * obj2 = 0 ;
16886 PyObject * obj3 = 0 ;
16887 PyObject * obj4 = 0 ;
16888 PyObject * obj5 = 0 ;
16889 PyObject * obj6 = 0 ;
16890 char *kwnames[] = {
16891 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16892 };
16893
16894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16896 if (SWIG_arg_fail(1)) SWIG_fail;
16897 if (obj1) {
16898 {
16899 arg2 = (int const)(SWIG_As_int(obj1));
16900 if (SWIG_arg_fail(2)) SWIG_fail;
16901 }
16902 }
16903 if (obj2) {
16904 {
16905 arg3 = wxString_in_helper(obj2);
16906 if (arg3 == NULL) SWIG_fail;
16907 temp3 = true;
16908 }
16909 }
16910 if (obj3) {
16911 {
16912 arg4 = &temp4;
16913 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16914 }
16915 }
16916 if (obj4) {
16917 {
16918 arg5 = &temp5;
16919 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16920 }
16921 }
16922 if (obj5) {
16923 {
16924 arg6 = (long)(SWIG_As_long(obj5));
16925 if (SWIG_arg_fail(6)) SWIG_fail;
16926 }
16927 }
16928 if (obj6) {
16929 {
16930 arg7 = wxString_in_helper(obj6);
16931 if (arg7 == NULL) SWIG_fail;
16932 temp7 = true;
16933 }
16934 }
16935 {
16936 if (!wxPyCheckForApp()) SWIG_fail;
16937 PyThreadState* __tstate = wxPyBeginAllowThreads();
16938 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16939
16940 wxPyEndAllowThreads(__tstate);
16941 if (PyErr_Occurred()) SWIG_fail;
16942 }
16943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16944 {
16945 if (temp3)
16946 delete arg3;
16947 }
16948 {
16949 if (temp7)
16950 delete arg7;
16951 }
16952 return resultobj;
16953 fail:
16954 {
16955 if (temp3)
16956 delete arg3;
16957 }
16958 {
16959 if (temp7)
16960 delete arg7;
16961 }
16962 return NULL;
16963 }
16964
16965
16966 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16967 PyObject *resultobj;
16968 wxMDIParentFrame *result;
16969 char *kwnames[] = {
16970 NULL
16971 };
16972
16973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16974 {
16975 if (!wxPyCheckForApp()) SWIG_fail;
16976 PyThreadState* __tstate = wxPyBeginAllowThreads();
16977 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16978
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16983 return resultobj;
16984 fail:
16985 return NULL;
16986 }
16987
16988
16989 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16990 PyObject *resultobj;
16991 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16992 wxWindow *arg2 = (wxWindow *) 0 ;
16993 int arg3 = (int) (int)-1 ;
16994 wxString const &arg4_defvalue = wxPyEmptyString ;
16995 wxString *arg4 = (wxString *) &arg4_defvalue ;
16996 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16997 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16998 wxSize const &arg6_defvalue = wxDefaultSize ;
16999 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17000 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17001 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17002 wxString *arg8 = (wxString *) &arg8_defvalue ;
17003 bool result;
17004 bool temp4 = false ;
17005 wxPoint temp5 ;
17006 wxSize temp6 ;
17007 bool temp8 = false ;
17008 PyObject * obj0 = 0 ;
17009 PyObject * obj1 = 0 ;
17010 PyObject * obj2 = 0 ;
17011 PyObject * obj3 = 0 ;
17012 PyObject * obj4 = 0 ;
17013 PyObject * obj5 = 0 ;
17014 PyObject * obj6 = 0 ;
17015 PyObject * obj7 = 0 ;
17016 char *kwnames[] = {
17017 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17018 };
17019
17020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17022 if (SWIG_arg_fail(1)) SWIG_fail;
17023 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17024 if (SWIG_arg_fail(2)) SWIG_fail;
17025 if (obj2) {
17026 {
17027 arg3 = (int const)(SWIG_As_int(obj2));
17028 if (SWIG_arg_fail(3)) SWIG_fail;
17029 }
17030 }
17031 if (obj3) {
17032 {
17033 arg4 = wxString_in_helper(obj3);
17034 if (arg4 == NULL) SWIG_fail;
17035 temp4 = true;
17036 }
17037 }
17038 if (obj4) {
17039 {
17040 arg5 = &temp5;
17041 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17042 }
17043 }
17044 if (obj5) {
17045 {
17046 arg6 = &temp6;
17047 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17048 }
17049 }
17050 if (obj6) {
17051 {
17052 arg7 = (long)(SWIG_As_long(obj6));
17053 if (SWIG_arg_fail(7)) SWIG_fail;
17054 }
17055 }
17056 if (obj7) {
17057 {
17058 arg8 = wxString_in_helper(obj7);
17059 if (arg8 == NULL) SWIG_fail;
17060 temp8 = true;
17061 }
17062 }
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 {
17071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17072 }
17073 {
17074 if (temp4)
17075 delete arg4;
17076 }
17077 {
17078 if (temp8)
17079 delete arg8;
17080 }
17081 return resultobj;
17082 fail:
17083 {
17084 if (temp4)
17085 delete arg4;
17086 }
17087 {
17088 if (temp8)
17089 delete arg8;
17090 }
17091 return NULL;
17092 }
17093
17094
17095 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
17096 PyObject *resultobj;
17097 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17098 PyObject * obj0 = 0 ;
17099 char *kwnames[] = {
17100 (char *) "self", NULL
17101 };
17102
17103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
17104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17105 if (SWIG_arg_fail(1)) SWIG_fail;
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
17108 (arg1)->ActivateNext();
17109
17110 wxPyEndAllowThreads(__tstate);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 }
17113 Py_INCREF(Py_None); resultobj = Py_None;
17114 return resultobj;
17115 fail:
17116 return NULL;
17117 }
17118
17119
17120 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
17121 PyObject *resultobj;
17122 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17123 PyObject * obj0 = 0 ;
17124 char *kwnames[] = {
17125 (char *) "self", NULL
17126 };
17127
17128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
17129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17130 if (SWIG_arg_fail(1)) SWIG_fail;
17131 {
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 (arg1)->ActivatePrevious();
17134
17135 wxPyEndAllowThreads(__tstate);
17136 if (PyErr_Occurred()) SWIG_fail;
17137 }
17138 Py_INCREF(Py_None); resultobj = Py_None;
17139 return resultobj;
17140 fail:
17141 return NULL;
17142 }
17143
17144
17145 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17146 PyObject *resultobj;
17147 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17148 PyObject * obj0 = 0 ;
17149 char *kwnames[] = {
17150 (char *) "self", NULL
17151 };
17152
17153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17155 if (SWIG_arg_fail(1)) SWIG_fail;
17156 {
17157 PyThreadState* __tstate = wxPyBeginAllowThreads();
17158 (arg1)->ArrangeIcons();
17159
17160 wxPyEndAllowThreads(__tstate);
17161 if (PyErr_Occurred()) SWIG_fail;
17162 }
17163 Py_INCREF(Py_None); resultobj = Py_None;
17164 return resultobj;
17165 fail:
17166 return NULL;
17167 }
17168
17169
17170 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj;
17172 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17173 PyObject * obj0 = 0 ;
17174 char *kwnames[] = {
17175 (char *) "self", NULL
17176 };
17177
17178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17180 if (SWIG_arg_fail(1)) SWIG_fail;
17181 {
17182 PyThreadState* __tstate = wxPyBeginAllowThreads();
17183 (arg1)->Cascade();
17184
17185 wxPyEndAllowThreads(__tstate);
17186 if (PyErr_Occurred()) SWIG_fail;
17187 }
17188 Py_INCREF(Py_None); resultobj = Py_None;
17189 return resultobj;
17190 fail:
17191 return NULL;
17192 }
17193
17194
17195 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj;
17197 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17198 wxMDIChildFrame *result;
17199 PyObject * obj0 = 0 ;
17200 char *kwnames[] = {
17201 (char *) "self", NULL
17202 };
17203
17204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17206 if (SWIG_arg_fail(1)) SWIG_fail;
17207 {
17208 PyThreadState* __tstate = wxPyBeginAllowThreads();
17209 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17210
17211 wxPyEndAllowThreads(__tstate);
17212 if (PyErr_Occurred()) SWIG_fail;
17213 }
17214 {
17215 resultobj = wxPyMake_wxObject(result, 0);
17216 }
17217 return resultobj;
17218 fail:
17219 return NULL;
17220 }
17221
17222
17223 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17224 PyObject *resultobj;
17225 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17226 wxMDIClientWindow *result;
17227 PyObject * obj0 = 0 ;
17228 char *kwnames[] = {
17229 (char *) "self", NULL
17230 };
17231
17232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17234 if (SWIG_arg_fail(1)) SWIG_fail;
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17238
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 {
17243 resultobj = wxPyMake_wxObject(result, 0);
17244 }
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17254 wxWindow *result;
17255 PyObject * obj0 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17262 if (SWIG_arg_fail(1)) SWIG_fail;
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = (wxWindow *)(arg1)->GetToolBar();
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 {
17271 resultobj = wxPyMake_wxObject(result, 0);
17272 }
17273 return resultobj;
17274 fail:
17275 return NULL;
17276 }
17277
17278
17279 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
17280 PyObject *resultobj;
17281 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17282 wxMenu *result;
17283 PyObject * obj0 = 0 ;
17284 char *kwnames[] = {
17285 (char *) "self", NULL
17286 };
17287
17288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
17289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17290 if (SWIG_arg_fail(1)) SWIG_fail;
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = (wxMenu *)(arg1)->GetWindowMenu();
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 {
17299 resultobj = wxPyMake_wxObject(result, 0);
17300 }
17301 return resultobj;
17302 fail:
17303 return NULL;
17304 }
17305
17306
17307 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
17308 PyObject *resultobj;
17309 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17310 wxMenu *arg2 = (wxMenu *) 0 ;
17311 PyObject * obj0 = 0 ;
17312 PyObject * obj1 = 0 ;
17313 char *kwnames[] = {
17314 (char *) "self",(char *) "menu", NULL
17315 };
17316
17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
17318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17319 if (SWIG_arg_fail(1)) SWIG_fail;
17320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
17321 if (SWIG_arg_fail(2)) SWIG_fail;
17322 {
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 (arg1)->SetWindowMenu(arg2);
17325
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 Py_INCREF(Py_None); resultobj = Py_None;
17330 return resultobj;
17331 fail:
17332 return NULL;
17333 }
17334
17335
17336 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17339 wxToolBar *arg2 = (wxToolBar *) 0 ;
17340 PyObject * obj0 = 0 ;
17341 PyObject * obj1 = 0 ;
17342 char *kwnames[] = {
17343 (char *) "self",(char *) "toolbar", NULL
17344 };
17345
17346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
17347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17348 if (SWIG_arg_fail(1)) SWIG_fail;
17349 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
17350 if (SWIG_arg_fail(2)) SWIG_fail;
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 (arg1)->SetToolBar(arg2);
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 Py_INCREF(Py_None); resultobj = Py_None;
17359 return resultobj;
17360 fail:
17361 return NULL;
17362 }
17363
17364
17365 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17366 PyObject *resultobj;
17367 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17368 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17369 PyObject * obj0 = 0 ;
17370 PyObject * obj1 = 0 ;
17371 char *kwnames[] = {
17372 (char *) "self",(char *) "orient", NULL
17373 };
17374
17375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17377 if (SWIG_arg_fail(1)) SWIG_fail;
17378 if (obj1) {
17379 {
17380 arg2 = (wxOrientation)(SWIG_As_int(obj1));
17381 if (SWIG_arg_fail(2)) SWIG_fail;
17382 }
17383 }
17384 {
17385 PyThreadState* __tstate = wxPyBeginAllowThreads();
17386 (arg1)->Tile((wxOrientation )arg2);
17387
17388 wxPyEndAllowThreads(__tstate);
17389 if (PyErr_Occurred()) SWIG_fail;
17390 }
17391 Py_INCREF(Py_None); resultobj = Py_None;
17392 return resultobj;
17393 fail:
17394 return NULL;
17395 }
17396
17397
17398 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17399 PyObject *obj;
17400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17401 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17402 Py_INCREF(obj);
17403 return Py_BuildValue((char *)"");
17404 }
17405 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17408 int arg2 = (int) (int)-1 ;
17409 wxString const &arg3_defvalue = wxPyEmptyString ;
17410 wxString *arg3 = (wxString *) &arg3_defvalue ;
17411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17413 wxSize const &arg5_defvalue = wxDefaultSize ;
17414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17415 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17416 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17417 wxString *arg7 = (wxString *) &arg7_defvalue ;
17418 wxMDIChildFrame *result;
17419 bool temp3 = false ;
17420 wxPoint temp4 ;
17421 wxSize temp5 ;
17422 bool temp7 = false ;
17423 PyObject * obj0 = 0 ;
17424 PyObject * obj1 = 0 ;
17425 PyObject * obj2 = 0 ;
17426 PyObject * obj3 = 0 ;
17427 PyObject * obj4 = 0 ;
17428 PyObject * obj5 = 0 ;
17429 PyObject * obj6 = 0 ;
17430 char *kwnames[] = {
17431 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17432 };
17433
17434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17436 if (SWIG_arg_fail(1)) SWIG_fail;
17437 if (obj1) {
17438 {
17439 arg2 = (int const)(SWIG_As_int(obj1));
17440 if (SWIG_arg_fail(2)) SWIG_fail;
17441 }
17442 }
17443 if (obj2) {
17444 {
17445 arg3 = wxString_in_helper(obj2);
17446 if (arg3 == NULL) SWIG_fail;
17447 temp3 = true;
17448 }
17449 }
17450 if (obj3) {
17451 {
17452 arg4 = &temp4;
17453 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17454 }
17455 }
17456 if (obj4) {
17457 {
17458 arg5 = &temp5;
17459 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17460 }
17461 }
17462 if (obj5) {
17463 {
17464 arg6 = (long)(SWIG_As_long(obj5));
17465 if (SWIG_arg_fail(6)) SWIG_fail;
17466 }
17467 }
17468 if (obj6) {
17469 {
17470 arg7 = wxString_in_helper(obj6);
17471 if (arg7 == NULL) SWIG_fail;
17472 temp7 = true;
17473 }
17474 }
17475 {
17476 if (!wxPyCheckForApp()) SWIG_fail;
17477 PyThreadState* __tstate = wxPyBeginAllowThreads();
17478 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17479
17480 wxPyEndAllowThreads(__tstate);
17481 if (PyErr_Occurred()) SWIG_fail;
17482 }
17483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17484 {
17485 if (temp3)
17486 delete arg3;
17487 }
17488 {
17489 if (temp7)
17490 delete arg7;
17491 }
17492 return resultobj;
17493 fail:
17494 {
17495 if (temp3)
17496 delete arg3;
17497 }
17498 {
17499 if (temp7)
17500 delete arg7;
17501 }
17502 return NULL;
17503 }
17504
17505
17506 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj;
17508 wxMDIChildFrame *result;
17509 char *kwnames[] = {
17510 NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17514 {
17515 if (!wxPyCheckForApp()) SWIG_fail;
17516 PyThreadState* __tstate = wxPyBeginAllowThreads();
17517 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17518
17519 wxPyEndAllowThreads(__tstate);
17520 if (PyErr_Occurred()) SWIG_fail;
17521 }
17522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17523 return resultobj;
17524 fail:
17525 return NULL;
17526 }
17527
17528
17529 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17530 PyObject *resultobj;
17531 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17532 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17533 int arg3 = (int) (int)-1 ;
17534 wxString const &arg4_defvalue = wxPyEmptyString ;
17535 wxString *arg4 = (wxString *) &arg4_defvalue ;
17536 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17537 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17538 wxSize const &arg6_defvalue = wxDefaultSize ;
17539 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17540 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17541 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17542 wxString *arg8 = (wxString *) &arg8_defvalue ;
17543 bool result;
17544 bool temp4 = false ;
17545 wxPoint temp5 ;
17546 wxSize temp6 ;
17547 bool temp8 = false ;
17548 PyObject * obj0 = 0 ;
17549 PyObject * obj1 = 0 ;
17550 PyObject * obj2 = 0 ;
17551 PyObject * obj3 = 0 ;
17552 PyObject * obj4 = 0 ;
17553 PyObject * obj5 = 0 ;
17554 PyObject * obj6 = 0 ;
17555 PyObject * obj7 = 0 ;
17556 char *kwnames[] = {
17557 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17558 };
17559
17560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17562 if (SWIG_arg_fail(1)) SWIG_fail;
17563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17564 if (SWIG_arg_fail(2)) SWIG_fail;
17565 if (obj2) {
17566 {
17567 arg3 = (int const)(SWIG_As_int(obj2));
17568 if (SWIG_arg_fail(3)) SWIG_fail;
17569 }
17570 }
17571 if (obj3) {
17572 {
17573 arg4 = wxString_in_helper(obj3);
17574 if (arg4 == NULL) SWIG_fail;
17575 temp4 = true;
17576 }
17577 }
17578 if (obj4) {
17579 {
17580 arg5 = &temp5;
17581 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17582 }
17583 }
17584 if (obj5) {
17585 {
17586 arg6 = &temp6;
17587 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17588 }
17589 }
17590 if (obj6) {
17591 {
17592 arg7 = (long)(SWIG_As_long(obj6));
17593 if (SWIG_arg_fail(7)) SWIG_fail;
17594 }
17595 }
17596 if (obj7) {
17597 {
17598 arg8 = wxString_in_helper(obj7);
17599 if (arg8 == NULL) SWIG_fail;
17600 temp8 = true;
17601 }
17602 }
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 {
17611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17612 }
17613 {
17614 if (temp4)
17615 delete arg4;
17616 }
17617 {
17618 if (temp8)
17619 delete arg8;
17620 }
17621 return resultobj;
17622 fail:
17623 {
17624 if (temp4)
17625 delete arg4;
17626 }
17627 {
17628 if (temp8)
17629 delete arg8;
17630 }
17631 return NULL;
17632 }
17633
17634
17635 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17636 PyObject *resultobj;
17637 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17638 PyObject * obj0 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "self", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17645 if (SWIG_arg_fail(1)) SWIG_fail;
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 (arg1)->Activate();
17649
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 Py_INCREF(Py_None); resultobj = Py_None;
17654 return resultobj;
17655 fail:
17656 return NULL;
17657 }
17658
17659
17660 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17661 PyObject *resultobj;
17662 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17663 bool arg2 = (bool) true ;
17664 PyObject * obj0 = 0 ;
17665 PyObject * obj1 = 0 ;
17666 char *kwnames[] = {
17667 (char *) "self",(char *) "maximize", NULL
17668 };
17669
17670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17672 if (SWIG_arg_fail(1)) SWIG_fail;
17673 if (obj1) {
17674 {
17675 arg2 = (bool)(SWIG_As_bool(obj1));
17676 if (SWIG_arg_fail(2)) SWIG_fail;
17677 }
17678 }
17679 {
17680 PyThreadState* __tstate = wxPyBeginAllowThreads();
17681 (arg1)->Maximize(arg2);
17682
17683 wxPyEndAllowThreads(__tstate);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 Py_INCREF(Py_None); resultobj = Py_None;
17687 return resultobj;
17688 fail:
17689 return NULL;
17690 }
17691
17692
17693 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17694 PyObject *resultobj;
17695 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17696 PyObject * obj0 = 0 ;
17697 char *kwnames[] = {
17698 (char *) "self", NULL
17699 };
17700
17701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17703 if (SWIG_arg_fail(1)) SWIG_fail;
17704 {
17705 PyThreadState* __tstate = wxPyBeginAllowThreads();
17706 (arg1)->Restore();
17707
17708 wxPyEndAllowThreads(__tstate);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 }
17711 Py_INCREF(Py_None); resultobj = Py_None;
17712 return resultobj;
17713 fail:
17714 return NULL;
17715 }
17716
17717
17718 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17719 PyObject *obj;
17720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17721 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17722 Py_INCREF(obj);
17723 return Py_BuildValue((char *)"");
17724 }
17725 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17726 PyObject *resultobj;
17727 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17728 long arg2 = (long) 0 ;
17729 wxMDIClientWindow *result;
17730 PyObject * obj0 = 0 ;
17731 PyObject * obj1 = 0 ;
17732 char *kwnames[] = {
17733 (char *) "parent",(char *) "style", NULL
17734 };
17735
17736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17738 if (SWIG_arg_fail(1)) SWIG_fail;
17739 if (obj1) {
17740 {
17741 arg2 = (long)(SWIG_As_long(obj1));
17742 if (SWIG_arg_fail(2)) SWIG_fail;
17743 }
17744 }
17745 {
17746 if (!wxPyCheckForApp()) SWIG_fail;
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17749
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17754 return resultobj;
17755 fail:
17756 return NULL;
17757 }
17758
17759
17760 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17761 PyObject *resultobj;
17762 wxMDIClientWindow *result;
17763 char *kwnames[] = {
17764 NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17768 {
17769 if (!wxPyCheckForApp()) SWIG_fail;
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17772
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17777 return resultobj;
17778 fail:
17779 return NULL;
17780 }
17781
17782
17783 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17786 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17787 long arg3 = (long) 0 ;
17788 bool result;
17789 PyObject * obj0 = 0 ;
17790 PyObject * obj1 = 0 ;
17791 PyObject * obj2 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self",(char *) "parent",(char *) "style", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail;
17799 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17800 if (SWIG_arg_fail(2)) SWIG_fail;
17801 if (obj2) {
17802 {
17803 arg3 = (long)(SWIG_As_long(obj2));
17804 if (SWIG_arg_fail(3)) SWIG_fail;
17805 }
17806 }
17807 {
17808 PyThreadState* __tstate = wxPyBeginAllowThreads();
17809 result = (bool)(arg1)->Create(arg2,arg3);
17810
17811 wxPyEndAllowThreads(__tstate);
17812 if (PyErr_Occurred()) SWIG_fail;
17813 }
17814 {
17815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17816 }
17817 return resultobj;
17818 fail:
17819 return NULL;
17820 }
17821
17822
17823 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17824 PyObject *obj;
17825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17826 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17827 Py_INCREF(obj);
17828 return Py_BuildValue((char *)"");
17829 }
17830 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17831 PyObject *resultobj;
17832 wxWindow *arg1 = (wxWindow *) 0 ;
17833 int arg2 = (int) (int)-1 ;
17834 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17835 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17836 wxSize const &arg4_defvalue = wxDefaultSize ;
17837 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17838 long arg5 = (long) 0 ;
17839 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17840 wxString *arg6 = (wxString *) &arg6_defvalue ;
17841 wxPyWindow *result;
17842 wxPoint temp3 ;
17843 wxSize temp4 ;
17844 bool temp6 = false ;
17845 PyObject * obj0 = 0 ;
17846 PyObject * obj1 = 0 ;
17847 PyObject * obj2 = 0 ;
17848 PyObject * obj3 = 0 ;
17849 PyObject * obj4 = 0 ;
17850 PyObject * obj5 = 0 ;
17851 char *kwnames[] = {
17852 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17853 };
17854
17855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17857 if (SWIG_arg_fail(1)) SWIG_fail;
17858 if (obj1) {
17859 {
17860 arg2 = (int const)(SWIG_As_int(obj1));
17861 if (SWIG_arg_fail(2)) SWIG_fail;
17862 }
17863 }
17864 if (obj2) {
17865 {
17866 arg3 = &temp3;
17867 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17868 }
17869 }
17870 if (obj3) {
17871 {
17872 arg4 = &temp4;
17873 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17874 }
17875 }
17876 if (obj4) {
17877 {
17878 arg5 = (long)(SWIG_As_long(obj4));
17879 if (SWIG_arg_fail(5)) SWIG_fail;
17880 }
17881 }
17882 if (obj5) {
17883 {
17884 arg6 = wxString_in_helper(obj5);
17885 if (arg6 == NULL) SWIG_fail;
17886 temp6 = true;
17887 }
17888 }
17889 {
17890 if (!wxPyCheckForApp()) SWIG_fail;
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17893
17894 wxPyEndAllowThreads(__tstate);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 }
17897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17898 {
17899 if (temp6)
17900 delete arg6;
17901 }
17902 return resultobj;
17903 fail:
17904 {
17905 if (temp6)
17906 delete arg6;
17907 }
17908 return NULL;
17909 }
17910
17911
17912 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17913 PyObject *resultobj;
17914 wxPyWindow *result;
17915 char *kwnames[] = {
17916 NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17920 {
17921 if (!wxPyCheckForApp()) SWIG_fail;
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 result = (wxPyWindow *)new wxPyWindow();
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17929 return resultobj;
17930 fail:
17931 return NULL;
17932 }
17933
17934
17935 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17938 PyObject *arg2 = (PyObject *) 0 ;
17939 PyObject *arg3 = (PyObject *) 0 ;
17940 PyObject * obj0 = 0 ;
17941 PyObject * obj1 = 0 ;
17942 PyObject * obj2 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "self",(char *) "self",(char *) "_class", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17949 if (SWIG_arg_fail(1)) SWIG_fail;
17950 arg2 = obj1;
17951 arg3 = obj2;
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 (arg1)->_setCallbackInfo(arg2,arg3);
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 Py_INCREF(Py_None); resultobj = Py_None;
17960 return resultobj;
17961 fail:
17962 return NULL;
17963 }
17964
17965
17966 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17967 PyObject *resultobj;
17968 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17969 wxSize *arg2 = 0 ;
17970 wxSize temp2 ;
17971 PyObject * obj0 = 0 ;
17972 PyObject * obj1 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self",(char *) "size", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17979 if (SWIG_arg_fail(1)) SWIG_fail;
17980 {
17981 arg2 = &temp2;
17982 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17983 }
17984 {
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 (arg1)->SetBestSize((wxSize const &)*arg2);
17987
17988 wxPyEndAllowThreads(__tstate);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 Py_INCREF(Py_None); resultobj = Py_None;
17992 return resultobj;
17993 fail:
17994 return NULL;
17995 }
17996
17997
17998 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17999 PyObject *resultobj;
18000 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18001 int arg2 ;
18002 int arg3 ;
18003 int arg4 ;
18004 int arg5 ;
18005 PyObject * obj0 = 0 ;
18006 PyObject * obj1 = 0 ;
18007 PyObject * obj2 = 0 ;
18008 PyObject * obj3 = 0 ;
18009 PyObject * obj4 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18016 if (SWIG_arg_fail(1)) SWIG_fail;
18017 {
18018 arg2 = (int)(SWIG_As_int(obj1));
18019 if (SWIG_arg_fail(2)) SWIG_fail;
18020 }
18021 {
18022 arg3 = (int)(SWIG_As_int(obj2));
18023 if (SWIG_arg_fail(3)) SWIG_fail;
18024 }
18025 {
18026 arg4 = (int)(SWIG_As_int(obj3));
18027 if (SWIG_arg_fail(4)) SWIG_fail;
18028 }
18029 {
18030 arg5 = (int)(SWIG_As_int(obj4));
18031 if (SWIG_arg_fail(5)) SWIG_fail;
18032 }
18033 {
18034 PyThreadState* __tstate = wxPyBeginAllowThreads();
18035 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18036
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
18040 Py_INCREF(Py_None); resultobj = Py_None;
18041 return resultobj;
18042 fail:
18043 return NULL;
18044 }
18045
18046
18047 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18048 PyObject *resultobj;
18049 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18050 int arg2 ;
18051 int arg3 ;
18052 int arg4 ;
18053 int arg5 ;
18054 int arg6 = (int) wxSIZE_AUTO ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 PyObject * obj2 = 0 ;
18058 PyObject * obj3 = 0 ;
18059 PyObject * obj4 = 0 ;
18060 PyObject * obj5 = 0 ;
18061 char *kwnames[] = {
18062 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18067 if (SWIG_arg_fail(1)) SWIG_fail;
18068 {
18069 arg2 = (int)(SWIG_As_int(obj1));
18070 if (SWIG_arg_fail(2)) SWIG_fail;
18071 }
18072 {
18073 arg3 = (int)(SWIG_As_int(obj2));
18074 if (SWIG_arg_fail(3)) SWIG_fail;
18075 }
18076 {
18077 arg4 = (int)(SWIG_As_int(obj3));
18078 if (SWIG_arg_fail(4)) SWIG_fail;
18079 }
18080 {
18081 arg5 = (int)(SWIG_As_int(obj4));
18082 if (SWIG_arg_fail(5)) SWIG_fail;
18083 }
18084 if (obj5) {
18085 {
18086 arg6 = (int)(SWIG_As_int(obj5));
18087 if (SWIG_arg_fail(6)) SWIG_fail;
18088 }
18089 }
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18093
18094 wxPyEndAllowThreads(__tstate);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 }
18097 Py_INCREF(Py_None); resultobj = Py_None;
18098 return resultobj;
18099 fail:
18100 return NULL;
18101 }
18102
18103
18104 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18105 PyObject *resultobj;
18106 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18107 int arg2 ;
18108 int arg3 ;
18109 PyObject * obj0 = 0 ;
18110 PyObject * obj1 = 0 ;
18111 PyObject * obj2 = 0 ;
18112 char *kwnames[] = {
18113 (char *) "self",(char *) "width",(char *) "height", NULL
18114 };
18115
18116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18118 if (SWIG_arg_fail(1)) SWIG_fail;
18119 {
18120 arg2 = (int)(SWIG_As_int(obj1));
18121 if (SWIG_arg_fail(2)) SWIG_fail;
18122 }
18123 {
18124 arg3 = (int)(SWIG_As_int(obj2));
18125 if (SWIG_arg_fail(3)) SWIG_fail;
18126 }
18127 {
18128 PyThreadState* __tstate = wxPyBeginAllowThreads();
18129 (arg1)->base_DoSetClientSize(arg2,arg3);
18130
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 Py_INCREF(Py_None); resultobj = Py_None;
18135 return resultobj;
18136 fail:
18137 return NULL;
18138 }
18139
18140
18141 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18144 int arg2 ;
18145 int arg3 ;
18146 PyObject * obj0 = 0 ;
18147 PyObject * obj1 = 0 ;
18148 PyObject * obj2 = 0 ;
18149 char *kwnames[] = {
18150 (char *) "self",(char *) "x",(char *) "y", NULL
18151 };
18152
18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18155 if (SWIG_arg_fail(1)) SWIG_fail;
18156 {
18157 arg2 = (int)(SWIG_As_int(obj1));
18158 if (SWIG_arg_fail(2)) SWIG_fail;
18159 }
18160 {
18161 arg3 = (int)(SWIG_As_int(obj2));
18162 if (SWIG_arg_fail(3)) SWIG_fail;
18163 }
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 Py_INCREF(Py_None); resultobj = Py_None;
18172 return resultobj;
18173 fail:
18174 return NULL;
18175 }
18176
18177
18178 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18179 PyObject *resultobj;
18180 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18181 int *arg2 = (int *) 0 ;
18182 int *arg3 = (int *) 0 ;
18183 int temp2 ;
18184 int res2 = 0 ;
18185 int temp3 ;
18186 int res3 = 0 ;
18187 PyObject * obj0 = 0 ;
18188 char *kwnames[] = {
18189 (char *) "self", NULL
18190 };
18191
18192 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18193 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
18195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18196 if (SWIG_arg_fail(1)) SWIG_fail;
18197 {
18198 PyThreadState* __tstate = wxPyBeginAllowThreads();
18199 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18200
18201 wxPyEndAllowThreads(__tstate);
18202 if (PyErr_Occurred()) SWIG_fail;
18203 }
18204 Py_INCREF(Py_None); resultobj = Py_None;
18205 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18206 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18207 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18208 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18209 return resultobj;
18210 fail:
18211 return NULL;
18212 }
18213
18214
18215 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18216 PyObject *resultobj;
18217 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18218 int *arg2 = (int *) 0 ;
18219 int *arg3 = (int *) 0 ;
18220 int temp2 ;
18221 int res2 = 0 ;
18222 int temp3 ;
18223 int res3 = 0 ;
18224 PyObject * obj0 = 0 ;
18225 char *kwnames[] = {
18226 (char *) "self", NULL
18227 };
18228
18229 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18230 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18233 if (SWIG_arg_fail(1)) SWIG_fail;
18234 {
18235 PyThreadState* __tstate = wxPyBeginAllowThreads();
18236 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18237
18238 wxPyEndAllowThreads(__tstate);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 Py_INCREF(Py_None); resultobj = Py_None;
18242 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18243 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18244 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18245 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18246 return resultobj;
18247 fail:
18248 return NULL;
18249 }
18250
18251
18252 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18253 PyObject *resultobj;
18254 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18255 int *arg2 = (int *) 0 ;
18256 int *arg3 = (int *) 0 ;
18257 int temp2 ;
18258 int res2 = 0 ;
18259 int temp3 ;
18260 int res3 = 0 ;
18261 PyObject * obj0 = 0 ;
18262 char *kwnames[] = {
18263 (char *) "self", NULL
18264 };
18265
18266 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18267 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18270 if (SWIG_arg_fail(1)) SWIG_fail;
18271 {
18272 PyThreadState* __tstate = wxPyBeginAllowThreads();
18273 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18274
18275 wxPyEndAllowThreads(__tstate);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 }
18278 Py_INCREF(Py_None); resultobj = Py_None;
18279 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18280 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18281 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18282 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18283 return resultobj;
18284 fail:
18285 return NULL;
18286 }
18287
18288
18289 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj;
18291 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18292 wxSize result;
18293 PyObject * obj0 = 0 ;
18294 char *kwnames[] = {
18295 (char *) "self", NULL
18296 };
18297
18298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18300 if (SWIG_arg_fail(1)) SWIG_fail;
18301 {
18302 PyThreadState* __tstate = wxPyBeginAllowThreads();
18303 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18304
18305 wxPyEndAllowThreads(__tstate);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 {
18309 wxSize * resultptr;
18310 resultptr = new wxSize((wxSize &)(result));
18311 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18312 }
18313 return resultobj;
18314 fail:
18315 return NULL;
18316 }
18317
18318
18319 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18320 PyObject *resultobj;
18321 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18322 wxSize result;
18323 PyObject * obj0 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18330 if (SWIG_arg_fail(1)) SWIG_fail;
18331 {
18332 PyThreadState* __tstate = wxPyBeginAllowThreads();
18333 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18334
18335 wxPyEndAllowThreads(__tstate);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 }
18338 {
18339 wxSize * resultptr;
18340 resultptr = new wxSize((wxSize &)(result));
18341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18342 }
18343 return resultobj;
18344 fail:
18345 return NULL;
18346 }
18347
18348
18349 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18350 PyObject *resultobj;
18351 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18352 PyObject * obj0 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail;
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 (arg1)->base_InitDialog();
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 Py_INCREF(Py_None); resultobj = Py_None;
18368 return resultobj;
18369 fail:
18370 return NULL;
18371 }
18372
18373
18374 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18375 PyObject *resultobj;
18376 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18377 bool result;
18378 PyObject * obj0 = 0 ;
18379 char *kwnames[] = {
18380 (char *) "self", NULL
18381 };
18382
18383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18385 if (SWIG_arg_fail(1)) SWIG_fail;
18386 {
18387 PyThreadState* __tstate = wxPyBeginAllowThreads();
18388 result = (bool)(arg1)->base_TransferDataToWindow();
18389
18390 wxPyEndAllowThreads(__tstate);
18391 if (PyErr_Occurred()) SWIG_fail;
18392 }
18393 {
18394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18395 }
18396 return resultobj;
18397 fail:
18398 return NULL;
18399 }
18400
18401
18402 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18403 PyObject *resultobj;
18404 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18405 bool result;
18406 PyObject * obj0 = 0 ;
18407 char *kwnames[] = {
18408 (char *) "self", NULL
18409 };
18410
18411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18413 if (SWIG_arg_fail(1)) SWIG_fail;
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 result = (bool)(arg1)->base_TransferDataFromWindow();
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 {
18422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18423 }
18424 return resultobj;
18425 fail:
18426 return NULL;
18427 }
18428
18429
18430 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18431 PyObject *resultobj;
18432 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18433 bool result;
18434 PyObject * obj0 = 0 ;
18435 char *kwnames[] = {
18436 (char *) "self", NULL
18437 };
18438
18439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18441 if (SWIG_arg_fail(1)) SWIG_fail;
18442 {
18443 PyThreadState* __tstate = wxPyBeginAllowThreads();
18444 result = (bool)(arg1)->base_Validate();
18445
18446 wxPyEndAllowThreads(__tstate);
18447 if (PyErr_Occurred()) SWIG_fail;
18448 }
18449 {
18450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18451 }
18452 return resultobj;
18453 fail:
18454 return NULL;
18455 }
18456
18457
18458 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18459 PyObject *resultobj;
18460 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18461 bool result;
18462 PyObject * obj0 = 0 ;
18463 char *kwnames[] = {
18464 (char *) "self", NULL
18465 };
18466
18467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18469 if (SWIG_arg_fail(1)) SWIG_fail;
18470 {
18471 PyThreadState* __tstate = wxPyBeginAllowThreads();
18472 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 {
18478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18479 }
18480 return resultobj;
18481 fail:
18482 return NULL;
18483 }
18484
18485
18486 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18487 PyObject *resultobj;
18488 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18489 bool result;
18490 PyObject * obj0 = 0 ;
18491 char *kwnames[] = {
18492 (char *) "self", NULL
18493 };
18494
18495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18497 if (SWIG_arg_fail(1)) SWIG_fail;
18498 {
18499 PyThreadState* __tstate = wxPyBeginAllowThreads();
18500 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18501
18502 wxPyEndAllowThreads(__tstate);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
18505 {
18506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18507 }
18508 return resultobj;
18509 fail:
18510 return NULL;
18511 }
18512
18513
18514 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18515 PyObject *resultobj;
18516 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18517 wxSize result;
18518 PyObject * obj0 = 0 ;
18519 char *kwnames[] = {
18520 (char *) "self", NULL
18521 };
18522
18523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18525 if (SWIG_arg_fail(1)) SWIG_fail;
18526 {
18527 PyThreadState* __tstate = wxPyBeginAllowThreads();
18528 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18529
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 {
18534 wxSize * resultptr;
18535 resultptr = new wxSize((wxSize &)(result));
18536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18537 }
18538 return resultobj;
18539 fail:
18540 return NULL;
18541 }
18542
18543
18544 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18545 PyObject *resultobj;
18546 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18547 wxWindow *arg2 = (wxWindow *) 0 ;
18548 PyObject * obj0 = 0 ;
18549 PyObject * obj1 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self",(char *) "child", NULL
18552 };
18553
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18556 if (SWIG_arg_fail(1)) SWIG_fail;
18557 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18558 if (SWIG_arg_fail(2)) SWIG_fail;
18559 {
18560 PyThreadState* __tstate = wxPyBeginAllowThreads();
18561 (arg1)->base_AddChild(arg2);
18562
18563 wxPyEndAllowThreads(__tstate);
18564 if (PyErr_Occurred()) SWIG_fail;
18565 }
18566 Py_INCREF(Py_None); resultobj = Py_None;
18567 return resultobj;
18568 fail:
18569 return NULL;
18570 }
18571
18572
18573 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18574 PyObject *resultobj;
18575 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18576 wxWindow *arg2 = (wxWindow *) 0 ;
18577 PyObject * obj0 = 0 ;
18578 PyObject * obj1 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self",(char *) "child", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18585 if (SWIG_arg_fail(1)) SWIG_fail;
18586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18587 if (SWIG_arg_fail(2)) SWIG_fail;
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 (arg1)->base_RemoveChild(arg2);
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 Py_INCREF(Py_None); resultobj = Py_None;
18596 return resultobj;
18597 fail:
18598 return NULL;
18599 }
18600
18601
18602 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj;
18604 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18605 bool result;
18606 PyObject * obj0 = 0 ;
18607 char *kwnames[] = {
18608 (char *) "self", NULL
18609 };
18610
18611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18613 if (SWIG_arg_fail(1)) SWIG_fail;
18614 {
18615 PyThreadState* __tstate = wxPyBeginAllowThreads();
18616 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18617
18618 wxPyEndAllowThreads(__tstate);
18619 if (PyErr_Occurred()) SWIG_fail;
18620 }
18621 {
18622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18623 }
18624 return resultobj;
18625 fail:
18626 return NULL;
18627 }
18628
18629
18630 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18631 PyObject *resultobj;
18632 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18633 wxVisualAttributes result;
18634 PyObject * obj0 = 0 ;
18635 char *kwnames[] = {
18636 (char *) "self", NULL
18637 };
18638
18639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18641 if (SWIG_arg_fail(1)) SWIG_fail;
18642 {
18643 PyThreadState* __tstate = wxPyBeginAllowThreads();
18644 result = (arg1)->base_GetDefaultAttributes();
18645
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 {
18650 wxVisualAttributes * resultptr;
18651 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
18652 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18653 }
18654 return resultobj;
18655 fail:
18656 return NULL;
18657 }
18658
18659
18660 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18661 PyObject *obj;
18662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18663 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18664 Py_INCREF(obj);
18665 return Py_BuildValue((char *)"");
18666 }
18667 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18668 PyObject *resultobj;
18669 wxWindow *arg1 = (wxWindow *) 0 ;
18670 int arg2 = (int) (int)-1 ;
18671 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18672 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18673 wxSize const &arg4_defvalue = wxDefaultSize ;
18674 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18675 long arg5 = (long) 0 ;
18676 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18677 wxString *arg6 = (wxString *) &arg6_defvalue ;
18678 wxPyPanel *result;
18679 wxPoint temp3 ;
18680 wxSize temp4 ;
18681 bool temp6 = false ;
18682 PyObject * obj0 = 0 ;
18683 PyObject * obj1 = 0 ;
18684 PyObject * obj2 = 0 ;
18685 PyObject * obj3 = 0 ;
18686 PyObject * obj4 = 0 ;
18687 PyObject * obj5 = 0 ;
18688 char *kwnames[] = {
18689 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18690 };
18691
18692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18694 if (SWIG_arg_fail(1)) SWIG_fail;
18695 if (obj1) {
18696 {
18697 arg2 = (int const)(SWIG_As_int(obj1));
18698 if (SWIG_arg_fail(2)) SWIG_fail;
18699 }
18700 }
18701 if (obj2) {
18702 {
18703 arg3 = &temp3;
18704 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18705 }
18706 }
18707 if (obj3) {
18708 {
18709 arg4 = &temp4;
18710 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18711 }
18712 }
18713 if (obj4) {
18714 {
18715 arg5 = (long)(SWIG_As_long(obj4));
18716 if (SWIG_arg_fail(5)) SWIG_fail;
18717 }
18718 }
18719 if (obj5) {
18720 {
18721 arg6 = wxString_in_helper(obj5);
18722 if (arg6 == NULL) SWIG_fail;
18723 temp6 = true;
18724 }
18725 }
18726 {
18727 if (!wxPyCheckForApp()) SWIG_fail;
18728 PyThreadState* __tstate = wxPyBeginAllowThreads();
18729 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18730
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18735 {
18736 if (temp6)
18737 delete arg6;
18738 }
18739 return resultobj;
18740 fail:
18741 {
18742 if (temp6)
18743 delete arg6;
18744 }
18745 return NULL;
18746 }
18747
18748
18749 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18750 PyObject *resultobj;
18751 wxPyPanel *result;
18752 char *kwnames[] = {
18753 NULL
18754 };
18755
18756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18757 {
18758 if (!wxPyCheckForApp()) SWIG_fail;
18759 PyThreadState* __tstate = wxPyBeginAllowThreads();
18760 result = (wxPyPanel *)new wxPyPanel();
18761
18762 wxPyEndAllowThreads(__tstate);
18763 if (PyErr_Occurred()) SWIG_fail;
18764 }
18765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18766 return resultobj;
18767 fail:
18768 return NULL;
18769 }
18770
18771
18772 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18773 PyObject *resultobj;
18774 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18775 PyObject *arg2 = (PyObject *) 0 ;
18776 PyObject *arg3 = (PyObject *) 0 ;
18777 PyObject * obj0 = 0 ;
18778 PyObject * obj1 = 0 ;
18779 PyObject * obj2 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self",(char *) "self",(char *) "_class", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18786 if (SWIG_arg_fail(1)) SWIG_fail;
18787 arg2 = obj1;
18788 arg3 = obj2;
18789 {
18790 PyThreadState* __tstate = wxPyBeginAllowThreads();
18791 (arg1)->_setCallbackInfo(arg2,arg3);
18792
18793 wxPyEndAllowThreads(__tstate);
18794 if (PyErr_Occurred()) SWIG_fail;
18795 }
18796 Py_INCREF(Py_None); resultobj = Py_None;
18797 return resultobj;
18798 fail:
18799 return NULL;
18800 }
18801
18802
18803 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18806 wxSize *arg2 = 0 ;
18807 wxSize temp2 ;
18808 PyObject * obj0 = 0 ;
18809 PyObject * obj1 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "size", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18816 if (SWIG_arg_fail(1)) SWIG_fail;
18817 {
18818 arg2 = &temp2;
18819 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18820 }
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 (arg1)->SetBestSize((wxSize const &)*arg2);
18824
18825 wxPyEndAllowThreads(__tstate);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 Py_INCREF(Py_None); resultobj = Py_None;
18829 return resultobj;
18830 fail:
18831 return NULL;
18832 }
18833
18834
18835 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18836 PyObject *resultobj;
18837 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18838 int arg2 ;
18839 int arg3 ;
18840 int arg4 ;
18841 int arg5 ;
18842 PyObject * obj0 = 0 ;
18843 PyObject * obj1 = 0 ;
18844 PyObject * obj2 = 0 ;
18845 PyObject * obj3 = 0 ;
18846 PyObject * obj4 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18853 if (SWIG_arg_fail(1)) SWIG_fail;
18854 {
18855 arg2 = (int)(SWIG_As_int(obj1));
18856 if (SWIG_arg_fail(2)) SWIG_fail;
18857 }
18858 {
18859 arg3 = (int)(SWIG_As_int(obj2));
18860 if (SWIG_arg_fail(3)) SWIG_fail;
18861 }
18862 {
18863 arg4 = (int)(SWIG_As_int(obj3));
18864 if (SWIG_arg_fail(4)) SWIG_fail;
18865 }
18866 {
18867 arg5 = (int)(SWIG_As_int(obj4));
18868 if (SWIG_arg_fail(5)) SWIG_fail;
18869 }
18870 {
18871 PyThreadState* __tstate = wxPyBeginAllowThreads();
18872 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18873
18874 wxPyEndAllowThreads(__tstate);
18875 if (PyErr_Occurred()) SWIG_fail;
18876 }
18877 Py_INCREF(Py_None); resultobj = Py_None;
18878 return resultobj;
18879 fail:
18880 return NULL;
18881 }
18882
18883
18884 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18885 PyObject *resultobj;
18886 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18887 int arg2 ;
18888 int arg3 ;
18889 int arg4 ;
18890 int arg5 ;
18891 int arg6 = (int) wxSIZE_AUTO ;
18892 PyObject * obj0 = 0 ;
18893 PyObject * obj1 = 0 ;
18894 PyObject * obj2 = 0 ;
18895 PyObject * obj3 = 0 ;
18896 PyObject * obj4 = 0 ;
18897 PyObject * obj5 = 0 ;
18898 char *kwnames[] = {
18899 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18900 };
18901
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18904 if (SWIG_arg_fail(1)) SWIG_fail;
18905 {
18906 arg2 = (int)(SWIG_As_int(obj1));
18907 if (SWIG_arg_fail(2)) SWIG_fail;
18908 }
18909 {
18910 arg3 = (int)(SWIG_As_int(obj2));
18911 if (SWIG_arg_fail(3)) SWIG_fail;
18912 }
18913 {
18914 arg4 = (int)(SWIG_As_int(obj3));
18915 if (SWIG_arg_fail(4)) SWIG_fail;
18916 }
18917 {
18918 arg5 = (int)(SWIG_As_int(obj4));
18919 if (SWIG_arg_fail(5)) SWIG_fail;
18920 }
18921 if (obj5) {
18922 {
18923 arg6 = (int)(SWIG_As_int(obj5));
18924 if (SWIG_arg_fail(6)) SWIG_fail;
18925 }
18926 }
18927 {
18928 PyThreadState* __tstate = wxPyBeginAllowThreads();
18929 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18930
18931 wxPyEndAllowThreads(__tstate);
18932 if (PyErr_Occurred()) SWIG_fail;
18933 }
18934 Py_INCREF(Py_None); resultobj = Py_None;
18935 return resultobj;
18936 fail:
18937 return NULL;
18938 }
18939
18940
18941 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18942 PyObject *resultobj;
18943 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18944 int arg2 ;
18945 int arg3 ;
18946 PyObject * obj0 = 0 ;
18947 PyObject * obj1 = 0 ;
18948 PyObject * obj2 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self",(char *) "width",(char *) "height", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18955 if (SWIG_arg_fail(1)) SWIG_fail;
18956 {
18957 arg2 = (int)(SWIG_As_int(obj1));
18958 if (SWIG_arg_fail(2)) SWIG_fail;
18959 }
18960 {
18961 arg3 = (int)(SWIG_As_int(obj2));
18962 if (SWIG_arg_fail(3)) SWIG_fail;
18963 }
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 (arg1)->base_DoSetClientSize(arg2,arg3);
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 Py_INCREF(Py_None); resultobj = Py_None;
18972 return resultobj;
18973 fail:
18974 return NULL;
18975 }
18976
18977
18978 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18981 int arg2 ;
18982 int arg3 ;
18983 PyObject * obj0 = 0 ;
18984 PyObject * obj1 = 0 ;
18985 PyObject * obj2 = 0 ;
18986 char *kwnames[] = {
18987 (char *) "self",(char *) "x",(char *) "y", NULL
18988 };
18989
18990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18992 if (SWIG_arg_fail(1)) SWIG_fail;
18993 {
18994 arg2 = (int)(SWIG_As_int(obj1));
18995 if (SWIG_arg_fail(2)) SWIG_fail;
18996 }
18997 {
18998 arg3 = (int)(SWIG_As_int(obj2));
18999 if (SWIG_arg_fail(3)) SWIG_fail;
19000 }
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 return resultobj;
19010 fail:
19011 return NULL;
19012 }
19013
19014
19015 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19016 PyObject *resultobj;
19017 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19018 int *arg2 = (int *) 0 ;
19019 int *arg3 = (int *) 0 ;
19020 int temp2 ;
19021 int res2 = 0 ;
19022 int temp3 ;
19023 int res3 = 0 ;
19024 PyObject * obj0 = 0 ;
19025 char *kwnames[] = {
19026 (char *) "self", NULL
19027 };
19028
19029 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19030 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
19032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19033 if (SWIG_arg_fail(1)) SWIG_fail;
19034 {
19035 PyThreadState* __tstate = wxPyBeginAllowThreads();
19036 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19037
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
19041 Py_INCREF(Py_None); resultobj = Py_None;
19042 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19043 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19044 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19045 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19046 return resultobj;
19047 fail:
19048 return NULL;
19049 }
19050
19051
19052 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19053 PyObject *resultobj;
19054 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19055 int *arg2 = (int *) 0 ;
19056 int *arg3 = (int *) 0 ;
19057 int temp2 ;
19058 int res2 = 0 ;
19059 int temp3 ;
19060 int res3 = 0 ;
19061 PyObject * obj0 = 0 ;
19062 char *kwnames[] = {
19063 (char *) "self", NULL
19064 };
19065
19066 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19067 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19070 if (SWIG_arg_fail(1)) SWIG_fail;
19071 {
19072 PyThreadState* __tstate = wxPyBeginAllowThreads();
19073 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19074
19075 wxPyEndAllowThreads(__tstate);
19076 if (PyErr_Occurred()) SWIG_fail;
19077 }
19078 Py_INCREF(Py_None); resultobj = Py_None;
19079 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19080 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19081 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19082 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19083 return resultobj;
19084 fail:
19085 return NULL;
19086 }
19087
19088
19089 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj;
19091 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19092 int *arg2 = (int *) 0 ;
19093 int *arg3 = (int *) 0 ;
19094 int temp2 ;
19095 int res2 = 0 ;
19096 int temp3 ;
19097 int res3 = 0 ;
19098 PyObject * obj0 = 0 ;
19099 char *kwnames[] = {
19100 (char *) "self", NULL
19101 };
19102
19103 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19104 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
19106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19107 if (SWIG_arg_fail(1)) SWIG_fail;
19108 {
19109 PyThreadState* __tstate = wxPyBeginAllowThreads();
19110 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19111
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 Py_INCREF(Py_None); resultobj = Py_None;
19116 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19117 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19118 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19119 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19120 return resultobj;
19121 fail:
19122 return NULL;
19123 }
19124
19125
19126 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19127 PyObject *resultobj;
19128 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19129 wxSize result;
19130 PyObject * obj0 = 0 ;
19131 char *kwnames[] = {
19132 (char *) "self", NULL
19133 };
19134
19135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19137 if (SWIG_arg_fail(1)) SWIG_fail;
19138 {
19139 PyThreadState* __tstate = wxPyBeginAllowThreads();
19140 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19141
19142 wxPyEndAllowThreads(__tstate);
19143 if (PyErr_Occurred()) SWIG_fail;
19144 }
19145 {
19146 wxSize * resultptr;
19147 resultptr = new wxSize((wxSize &)(result));
19148 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19149 }
19150 return resultobj;
19151 fail:
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj;
19158 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19159 wxSize result;
19160 PyObject * obj0 = 0 ;
19161 char *kwnames[] = {
19162 (char *) "self", NULL
19163 };
19164
19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19167 if (SWIG_arg_fail(1)) SWIG_fail;
19168 {
19169 PyThreadState* __tstate = wxPyBeginAllowThreads();
19170 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19171
19172 wxPyEndAllowThreads(__tstate);
19173 if (PyErr_Occurred()) SWIG_fail;
19174 }
19175 {
19176 wxSize * resultptr;
19177 resultptr = new wxSize((wxSize &)(result));
19178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19179 }
19180 return resultobj;
19181 fail:
19182 return NULL;
19183 }
19184
19185
19186 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19187 PyObject *resultobj;
19188 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19189 PyObject * obj0 = 0 ;
19190 char *kwnames[] = {
19191 (char *) "self", NULL
19192 };
19193
19194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
19195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19196 if (SWIG_arg_fail(1)) SWIG_fail;
19197 {
19198 PyThreadState* __tstate = wxPyBeginAllowThreads();
19199 (arg1)->base_InitDialog();
19200
19201 wxPyEndAllowThreads(__tstate);
19202 if (PyErr_Occurred()) SWIG_fail;
19203 }
19204 Py_INCREF(Py_None); resultobj = Py_None;
19205 return resultobj;
19206 fail:
19207 return NULL;
19208 }
19209
19210
19211 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19212 PyObject *resultobj;
19213 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19214 bool result;
19215 PyObject * obj0 = 0 ;
19216 char *kwnames[] = {
19217 (char *) "self", NULL
19218 };
19219
19220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19222 if (SWIG_arg_fail(1)) SWIG_fail;
19223 {
19224 PyThreadState* __tstate = wxPyBeginAllowThreads();
19225 result = (bool)(arg1)->base_TransferDataToWindow();
19226
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 {
19231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19232 }
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19242 bool result;
19243 PyObject * obj0 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "self", NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19250 if (SWIG_arg_fail(1)) SWIG_fail;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = (bool)(arg1)->base_TransferDataFromWindow();
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 {
19259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19260 }
19261 return resultobj;
19262 fail:
19263 return NULL;
19264 }
19265
19266
19267 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19268 PyObject *resultobj;
19269 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19270 bool result;
19271 PyObject * obj0 = 0 ;
19272 char *kwnames[] = {
19273 (char *) "self", NULL
19274 };
19275
19276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
19277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19278 if (SWIG_arg_fail(1)) SWIG_fail;
19279 {
19280 PyThreadState* __tstate = wxPyBeginAllowThreads();
19281 result = (bool)(arg1)->base_Validate();
19282
19283 wxPyEndAllowThreads(__tstate);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 }
19286 {
19287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19288 }
19289 return resultobj;
19290 fail:
19291 return NULL;
19292 }
19293
19294
19295 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19296 PyObject *resultobj;
19297 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19298 bool result;
19299 PyObject * obj0 = 0 ;
19300 char *kwnames[] = {
19301 (char *) "self", NULL
19302 };
19303
19304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19306 if (SWIG_arg_fail(1)) SWIG_fail;
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19310
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 {
19315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19316 }
19317 return resultobj;
19318 fail:
19319 return NULL;
19320 }
19321
19322
19323 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19324 PyObject *resultobj;
19325 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19326 bool result;
19327 PyObject * obj0 = 0 ;
19328 char *kwnames[] = {
19329 (char *) "self", NULL
19330 };
19331
19332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19334 if (SWIG_arg_fail(1)) SWIG_fail;
19335 {
19336 PyThreadState* __tstate = wxPyBeginAllowThreads();
19337 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19338
19339 wxPyEndAllowThreads(__tstate);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 }
19342 {
19343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19344 }
19345 return resultobj;
19346 fail:
19347 return NULL;
19348 }
19349
19350
19351 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19352 PyObject *resultobj;
19353 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19354 wxSize result;
19355 PyObject * obj0 = 0 ;
19356 char *kwnames[] = {
19357 (char *) "self", NULL
19358 };
19359
19360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19362 if (SWIG_arg_fail(1)) SWIG_fail;
19363 {
19364 PyThreadState* __tstate = wxPyBeginAllowThreads();
19365 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19366
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 {
19371 wxSize * resultptr;
19372 resultptr = new wxSize((wxSize &)(result));
19373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19374 }
19375 return resultobj;
19376 fail:
19377 return NULL;
19378 }
19379
19380
19381 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19382 PyObject *resultobj;
19383 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19384 wxWindow *arg2 = (wxWindow *) 0 ;
19385 PyObject * obj0 = 0 ;
19386 PyObject * obj1 = 0 ;
19387 char *kwnames[] = {
19388 (char *) "self",(char *) "child", NULL
19389 };
19390
19391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19393 if (SWIG_arg_fail(1)) SWIG_fail;
19394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19395 if (SWIG_arg_fail(2)) SWIG_fail;
19396 {
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 (arg1)->base_AddChild(arg2);
19399
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 Py_INCREF(Py_None); resultobj = Py_None;
19404 return resultobj;
19405 fail:
19406 return NULL;
19407 }
19408
19409
19410 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19413 wxWindow *arg2 = (wxWindow *) 0 ;
19414 PyObject * obj0 = 0 ;
19415 PyObject * obj1 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self",(char *) "child", NULL
19418 };
19419
19420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19422 if (SWIG_arg_fail(1)) SWIG_fail;
19423 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19424 if (SWIG_arg_fail(2)) SWIG_fail;
19425 {
19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
19427 (arg1)->base_RemoveChild(arg2);
19428
19429 wxPyEndAllowThreads(__tstate);
19430 if (PyErr_Occurred()) SWIG_fail;
19431 }
19432 Py_INCREF(Py_None); resultobj = Py_None;
19433 return resultobj;
19434 fail:
19435 return NULL;
19436 }
19437
19438
19439 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19440 PyObject *resultobj;
19441 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19442 bool result;
19443 PyObject * obj0 = 0 ;
19444 char *kwnames[] = {
19445 (char *) "self", NULL
19446 };
19447
19448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19450 if (SWIG_arg_fail(1)) SWIG_fail;
19451 {
19452 PyThreadState* __tstate = wxPyBeginAllowThreads();
19453 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19454
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 {
19459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19460 }
19461 return resultobj;
19462 fail:
19463 return NULL;
19464 }
19465
19466
19467 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj;
19469 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19470 wxVisualAttributes result;
19471 PyObject * obj0 = 0 ;
19472 char *kwnames[] = {
19473 (char *) "self", NULL
19474 };
19475
19476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19478 if (SWIG_arg_fail(1)) SWIG_fail;
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 result = (arg1)->base_GetDefaultAttributes();
19482
19483 wxPyEndAllowThreads(__tstate);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 {
19487 wxVisualAttributes * resultptr;
19488 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
19489 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19490 }
19491 return resultobj;
19492 fail:
19493 return NULL;
19494 }
19495
19496
19497 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19498 PyObject *obj;
19499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19500 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19501 Py_INCREF(obj);
19502 return Py_BuildValue((char *)"");
19503 }
19504 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj;
19506 wxWindow *arg1 = (wxWindow *) 0 ;
19507 int arg2 = (int) (int)-1 ;
19508 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19509 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19510 wxSize const &arg4_defvalue = wxDefaultSize ;
19511 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19512 long arg5 = (long) 0 ;
19513 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19514 wxString *arg6 = (wxString *) &arg6_defvalue ;
19515 wxPyScrolledWindow *result;
19516 wxPoint temp3 ;
19517 wxSize temp4 ;
19518 bool temp6 = false ;
19519 PyObject * obj0 = 0 ;
19520 PyObject * obj1 = 0 ;
19521 PyObject * obj2 = 0 ;
19522 PyObject * obj3 = 0 ;
19523 PyObject * obj4 = 0 ;
19524 PyObject * obj5 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19531 if (SWIG_arg_fail(1)) SWIG_fail;
19532 if (obj1) {
19533 {
19534 arg2 = (int const)(SWIG_As_int(obj1));
19535 if (SWIG_arg_fail(2)) SWIG_fail;
19536 }
19537 }
19538 if (obj2) {
19539 {
19540 arg3 = &temp3;
19541 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19542 }
19543 }
19544 if (obj3) {
19545 {
19546 arg4 = &temp4;
19547 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19548 }
19549 }
19550 if (obj4) {
19551 {
19552 arg5 = (long)(SWIG_As_long(obj4));
19553 if (SWIG_arg_fail(5)) SWIG_fail;
19554 }
19555 }
19556 if (obj5) {
19557 {
19558 arg6 = wxString_in_helper(obj5);
19559 if (arg6 == NULL) SWIG_fail;
19560 temp6 = true;
19561 }
19562 }
19563 {
19564 if (!wxPyCheckForApp()) SWIG_fail;
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19567
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19572 {
19573 if (temp6)
19574 delete arg6;
19575 }
19576 return resultobj;
19577 fail:
19578 {
19579 if (temp6)
19580 delete arg6;
19581 }
19582 return NULL;
19583 }
19584
19585
19586 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19587 PyObject *resultobj;
19588 wxPyScrolledWindow *result;
19589 char *kwnames[] = {
19590 NULL
19591 };
19592
19593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19594 {
19595 if (!wxPyCheckForApp()) SWIG_fail;
19596 PyThreadState* __tstate = wxPyBeginAllowThreads();
19597 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19598
19599 wxPyEndAllowThreads(__tstate);
19600 if (PyErr_Occurred()) SWIG_fail;
19601 }
19602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19603 return resultobj;
19604 fail:
19605 return NULL;
19606 }
19607
19608
19609 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19610 PyObject *resultobj;
19611 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19612 PyObject *arg2 = (PyObject *) 0 ;
19613 PyObject *arg3 = (PyObject *) 0 ;
19614 PyObject * obj0 = 0 ;
19615 PyObject * obj1 = 0 ;
19616 PyObject * obj2 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self",(char *) "self",(char *) "_class", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19623 if (SWIG_arg_fail(1)) SWIG_fail;
19624 arg2 = obj1;
19625 arg3 = obj2;
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 (arg1)->_setCallbackInfo(arg2,arg3);
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 Py_INCREF(Py_None); resultobj = Py_None;
19634 return resultobj;
19635 fail:
19636 return NULL;
19637 }
19638
19639
19640 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19641 PyObject *resultobj;
19642 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19643 wxSize *arg2 = 0 ;
19644 wxSize temp2 ;
19645 PyObject * obj0 = 0 ;
19646 PyObject * obj1 = 0 ;
19647 char *kwnames[] = {
19648 (char *) "self",(char *) "size", NULL
19649 };
19650
19651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19653 if (SWIG_arg_fail(1)) SWIG_fail;
19654 {
19655 arg2 = &temp2;
19656 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19657 }
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 (arg1)->SetBestSize((wxSize const &)*arg2);
19661
19662 wxPyEndAllowThreads(__tstate);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 }
19665 Py_INCREF(Py_None); resultobj = Py_None;
19666 return resultobj;
19667 fail:
19668 return NULL;
19669 }
19670
19671
19672 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19673 PyObject *resultobj;
19674 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19675 int arg2 ;
19676 int arg3 ;
19677 int arg4 ;
19678 int arg5 ;
19679 PyObject * obj0 = 0 ;
19680 PyObject * obj1 = 0 ;
19681 PyObject * obj2 = 0 ;
19682 PyObject * obj3 = 0 ;
19683 PyObject * obj4 = 0 ;
19684 char *kwnames[] = {
19685 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19686 };
19687
19688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19690 if (SWIG_arg_fail(1)) SWIG_fail;
19691 {
19692 arg2 = (int)(SWIG_As_int(obj1));
19693 if (SWIG_arg_fail(2)) SWIG_fail;
19694 }
19695 {
19696 arg3 = (int)(SWIG_As_int(obj2));
19697 if (SWIG_arg_fail(3)) SWIG_fail;
19698 }
19699 {
19700 arg4 = (int)(SWIG_As_int(obj3));
19701 if (SWIG_arg_fail(4)) SWIG_fail;
19702 }
19703 {
19704 arg5 = (int)(SWIG_As_int(obj4));
19705 if (SWIG_arg_fail(5)) SWIG_fail;
19706 }
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 Py_INCREF(Py_None); resultobj = Py_None;
19715 return resultobj;
19716 fail:
19717 return NULL;
19718 }
19719
19720
19721 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19722 PyObject *resultobj;
19723 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19724 int arg2 ;
19725 int arg3 ;
19726 int arg4 ;
19727 int arg5 ;
19728 int arg6 = (int) wxSIZE_AUTO ;
19729 PyObject * obj0 = 0 ;
19730 PyObject * obj1 = 0 ;
19731 PyObject * obj2 = 0 ;
19732 PyObject * obj3 = 0 ;
19733 PyObject * obj4 = 0 ;
19734 PyObject * obj5 = 0 ;
19735 char *kwnames[] = {
19736 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19737 };
19738
19739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19741 if (SWIG_arg_fail(1)) SWIG_fail;
19742 {
19743 arg2 = (int)(SWIG_As_int(obj1));
19744 if (SWIG_arg_fail(2)) SWIG_fail;
19745 }
19746 {
19747 arg3 = (int)(SWIG_As_int(obj2));
19748 if (SWIG_arg_fail(3)) SWIG_fail;
19749 }
19750 {
19751 arg4 = (int)(SWIG_As_int(obj3));
19752 if (SWIG_arg_fail(4)) SWIG_fail;
19753 }
19754 {
19755 arg5 = (int)(SWIG_As_int(obj4));
19756 if (SWIG_arg_fail(5)) SWIG_fail;
19757 }
19758 if (obj5) {
19759 {
19760 arg6 = (int)(SWIG_As_int(obj5));
19761 if (SWIG_arg_fail(6)) SWIG_fail;
19762 }
19763 }
19764 {
19765 PyThreadState* __tstate = wxPyBeginAllowThreads();
19766 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19767
19768 wxPyEndAllowThreads(__tstate);
19769 if (PyErr_Occurred()) SWIG_fail;
19770 }
19771 Py_INCREF(Py_None); resultobj = Py_None;
19772 return resultobj;
19773 fail:
19774 return NULL;
19775 }
19776
19777
19778 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19781 int arg2 ;
19782 int arg3 ;
19783 PyObject * obj0 = 0 ;
19784 PyObject * obj1 = 0 ;
19785 PyObject * obj2 = 0 ;
19786 char *kwnames[] = {
19787 (char *) "self",(char *) "width",(char *) "height", NULL
19788 };
19789
19790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19792 if (SWIG_arg_fail(1)) SWIG_fail;
19793 {
19794 arg2 = (int)(SWIG_As_int(obj1));
19795 if (SWIG_arg_fail(2)) SWIG_fail;
19796 }
19797 {
19798 arg3 = (int)(SWIG_As_int(obj2));
19799 if (SWIG_arg_fail(3)) SWIG_fail;
19800 }
19801 {
19802 PyThreadState* __tstate = wxPyBeginAllowThreads();
19803 (arg1)->base_DoSetClientSize(arg2,arg3);
19804
19805 wxPyEndAllowThreads(__tstate);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 }
19808 Py_INCREF(Py_None); resultobj = Py_None;
19809 return resultobj;
19810 fail:
19811 return NULL;
19812 }
19813
19814
19815 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19816 PyObject *resultobj;
19817 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19818 int arg2 ;
19819 int arg3 ;
19820 PyObject * obj0 = 0 ;
19821 PyObject * obj1 = 0 ;
19822 PyObject * obj2 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self",(char *) "x",(char *) "y", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19829 if (SWIG_arg_fail(1)) SWIG_fail;
19830 {
19831 arg2 = (int)(SWIG_As_int(obj1));
19832 if (SWIG_arg_fail(2)) SWIG_fail;
19833 }
19834 {
19835 arg3 = (int)(SWIG_As_int(obj2));
19836 if (SWIG_arg_fail(3)) SWIG_fail;
19837 }
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19841
19842 wxPyEndAllowThreads(__tstate);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 }
19845 Py_INCREF(Py_None); resultobj = Py_None;
19846 return resultobj;
19847 fail:
19848 return NULL;
19849 }
19850
19851
19852 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19853 PyObject *resultobj;
19854 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19855 int *arg2 = (int *) 0 ;
19856 int *arg3 = (int *) 0 ;
19857 int temp2 ;
19858 int res2 = 0 ;
19859 int temp3 ;
19860 int res3 = 0 ;
19861 PyObject * obj0 = 0 ;
19862 char *kwnames[] = {
19863 (char *) "self", NULL
19864 };
19865
19866 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19867 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
19869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19870 if (SWIG_arg_fail(1)) SWIG_fail;
19871 {
19872 PyThreadState* __tstate = wxPyBeginAllowThreads();
19873 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19874
19875 wxPyEndAllowThreads(__tstate);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 }
19878 Py_INCREF(Py_None); resultobj = Py_None;
19879 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19880 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19881 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19882 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj;
19891 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19892 int *arg2 = (int *) 0 ;
19893 int *arg3 = (int *) 0 ;
19894 int temp2 ;
19895 int res2 = 0 ;
19896 int temp3 ;
19897 int res3 = 0 ;
19898 PyObject * obj0 = 0 ;
19899 char *kwnames[] = {
19900 (char *) "self", NULL
19901 };
19902
19903 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19904 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19907 if (SWIG_arg_fail(1)) SWIG_fail;
19908 {
19909 PyThreadState* __tstate = wxPyBeginAllowThreads();
19910 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19911
19912 wxPyEndAllowThreads(__tstate);
19913 if (PyErr_Occurred()) SWIG_fail;
19914 }
19915 Py_INCREF(Py_None); resultobj = Py_None;
19916 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19917 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19918 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19919 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19920 return resultobj;
19921 fail:
19922 return NULL;
19923 }
19924
19925
19926 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19927 PyObject *resultobj;
19928 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19929 int *arg2 = (int *) 0 ;
19930 int *arg3 = (int *) 0 ;
19931 int temp2 ;
19932 int res2 = 0 ;
19933 int temp3 ;
19934 int res3 = 0 ;
19935 PyObject * obj0 = 0 ;
19936 char *kwnames[] = {
19937 (char *) "self", NULL
19938 };
19939
19940 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19941 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
19943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19944 if (SWIG_arg_fail(1)) SWIG_fail;
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 Py_INCREF(Py_None); resultobj = Py_None;
19953 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19954 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19955 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19956 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19957 return resultobj;
19958 fail:
19959 return NULL;
19960 }
19961
19962
19963 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19964 PyObject *resultobj;
19965 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19966 wxSize result;
19967 PyObject * obj0 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19974 if (SWIG_arg_fail(1)) SWIG_fail;
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 {
19983 wxSize * resultptr;
19984 resultptr = new wxSize((wxSize &)(result));
19985 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19986 }
19987 return resultobj;
19988 fail:
19989 return NULL;
19990 }
19991
19992
19993 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj;
19995 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19996 wxSize result;
19997 PyObject * obj0 = 0 ;
19998 char *kwnames[] = {
19999 (char *) "self", NULL
20000 };
20001
20002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
20003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20004 if (SWIG_arg_fail(1)) SWIG_fail;
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20008
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 {
20013 wxSize * resultptr;
20014 resultptr = new wxSize((wxSize &)(result));
20015 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20016 }
20017 return resultobj;
20018 fail:
20019 return NULL;
20020 }
20021
20022
20023 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20024 PyObject *resultobj;
20025 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20026 PyObject * obj0 = 0 ;
20027 char *kwnames[] = {
20028 (char *) "self", NULL
20029 };
20030
20031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
20032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20033 if (SWIG_arg_fail(1)) SWIG_fail;
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 (arg1)->base_InitDialog();
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 Py_INCREF(Py_None); resultobj = Py_None;
20042 return resultobj;
20043 fail:
20044 return NULL;
20045 }
20046
20047
20048 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20049 PyObject *resultobj;
20050 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20051 bool result;
20052 PyObject * obj0 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
20058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail;
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 result = (bool)(arg1)->base_TransferDataToWindow();
20063
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 {
20068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20069 }
20070 return resultobj;
20071 fail:
20072 return NULL;
20073 }
20074
20075
20076 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20077 PyObject *resultobj;
20078 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20079 bool result;
20080 PyObject * obj0 = 0 ;
20081 char *kwnames[] = {
20082 (char *) "self", NULL
20083 };
20084
20085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
20086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20087 if (SWIG_arg_fail(1)) SWIG_fail;
20088 {
20089 PyThreadState* __tstate = wxPyBeginAllowThreads();
20090 result = (bool)(arg1)->base_TransferDataFromWindow();
20091
20092 wxPyEndAllowThreads(__tstate);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 }
20095 {
20096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20097 }
20098 return resultobj;
20099 fail:
20100 return NULL;
20101 }
20102
20103
20104 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
20105 PyObject *resultobj;
20106 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20107 bool result;
20108 PyObject * obj0 = 0 ;
20109 char *kwnames[] = {
20110 (char *) "self", NULL
20111 };
20112
20113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
20114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20115 if (SWIG_arg_fail(1)) SWIG_fail;
20116 {
20117 PyThreadState* __tstate = wxPyBeginAllowThreads();
20118 result = (bool)(arg1)->base_Validate();
20119
20120 wxPyEndAllowThreads(__tstate);
20121 if (PyErr_Occurred()) SWIG_fail;
20122 }
20123 {
20124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20125 }
20126 return resultobj;
20127 fail:
20128 return NULL;
20129 }
20130
20131
20132 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
20133 PyObject *resultobj;
20134 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20135 bool result;
20136 PyObject * obj0 = 0 ;
20137 char *kwnames[] = {
20138 (char *) "self", NULL
20139 };
20140
20141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
20142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20143 if (SWIG_arg_fail(1)) SWIG_fail;
20144 {
20145 PyThreadState* __tstate = wxPyBeginAllowThreads();
20146 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20147
20148 wxPyEndAllowThreads(__tstate);
20149 if (PyErr_Occurred()) SWIG_fail;
20150 }
20151 {
20152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20153 }
20154 return resultobj;
20155 fail:
20156 return NULL;
20157 }
20158
20159
20160 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
20161 PyObject *resultobj;
20162 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20163 bool result;
20164 PyObject * obj0 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20171 if (SWIG_arg_fail(1)) SWIG_fail;
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 {
20180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20181 }
20182 return resultobj;
20183 fail:
20184 return NULL;
20185 }
20186
20187
20188 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20189 PyObject *resultobj;
20190 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20191 wxSize result;
20192 PyObject * obj0 = 0 ;
20193 char *kwnames[] = {
20194 (char *) "self", NULL
20195 };
20196
20197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
20198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20199 if (SWIG_arg_fail(1)) SWIG_fail;
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20203
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 {
20208 wxSize * resultptr;
20209 resultptr = new wxSize((wxSize &)(result));
20210 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20211 }
20212 return resultobj;
20213 fail:
20214 return NULL;
20215 }
20216
20217
20218 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20219 PyObject *resultobj;
20220 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20221 wxWindow *arg2 = (wxWindow *) 0 ;
20222 PyObject * obj0 = 0 ;
20223 PyObject * obj1 = 0 ;
20224 char *kwnames[] = {
20225 (char *) "self",(char *) "child", NULL
20226 };
20227
20228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
20229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20230 if (SWIG_arg_fail(1)) SWIG_fail;
20231 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20232 if (SWIG_arg_fail(2)) SWIG_fail;
20233 {
20234 PyThreadState* __tstate = wxPyBeginAllowThreads();
20235 (arg1)->base_AddChild(arg2);
20236
20237 wxPyEndAllowThreads(__tstate);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
20240 Py_INCREF(Py_None); resultobj = Py_None;
20241 return resultobj;
20242 fail:
20243 return NULL;
20244 }
20245
20246
20247 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj;
20249 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20250 wxWindow *arg2 = (wxWindow *) 0 ;
20251 PyObject * obj0 = 0 ;
20252 PyObject * obj1 = 0 ;
20253 char *kwnames[] = {
20254 (char *) "self",(char *) "child", NULL
20255 };
20256
20257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20259 if (SWIG_arg_fail(1)) SWIG_fail;
20260 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20261 if (SWIG_arg_fail(2)) SWIG_fail;
20262 {
20263 PyThreadState* __tstate = wxPyBeginAllowThreads();
20264 (arg1)->base_RemoveChild(arg2);
20265
20266 wxPyEndAllowThreads(__tstate);
20267 if (PyErr_Occurred()) SWIG_fail;
20268 }
20269 Py_INCREF(Py_None); resultobj = Py_None;
20270 return resultobj;
20271 fail:
20272 return NULL;
20273 }
20274
20275
20276 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20277 PyObject *resultobj;
20278 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20279 bool result;
20280 PyObject * obj0 = 0 ;
20281 char *kwnames[] = {
20282 (char *) "self", NULL
20283 };
20284
20285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20287 if (SWIG_arg_fail(1)) SWIG_fail;
20288 {
20289 PyThreadState* __tstate = wxPyBeginAllowThreads();
20290 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20291
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 {
20296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20297 }
20298 return resultobj;
20299 fail:
20300 return NULL;
20301 }
20302
20303
20304 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj;
20306 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20307 wxVisualAttributes result;
20308 PyObject * obj0 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20315 if (SWIG_arg_fail(1)) SWIG_fail;
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 result = (arg1)->base_GetDefaultAttributes();
20319
20320 wxPyEndAllowThreads(__tstate);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 }
20323 {
20324 wxVisualAttributes * resultptr;
20325 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
20326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20327 }
20328 return resultobj;
20329 fail:
20330 return NULL;
20331 }
20332
20333
20334 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20335 PyObject *obj;
20336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20337 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20338 Py_INCREF(obj);
20339 return Py_BuildValue((char *)"");
20340 }
20341 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20342 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20343 return 1;
20344 }
20345
20346
20347 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20348 PyObject *pyobj;
20349
20350 {
20351 #if wxUSE_UNICODE
20352 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20353 #else
20354 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20355 #endif
20356 }
20357 return pyobj;
20358 }
20359
20360
20361 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20362 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20363 return 1;
20364 }
20365
20366
20367 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20368 PyObject *pyobj;
20369
20370 {
20371 #if wxUSE_UNICODE
20372 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20373 #else
20374 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20375 #endif
20376 }
20377 return pyobj;
20378 }
20379
20380
20381 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20382 PyObject *resultobj;
20383 wxPrintData *result;
20384
20385 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
20388 result = (wxPrintData *)new wxPrintData();
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
20393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20394 return resultobj;
20395 fail:
20396 return NULL;
20397 }
20398
20399
20400 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20401 PyObject *resultobj;
20402 wxPrintData *arg1 = 0 ;
20403 wxPrintData *result;
20404 PyObject * obj0 = 0 ;
20405
20406 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20407 {
20408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20409 if (SWIG_arg_fail(1)) SWIG_fail;
20410 if (arg1 == NULL) {
20411 SWIG_null_ref("wxPrintData");
20412 }
20413 if (SWIG_arg_fail(1)) SWIG_fail;
20414 }
20415 {
20416 PyThreadState* __tstate = wxPyBeginAllowThreads();
20417 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20418
20419 wxPyEndAllowThreads(__tstate);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 }
20422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20423 return resultobj;
20424 fail:
20425 return NULL;
20426 }
20427
20428
20429 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20430 int argc;
20431 PyObject *argv[2];
20432 int ii;
20433
20434 argc = PyObject_Length(args);
20435 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20436 argv[ii] = PyTuple_GetItem(args,ii);
20437 }
20438 if (argc == 0) {
20439 return _wrap_new_PrintData__SWIG_0(self,args);
20440 }
20441 if (argc == 1) {
20442 int _v;
20443 {
20444 void *ptr = 0;
20445 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20446 _v = 0;
20447 PyErr_Clear();
20448 } else {
20449 _v = (ptr != 0);
20450 }
20451 }
20452 if (_v) {
20453 return _wrap_new_PrintData__SWIG_1(self,args);
20454 }
20455 }
20456
20457 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20458 return NULL;
20459 }
20460
20461
20462 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20463 PyObject *resultobj;
20464 wxPrintData *arg1 = (wxPrintData *) 0 ;
20465 PyObject * obj0 = 0 ;
20466 char *kwnames[] = {
20467 (char *) "self", NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20472 if (SWIG_arg_fail(1)) SWIG_fail;
20473 {
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 delete arg1;
20476
20477 wxPyEndAllowThreads(__tstate);
20478 if (PyErr_Occurred()) SWIG_fail;
20479 }
20480 Py_INCREF(Py_None); resultobj = Py_None;
20481 return resultobj;
20482 fail:
20483 return NULL;
20484 }
20485
20486
20487 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20488 PyObject *resultobj;
20489 wxPrintData *arg1 = (wxPrintData *) 0 ;
20490 int result;
20491 PyObject * obj0 = 0 ;
20492 char *kwnames[] = {
20493 (char *) "self", NULL
20494 };
20495
20496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20498 if (SWIG_arg_fail(1)) SWIG_fail;
20499 {
20500 PyThreadState* __tstate = wxPyBeginAllowThreads();
20501 result = (int)(arg1)->GetNoCopies();
20502
20503 wxPyEndAllowThreads(__tstate);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 }
20506 {
20507 resultobj = SWIG_From_int((int)(result));
20508 }
20509 return resultobj;
20510 fail:
20511 return NULL;
20512 }
20513
20514
20515 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20516 PyObject *resultobj;
20517 wxPrintData *arg1 = (wxPrintData *) 0 ;
20518 bool result;
20519 PyObject * obj0 = 0 ;
20520 char *kwnames[] = {
20521 (char *) "self", NULL
20522 };
20523
20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20526 if (SWIG_arg_fail(1)) SWIG_fail;
20527 {
20528 PyThreadState* __tstate = wxPyBeginAllowThreads();
20529 result = (bool)(arg1)->GetCollate();
20530
20531 wxPyEndAllowThreads(__tstate);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 }
20534 {
20535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20536 }
20537 return resultobj;
20538 fail:
20539 return NULL;
20540 }
20541
20542
20543 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20544 PyObject *resultobj;
20545 wxPrintData *arg1 = (wxPrintData *) 0 ;
20546 int result;
20547 PyObject * obj0 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "self", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20554 if (SWIG_arg_fail(1)) SWIG_fail;
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 result = (int)(arg1)->GetOrientation();
20558
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 {
20563 resultobj = SWIG_From_int((int)(result));
20564 }
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxPrintData *arg1 = (wxPrintData *) 0 ;
20574 bool result;
20575 PyObject * obj0 = 0 ;
20576 char *kwnames[] = {
20577 (char *) "self", NULL
20578 };
20579
20580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20582 if (SWIG_arg_fail(1)) SWIG_fail;
20583 {
20584 PyThreadState* __tstate = wxPyBeginAllowThreads();
20585 result = (bool)(arg1)->Ok();
20586
20587 wxPyEndAllowThreads(__tstate);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 {
20591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20592 }
20593 return resultobj;
20594 fail:
20595 return NULL;
20596 }
20597
20598
20599 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20600 PyObject *resultobj;
20601 wxPrintData *arg1 = (wxPrintData *) 0 ;
20602 wxString *result;
20603 PyObject * obj0 = 0 ;
20604 char *kwnames[] = {
20605 (char *) "self", NULL
20606 };
20607
20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20610 if (SWIG_arg_fail(1)) SWIG_fail;
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 {
20614 wxString const &_result_ref = (arg1)->GetPrinterName();
20615 result = (wxString *) &_result_ref;
20616 }
20617
20618 wxPyEndAllowThreads(__tstate);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 }
20621 {
20622 #if wxUSE_UNICODE
20623 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20624 #else
20625 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20626 #endif
20627 }
20628 return resultobj;
20629 fail:
20630 return NULL;
20631 }
20632
20633
20634 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20635 PyObject *resultobj;
20636 wxPrintData *arg1 = (wxPrintData *) 0 ;
20637 bool result;
20638 PyObject * obj0 = 0 ;
20639 char *kwnames[] = {
20640 (char *) "self", NULL
20641 };
20642
20643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20645 if (SWIG_arg_fail(1)) SWIG_fail;
20646 {
20647 PyThreadState* __tstate = wxPyBeginAllowThreads();
20648 result = (bool)(arg1)->GetColour();
20649
20650 wxPyEndAllowThreads(__tstate);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 }
20653 {
20654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20655 }
20656 return resultobj;
20657 fail:
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj;
20664 wxPrintData *arg1 = (wxPrintData *) 0 ;
20665 wxDuplexMode result;
20666 PyObject * obj0 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20673 if (SWIG_arg_fail(1)) SWIG_fail;
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 result = (wxDuplexMode)(arg1)->GetDuplex();
20677
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
20681 resultobj = SWIG_From_int((result));
20682 return resultobj;
20683 fail:
20684 return NULL;
20685 }
20686
20687
20688 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20689 PyObject *resultobj;
20690 wxPrintData *arg1 = (wxPrintData *) 0 ;
20691 wxPaperSize result;
20692 PyObject * obj0 = 0 ;
20693 char *kwnames[] = {
20694 (char *) "self", NULL
20695 };
20696
20697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20699 if (SWIG_arg_fail(1)) SWIG_fail;
20700 {
20701 PyThreadState* __tstate = wxPyBeginAllowThreads();
20702 result = (wxPaperSize)(arg1)->GetPaperId();
20703
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 resultobj = SWIG_From_int((result));
20708 return resultobj;
20709 fail:
20710 return NULL;
20711 }
20712
20713
20714 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20715 PyObject *resultobj;
20716 wxPrintData *arg1 = (wxPrintData *) 0 ;
20717 wxSize *result;
20718 PyObject * obj0 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail;
20726 {
20727 PyThreadState* __tstate = wxPyBeginAllowThreads();
20728 {
20729 wxSize const &_result_ref = (arg1)->GetPaperSize();
20730 result = (wxSize *) &_result_ref;
20731 }
20732
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxPrintData *arg1 = (wxPrintData *) 0 ;
20746 int result;
20747 PyObject * obj0 = 0 ;
20748 char *kwnames[] = {
20749 (char *) "self", NULL
20750 };
20751
20752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
20753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20754 if (SWIG_arg_fail(1)) SWIG_fail;
20755 {
20756 PyThreadState* __tstate = wxPyBeginAllowThreads();
20757 result = (int)(arg1)->GetQuality();
20758
20759 wxPyEndAllowThreads(__tstate);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 }
20762 {
20763 resultobj = SWIG_From_int((int)(result));
20764 }
20765 return resultobj;
20766 fail:
20767 return NULL;
20768 }
20769
20770
20771 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20772 PyObject *resultobj;
20773 wxPrintData *arg1 = (wxPrintData *) 0 ;
20774 wxPrintBin result;
20775 PyObject * obj0 = 0 ;
20776 char *kwnames[] = {
20777 (char *) "self", NULL
20778 };
20779
20780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
20781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20782 if (SWIG_arg_fail(1)) SWIG_fail;
20783 {
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 result = (wxPrintBin)(arg1)->GetBin();
20786
20787 wxPyEndAllowThreads(__tstate);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 }
20790 resultobj = SWIG_From_int((result));
20791 return resultobj;
20792 fail:
20793 return NULL;
20794 }
20795
20796
20797 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20798 PyObject *resultobj;
20799 wxPrintData *arg1 = (wxPrintData *) 0 ;
20800 wxPrintMode result;
20801 PyObject * obj0 = 0 ;
20802 char *kwnames[] = {
20803 (char *) "self", NULL
20804 };
20805
20806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
20807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20808 if (SWIG_arg_fail(1)) SWIG_fail;
20809 {
20810 PyThreadState* __tstate = wxPyBeginAllowThreads();
20811 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
20812
20813 wxPyEndAllowThreads(__tstate);
20814 if (PyErr_Occurred()) SWIG_fail;
20815 }
20816 resultobj = SWIG_From_int((result));
20817 return resultobj;
20818 fail:
20819 return NULL;
20820 }
20821
20822
20823 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20824 PyObject *resultobj;
20825 wxPrintData *arg1 = (wxPrintData *) 0 ;
20826 int arg2 ;
20827 PyObject * obj0 = 0 ;
20828 PyObject * obj1 = 0 ;
20829 char *kwnames[] = {
20830 (char *) "self",(char *) "v", NULL
20831 };
20832
20833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20835 if (SWIG_arg_fail(1)) SWIG_fail;
20836 {
20837 arg2 = (int)(SWIG_As_int(obj1));
20838 if (SWIG_arg_fail(2)) SWIG_fail;
20839 }
20840 {
20841 PyThreadState* __tstate = wxPyBeginAllowThreads();
20842 (arg1)->SetNoCopies(arg2);
20843
20844 wxPyEndAllowThreads(__tstate);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 }
20847 Py_INCREF(Py_None); resultobj = Py_None;
20848 return resultobj;
20849 fail:
20850 return NULL;
20851 }
20852
20853
20854 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20855 PyObject *resultobj;
20856 wxPrintData *arg1 = (wxPrintData *) 0 ;
20857 bool arg2 ;
20858 PyObject * obj0 = 0 ;
20859 PyObject * obj1 = 0 ;
20860 char *kwnames[] = {
20861 (char *) "self",(char *) "flag", NULL
20862 };
20863
20864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20866 if (SWIG_arg_fail(1)) SWIG_fail;
20867 {
20868 arg2 = (bool)(SWIG_As_bool(obj1));
20869 if (SWIG_arg_fail(2)) SWIG_fail;
20870 }
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 (arg1)->SetCollate(arg2);
20874
20875 wxPyEndAllowThreads(__tstate);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 Py_INCREF(Py_None); resultobj = Py_None;
20879 return resultobj;
20880 fail:
20881 return NULL;
20882 }
20883
20884
20885 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20886 PyObject *resultobj;
20887 wxPrintData *arg1 = (wxPrintData *) 0 ;
20888 int arg2 ;
20889 PyObject * obj0 = 0 ;
20890 PyObject * obj1 = 0 ;
20891 char *kwnames[] = {
20892 (char *) "self",(char *) "orient", NULL
20893 };
20894
20895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
20896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20897 if (SWIG_arg_fail(1)) SWIG_fail;
20898 {
20899 arg2 = (int)(SWIG_As_int(obj1));
20900 if (SWIG_arg_fail(2)) SWIG_fail;
20901 }
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 (arg1)->SetOrientation(arg2);
20905
20906 wxPyEndAllowThreads(__tstate);
20907 if (PyErr_Occurred()) SWIG_fail;
20908 }
20909 Py_INCREF(Py_None); resultobj = Py_None;
20910 return resultobj;
20911 fail:
20912 return NULL;
20913 }
20914
20915
20916 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20917 PyObject *resultobj;
20918 wxPrintData *arg1 = (wxPrintData *) 0 ;
20919 wxString *arg2 = 0 ;
20920 bool temp2 = false ;
20921 PyObject * obj0 = 0 ;
20922 PyObject * obj1 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self",(char *) "name", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
20928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20929 if (SWIG_arg_fail(1)) SWIG_fail;
20930 {
20931 arg2 = wxString_in_helper(obj1);
20932 if (arg2 == NULL) SWIG_fail;
20933 temp2 = true;
20934 }
20935 {
20936 PyThreadState* __tstate = wxPyBeginAllowThreads();
20937 (arg1)->SetPrinterName((wxString const &)*arg2);
20938
20939 wxPyEndAllowThreads(__tstate);
20940 if (PyErr_Occurred()) SWIG_fail;
20941 }
20942 Py_INCREF(Py_None); resultobj = Py_None;
20943 {
20944 if (temp2)
20945 delete arg2;
20946 }
20947 return resultobj;
20948 fail:
20949 {
20950 if (temp2)
20951 delete arg2;
20952 }
20953 return NULL;
20954 }
20955
20956
20957 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20958 PyObject *resultobj;
20959 wxPrintData *arg1 = (wxPrintData *) 0 ;
20960 bool arg2 ;
20961 PyObject * obj0 = 0 ;
20962 PyObject * obj1 = 0 ;
20963 char *kwnames[] = {
20964 (char *) "self",(char *) "colour", NULL
20965 };
20966
20967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
20968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20969 if (SWIG_arg_fail(1)) SWIG_fail;
20970 {
20971 arg2 = (bool)(SWIG_As_bool(obj1));
20972 if (SWIG_arg_fail(2)) SWIG_fail;
20973 }
20974 {
20975 PyThreadState* __tstate = wxPyBeginAllowThreads();
20976 (arg1)->SetColour(arg2);
20977
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
20981 Py_INCREF(Py_None); resultobj = Py_None;
20982 return resultobj;
20983 fail:
20984 return NULL;
20985 }
20986
20987
20988 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20989 PyObject *resultobj;
20990 wxPrintData *arg1 = (wxPrintData *) 0 ;
20991 wxDuplexMode arg2 ;
20992 PyObject * obj0 = 0 ;
20993 PyObject * obj1 = 0 ;
20994 char *kwnames[] = {
20995 (char *) "self",(char *) "duplex", NULL
20996 };
20997
20998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
20999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21000 if (SWIG_arg_fail(1)) SWIG_fail;
21001 {
21002 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
21003 if (SWIG_arg_fail(2)) SWIG_fail;
21004 }
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 (arg1)->SetDuplex((wxDuplexMode )arg2);
21008
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
21012 Py_INCREF(Py_None); resultobj = Py_None;
21013 return resultobj;
21014 fail:
21015 return NULL;
21016 }
21017
21018
21019 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
21020 PyObject *resultobj;
21021 wxPrintData *arg1 = (wxPrintData *) 0 ;
21022 wxPaperSize arg2 ;
21023 PyObject * obj0 = 0 ;
21024 PyObject * obj1 = 0 ;
21025 char *kwnames[] = {
21026 (char *) "self",(char *) "sizeId", NULL
21027 };
21028
21029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
21030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21031 if (SWIG_arg_fail(1)) SWIG_fail;
21032 {
21033 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
21034 if (SWIG_arg_fail(2)) SWIG_fail;
21035 }
21036 {
21037 PyThreadState* __tstate = wxPyBeginAllowThreads();
21038 (arg1)->SetPaperId((wxPaperSize )arg2);
21039
21040 wxPyEndAllowThreads(__tstate);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 }
21043 Py_INCREF(Py_None); resultobj = Py_None;
21044 return resultobj;
21045 fail:
21046 return NULL;
21047 }
21048
21049
21050 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
21051 PyObject *resultobj;
21052 wxPrintData *arg1 = (wxPrintData *) 0 ;
21053 wxSize *arg2 = 0 ;
21054 wxSize temp2 ;
21055 PyObject * obj0 = 0 ;
21056 PyObject * obj1 = 0 ;
21057 char *kwnames[] = {
21058 (char *) "self",(char *) "sz", NULL
21059 };
21060
21061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
21062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21063 if (SWIG_arg_fail(1)) SWIG_fail;
21064 {
21065 arg2 = &temp2;
21066 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21067 }
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 (arg1)->SetPaperSize((wxSize const &)*arg2);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 Py_INCREF(Py_None); resultobj = Py_None;
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPrintData *arg1 = (wxPrintData *) 0 ;
21085 int arg2 ;
21086 PyObject * obj0 = 0 ;
21087 PyObject * obj1 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self",(char *) "quality", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
21093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21094 if (SWIG_arg_fail(1)) SWIG_fail;
21095 {
21096 arg2 = (int)(SWIG_As_int(obj1));
21097 if (SWIG_arg_fail(2)) SWIG_fail;
21098 }
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 (arg1)->SetQuality(arg2);
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 Py_INCREF(Py_None); resultobj = Py_None;
21107 return resultobj;
21108 fail:
21109 return NULL;
21110 }
21111
21112
21113 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21114 PyObject *resultobj;
21115 wxPrintData *arg1 = (wxPrintData *) 0 ;
21116 wxPrintBin arg2 ;
21117 PyObject * obj0 = 0 ;
21118 PyObject * obj1 = 0 ;
21119 char *kwnames[] = {
21120 (char *) "self",(char *) "bin", NULL
21121 };
21122
21123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
21124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21125 if (SWIG_arg_fail(1)) SWIG_fail;
21126 {
21127 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
21128 if (SWIG_arg_fail(2)) SWIG_fail;
21129 }
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 (arg1)->SetBin((wxPrintBin )arg2);
21133
21134 wxPyEndAllowThreads(__tstate);
21135 if (PyErr_Occurred()) SWIG_fail;
21136 }
21137 Py_INCREF(Py_None); resultobj = Py_None;
21138 return resultobj;
21139 fail:
21140 return NULL;
21141 }
21142
21143
21144 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21145 PyObject *resultobj;
21146 wxPrintData *arg1 = (wxPrintData *) 0 ;
21147 wxPrintMode arg2 ;
21148 PyObject * obj0 = 0 ;
21149 PyObject * obj1 = 0 ;
21150 char *kwnames[] = {
21151 (char *) "self",(char *) "printMode", NULL
21152 };
21153
21154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21156 if (SWIG_arg_fail(1)) SWIG_fail;
21157 {
21158 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21159 if (SWIG_arg_fail(2)) SWIG_fail;
21160 }
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 (arg1)->SetPrintMode((wxPrintMode )arg2);
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 Py_INCREF(Py_None); resultobj = Py_None;
21169 return resultobj;
21170 fail:
21171 return NULL;
21172 }
21173
21174
21175 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21176 PyObject *resultobj;
21177 wxPrintData *arg1 = (wxPrintData *) 0 ;
21178 wxString result;
21179 PyObject * obj0 = 0 ;
21180 char *kwnames[] = {
21181 (char *) "self", NULL
21182 };
21183
21184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21186 if (SWIG_arg_fail(1)) SWIG_fail;
21187 {
21188 PyThreadState* __tstate = wxPyBeginAllowThreads();
21189 result = ((wxPrintData const *)arg1)->GetFilename();
21190
21191 wxPyEndAllowThreads(__tstate);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
21194 {
21195 #if wxUSE_UNICODE
21196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21197 #else
21198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21199 #endif
21200 }
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxPrintData *arg1 = (wxPrintData *) 0 ;
21210 wxString *arg2 = 0 ;
21211 bool temp2 = false ;
21212 PyObject * obj0 = 0 ;
21213 PyObject * obj1 = 0 ;
21214 char *kwnames[] = {
21215 (char *) "self",(char *) "filename", NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21220 if (SWIG_arg_fail(1)) SWIG_fail;
21221 {
21222 arg2 = wxString_in_helper(obj1);
21223 if (arg2 == NULL) SWIG_fail;
21224 temp2 = true;
21225 }
21226 {
21227 PyThreadState* __tstate = wxPyBeginAllowThreads();
21228 (arg1)->SetFilename((wxString const &)*arg2);
21229
21230 wxPyEndAllowThreads(__tstate);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 }
21233 Py_INCREF(Py_None); resultobj = Py_None;
21234 {
21235 if (temp2)
21236 delete arg2;
21237 }
21238 return resultobj;
21239 fail:
21240 {
21241 if (temp2)
21242 delete arg2;
21243 }
21244 return NULL;
21245 }
21246
21247
21248 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21249 PyObject *resultobj;
21250 wxPrintData *arg1 = (wxPrintData *) 0 ;
21251 PyObject *result;
21252 PyObject * obj0 = 0 ;
21253 char *kwnames[] = {
21254 (char *) "self", NULL
21255 };
21256
21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21259 if (SWIG_arg_fail(1)) SWIG_fail;
21260 {
21261 PyThreadState* __tstate = wxPyBeginAllowThreads();
21262 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21263
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 resultobj = result;
21268 return resultobj;
21269 fail:
21270 return NULL;
21271 }
21272
21273
21274 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21275 PyObject *resultobj;
21276 wxPrintData *arg1 = (wxPrintData *) 0 ;
21277 PyObject *arg2 = (PyObject *) 0 ;
21278 PyObject * obj0 = 0 ;
21279 PyObject * obj1 = 0 ;
21280 char *kwnames[] = {
21281 (char *) "self",(char *) "data", NULL
21282 };
21283
21284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21286 if (SWIG_arg_fail(1)) SWIG_fail;
21287 arg2 = obj1;
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 wxPrintData_SetPrivData(arg1,arg2);
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 Py_INCREF(Py_None); resultobj = Py_None;
21296 return resultobj;
21297 fail:
21298 return NULL;
21299 }
21300
21301
21302 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj;
21304 wxPrintData *arg1 = (wxPrintData *) 0 ;
21305 wxString *result;
21306 PyObject * obj0 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
21312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21313 if (SWIG_arg_fail(1)) SWIG_fail;
21314 {
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 {
21317 wxString const &_result_ref = (arg1)->GetPrinterCommand();
21318 result = (wxString *) &_result_ref;
21319 }
21320
21321 wxPyEndAllowThreads(__tstate);
21322 if (PyErr_Occurred()) SWIG_fail;
21323 }
21324 {
21325 #if wxUSE_UNICODE
21326 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21327 #else
21328 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21329 #endif
21330 }
21331 return resultobj;
21332 fail:
21333 return NULL;
21334 }
21335
21336
21337 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21338 PyObject *resultobj;
21339 wxPrintData *arg1 = (wxPrintData *) 0 ;
21340 wxString *result;
21341 PyObject * obj0 = 0 ;
21342 char *kwnames[] = {
21343 (char *) "self", NULL
21344 };
21345
21346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
21347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21348 if (SWIG_arg_fail(1)) SWIG_fail;
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 {
21352 wxString const &_result_ref = (arg1)->GetPrinterOptions();
21353 result = (wxString *) &_result_ref;
21354 }
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 {
21360 #if wxUSE_UNICODE
21361 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21362 #else
21363 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21364 #endif
21365 }
21366 return resultobj;
21367 fail:
21368 return NULL;
21369 }
21370
21371
21372 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21373 PyObject *resultobj;
21374 wxPrintData *arg1 = (wxPrintData *) 0 ;
21375 wxString *result;
21376 PyObject * obj0 = 0 ;
21377 char *kwnames[] = {
21378 (char *) "self", NULL
21379 };
21380
21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
21382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail;
21384 {
21385 PyThreadState* __tstate = wxPyBeginAllowThreads();
21386 {
21387 wxString const &_result_ref = (arg1)->GetPreviewCommand();
21388 result = (wxString *) &_result_ref;
21389 }
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 {
21395 #if wxUSE_UNICODE
21396 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21397 #else
21398 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21399 #endif
21400 }
21401 return resultobj;
21402 fail:
21403 return NULL;
21404 }
21405
21406
21407 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21408 PyObject *resultobj;
21409 wxPrintData *arg1 = (wxPrintData *) 0 ;
21410 wxString *result;
21411 PyObject * obj0 = 0 ;
21412 char *kwnames[] = {
21413 (char *) "self", NULL
21414 };
21415
21416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
21417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21418 if (SWIG_arg_fail(1)) SWIG_fail;
21419 {
21420 PyThreadState* __tstate = wxPyBeginAllowThreads();
21421 {
21422 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21423 result = (wxString *) &_result_ref;
21424 }
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 {
21430 #if wxUSE_UNICODE
21431 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21432 #else
21433 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21434 #endif
21435 }
21436 return resultobj;
21437 fail:
21438 return NULL;
21439 }
21440
21441
21442 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21443 PyObject *resultobj;
21444 wxPrintData *arg1 = (wxPrintData *) 0 ;
21445 double result;
21446 PyObject * obj0 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
21452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail;
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 result = (double)(arg1)->GetPrinterScaleX();
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 {
21462 resultobj = SWIG_From_double((double)(result));
21463 }
21464 return resultobj;
21465 fail:
21466 return NULL;
21467 }
21468
21469
21470 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 wxPrintData *arg1 = (wxPrintData *) 0 ;
21473 double result;
21474 PyObject * obj0 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
21480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21481 if (SWIG_arg_fail(1)) SWIG_fail;
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 result = (double)(arg1)->GetPrinterScaleY();
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 {
21490 resultobj = SWIG_From_double((double)(result));
21491 }
21492 return resultobj;
21493 fail:
21494 return NULL;
21495 }
21496
21497
21498 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21499 PyObject *resultobj;
21500 wxPrintData *arg1 = (wxPrintData *) 0 ;
21501 long result;
21502 PyObject * obj0 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
21508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21509 if (SWIG_arg_fail(1)) SWIG_fail;
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 result = (long)(arg1)->GetPrinterTranslateX();
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 {
21518 resultobj = SWIG_From_long((long)(result));
21519 }
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxPrintData *arg1 = (wxPrintData *) 0 ;
21529 long result;
21530 PyObject * obj0 = 0 ;
21531 char *kwnames[] = {
21532 (char *) "self", NULL
21533 };
21534
21535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
21536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21537 if (SWIG_arg_fail(1)) SWIG_fail;
21538 {
21539 PyThreadState* __tstate = wxPyBeginAllowThreads();
21540 result = (long)(arg1)->GetPrinterTranslateY();
21541
21542 wxPyEndAllowThreads(__tstate);
21543 if (PyErr_Occurred()) SWIG_fail;
21544 }
21545 {
21546 resultobj = SWIG_From_long((long)(result));
21547 }
21548 return resultobj;
21549 fail:
21550 return NULL;
21551 }
21552
21553
21554 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21555 PyObject *resultobj;
21556 wxPrintData *arg1 = (wxPrintData *) 0 ;
21557 wxString *arg2 = 0 ;
21558 bool temp2 = false ;
21559 PyObject * obj0 = 0 ;
21560 PyObject * obj1 = 0 ;
21561 char *kwnames[] = {
21562 (char *) "self",(char *) "command", NULL
21563 };
21564
21565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
21566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21567 if (SWIG_arg_fail(1)) SWIG_fail;
21568 {
21569 arg2 = wxString_in_helper(obj1);
21570 if (arg2 == NULL) SWIG_fail;
21571 temp2 = true;
21572 }
21573 {
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 (arg1)->SetPrinterCommand((wxString const &)*arg2);
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 Py_INCREF(Py_None); resultobj = Py_None;
21581 {
21582 if (temp2)
21583 delete arg2;
21584 }
21585 return resultobj;
21586 fail:
21587 {
21588 if (temp2)
21589 delete arg2;
21590 }
21591 return NULL;
21592 }
21593
21594
21595 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj;
21597 wxPrintData *arg1 = (wxPrintData *) 0 ;
21598 wxString *arg2 = 0 ;
21599 bool temp2 = false ;
21600 PyObject * obj0 = 0 ;
21601 PyObject * obj1 = 0 ;
21602 char *kwnames[] = {
21603 (char *) "self",(char *) "options", NULL
21604 };
21605
21606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
21607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21608 if (SWIG_arg_fail(1)) SWIG_fail;
21609 {
21610 arg2 = wxString_in_helper(obj1);
21611 if (arg2 == NULL) SWIG_fail;
21612 temp2 = true;
21613 }
21614 {
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 Py_INCREF(Py_None); resultobj = Py_None;
21622 {
21623 if (temp2)
21624 delete arg2;
21625 }
21626 return resultobj;
21627 fail:
21628 {
21629 if (temp2)
21630 delete arg2;
21631 }
21632 return NULL;
21633 }
21634
21635
21636 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21637 PyObject *resultobj;
21638 wxPrintData *arg1 = (wxPrintData *) 0 ;
21639 wxString *arg2 = 0 ;
21640 bool temp2 = false ;
21641 PyObject * obj0 = 0 ;
21642 PyObject * obj1 = 0 ;
21643 char *kwnames[] = {
21644 (char *) "self",(char *) "command", NULL
21645 };
21646
21647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
21648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21649 if (SWIG_arg_fail(1)) SWIG_fail;
21650 {
21651 arg2 = wxString_in_helper(obj1);
21652 if (arg2 == NULL) SWIG_fail;
21653 temp2 = true;
21654 }
21655 {
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21658
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 Py_INCREF(Py_None); resultobj = Py_None;
21663 {
21664 if (temp2)
21665 delete arg2;
21666 }
21667 return resultobj;
21668 fail:
21669 {
21670 if (temp2)
21671 delete arg2;
21672 }
21673 return NULL;
21674 }
21675
21676
21677 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21678 PyObject *resultobj;
21679 wxPrintData *arg1 = (wxPrintData *) 0 ;
21680 wxString *arg2 = 0 ;
21681 bool temp2 = false ;
21682 PyObject * obj0 = 0 ;
21683 PyObject * obj1 = 0 ;
21684 char *kwnames[] = {
21685 (char *) "self",(char *) "path", NULL
21686 };
21687
21688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
21689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21690 if (SWIG_arg_fail(1)) SWIG_fail;
21691 {
21692 arg2 = wxString_in_helper(obj1);
21693 if (arg2 == NULL) SWIG_fail;
21694 temp2 = true;
21695 }
21696 {
21697 PyThreadState* __tstate = wxPyBeginAllowThreads();
21698 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21699
21700 wxPyEndAllowThreads(__tstate);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 }
21703 Py_INCREF(Py_None); resultobj = Py_None;
21704 {
21705 if (temp2)
21706 delete arg2;
21707 }
21708 return resultobj;
21709 fail:
21710 {
21711 if (temp2)
21712 delete arg2;
21713 }
21714 return NULL;
21715 }
21716
21717
21718 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21719 PyObject *resultobj;
21720 wxPrintData *arg1 = (wxPrintData *) 0 ;
21721 double arg2 ;
21722 PyObject * obj0 = 0 ;
21723 PyObject * obj1 = 0 ;
21724 char *kwnames[] = {
21725 (char *) "self",(char *) "x", NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
21729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21730 if (SWIG_arg_fail(1)) SWIG_fail;
21731 {
21732 arg2 = (double)(SWIG_As_double(obj1));
21733 if (SWIG_arg_fail(2)) SWIG_fail;
21734 }
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 (arg1)->SetPrinterScaleX(arg2);
21738
21739 wxPyEndAllowThreads(__tstate);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
21742 Py_INCREF(Py_None); resultobj = Py_None;
21743 return resultobj;
21744 fail:
21745 return NULL;
21746 }
21747
21748
21749 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21750 PyObject *resultobj;
21751 wxPrintData *arg1 = (wxPrintData *) 0 ;
21752 double arg2 ;
21753 PyObject * obj0 = 0 ;
21754 PyObject * obj1 = 0 ;
21755 char *kwnames[] = {
21756 (char *) "self",(char *) "y", NULL
21757 };
21758
21759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
21760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21761 if (SWIG_arg_fail(1)) SWIG_fail;
21762 {
21763 arg2 = (double)(SWIG_As_double(obj1));
21764 if (SWIG_arg_fail(2)) SWIG_fail;
21765 }
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 (arg1)->SetPrinterScaleY(arg2);
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 Py_INCREF(Py_None); resultobj = Py_None;
21774 return resultobj;
21775 fail:
21776 return NULL;
21777 }
21778
21779
21780 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj;
21782 wxPrintData *arg1 = (wxPrintData *) 0 ;
21783 double arg2 ;
21784 double arg3 ;
21785 PyObject * obj0 = 0 ;
21786 PyObject * obj1 = 0 ;
21787 PyObject * obj2 = 0 ;
21788 char *kwnames[] = {
21789 (char *) "self",(char *) "x",(char *) "y", NULL
21790 };
21791
21792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
21793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21794 if (SWIG_arg_fail(1)) SWIG_fail;
21795 {
21796 arg2 = (double)(SWIG_As_double(obj1));
21797 if (SWIG_arg_fail(2)) SWIG_fail;
21798 }
21799 {
21800 arg3 = (double)(SWIG_As_double(obj2));
21801 if (SWIG_arg_fail(3)) SWIG_fail;
21802 }
21803 {
21804 PyThreadState* __tstate = wxPyBeginAllowThreads();
21805 (arg1)->SetPrinterScaling(arg2,arg3);
21806
21807 wxPyEndAllowThreads(__tstate);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 }
21810 Py_INCREF(Py_None); resultobj = Py_None;
21811 return resultobj;
21812 fail:
21813 return NULL;
21814 }
21815
21816
21817 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21818 PyObject *resultobj;
21819 wxPrintData *arg1 = (wxPrintData *) 0 ;
21820 long arg2 ;
21821 PyObject * obj0 = 0 ;
21822 PyObject * obj1 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self",(char *) "x", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
21828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21829 if (SWIG_arg_fail(1)) SWIG_fail;
21830 {
21831 arg2 = (long)(SWIG_As_long(obj1));
21832 if (SWIG_arg_fail(2)) SWIG_fail;
21833 }
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 (arg1)->SetPrinterTranslateX(arg2);
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 Py_INCREF(Py_None); resultobj = Py_None;
21842 return resultobj;
21843 fail:
21844 return NULL;
21845 }
21846
21847
21848 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21849 PyObject *resultobj;
21850 wxPrintData *arg1 = (wxPrintData *) 0 ;
21851 long arg2 ;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "y", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
21859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21860 if (SWIG_arg_fail(1)) SWIG_fail;
21861 {
21862 arg2 = (long)(SWIG_As_long(obj1));
21863 if (SWIG_arg_fail(2)) SWIG_fail;
21864 }
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 (arg1)->SetPrinterTranslateY(arg2);
21868
21869 wxPyEndAllowThreads(__tstate);
21870 if (PyErr_Occurred()) SWIG_fail;
21871 }
21872 Py_INCREF(Py_None); resultobj = Py_None;
21873 return resultobj;
21874 fail:
21875 return NULL;
21876 }
21877
21878
21879 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
21880 PyObject *resultobj;
21881 wxPrintData *arg1 = (wxPrintData *) 0 ;
21882 long arg2 ;
21883 long arg3 ;
21884 PyObject * obj0 = 0 ;
21885 PyObject * obj1 = 0 ;
21886 PyObject * obj2 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "self",(char *) "x",(char *) "y", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
21892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21893 if (SWIG_arg_fail(1)) SWIG_fail;
21894 {
21895 arg2 = (long)(SWIG_As_long(obj1));
21896 if (SWIG_arg_fail(2)) SWIG_fail;
21897 }
21898 {
21899 arg3 = (long)(SWIG_As_long(obj2));
21900 if (SWIG_arg_fail(3)) SWIG_fail;
21901 }
21902 {
21903 PyThreadState* __tstate = wxPyBeginAllowThreads();
21904 (arg1)->SetPrinterTranslation(arg2,arg3);
21905
21906 wxPyEndAllowThreads(__tstate);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 }
21909 Py_INCREF(Py_None); resultobj = Py_None;
21910 return resultobj;
21911 fail:
21912 return NULL;
21913 }
21914
21915
21916 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21917 PyObject *obj;
21918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21919 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21920 Py_INCREF(obj);
21921 return Py_BuildValue((char *)"");
21922 }
21923 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21924 PyObject *resultobj;
21925 wxPageSetupDialogData *result;
21926
21927 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21936 return resultobj;
21937 fail:
21938 return NULL;
21939 }
21940
21941
21942 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21943 PyObject *resultobj;
21944 wxPageSetupDialogData *arg1 = 0 ;
21945 wxPageSetupDialogData *result;
21946 PyObject * obj0 = 0 ;
21947
21948 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21949 {
21950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21951 if (SWIG_arg_fail(1)) SWIG_fail;
21952 if (arg1 == NULL) {
21953 SWIG_null_ref("wxPageSetupDialogData");
21954 }
21955 if (SWIG_arg_fail(1)) SWIG_fail;
21956 }
21957 {
21958 PyThreadState* __tstate = wxPyBeginAllowThreads();
21959 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21960
21961 wxPyEndAllowThreads(__tstate);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
21964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21965 return resultobj;
21966 fail:
21967 return NULL;
21968 }
21969
21970
21971 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21972 PyObject *resultobj;
21973 wxPrintData *arg1 = 0 ;
21974 wxPageSetupDialogData *result;
21975 PyObject * obj0 = 0 ;
21976
21977 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21978 {
21979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21980 if (SWIG_arg_fail(1)) SWIG_fail;
21981 if (arg1 == NULL) {
21982 SWIG_null_ref("wxPrintData");
21983 }
21984 if (SWIG_arg_fail(1)) SWIG_fail;
21985 }
21986 {
21987 PyThreadState* __tstate = wxPyBeginAllowThreads();
21988 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21989
21990 wxPyEndAllowThreads(__tstate);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
21993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21994 return resultobj;
21995 fail:
21996 return NULL;
21997 }
21998
21999
22000 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
22001 int argc;
22002 PyObject *argv[2];
22003 int ii;
22004
22005 argc = PyObject_Length(args);
22006 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22007 argv[ii] = PyTuple_GetItem(args,ii);
22008 }
22009 if (argc == 0) {
22010 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
22011 }
22012 if (argc == 1) {
22013 int _v;
22014 {
22015 void *ptr = 0;
22016 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
22017 _v = 0;
22018 PyErr_Clear();
22019 } else {
22020 _v = (ptr != 0);
22021 }
22022 }
22023 if (_v) {
22024 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
22025 }
22026 }
22027 if (argc == 1) {
22028 int _v;
22029 {
22030 void *ptr = 0;
22031 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22032 _v = 0;
22033 PyErr_Clear();
22034 } else {
22035 _v = (ptr != 0);
22036 }
22037 }
22038 if (_v) {
22039 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
22040 }
22041 }
22042
22043 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
22044 return NULL;
22045 }
22046
22047
22048 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22049 PyObject *resultobj;
22050 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22051 PyObject * obj0 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
22057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22058 if (SWIG_arg_fail(1)) SWIG_fail;
22059 {
22060 PyThreadState* __tstate = wxPyBeginAllowThreads();
22061 delete arg1;
22062
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 Py_INCREF(Py_None); resultobj = Py_None;
22067 return resultobj;
22068 fail:
22069 return NULL;
22070 }
22071
22072
22073 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj;
22075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22076 bool arg2 ;
22077 PyObject * obj0 = 0 ;
22078 PyObject * obj1 = 0 ;
22079 char *kwnames[] = {
22080 (char *) "self",(char *) "flag", NULL
22081 };
22082
22083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
22084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22085 if (SWIG_arg_fail(1)) SWIG_fail;
22086 {
22087 arg2 = (bool)(SWIG_As_bool(obj1));
22088 if (SWIG_arg_fail(2)) SWIG_fail;
22089 }
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 (arg1)->EnableHelp(arg2);
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 Py_INCREF(Py_None); resultobj = Py_None;
22098 return resultobj;
22099 fail:
22100 return NULL;
22101 }
22102
22103
22104 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22105 PyObject *resultobj;
22106 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22107 bool arg2 ;
22108 PyObject * obj0 = 0 ;
22109 PyObject * obj1 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self",(char *) "flag", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
22115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22116 if (SWIG_arg_fail(1)) SWIG_fail;
22117 {
22118 arg2 = (bool)(SWIG_As_bool(obj1));
22119 if (SWIG_arg_fail(2)) SWIG_fail;
22120 }
22121 {
22122 PyThreadState* __tstate = wxPyBeginAllowThreads();
22123 (arg1)->EnableMargins(arg2);
22124
22125 wxPyEndAllowThreads(__tstate);
22126 if (PyErr_Occurred()) SWIG_fail;
22127 }
22128 Py_INCREF(Py_None); resultobj = Py_None;
22129 return resultobj;
22130 fail:
22131 return NULL;
22132 }
22133
22134
22135 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22136 PyObject *resultobj;
22137 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22138 bool arg2 ;
22139 PyObject * obj0 = 0 ;
22140 PyObject * obj1 = 0 ;
22141 char *kwnames[] = {
22142 (char *) "self",(char *) "flag", NULL
22143 };
22144
22145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) 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 arg2 = (bool)(SWIG_As_bool(obj1));
22150 if (SWIG_arg_fail(2)) SWIG_fail;
22151 }
22152 {
22153 PyThreadState* __tstate = wxPyBeginAllowThreads();
22154 (arg1)->EnableOrientation(arg2);
22155
22156 wxPyEndAllowThreads(__tstate);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 Py_INCREF(Py_None); resultobj = Py_None;
22160 return resultobj;
22161 fail:
22162 return NULL;
22163 }
22164
22165
22166 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22167 PyObject *resultobj;
22168 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22169 bool arg2 ;
22170 PyObject * obj0 = 0 ;
22171 PyObject * obj1 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self",(char *) "flag", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
22177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22178 if (SWIG_arg_fail(1)) SWIG_fail;
22179 {
22180 arg2 = (bool)(SWIG_As_bool(obj1));
22181 if (SWIG_arg_fail(2)) SWIG_fail;
22182 }
22183 {
22184 PyThreadState* __tstate = wxPyBeginAllowThreads();
22185 (arg1)->EnablePaper(arg2);
22186
22187 wxPyEndAllowThreads(__tstate);
22188 if (PyErr_Occurred()) SWIG_fail;
22189 }
22190 Py_INCREF(Py_None); resultobj = Py_None;
22191 return resultobj;
22192 fail:
22193 return NULL;
22194 }
22195
22196
22197 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22198 PyObject *resultobj;
22199 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22200 bool arg2 ;
22201 PyObject * obj0 = 0 ;
22202 PyObject * obj1 = 0 ;
22203 char *kwnames[] = {
22204 (char *) "self",(char *) "flag", NULL
22205 };
22206
22207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
22208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22209 if (SWIG_arg_fail(1)) SWIG_fail;
22210 {
22211 arg2 = (bool)(SWIG_As_bool(obj1));
22212 if (SWIG_arg_fail(2)) SWIG_fail;
22213 }
22214 {
22215 PyThreadState* __tstate = wxPyBeginAllowThreads();
22216 (arg1)->EnablePrinter(arg2);
22217
22218 wxPyEndAllowThreads(__tstate);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 }
22221 Py_INCREF(Py_None); resultobj = Py_None;
22222 return resultobj;
22223 fail:
22224 return NULL;
22225 }
22226
22227
22228 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22229 PyObject *resultobj;
22230 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22231 bool result;
22232 PyObject * obj0 = 0 ;
22233 char *kwnames[] = {
22234 (char *) "self", NULL
22235 };
22236
22237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
22238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail;
22240 {
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 result = (bool)(arg1)->GetDefaultMinMargins();
22243
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 {
22248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22249 }
22250 return resultobj;
22251 fail:
22252 return NULL;
22253 }
22254
22255
22256 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22257 PyObject *resultobj;
22258 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22259 bool result;
22260 PyObject * obj0 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
22266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22267 if (SWIG_arg_fail(1)) SWIG_fail;
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 result = (bool)(arg1)->GetEnableMargins();
22271
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 {
22276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22277 }
22278 return resultobj;
22279 fail:
22280 return NULL;
22281 }
22282
22283
22284 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22285 PyObject *resultobj;
22286 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22287 bool result;
22288 PyObject * obj0 = 0 ;
22289 char *kwnames[] = {
22290 (char *) "self", NULL
22291 };
22292
22293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
22294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22295 if (SWIG_arg_fail(1)) SWIG_fail;
22296 {
22297 PyThreadState* __tstate = wxPyBeginAllowThreads();
22298 result = (bool)(arg1)->GetEnableOrientation();
22299
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 {
22304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22305 }
22306 return resultobj;
22307 fail:
22308 return NULL;
22309 }
22310
22311
22312 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22313 PyObject *resultobj;
22314 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22315 bool result;
22316 PyObject * obj0 = 0 ;
22317 char *kwnames[] = {
22318 (char *) "self", NULL
22319 };
22320
22321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22323 if (SWIG_arg_fail(1)) SWIG_fail;
22324 {
22325 PyThreadState* __tstate = wxPyBeginAllowThreads();
22326 result = (bool)(arg1)->GetEnablePaper();
22327
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 {
22332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22333 }
22334 return resultobj;
22335 fail:
22336 return NULL;
22337 }
22338
22339
22340 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22341 PyObject *resultobj;
22342 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22343 bool result;
22344 PyObject * obj0 = 0 ;
22345 char *kwnames[] = {
22346 (char *) "self", NULL
22347 };
22348
22349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22351 if (SWIG_arg_fail(1)) SWIG_fail;
22352 {
22353 PyThreadState* __tstate = wxPyBeginAllowThreads();
22354 result = (bool)(arg1)->GetEnablePrinter();
22355
22356 wxPyEndAllowThreads(__tstate);
22357 if (PyErr_Occurred()) SWIG_fail;
22358 }
22359 {
22360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22361 }
22362 return resultobj;
22363 fail:
22364 return NULL;
22365 }
22366
22367
22368 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22369 PyObject *resultobj;
22370 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22371 bool result;
22372 PyObject * obj0 = 0 ;
22373 char *kwnames[] = {
22374 (char *) "self", NULL
22375 };
22376
22377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22379 if (SWIG_arg_fail(1)) SWIG_fail;
22380 {
22381 PyThreadState* __tstate = wxPyBeginAllowThreads();
22382 result = (bool)(arg1)->GetEnableHelp();
22383
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 {
22388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22389 }
22390 return resultobj;
22391 fail:
22392 return NULL;
22393 }
22394
22395
22396 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22397 PyObject *resultobj;
22398 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22399 bool result;
22400 PyObject * obj0 = 0 ;
22401 char *kwnames[] = {
22402 (char *) "self", NULL
22403 };
22404
22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",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 = (bool)(arg1)->GetDefaultInfo();
22411
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 {
22416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22417 }
22418 return resultobj;
22419 fail:
22420 return NULL;
22421 }
22422
22423
22424 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22425 PyObject *resultobj;
22426 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22427 wxPoint result;
22428 PyObject * obj0 = 0 ;
22429 char *kwnames[] = {
22430 (char *) "self", NULL
22431 };
22432
22433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22435 if (SWIG_arg_fail(1)) SWIG_fail;
22436 {
22437 PyThreadState* __tstate = wxPyBeginAllowThreads();
22438 result = (arg1)->GetMarginTopLeft();
22439
22440 wxPyEndAllowThreads(__tstate);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 {
22444 wxPoint * resultptr;
22445 resultptr = new wxPoint((wxPoint &)(result));
22446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22447 }
22448 return resultobj;
22449 fail:
22450 return NULL;
22451 }
22452
22453
22454 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22455 PyObject *resultobj;
22456 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22457 wxPoint result;
22458 PyObject * obj0 = 0 ;
22459 char *kwnames[] = {
22460 (char *) "self", NULL
22461 };
22462
22463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22465 if (SWIG_arg_fail(1)) SWIG_fail;
22466 {
22467 PyThreadState* __tstate = wxPyBeginAllowThreads();
22468 result = (arg1)->GetMarginBottomRight();
22469
22470 wxPyEndAllowThreads(__tstate);
22471 if (PyErr_Occurred()) SWIG_fail;
22472 }
22473 {
22474 wxPoint * resultptr;
22475 resultptr = new wxPoint((wxPoint &)(result));
22476 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22477 }
22478 return resultobj;
22479 fail:
22480 return NULL;
22481 }
22482
22483
22484 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22487 wxPoint result;
22488 PyObject * obj0 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22495 if (SWIG_arg_fail(1)) SWIG_fail;
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 result = (arg1)->GetMinMarginTopLeft();
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 {
22504 wxPoint * resultptr;
22505 resultptr = new wxPoint((wxPoint &)(result));
22506 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22507 }
22508 return resultobj;
22509 fail:
22510 return NULL;
22511 }
22512
22513
22514 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22515 PyObject *resultobj;
22516 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22517 wxPoint result;
22518 PyObject * obj0 = 0 ;
22519 char *kwnames[] = {
22520 (char *) "self", NULL
22521 };
22522
22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22525 if (SWIG_arg_fail(1)) SWIG_fail;
22526 {
22527 PyThreadState* __tstate = wxPyBeginAllowThreads();
22528 result = (arg1)->GetMinMarginBottomRight();
22529
22530 wxPyEndAllowThreads(__tstate);
22531 if (PyErr_Occurred()) SWIG_fail;
22532 }
22533 {
22534 wxPoint * resultptr;
22535 resultptr = new wxPoint((wxPoint &)(result));
22536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22537 }
22538 return resultobj;
22539 fail:
22540 return NULL;
22541 }
22542
22543
22544 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22545 PyObject *resultobj;
22546 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22547 wxPaperSize result;
22548 PyObject * obj0 = 0 ;
22549 char *kwnames[] = {
22550 (char *) "self", NULL
22551 };
22552
22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22555 if (SWIG_arg_fail(1)) SWIG_fail;
22556 {
22557 PyThreadState* __tstate = wxPyBeginAllowThreads();
22558 result = (wxPaperSize)(arg1)->GetPaperId();
22559
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 resultobj = SWIG_From_int((result));
22564 return resultobj;
22565 fail:
22566 return NULL;
22567 }
22568
22569
22570 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22571 PyObject *resultobj;
22572 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22573 wxSize result;
22574 PyObject * obj0 = 0 ;
22575 char *kwnames[] = {
22576 (char *) "self", NULL
22577 };
22578
22579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22581 if (SWIG_arg_fail(1)) SWIG_fail;
22582 {
22583 PyThreadState* __tstate = wxPyBeginAllowThreads();
22584 result = (arg1)->GetPaperSize();
22585
22586 wxPyEndAllowThreads(__tstate);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 {
22590 wxSize * resultptr;
22591 resultptr = new wxSize((wxSize &)(result));
22592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22593 }
22594 return resultobj;
22595 fail:
22596 return NULL;
22597 }
22598
22599
22600 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22601 PyObject *resultobj;
22602 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22603 wxPrintData *result;
22604 PyObject * obj0 = 0 ;
22605 char *kwnames[] = {
22606 (char *) "self", NULL
22607 };
22608
22609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22611 if (SWIG_arg_fail(1)) SWIG_fail;
22612 {
22613 PyThreadState* __tstate = wxPyBeginAllowThreads();
22614 {
22615 wxPrintData &_result_ref = (arg1)->GetPrintData();
22616 result = (wxPrintData *) &_result_ref;
22617 }
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22623 return resultobj;
22624 fail:
22625 return NULL;
22626 }
22627
22628
22629 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22632 bool result;
22633 PyObject * obj0 = 0 ;
22634 char *kwnames[] = {
22635 (char *) "self", NULL
22636 };
22637
22638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22640 if (SWIG_arg_fail(1)) SWIG_fail;
22641 {
22642 PyThreadState* __tstate = wxPyBeginAllowThreads();
22643 result = (bool)(arg1)->Ok();
22644
22645 wxPyEndAllowThreads(__tstate);
22646 if (PyErr_Occurred()) SWIG_fail;
22647 }
22648 {
22649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22650 }
22651 return resultobj;
22652 fail:
22653 return NULL;
22654 }
22655
22656
22657 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22658 PyObject *resultobj;
22659 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22660 bool arg2 ;
22661 PyObject * obj0 = 0 ;
22662 PyObject * obj1 = 0 ;
22663 char *kwnames[] = {
22664 (char *) "self",(char *) "flag", NULL
22665 };
22666
22667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22669 if (SWIG_arg_fail(1)) SWIG_fail;
22670 {
22671 arg2 = (bool)(SWIG_As_bool(obj1));
22672 if (SWIG_arg_fail(2)) SWIG_fail;
22673 }
22674 {
22675 PyThreadState* __tstate = wxPyBeginAllowThreads();
22676 (arg1)->SetDefaultInfo(arg2);
22677
22678 wxPyEndAllowThreads(__tstate);
22679 if (PyErr_Occurred()) SWIG_fail;
22680 }
22681 Py_INCREF(Py_None); resultobj = Py_None;
22682 return resultobj;
22683 fail:
22684 return NULL;
22685 }
22686
22687
22688 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22689 PyObject *resultobj;
22690 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22691 bool arg2 ;
22692 PyObject * obj0 = 0 ;
22693 PyObject * obj1 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self",(char *) "flag", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22700 if (SWIG_arg_fail(1)) SWIG_fail;
22701 {
22702 arg2 = (bool)(SWIG_As_bool(obj1));
22703 if (SWIG_arg_fail(2)) SWIG_fail;
22704 }
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 (arg1)->SetDefaultMinMargins(arg2);
22708
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 Py_INCREF(Py_None); resultobj = Py_None;
22713 return resultobj;
22714 fail:
22715 return NULL;
22716 }
22717
22718
22719 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj;
22721 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22722 wxPoint *arg2 = 0 ;
22723 wxPoint temp2 ;
22724 PyObject * obj0 = 0 ;
22725 PyObject * obj1 = 0 ;
22726 char *kwnames[] = {
22727 (char *) "self",(char *) "pt", NULL
22728 };
22729
22730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22732 if (SWIG_arg_fail(1)) SWIG_fail;
22733 {
22734 arg2 = &temp2;
22735 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22736 }
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 Py_INCREF(Py_None); resultobj = Py_None;
22745 return resultobj;
22746 fail:
22747 return NULL;
22748 }
22749
22750
22751 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22752 PyObject *resultobj;
22753 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22754 wxPoint *arg2 = 0 ;
22755 wxPoint temp2 ;
22756 PyObject * obj0 = 0 ;
22757 PyObject * obj1 = 0 ;
22758 char *kwnames[] = {
22759 (char *) "self",(char *) "pt", NULL
22760 };
22761
22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22764 if (SWIG_arg_fail(1)) SWIG_fail;
22765 {
22766 arg2 = &temp2;
22767 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22768 }
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22772
22773 wxPyEndAllowThreads(__tstate);
22774 if (PyErr_Occurred()) SWIG_fail;
22775 }
22776 Py_INCREF(Py_None); resultobj = Py_None;
22777 return resultobj;
22778 fail:
22779 return NULL;
22780 }
22781
22782
22783 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22784 PyObject *resultobj;
22785 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22786 wxPoint *arg2 = 0 ;
22787 wxPoint temp2 ;
22788 PyObject * obj0 = 0 ;
22789 PyObject * obj1 = 0 ;
22790 char *kwnames[] = {
22791 (char *) "self",(char *) "pt", NULL
22792 };
22793
22794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22796 if (SWIG_arg_fail(1)) SWIG_fail;
22797 {
22798 arg2 = &temp2;
22799 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22800 }
22801 {
22802 PyThreadState* __tstate = wxPyBeginAllowThreads();
22803 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 Py_INCREF(Py_None); resultobj = Py_None;
22809 return resultobj;
22810 fail:
22811 return NULL;
22812 }
22813
22814
22815 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22816 PyObject *resultobj;
22817 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22818 wxPoint *arg2 = 0 ;
22819 wxPoint temp2 ;
22820 PyObject * obj0 = 0 ;
22821 PyObject * obj1 = 0 ;
22822 char *kwnames[] = {
22823 (char *) "self",(char *) "pt", NULL
22824 };
22825
22826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22828 if (SWIG_arg_fail(1)) SWIG_fail;
22829 {
22830 arg2 = &temp2;
22831 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22832 }
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
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 *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22848 PyObject *resultobj;
22849 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22850 wxPaperSize arg2 ;
22851 PyObject * obj0 = 0 ;
22852 PyObject * obj1 = 0 ;
22853 char *kwnames[] = {
22854 (char *) "self",(char *) "id", NULL
22855 };
22856
22857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22859 if (SWIG_arg_fail(1)) SWIG_fail;
22860 {
22861 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22862 if (SWIG_arg_fail(2)) SWIG_fail;
22863 }
22864 {
22865 PyThreadState* __tstate = wxPyBeginAllowThreads();
22866 (arg1)->SetPaperId((wxPaperSize )arg2);
22867
22868 wxPyEndAllowThreads(__tstate);
22869 if (PyErr_Occurred()) SWIG_fail;
22870 }
22871 Py_INCREF(Py_None); resultobj = Py_None;
22872 return resultobj;
22873 fail:
22874 return NULL;
22875 }
22876
22877
22878 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22879 PyObject *resultobj;
22880 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22881 wxSize *arg2 = 0 ;
22882 wxSize temp2 ;
22883 PyObject * obj0 = 0 ;
22884 PyObject * obj1 = 0 ;
22885 char *kwnames[] = {
22886 (char *) "self",(char *) "size", NULL
22887 };
22888
22889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22891 if (SWIG_arg_fail(1)) SWIG_fail;
22892 {
22893 arg2 = &temp2;
22894 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22895 }
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 (arg1)->SetPaperSize((wxSize const &)*arg2);
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 Py_INCREF(Py_None); resultobj = Py_None;
22904 return resultobj;
22905 fail:
22906 return NULL;
22907 }
22908
22909
22910 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22913 wxPrintData *arg2 = 0 ;
22914 PyObject * obj0 = 0 ;
22915 PyObject * obj1 = 0 ;
22916 char *kwnames[] = {
22917 (char *) "self",(char *) "printData", NULL
22918 };
22919
22920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22922 if (SWIG_arg_fail(1)) SWIG_fail;
22923 {
22924 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22925 if (SWIG_arg_fail(2)) SWIG_fail;
22926 if (arg2 == NULL) {
22927 SWIG_null_ref("wxPrintData");
22928 }
22929 if (SWIG_arg_fail(2)) SWIG_fail;
22930 }
22931 {
22932 PyThreadState* __tstate = wxPyBeginAllowThreads();
22933 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22934
22935 wxPyEndAllowThreads(__tstate);
22936 if (PyErr_Occurred()) SWIG_fail;
22937 }
22938 Py_INCREF(Py_None); resultobj = Py_None;
22939 return resultobj;
22940 fail:
22941 return NULL;
22942 }
22943
22944
22945 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22946 PyObject *resultobj;
22947 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22948 PyObject * obj0 = 0 ;
22949 char *kwnames[] = {
22950 (char *) "self", NULL
22951 };
22952
22953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22955 if (SWIG_arg_fail(1)) SWIG_fail;
22956 {
22957 PyThreadState* __tstate = wxPyBeginAllowThreads();
22958 (arg1)->CalculateIdFromPaperSize();
22959
22960 wxPyEndAllowThreads(__tstate);
22961 if (PyErr_Occurred()) SWIG_fail;
22962 }
22963 Py_INCREF(Py_None); resultobj = Py_None;
22964 return resultobj;
22965 fail:
22966 return NULL;
22967 }
22968
22969
22970 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22971 PyObject *resultobj;
22972 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22973 PyObject * obj0 = 0 ;
22974 char *kwnames[] = {
22975 (char *) "self", NULL
22976 };
22977
22978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22980 if (SWIG_arg_fail(1)) SWIG_fail;
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 (arg1)->CalculatePaperSizeFromId();
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 Py_INCREF(Py_None); resultobj = Py_None;
22989 return resultobj;
22990 fail:
22991 return NULL;
22992 }
22993
22994
22995 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22996 PyObject *obj;
22997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22998 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22999 Py_INCREF(obj);
23000 return Py_BuildValue((char *)"");
23001 }
23002 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23003 PyObject *resultobj;
23004 wxWindow *arg1 = (wxWindow *) 0 ;
23005 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
23006 wxPageSetupDialog *result;
23007 PyObject * obj0 = 0 ;
23008 PyObject * obj1 = 0 ;
23009 char *kwnames[] = {
23010 (char *) "parent",(char *) "data", NULL
23011 };
23012
23013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23015 if (SWIG_arg_fail(1)) SWIG_fail;
23016 if (obj1) {
23017 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23018 if (SWIG_arg_fail(2)) SWIG_fail;
23019 }
23020 {
23021 if (!wxPyCheckForApp()) SWIG_fail;
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
23029 return resultobj;
23030 fail:
23031 return NULL;
23032 }
23033
23034
23035 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
23036 PyObject *resultobj;
23037 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23038 wxPageSetupDialogData *result;
23039 PyObject * obj0 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
23045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail;
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 {
23050 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
23051 result = (wxPageSetupDialogData *) &_result_ref;
23052 }
23053
23054 wxPyEndAllowThreads(__tstate);
23055 if (PyErr_Occurred()) SWIG_fail;
23056 }
23057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23058 return resultobj;
23059 fail:
23060 return NULL;
23061 }
23062
23063
23064 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23065 PyObject *resultobj;
23066 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23067 wxPageSetupDialogData *result;
23068 PyObject * obj0 = 0 ;
23069 char *kwnames[] = {
23070 (char *) "self", NULL
23071 };
23072
23073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
23074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23075 if (SWIG_arg_fail(1)) SWIG_fail;
23076 {
23077 PyThreadState* __tstate = wxPyBeginAllowThreads();
23078 {
23079 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
23080 result = (wxPageSetupDialogData *) &_result_ref;
23081 }
23082
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
23086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23087 return resultobj;
23088 fail:
23089 return NULL;
23090 }
23091
23092
23093 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23094 PyObject *resultobj;
23095 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23096 int result;
23097 PyObject * obj0 = 0 ;
23098 char *kwnames[] = {
23099 (char *) "self", NULL
23100 };
23101
23102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
23103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23104 if (SWIG_arg_fail(1)) SWIG_fail;
23105 {
23106 PyThreadState* __tstate = wxPyBeginAllowThreads();
23107 result = (int)(arg1)->ShowModal();
23108
23109 wxPyEndAllowThreads(__tstate);
23110 if (PyErr_Occurred()) SWIG_fail;
23111 }
23112 {
23113 resultobj = SWIG_From_int((int)(result));
23114 }
23115 return resultobj;
23116 fail:
23117 return NULL;
23118 }
23119
23120
23121 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
23122 PyObject *obj;
23123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23124 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
23125 Py_INCREF(obj);
23126 return Py_BuildValue((char *)"");
23127 }
23128 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
23129 PyObject *resultobj;
23130 wxPrintDialogData *result;
23131
23132 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
23133 {
23134 PyThreadState* __tstate = wxPyBeginAllowThreads();
23135 result = (wxPrintDialogData *)new wxPrintDialogData();
23136
23137 wxPyEndAllowThreads(__tstate);
23138 if (PyErr_Occurred()) SWIG_fail;
23139 }
23140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23141 return resultobj;
23142 fail:
23143 return NULL;
23144 }
23145
23146
23147 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
23148 PyObject *resultobj;
23149 wxPrintData *arg1 = 0 ;
23150 wxPrintDialogData *result;
23151 PyObject * obj0 = 0 ;
23152
23153 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23154 {
23155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23156 if (SWIG_arg_fail(1)) SWIG_fail;
23157 if (arg1 == NULL) {
23158 SWIG_null_ref("wxPrintData");
23159 }
23160 if (SWIG_arg_fail(1)) SWIG_fail;
23161 }
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23165
23166 wxPyEndAllowThreads(__tstate);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
23169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23170 return resultobj;
23171 fail:
23172 return NULL;
23173 }
23174
23175
23176 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
23177 PyObject *resultobj;
23178 wxPrintDialogData *arg1 = 0 ;
23179 wxPrintDialogData *result;
23180 PyObject * obj0 = 0 ;
23181
23182 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23183 {
23184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23185 if (SWIG_arg_fail(1)) SWIG_fail;
23186 if (arg1 == NULL) {
23187 SWIG_null_ref("wxPrintDialogData");
23188 }
23189 if (SWIG_arg_fail(1)) SWIG_fail;
23190 }
23191 {
23192 PyThreadState* __tstate = wxPyBeginAllowThreads();
23193 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23194
23195 wxPyEndAllowThreads(__tstate);
23196 if (PyErr_Occurred()) SWIG_fail;
23197 }
23198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23199 return resultobj;
23200 fail:
23201 return NULL;
23202 }
23203
23204
23205 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23206 int argc;
23207 PyObject *argv[2];
23208 int ii;
23209
23210 argc = PyObject_Length(args);
23211 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23212 argv[ii] = PyTuple_GetItem(args,ii);
23213 }
23214 if (argc == 0) {
23215 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23216 }
23217 if (argc == 1) {
23218 int _v;
23219 {
23220 void *ptr = 0;
23221 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23222 _v = 0;
23223 PyErr_Clear();
23224 } else {
23225 _v = (ptr != 0);
23226 }
23227 }
23228 if (_v) {
23229 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23230 }
23231 }
23232 if (argc == 1) {
23233 int _v;
23234 {
23235 void *ptr = 0;
23236 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23237 _v = 0;
23238 PyErr_Clear();
23239 } else {
23240 _v = (ptr != 0);
23241 }
23242 }
23243 if (_v) {
23244 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23245 }
23246 }
23247
23248 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
23249 return NULL;
23250 }
23251
23252
23253 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23254 PyObject *resultobj;
23255 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23256 PyObject * obj0 = 0 ;
23257 char *kwnames[] = {
23258 (char *) "self", NULL
23259 };
23260
23261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
23262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23263 if (SWIG_arg_fail(1)) SWIG_fail;
23264 {
23265 PyThreadState* __tstate = wxPyBeginAllowThreads();
23266 delete arg1;
23267
23268 wxPyEndAllowThreads(__tstate);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
23271 Py_INCREF(Py_None); resultobj = Py_None;
23272 return resultobj;
23273 fail:
23274 return NULL;
23275 }
23276
23277
23278 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23279 PyObject *resultobj;
23280 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23281 int result;
23282 PyObject * obj0 = 0 ;
23283 char *kwnames[] = {
23284 (char *) "self", NULL
23285 };
23286
23287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
23288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23289 if (SWIG_arg_fail(1)) SWIG_fail;
23290 {
23291 PyThreadState* __tstate = wxPyBeginAllowThreads();
23292 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23293
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 {
23298 resultobj = SWIG_From_int((int)(result));
23299 }
23300 return resultobj;
23301 fail:
23302 return NULL;
23303 }
23304
23305
23306 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23307 PyObject *resultobj;
23308 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23309 int result;
23310 PyObject * obj0 = 0 ;
23311 char *kwnames[] = {
23312 (char *) "self", NULL
23313 };
23314
23315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
23316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23317 if (SWIG_arg_fail(1)) SWIG_fail;
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23321
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 {
23326 resultobj = SWIG_From_int((int)(result));
23327 }
23328 return resultobj;
23329 fail:
23330 return NULL;
23331 }
23332
23333
23334 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23335 PyObject *resultobj;
23336 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23337 int result;
23338 PyObject * obj0 = 0 ;
23339 char *kwnames[] = {
23340 (char *) "self", NULL
23341 };
23342
23343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23345 if (SWIG_arg_fail(1)) SWIG_fail;
23346 {
23347 PyThreadState* __tstate = wxPyBeginAllowThreads();
23348 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23349
23350 wxPyEndAllowThreads(__tstate);
23351 if (PyErr_Occurred()) SWIG_fail;
23352 }
23353 {
23354 resultobj = SWIG_From_int((int)(result));
23355 }
23356 return resultobj;
23357 fail:
23358 return NULL;
23359 }
23360
23361
23362 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23363 PyObject *resultobj;
23364 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23365 int result;
23366 PyObject * obj0 = 0 ;
23367 char *kwnames[] = {
23368 (char *) "self", NULL
23369 };
23370
23371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail;
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23377
23378 wxPyEndAllowThreads(__tstate);
23379 if (PyErr_Occurred()) SWIG_fail;
23380 }
23381 {
23382 resultobj = SWIG_From_int((int)(result));
23383 }
23384 return resultobj;
23385 fail:
23386 return NULL;
23387 }
23388
23389
23390 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23391 PyObject *resultobj;
23392 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23393 int result;
23394 PyObject * obj0 = 0 ;
23395 char *kwnames[] = {
23396 (char *) "self", NULL
23397 };
23398
23399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23401 if (SWIG_arg_fail(1)) SWIG_fail;
23402 {
23403 PyThreadState* __tstate = wxPyBeginAllowThreads();
23404 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23405
23406 wxPyEndAllowThreads(__tstate);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 }
23409 {
23410 resultobj = SWIG_From_int((int)(result));
23411 }
23412 return resultobj;
23413 fail:
23414 return NULL;
23415 }
23416
23417
23418 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23419 PyObject *resultobj;
23420 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23421 bool result;
23422 PyObject * obj0 = 0 ;
23423 char *kwnames[] = {
23424 (char *) "self", NULL
23425 };
23426
23427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23429 if (SWIG_arg_fail(1)) SWIG_fail;
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23433
23434 wxPyEndAllowThreads(__tstate);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 {
23438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23439 }
23440 return resultobj;
23441 fail:
23442 return NULL;
23443 }
23444
23445
23446 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23447 PyObject *resultobj;
23448 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23449 bool result;
23450 PyObject * obj0 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "self", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23457 if (SWIG_arg_fail(1)) SWIG_fail;
23458 {
23459 PyThreadState* __tstate = wxPyBeginAllowThreads();
23460 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23461
23462 wxPyEndAllowThreads(__tstate);
23463 if (PyErr_Occurred()) SWIG_fail;
23464 }
23465 {
23466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23467 }
23468 return resultobj;
23469 fail:
23470 return NULL;
23471 }
23472
23473
23474 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23475 PyObject *resultobj;
23476 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23477 bool result;
23478 PyObject * obj0 = 0 ;
23479 char *kwnames[] = {
23480 (char *) "self", NULL
23481 };
23482
23483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23485 if (SWIG_arg_fail(1)) SWIG_fail;
23486 {
23487 PyThreadState* __tstate = wxPyBeginAllowThreads();
23488 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23489
23490 wxPyEndAllowThreads(__tstate);
23491 if (PyErr_Occurred()) SWIG_fail;
23492 }
23493 {
23494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23495 }
23496 return resultobj;
23497 fail:
23498 return NULL;
23499 }
23500
23501
23502 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23503 PyObject *resultobj;
23504 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23505 bool result;
23506 PyObject * obj0 = 0 ;
23507 char *kwnames[] = {
23508 (char *) "self", NULL
23509 };
23510
23511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23513 if (SWIG_arg_fail(1)) SWIG_fail;
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23517
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 {
23522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23523 }
23524 return resultobj;
23525 fail:
23526 return NULL;
23527 }
23528
23529
23530 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23531 PyObject *resultobj;
23532 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23533 bool result;
23534 PyObject * obj0 = 0 ;
23535 char *kwnames[] = {
23536 (char *) "self", NULL
23537 };
23538
23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
23540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail;
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 {
23550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23551 }
23552 return resultobj;
23553 fail:
23554 return NULL;
23555 }
23556
23557
23558 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23561 bool arg2 ;
23562 PyObject * obj0 = 0 ;
23563 PyObject * obj1 = 0 ;
23564 char *kwnames[] = {
23565 (char *) "self",(char *) "flag", NULL
23566 };
23567
23568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23570 if (SWIG_arg_fail(1)) SWIG_fail;
23571 {
23572 arg2 = (bool)(SWIG_As_bool(obj1));
23573 if (SWIG_arg_fail(2)) SWIG_fail;
23574 }
23575 {
23576 PyThreadState* __tstate = wxPyBeginAllowThreads();
23577 (arg1)->SetSetupDialog(arg2);
23578
23579 wxPyEndAllowThreads(__tstate);
23580 if (PyErr_Occurred()) SWIG_fail;
23581 }
23582 Py_INCREF(Py_None); resultobj = Py_None;
23583 return resultobj;
23584 fail:
23585 return NULL;
23586 }
23587
23588
23589 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23590 PyObject *resultobj;
23591 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23592 int arg2 ;
23593 PyObject * obj0 = 0 ;
23594 PyObject * obj1 = 0 ;
23595 char *kwnames[] = {
23596 (char *) "self",(char *) "v", NULL
23597 };
23598
23599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23601 if (SWIG_arg_fail(1)) SWIG_fail;
23602 {
23603 arg2 = (int)(SWIG_As_int(obj1));
23604 if (SWIG_arg_fail(2)) SWIG_fail;
23605 }
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 (arg1)->SetFromPage(arg2);
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 Py_INCREF(Py_None); resultobj = Py_None;
23614 return resultobj;
23615 fail:
23616 return NULL;
23617 }
23618
23619
23620 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23621 PyObject *resultobj;
23622 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23623 int arg2 ;
23624 PyObject * obj0 = 0 ;
23625 PyObject * obj1 = 0 ;
23626 char *kwnames[] = {
23627 (char *) "self",(char *) "v", NULL
23628 };
23629
23630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23632 if (SWIG_arg_fail(1)) SWIG_fail;
23633 {
23634 arg2 = (int)(SWIG_As_int(obj1));
23635 if (SWIG_arg_fail(2)) SWIG_fail;
23636 }
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 (arg1)->SetToPage(arg2);
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 Py_INCREF(Py_None); resultobj = Py_None;
23645 return resultobj;
23646 fail:
23647 return NULL;
23648 }
23649
23650
23651 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj;
23653 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23654 int arg2 ;
23655 PyObject * obj0 = 0 ;
23656 PyObject * obj1 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self",(char *) "v", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23663 if (SWIG_arg_fail(1)) SWIG_fail;
23664 {
23665 arg2 = (int)(SWIG_As_int(obj1));
23666 if (SWIG_arg_fail(2)) SWIG_fail;
23667 }
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 (arg1)->SetMinPage(arg2);
23671
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 Py_INCREF(Py_None); resultobj = Py_None;
23676 return resultobj;
23677 fail:
23678 return NULL;
23679 }
23680
23681
23682 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23683 PyObject *resultobj;
23684 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23685 int arg2 ;
23686 PyObject * obj0 = 0 ;
23687 PyObject * obj1 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "self",(char *) "v", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23694 if (SWIG_arg_fail(1)) SWIG_fail;
23695 {
23696 arg2 = (int)(SWIG_As_int(obj1));
23697 if (SWIG_arg_fail(2)) SWIG_fail;
23698 }
23699 {
23700 PyThreadState* __tstate = wxPyBeginAllowThreads();
23701 (arg1)->SetMaxPage(arg2);
23702
23703 wxPyEndAllowThreads(__tstate);
23704 if (PyErr_Occurred()) SWIG_fail;
23705 }
23706 Py_INCREF(Py_None); resultobj = Py_None;
23707 return resultobj;
23708 fail:
23709 return NULL;
23710 }
23711
23712
23713 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23714 PyObject *resultobj;
23715 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23716 int arg2 ;
23717 PyObject * obj0 = 0 ;
23718 PyObject * obj1 = 0 ;
23719 char *kwnames[] = {
23720 (char *) "self",(char *) "v", NULL
23721 };
23722
23723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23725 if (SWIG_arg_fail(1)) SWIG_fail;
23726 {
23727 arg2 = (int)(SWIG_As_int(obj1));
23728 if (SWIG_arg_fail(2)) SWIG_fail;
23729 }
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 (arg1)->SetNoCopies(arg2);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 Py_INCREF(Py_None); resultobj = Py_None;
23738 return resultobj;
23739 fail:
23740 return NULL;
23741 }
23742
23743
23744 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23745 PyObject *resultobj;
23746 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23747 bool arg2 ;
23748 PyObject * obj0 = 0 ;
23749 PyObject * obj1 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self",(char *) "flag", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23756 if (SWIG_arg_fail(1)) SWIG_fail;
23757 {
23758 arg2 = (bool)(SWIG_As_bool(obj1));
23759 if (SWIG_arg_fail(2)) SWIG_fail;
23760 }
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 (arg1)->SetAllPages(arg2);
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 Py_INCREF(Py_None); resultobj = Py_None;
23769 return resultobj;
23770 fail:
23771 return NULL;
23772 }
23773
23774
23775 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23776 PyObject *resultobj;
23777 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23778 bool arg2 ;
23779 PyObject * obj0 = 0 ;
23780 PyObject * obj1 = 0 ;
23781 char *kwnames[] = {
23782 (char *) "self",(char *) "flag", NULL
23783 };
23784
23785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23787 if (SWIG_arg_fail(1)) SWIG_fail;
23788 {
23789 arg2 = (bool)(SWIG_As_bool(obj1));
23790 if (SWIG_arg_fail(2)) SWIG_fail;
23791 }
23792 {
23793 PyThreadState* __tstate = wxPyBeginAllowThreads();
23794 (arg1)->SetSelection(arg2);
23795
23796 wxPyEndAllowThreads(__tstate);
23797 if (PyErr_Occurred()) SWIG_fail;
23798 }
23799 Py_INCREF(Py_None); resultobj = Py_None;
23800 return resultobj;
23801 fail:
23802 return NULL;
23803 }
23804
23805
23806 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23807 PyObject *resultobj;
23808 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23809 bool arg2 ;
23810 PyObject * obj0 = 0 ;
23811 PyObject * obj1 = 0 ;
23812 char *kwnames[] = {
23813 (char *) "self",(char *) "flag", NULL
23814 };
23815
23816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23818 if (SWIG_arg_fail(1)) SWIG_fail;
23819 {
23820 arg2 = (bool)(SWIG_As_bool(obj1));
23821 if (SWIG_arg_fail(2)) SWIG_fail;
23822 }
23823 {
23824 PyThreadState* __tstate = wxPyBeginAllowThreads();
23825 (arg1)->SetCollate(arg2);
23826
23827 wxPyEndAllowThreads(__tstate);
23828 if (PyErr_Occurred()) SWIG_fail;
23829 }
23830 Py_INCREF(Py_None); resultobj = Py_None;
23831 return resultobj;
23832 fail:
23833 return NULL;
23834 }
23835
23836
23837 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23838 PyObject *resultobj;
23839 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23840 bool arg2 ;
23841 PyObject * obj0 = 0 ;
23842 PyObject * obj1 = 0 ;
23843 char *kwnames[] = {
23844 (char *) "self",(char *) "flag", NULL
23845 };
23846
23847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23849 if (SWIG_arg_fail(1)) SWIG_fail;
23850 {
23851 arg2 = (bool)(SWIG_As_bool(obj1));
23852 if (SWIG_arg_fail(2)) SWIG_fail;
23853 }
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 (arg1)->SetPrintToFile(arg2);
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 Py_INCREF(Py_None); resultobj = Py_None;
23862 return resultobj;
23863 fail:
23864 return NULL;
23865 }
23866
23867
23868 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23869 PyObject *resultobj;
23870 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23871 bool arg2 ;
23872 PyObject * obj0 = 0 ;
23873 PyObject * obj1 = 0 ;
23874 char *kwnames[] = {
23875 (char *) "self",(char *) "flag", NULL
23876 };
23877
23878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23880 if (SWIG_arg_fail(1)) SWIG_fail;
23881 {
23882 arg2 = (bool)(SWIG_As_bool(obj1));
23883 if (SWIG_arg_fail(2)) SWIG_fail;
23884 }
23885 {
23886 PyThreadState* __tstate = wxPyBeginAllowThreads();
23887 (arg1)->EnablePrintToFile(arg2);
23888
23889 wxPyEndAllowThreads(__tstate);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 }
23892 Py_INCREF(Py_None); resultobj = Py_None;
23893 return resultobj;
23894 fail:
23895 return NULL;
23896 }
23897
23898
23899 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23900 PyObject *resultobj;
23901 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23902 bool arg2 ;
23903 PyObject * obj0 = 0 ;
23904 PyObject * obj1 = 0 ;
23905 char *kwnames[] = {
23906 (char *) "self",(char *) "flag", NULL
23907 };
23908
23909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) 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 arg2 = (bool)(SWIG_As_bool(obj1));
23914 if (SWIG_arg_fail(2)) SWIG_fail;
23915 }
23916 {
23917 PyThreadState* __tstate = wxPyBeginAllowThreads();
23918 (arg1)->EnableSelection(arg2);
23919
23920 wxPyEndAllowThreads(__tstate);
23921 if (PyErr_Occurred()) SWIG_fail;
23922 }
23923 Py_INCREF(Py_None); resultobj = Py_None;
23924 return resultobj;
23925 fail:
23926 return NULL;
23927 }
23928
23929
23930 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23931 PyObject *resultobj;
23932 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23933 bool arg2 ;
23934 PyObject * obj0 = 0 ;
23935 PyObject * obj1 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self",(char *) "flag", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23942 if (SWIG_arg_fail(1)) SWIG_fail;
23943 {
23944 arg2 = (bool)(SWIG_As_bool(obj1));
23945 if (SWIG_arg_fail(2)) SWIG_fail;
23946 }
23947 {
23948 PyThreadState* __tstate = wxPyBeginAllowThreads();
23949 (arg1)->EnablePageNumbers(arg2);
23950
23951 wxPyEndAllowThreads(__tstate);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 }
23954 Py_INCREF(Py_None); resultobj = Py_None;
23955 return resultobj;
23956 fail:
23957 return NULL;
23958 }
23959
23960
23961 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23962 PyObject *resultobj;
23963 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23964 bool arg2 ;
23965 PyObject * obj0 = 0 ;
23966 PyObject * obj1 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self",(char *) "flag", NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23973 if (SWIG_arg_fail(1)) SWIG_fail;
23974 {
23975 arg2 = (bool)(SWIG_As_bool(obj1));
23976 if (SWIG_arg_fail(2)) SWIG_fail;
23977 }
23978 {
23979 PyThreadState* __tstate = wxPyBeginAllowThreads();
23980 (arg1)->EnableHelp(arg2);
23981
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 Py_INCREF(Py_None); resultobj = Py_None;
23986 return resultobj;
23987 fail:
23988 return NULL;
23989 }
23990
23991
23992 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23993 PyObject *resultobj;
23994 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23995 bool result;
23996 PyObject * obj0 = 0 ;
23997 char *kwnames[] = {
23998 (char *) "self", NULL
23999 };
24000
24001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
24002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24003 if (SWIG_arg_fail(1)) SWIG_fail;
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
24007
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
24011 {
24012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24013 }
24014 return resultobj;
24015 fail:
24016 return NULL;
24017 }
24018
24019
24020 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
24021 PyObject *resultobj;
24022 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24023 bool result;
24024 PyObject * obj0 = 0 ;
24025 char *kwnames[] = {
24026 (char *) "self", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
24030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24031 if (SWIG_arg_fail(1)) SWIG_fail;
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
24035
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
24039 {
24040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24041 }
24042 return resultobj;
24043 fail:
24044 return NULL;
24045 }
24046
24047
24048 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
24049 PyObject *resultobj;
24050 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24051 bool result;
24052 PyObject * obj0 = 0 ;
24053 char *kwnames[] = {
24054 (char *) "self", NULL
24055 };
24056
24057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
24058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24059 if (SWIG_arg_fail(1)) SWIG_fail;
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
24063
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 {
24068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24069 }
24070 return resultobj;
24071 fail:
24072 return NULL;
24073 }
24074
24075
24076 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
24077 PyObject *resultobj;
24078 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24079 bool result;
24080 PyObject * obj0 = 0 ;
24081 char *kwnames[] = {
24082 (char *) "self", NULL
24083 };
24084
24085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
24086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24087 if (SWIG_arg_fail(1)) SWIG_fail;
24088 {
24089 PyThreadState* __tstate = wxPyBeginAllowThreads();
24090 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
24091
24092 wxPyEndAllowThreads(__tstate);
24093 if (PyErr_Occurred()) SWIG_fail;
24094 }
24095 {
24096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24097 }
24098 return resultobj;
24099 fail:
24100 return NULL;
24101 }
24102
24103
24104 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24105 PyObject *resultobj;
24106 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24107 bool result;
24108 PyObject * obj0 = 0 ;
24109 char *kwnames[] = {
24110 (char *) "self", NULL
24111 };
24112
24113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
24114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24115 if (SWIG_arg_fail(1)) SWIG_fail;
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
24119
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 {
24124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24125 }
24126 return resultobj;
24127 fail:
24128 return NULL;
24129 }
24130
24131
24132 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24133 PyObject *resultobj;
24134 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24135 wxPrintData *result;
24136 PyObject * obj0 = 0 ;
24137 char *kwnames[] = {
24138 (char *) "self", NULL
24139 };
24140
24141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
24142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24143 if (SWIG_arg_fail(1)) SWIG_fail;
24144 {
24145 PyThreadState* __tstate = wxPyBeginAllowThreads();
24146 {
24147 wxPrintData &_result_ref = (arg1)->GetPrintData();
24148 result = (wxPrintData *) &_result_ref;
24149 }
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24155 return resultobj;
24156 fail:
24157 return NULL;
24158 }
24159
24160
24161 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24162 PyObject *resultobj;
24163 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24164 wxPrintData *arg2 = 0 ;
24165 PyObject * obj0 = 0 ;
24166 PyObject * obj1 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self",(char *) "printData", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
24172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24173 if (SWIG_arg_fail(1)) SWIG_fail;
24174 {
24175 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24176 if (SWIG_arg_fail(2)) SWIG_fail;
24177 if (arg2 == NULL) {
24178 SWIG_null_ref("wxPrintData");
24179 }
24180 if (SWIG_arg_fail(2)) SWIG_fail;
24181 }
24182 {
24183 PyThreadState* __tstate = wxPyBeginAllowThreads();
24184 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24185
24186 wxPyEndAllowThreads(__tstate);
24187 if (PyErr_Occurred()) SWIG_fail;
24188 }
24189 Py_INCREF(Py_None); resultobj = Py_None;
24190 return resultobj;
24191 fail:
24192 return NULL;
24193 }
24194
24195
24196 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
24197 PyObject *obj;
24198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24199 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24200 Py_INCREF(obj);
24201 return Py_BuildValue((char *)"");
24202 }
24203 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24204 PyObject *resultobj;
24205 wxWindow *arg1 = (wxWindow *) 0 ;
24206 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24207 wxPrintDialog *result;
24208 PyObject * obj0 = 0 ;
24209 PyObject * obj1 = 0 ;
24210 char *kwnames[] = {
24211 (char *) "parent",(char *) "data", NULL
24212 };
24213
24214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24216 if (SWIG_arg_fail(1)) SWIG_fail;
24217 if (obj1) {
24218 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24219 if (SWIG_arg_fail(2)) SWIG_fail;
24220 }
24221 {
24222 if (!wxPyCheckForApp()) SWIG_fail;
24223 PyThreadState* __tstate = wxPyBeginAllowThreads();
24224 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24225
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24230 return resultobj;
24231 fail:
24232 return NULL;
24233 }
24234
24235
24236 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj;
24238 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24239 int result;
24240 PyObject * obj0 = 0 ;
24241 char *kwnames[] = {
24242 (char *) "self", NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
24246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24247 if (SWIG_arg_fail(1)) SWIG_fail;
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 result = (int)(arg1)->ShowModal();
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 {
24256 resultobj = SWIG_From_int((int)(result));
24257 }
24258 return resultobj;
24259 fail:
24260 return NULL;
24261 }
24262
24263
24264 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24265 PyObject *resultobj;
24266 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24267 wxPrintDialogData *result;
24268 PyObject * obj0 = 0 ;
24269 char *kwnames[] = {
24270 (char *) "self", NULL
24271 };
24272
24273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
24274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24275 if (SWIG_arg_fail(1)) SWIG_fail;
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 {
24279 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24280 result = (wxPrintDialogData *) &_result_ref;
24281 }
24282
24283 wxPyEndAllowThreads(__tstate);
24284 if (PyErr_Occurred()) SWIG_fail;
24285 }
24286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24287 return resultobj;
24288 fail:
24289 return NULL;
24290 }
24291
24292
24293 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24294 PyObject *resultobj;
24295 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24296 wxPrintData *result;
24297 PyObject * obj0 = 0 ;
24298 char *kwnames[] = {
24299 (char *) "self", NULL
24300 };
24301
24302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
24303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24304 if (SWIG_arg_fail(1)) SWIG_fail;
24305 {
24306 PyThreadState* __tstate = wxPyBeginAllowThreads();
24307 {
24308 wxPrintData &_result_ref = (arg1)->GetPrintData();
24309 result = (wxPrintData *) &_result_ref;
24310 }
24311
24312 wxPyEndAllowThreads(__tstate);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24316 return resultobj;
24317 fail:
24318 return NULL;
24319 }
24320
24321
24322 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj;
24324 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24325 wxDC *result;
24326 PyObject * obj0 = 0 ;
24327 char *kwnames[] = {
24328 (char *) "self", NULL
24329 };
24330
24331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24333 if (SWIG_arg_fail(1)) SWIG_fail;
24334 {
24335 PyThreadState* __tstate = wxPyBeginAllowThreads();
24336 result = (wxDC *)(arg1)->GetPrintDC();
24337
24338 wxPyEndAllowThreads(__tstate);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 {
24342 resultobj = wxPyMake_wxObject(result, 1);
24343 }
24344 return resultobj;
24345 fail:
24346 return NULL;
24347 }
24348
24349
24350 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24351 PyObject *obj;
24352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24353 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24354 Py_INCREF(obj);
24355 return Py_BuildValue((char *)"");
24356 }
24357 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24358 PyObject *resultobj;
24359 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24360 wxPrinter *result;
24361 PyObject * obj0 = 0 ;
24362 char *kwnames[] = {
24363 (char *) "data", NULL
24364 };
24365
24366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24367 if (obj0) {
24368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24369 if (SWIG_arg_fail(1)) SWIG_fail;
24370 }
24371 {
24372 if (!wxPyCheckForApp()) SWIG_fail;
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
24374 result = (wxPrinter *)new wxPrinter(arg1);
24375
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
24379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24380 return resultobj;
24381 fail:
24382 return NULL;
24383 }
24384
24385
24386 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24387 PyObject *resultobj;
24388 wxPrinter *arg1 = (wxPrinter *) 0 ;
24389 PyObject * obj0 = 0 ;
24390 char *kwnames[] = {
24391 (char *) "self", NULL
24392 };
24393
24394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24396 if (SWIG_arg_fail(1)) SWIG_fail;
24397 {
24398 PyThreadState* __tstate = wxPyBeginAllowThreads();
24399 delete arg1;
24400
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 Py_INCREF(Py_None); resultobj = Py_None;
24405 return resultobj;
24406 fail:
24407 return NULL;
24408 }
24409
24410
24411 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj;
24413 wxPrinter *arg1 = (wxPrinter *) 0 ;
24414 wxWindow *arg2 = (wxWindow *) 0 ;
24415 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24416 wxWindow *result;
24417 PyObject * obj0 = 0 ;
24418 PyObject * obj1 = 0 ;
24419 PyObject * obj2 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self",(char *) "parent",(char *) "printout", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24426 if (SWIG_arg_fail(1)) SWIG_fail;
24427 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24428 if (SWIG_arg_fail(2)) SWIG_fail;
24429 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24430 if (SWIG_arg_fail(3)) SWIG_fail;
24431 {
24432 PyThreadState* __tstate = wxPyBeginAllowThreads();
24433 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24434
24435 wxPyEndAllowThreads(__tstate);
24436 if (PyErr_Occurred()) SWIG_fail;
24437 }
24438 {
24439 resultobj = wxPyMake_wxObject(result, 0);
24440 }
24441 return resultobj;
24442 fail:
24443 return NULL;
24444 }
24445
24446
24447 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24448 PyObject *resultobj;
24449 wxPrinter *arg1 = (wxPrinter *) 0 ;
24450 wxWindow *arg2 = (wxWindow *) 0 ;
24451 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24452 wxString *arg4 = 0 ;
24453 bool temp4 = false ;
24454 PyObject * obj0 = 0 ;
24455 PyObject * obj1 = 0 ;
24456 PyObject * obj2 = 0 ;
24457 PyObject * obj3 = 0 ;
24458 char *kwnames[] = {
24459 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24460 };
24461
24462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24464 if (SWIG_arg_fail(1)) SWIG_fail;
24465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24466 if (SWIG_arg_fail(2)) SWIG_fail;
24467 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24468 if (SWIG_arg_fail(3)) SWIG_fail;
24469 {
24470 arg4 = wxString_in_helper(obj3);
24471 if (arg4 == NULL) SWIG_fail;
24472 temp4 = true;
24473 }
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24477
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
24481 Py_INCREF(Py_None); resultobj = Py_None;
24482 {
24483 if (temp4)
24484 delete arg4;
24485 }
24486 return resultobj;
24487 fail:
24488 {
24489 if (temp4)
24490 delete arg4;
24491 }
24492 return NULL;
24493 }
24494
24495
24496 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24497 PyObject *resultobj;
24498 wxPrinter *arg1 = (wxPrinter *) 0 ;
24499 wxWindow *arg2 = (wxWindow *) 0 ;
24500 bool result;
24501 PyObject * obj0 = 0 ;
24502 PyObject * obj1 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self",(char *) "parent", NULL
24505 };
24506
24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24509 if (SWIG_arg_fail(1)) SWIG_fail;
24510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24511 if (SWIG_arg_fail(2)) SWIG_fail;
24512 {
24513 PyThreadState* __tstate = wxPyBeginAllowThreads();
24514 result = (bool)(arg1)->Setup(arg2);
24515
24516 wxPyEndAllowThreads(__tstate);
24517 if (PyErr_Occurred()) SWIG_fail;
24518 }
24519 {
24520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24521 }
24522 return resultobj;
24523 fail:
24524 return NULL;
24525 }
24526
24527
24528 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24529 PyObject *resultobj;
24530 wxPrinter *arg1 = (wxPrinter *) 0 ;
24531 wxWindow *arg2 = (wxWindow *) 0 ;
24532 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24533 bool arg4 = (bool) true ;
24534 bool result;
24535 PyObject * obj0 = 0 ;
24536 PyObject * obj1 = 0 ;
24537 PyObject * obj2 = 0 ;
24538 PyObject * obj3 = 0 ;
24539 char *kwnames[] = {
24540 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24541 };
24542
24543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24545 if (SWIG_arg_fail(1)) SWIG_fail;
24546 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24547 if (SWIG_arg_fail(2)) SWIG_fail;
24548 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24549 if (SWIG_arg_fail(3)) SWIG_fail;
24550 if (obj3) {
24551 {
24552 arg4 = (bool)(SWIG_As_bool(obj3));
24553 if (SWIG_arg_fail(4)) SWIG_fail;
24554 }
24555 }
24556 {
24557 PyThreadState* __tstate = wxPyBeginAllowThreads();
24558 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24559
24560 wxPyEndAllowThreads(__tstate);
24561 if (PyErr_Occurred()) SWIG_fail;
24562 }
24563 {
24564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24565 }
24566 return resultobj;
24567 fail:
24568 return NULL;
24569 }
24570
24571
24572 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24573 PyObject *resultobj;
24574 wxPrinter *arg1 = (wxPrinter *) 0 ;
24575 wxWindow *arg2 = (wxWindow *) 0 ;
24576 wxDC *result;
24577 PyObject * obj0 = 0 ;
24578 PyObject * obj1 = 0 ;
24579 char *kwnames[] = {
24580 (char *) "self",(char *) "parent", NULL
24581 };
24582
24583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24585 if (SWIG_arg_fail(1)) SWIG_fail;
24586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24587 if (SWIG_arg_fail(2)) SWIG_fail;
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 result = (wxDC *)(arg1)->PrintDialog(arg2);
24591
24592 wxPyEndAllowThreads(__tstate);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 {
24596 resultobj = wxPyMake_wxObject(result, 0);
24597 }
24598 return resultobj;
24599 fail:
24600 return NULL;
24601 }
24602
24603
24604 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24605 PyObject *resultobj;
24606 wxPrinter *arg1 = (wxPrinter *) 0 ;
24607 wxPrintDialogData *result;
24608 PyObject * obj0 = 0 ;
24609 char *kwnames[] = {
24610 (char *) "self", NULL
24611 };
24612
24613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24615 if (SWIG_arg_fail(1)) SWIG_fail;
24616 {
24617 PyThreadState* __tstate = wxPyBeginAllowThreads();
24618 {
24619 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24620 result = (wxPrintDialogData *) &_result_ref;
24621 }
24622
24623 wxPyEndAllowThreads(__tstate);
24624 if (PyErr_Occurred()) SWIG_fail;
24625 }
24626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24627 return resultobj;
24628 fail:
24629 return NULL;
24630 }
24631
24632
24633 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24634 PyObject *resultobj;
24635 wxPrinter *arg1 = (wxPrinter *) 0 ;
24636 bool result;
24637 PyObject * obj0 = 0 ;
24638 char *kwnames[] = {
24639 (char *) "self", NULL
24640 };
24641
24642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24644 if (SWIG_arg_fail(1)) SWIG_fail;
24645 {
24646 PyThreadState* __tstate = wxPyBeginAllowThreads();
24647 result = (bool)(arg1)->GetAbort();
24648
24649 wxPyEndAllowThreads(__tstate);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
24652 {
24653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24654 }
24655 return resultobj;
24656 fail:
24657 return NULL;
24658 }
24659
24660
24661 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24662 PyObject *resultobj;
24663 wxPrinterError result;
24664 char *kwnames[] = {
24665 NULL
24666 };
24667
24668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24669 {
24670 PyThreadState* __tstate = wxPyBeginAllowThreads();
24671 result = (wxPrinterError)wxPrinter::GetLastError();
24672
24673 wxPyEndAllowThreads(__tstate);
24674 if (PyErr_Occurred()) SWIG_fail;
24675 }
24676 resultobj = SWIG_From_int((result));
24677 return resultobj;
24678 fail:
24679 return NULL;
24680 }
24681
24682
24683 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24684 PyObject *obj;
24685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24686 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24687 Py_INCREF(obj);
24688 return Py_BuildValue((char *)"");
24689 }
24690 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24691 PyObject *resultobj;
24692 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24693 wxString *arg1 = (wxString *) &arg1_defvalue ;
24694 wxPyPrintout *result;
24695 bool temp1 = false ;
24696 PyObject * obj0 = 0 ;
24697 char *kwnames[] = {
24698 (char *) "title", NULL
24699 };
24700
24701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24702 if (obj0) {
24703 {
24704 arg1 = wxString_in_helper(obj0);
24705 if (arg1 == NULL) SWIG_fail;
24706 temp1 = true;
24707 }
24708 }
24709 {
24710 if (!wxPyCheckForApp()) SWIG_fail;
24711 PyThreadState* __tstate = wxPyBeginAllowThreads();
24712 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24713
24714 wxPyEndAllowThreads(__tstate);
24715 if (PyErr_Occurred()) SWIG_fail;
24716 }
24717 {
24718 resultobj = wxPyMake_wxObject(result, 1);
24719 }
24720 {
24721 if (temp1)
24722 delete arg1;
24723 }
24724 return resultobj;
24725 fail:
24726 {
24727 if (temp1)
24728 delete arg1;
24729 }
24730 return NULL;
24731 }
24732
24733
24734 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24735 PyObject *resultobj;
24736 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24737 PyObject *arg2 = (PyObject *) 0 ;
24738 PyObject *arg3 = (PyObject *) 0 ;
24739 PyObject * obj0 = 0 ;
24740 PyObject * obj1 = 0 ;
24741 PyObject * obj2 = 0 ;
24742 char *kwnames[] = {
24743 (char *) "self",(char *) "self",(char *) "_class", NULL
24744 };
24745
24746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24748 if (SWIG_arg_fail(1)) SWIG_fail;
24749 arg2 = obj1;
24750 arg3 = obj2;
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 (arg1)->_setCallbackInfo(arg2,arg3);
24754
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 Py_INCREF(Py_None); resultobj = Py_None;
24759 return resultobj;
24760 fail:
24761 return NULL;
24762 }
24763
24764
24765 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24766 PyObject *resultobj;
24767 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24768 wxString result;
24769 PyObject * obj0 = 0 ;
24770 char *kwnames[] = {
24771 (char *) "self", NULL
24772 };
24773
24774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24776 if (SWIG_arg_fail(1)) SWIG_fail;
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 result = ((wxPyPrintout const *)arg1)->GetTitle();
24780
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 {
24785 #if wxUSE_UNICODE
24786 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24787 #else
24788 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24789 #endif
24790 }
24791 return resultobj;
24792 fail:
24793 return NULL;
24794 }
24795
24796
24797 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24798 PyObject *resultobj;
24799 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24800 wxDC *result;
24801 PyObject * obj0 = 0 ;
24802 char *kwnames[] = {
24803 (char *) "self", NULL
24804 };
24805
24806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24808 if (SWIG_arg_fail(1)) SWIG_fail;
24809 {
24810 PyThreadState* __tstate = wxPyBeginAllowThreads();
24811 result = (wxDC *)(arg1)->GetDC();
24812
24813 wxPyEndAllowThreads(__tstate);
24814 if (PyErr_Occurred()) SWIG_fail;
24815 }
24816 {
24817 resultobj = wxPyMake_wxObject(result, 0);
24818 }
24819 return resultobj;
24820 fail:
24821 return NULL;
24822 }
24823
24824
24825 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24826 PyObject *resultobj;
24827 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24828 wxDC *arg2 = (wxDC *) 0 ;
24829 PyObject * obj0 = 0 ;
24830 PyObject * obj1 = 0 ;
24831 char *kwnames[] = {
24832 (char *) "self",(char *) "dc", NULL
24833 };
24834
24835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24837 if (SWIG_arg_fail(1)) SWIG_fail;
24838 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24839 if (SWIG_arg_fail(2)) SWIG_fail;
24840 {
24841 PyThreadState* __tstate = wxPyBeginAllowThreads();
24842 (arg1)->SetDC(arg2);
24843
24844 wxPyEndAllowThreads(__tstate);
24845 if (PyErr_Occurred()) SWIG_fail;
24846 }
24847 Py_INCREF(Py_None); resultobj = Py_None;
24848 return resultobj;
24849 fail:
24850 return NULL;
24851 }
24852
24853
24854 static PyObject *_wrap_Printout_SetPageSizePixels(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 *) "w",(char *) "h", NULL
24864 };
24865
24866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",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)->SetPageSizePixels(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_GetPageSizePixels(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_GetPageSizePixels",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)->GetPageSizePixels(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_SetPageSizeMM(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 *) "w",(char *) "h", NULL
24938 };
24939
24940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",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)->SetPageSizeMM(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_GetPageSizeMM(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_GetPageSizeMM",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)->GetPageSizeMM(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_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
25003 PyObject *resultobj;
25004 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25005 int arg2 ;
25006 int arg3 ;
25007 PyObject * obj0 = 0 ;
25008 PyObject * obj1 = 0 ;
25009 PyObject * obj2 = 0 ;
25010 char *kwnames[] = {
25011 (char *) "self",(char *) "x",(char *) "y", NULL
25012 };
25013
25014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
25015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25016 if (SWIG_arg_fail(1)) SWIG_fail;
25017 {
25018 arg2 = (int)(SWIG_As_int(obj1));
25019 if (SWIG_arg_fail(2)) SWIG_fail;
25020 }
25021 {
25022 arg3 = (int)(SWIG_As_int(obj2));
25023 if (SWIG_arg_fail(3)) SWIG_fail;
25024 }
25025 {
25026 PyThreadState* __tstate = wxPyBeginAllowThreads();
25027 (arg1)->SetPPIScreen(arg2,arg3);
25028
25029 wxPyEndAllowThreads(__tstate);
25030 if (PyErr_Occurred()) SWIG_fail;
25031 }
25032 Py_INCREF(Py_None); resultobj = Py_None;
25033 return resultobj;
25034 fail:
25035 return NULL;
25036 }
25037
25038
25039 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
25040 PyObject *resultobj;
25041 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25042 int *arg2 = (int *) 0 ;
25043 int *arg3 = (int *) 0 ;
25044 int temp2 ;
25045 int res2 = 0 ;
25046 int temp3 ;
25047 int res3 = 0 ;
25048 PyObject * obj0 = 0 ;
25049 char *kwnames[] = {
25050 (char *) "self", NULL
25051 };
25052
25053 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25054 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
25056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25057 if (SWIG_arg_fail(1)) SWIG_fail;
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 (arg1)->GetPPIScreen(arg2,arg3);
25061
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 Py_INCREF(Py_None); resultobj = Py_None;
25066 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25067 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25068 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25069 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25070 return resultobj;
25071 fail:
25072 return NULL;
25073 }
25074
25075
25076 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
25077 PyObject *resultobj;
25078 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25079 int arg2 ;
25080 int arg3 ;
25081 PyObject * obj0 = 0 ;
25082 PyObject * obj1 = 0 ;
25083 PyObject * obj2 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "self",(char *) "x",(char *) "y", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
25089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25090 if (SWIG_arg_fail(1)) SWIG_fail;
25091 {
25092 arg2 = (int)(SWIG_As_int(obj1));
25093 if (SWIG_arg_fail(2)) SWIG_fail;
25094 }
25095 {
25096 arg3 = (int)(SWIG_As_int(obj2));
25097 if (SWIG_arg_fail(3)) SWIG_fail;
25098 }
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 (arg1)->SetPPIPrinter(arg2,arg3);
25102
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
25106 Py_INCREF(Py_None); resultobj = Py_None;
25107 return resultobj;
25108 fail:
25109 return NULL;
25110 }
25111
25112
25113 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
25114 PyObject *resultobj;
25115 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25116 int *arg2 = (int *) 0 ;
25117 int *arg3 = (int *) 0 ;
25118 int temp2 ;
25119 int res2 = 0 ;
25120 int temp3 ;
25121 int res3 = 0 ;
25122 PyObject * obj0 = 0 ;
25123 char *kwnames[] = {
25124 (char *) "self", NULL
25125 };
25126
25127 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25128 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
25130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25131 if (SWIG_arg_fail(1)) SWIG_fail;
25132 {
25133 PyThreadState* __tstate = wxPyBeginAllowThreads();
25134 (arg1)->GetPPIPrinter(arg2,arg3);
25135
25136 wxPyEndAllowThreads(__tstate);
25137 if (PyErr_Occurred()) SWIG_fail;
25138 }
25139 Py_INCREF(Py_None); resultobj = Py_None;
25140 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25141 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25142 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25143 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25144 return resultobj;
25145 fail:
25146 return NULL;
25147 }
25148
25149
25150 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25151 PyObject *resultobj;
25152 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25153 bool result;
25154 PyObject * obj0 = 0 ;
25155 char *kwnames[] = {
25156 (char *) "self", NULL
25157 };
25158
25159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",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 result = (bool)(arg1)->IsPreview();
25165
25166 wxPyEndAllowThreads(__tstate);
25167 if (PyErr_Occurred()) SWIG_fail;
25168 }
25169 {
25170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25171 }
25172 return resultobj;
25173 fail:
25174 return NULL;
25175 }
25176
25177
25178 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25179 PyObject *resultobj;
25180 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25181 bool arg2 ;
25182 PyObject * obj0 = 0 ;
25183 PyObject * obj1 = 0 ;
25184 char *kwnames[] = {
25185 (char *) "self",(char *) "p", NULL
25186 };
25187
25188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
25189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25190 if (SWIG_arg_fail(1)) SWIG_fail;
25191 {
25192 arg2 = (bool)(SWIG_As_bool(obj1));
25193 if (SWIG_arg_fail(2)) SWIG_fail;
25194 }
25195 {
25196 PyThreadState* __tstate = wxPyBeginAllowThreads();
25197 (arg1)->SetIsPreview(arg2);
25198
25199 wxPyEndAllowThreads(__tstate);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 }
25202 Py_INCREF(Py_None); resultobj = Py_None;
25203 return resultobj;
25204 fail:
25205 return NULL;
25206 }
25207
25208
25209 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25210 PyObject *resultobj;
25211 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25212 int arg2 ;
25213 int arg3 ;
25214 bool result;
25215 PyObject * obj0 = 0 ;
25216 PyObject * obj1 = 0 ;
25217 PyObject * obj2 = 0 ;
25218 char *kwnames[] = {
25219 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25220 };
25221
25222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
25223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25224 if (SWIG_arg_fail(1)) SWIG_fail;
25225 {
25226 arg2 = (int)(SWIG_As_int(obj1));
25227 if (SWIG_arg_fail(2)) SWIG_fail;
25228 }
25229 {
25230 arg3 = (int)(SWIG_As_int(obj2));
25231 if (SWIG_arg_fail(3)) SWIG_fail;
25232 }
25233 {
25234 PyThreadState* __tstate = wxPyBeginAllowThreads();
25235 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25236
25237 wxPyEndAllowThreads(__tstate);
25238 if (PyErr_Occurred()) SWIG_fail;
25239 }
25240 {
25241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25242 }
25243 return resultobj;
25244 fail:
25245 return NULL;
25246 }
25247
25248
25249 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25250 PyObject *resultobj;
25251 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25252 PyObject * obj0 = 0 ;
25253 char *kwnames[] = {
25254 (char *) "self", NULL
25255 };
25256
25257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
25258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25259 if (SWIG_arg_fail(1)) SWIG_fail;
25260 {
25261 PyThreadState* __tstate = wxPyBeginAllowThreads();
25262 (arg1)->base_OnEndDocument();
25263
25264 wxPyEndAllowThreads(__tstate);
25265 if (PyErr_Occurred()) SWIG_fail;
25266 }
25267 Py_INCREF(Py_None); resultobj = Py_None;
25268 return resultobj;
25269 fail:
25270 return NULL;
25271 }
25272
25273
25274 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25275 PyObject *resultobj;
25276 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25277 PyObject * obj0 = 0 ;
25278 char *kwnames[] = {
25279 (char *) "self", NULL
25280 };
25281
25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
25283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25284 if (SWIG_arg_fail(1)) SWIG_fail;
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 (arg1)->base_OnBeginPrinting();
25288
25289 wxPyEndAllowThreads(__tstate);
25290 if (PyErr_Occurred()) SWIG_fail;
25291 }
25292 Py_INCREF(Py_None); resultobj = Py_None;
25293 return resultobj;
25294 fail:
25295 return NULL;
25296 }
25297
25298
25299 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25300 PyObject *resultobj;
25301 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25302 PyObject * obj0 = 0 ;
25303 char *kwnames[] = {
25304 (char *) "self", NULL
25305 };
25306
25307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
25308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25309 if (SWIG_arg_fail(1)) SWIG_fail;
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 (arg1)->base_OnEndPrinting();
25313
25314 wxPyEndAllowThreads(__tstate);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 }
25317 Py_INCREF(Py_None); resultobj = Py_None;
25318 return resultobj;
25319 fail:
25320 return NULL;
25321 }
25322
25323
25324 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25325 PyObject *resultobj;
25326 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25327 PyObject * obj0 = 0 ;
25328 char *kwnames[] = {
25329 (char *) "self", NULL
25330 };
25331
25332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25334 if (SWIG_arg_fail(1)) SWIG_fail;
25335 {
25336 PyThreadState* __tstate = wxPyBeginAllowThreads();
25337 (arg1)->base_OnPreparePrinting();
25338
25339 wxPyEndAllowThreads(__tstate);
25340 if (PyErr_Occurred()) SWIG_fail;
25341 }
25342 Py_INCREF(Py_None); resultobj = Py_None;
25343 return resultobj;
25344 fail:
25345 return NULL;
25346 }
25347
25348
25349 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25350 PyObject *resultobj;
25351 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25352 int arg2 ;
25353 bool result;
25354 PyObject * obj0 = 0 ;
25355 PyObject * obj1 = 0 ;
25356 char *kwnames[] = {
25357 (char *) "self",(char *) "page", NULL
25358 };
25359
25360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25362 if (SWIG_arg_fail(1)) SWIG_fail;
25363 {
25364 arg2 = (int)(SWIG_As_int(obj1));
25365 if (SWIG_arg_fail(2)) SWIG_fail;
25366 }
25367 {
25368 PyThreadState* __tstate = wxPyBeginAllowThreads();
25369 result = (bool)(arg1)->base_HasPage(arg2);
25370
25371 wxPyEndAllowThreads(__tstate);
25372 if (PyErr_Occurred()) SWIG_fail;
25373 }
25374 {
25375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25376 }
25377 return resultobj;
25378 fail:
25379 return NULL;
25380 }
25381
25382
25383 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25384 PyObject *resultobj;
25385 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25386 int *arg2 = (int *) 0 ;
25387 int *arg3 = (int *) 0 ;
25388 int *arg4 = (int *) 0 ;
25389 int *arg5 = (int *) 0 ;
25390 int temp2 ;
25391 int res2 = 0 ;
25392 int temp3 ;
25393 int res3 = 0 ;
25394 int temp4 ;
25395 int res4 = 0 ;
25396 int temp5 ;
25397 int res5 = 0 ;
25398 PyObject * obj0 = 0 ;
25399 char *kwnames[] = {
25400 (char *) "self", NULL
25401 };
25402
25403 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25404 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25405 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25406 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25409 if (SWIG_arg_fail(1)) SWIG_fail;
25410 {
25411 PyThreadState* __tstate = wxPyBeginAllowThreads();
25412 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25413
25414 wxPyEndAllowThreads(__tstate);
25415 if (PyErr_Occurred()) SWIG_fail;
25416 }
25417 Py_INCREF(Py_None); resultobj = Py_None;
25418 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25419 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25420 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25421 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25422 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25423 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25424 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25425 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25426 return resultobj;
25427 fail:
25428 return NULL;
25429 }
25430
25431
25432 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25433 PyObject *obj;
25434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25435 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25436 Py_INCREF(obj);
25437 return Py_BuildValue((char *)"");
25438 }
25439 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25440 PyObject *resultobj;
25441 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25442 wxWindow *arg2 = (wxWindow *) 0 ;
25443 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25444 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25445 wxSize const &arg4_defvalue = wxDefaultSize ;
25446 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25447 long arg5 = (long) 0 ;
25448 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25449 wxString *arg6 = (wxString *) &arg6_defvalue ;
25450 wxPreviewCanvas *result;
25451 wxPoint temp3 ;
25452 wxSize temp4 ;
25453 bool temp6 = false ;
25454 PyObject * obj0 = 0 ;
25455 PyObject * obj1 = 0 ;
25456 PyObject * obj2 = 0 ;
25457 PyObject * obj3 = 0 ;
25458 PyObject * obj4 = 0 ;
25459 PyObject * obj5 = 0 ;
25460 char *kwnames[] = {
25461 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25462 };
25463
25464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25466 if (SWIG_arg_fail(1)) SWIG_fail;
25467 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25468 if (SWIG_arg_fail(2)) SWIG_fail;
25469 if (obj2) {
25470 {
25471 arg3 = &temp3;
25472 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25473 }
25474 }
25475 if (obj3) {
25476 {
25477 arg4 = &temp4;
25478 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25479 }
25480 }
25481 if (obj4) {
25482 {
25483 arg5 = (long)(SWIG_As_long(obj4));
25484 if (SWIG_arg_fail(5)) SWIG_fail;
25485 }
25486 }
25487 if (obj5) {
25488 {
25489 arg6 = wxString_in_helper(obj5);
25490 if (arg6 == NULL) SWIG_fail;
25491 temp6 = true;
25492 }
25493 }
25494 {
25495 if (!wxPyCheckForApp()) SWIG_fail;
25496 PyThreadState* __tstate = wxPyBeginAllowThreads();
25497 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25498
25499 wxPyEndAllowThreads(__tstate);
25500 if (PyErr_Occurred()) SWIG_fail;
25501 }
25502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25503 {
25504 if (temp6)
25505 delete arg6;
25506 }
25507 return resultobj;
25508 fail:
25509 {
25510 if (temp6)
25511 delete arg6;
25512 }
25513 return NULL;
25514 }
25515
25516
25517 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25518 PyObject *obj;
25519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25520 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25521 Py_INCREF(obj);
25522 return Py_BuildValue((char *)"");
25523 }
25524 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25525 PyObject *resultobj;
25526 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25527 wxFrame *arg2 = (wxFrame *) 0 ;
25528 wxString *arg3 = 0 ;
25529 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25530 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25531 wxSize const &arg5_defvalue = wxDefaultSize ;
25532 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25533 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25534 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25535 wxString *arg7 = (wxString *) &arg7_defvalue ;
25536 wxPreviewFrame *result;
25537 bool temp3 = false ;
25538 wxPoint temp4 ;
25539 wxSize temp5 ;
25540 bool temp7 = false ;
25541 PyObject * obj0 = 0 ;
25542 PyObject * obj1 = 0 ;
25543 PyObject * obj2 = 0 ;
25544 PyObject * obj3 = 0 ;
25545 PyObject * obj4 = 0 ;
25546 PyObject * obj5 = 0 ;
25547 PyObject * obj6 = 0 ;
25548 char *kwnames[] = {
25549 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25550 };
25551
25552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25554 if (SWIG_arg_fail(1)) SWIG_fail;
25555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25556 if (SWIG_arg_fail(2)) SWIG_fail;
25557 {
25558 arg3 = wxString_in_helper(obj2);
25559 if (arg3 == NULL) SWIG_fail;
25560 temp3 = true;
25561 }
25562 if (obj3) {
25563 {
25564 arg4 = &temp4;
25565 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25566 }
25567 }
25568 if (obj4) {
25569 {
25570 arg5 = &temp5;
25571 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25572 }
25573 }
25574 if (obj5) {
25575 {
25576 arg6 = (long)(SWIG_As_long(obj5));
25577 if (SWIG_arg_fail(6)) SWIG_fail;
25578 }
25579 }
25580 if (obj6) {
25581 {
25582 arg7 = wxString_in_helper(obj6);
25583 if (arg7 == NULL) SWIG_fail;
25584 temp7 = true;
25585 }
25586 }
25587 {
25588 if (!wxPyCheckForApp()) SWIG_fail;
25589 PyThreadState* __tstate = wxPyBeginAllowThreads();
25590 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25591
25592 wxPyEndAllowThreads(__tstate);
25593 if (PyErr_Occurred()) SWIG_fail;
25594 }
25595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25596 {
25597 if (temp3)
25598 delete arg3;
25599 }
25600 {
25601 if (temp7)
25602 delete arg7;
25603 }
25604 return resultobj;
25605 fail:
25606 {
25607 if (temp3)
25608 delete arg3;
25609 }
25610 {
25611 if (temp7)
25612 delete arg7;
25613 }
25614 return NULL;
25615 }
25616
25617
25618 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25619 PyObject *resultobj;
25620 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25621 PyObject * obj0 = 0 ;
25622 char *kwnames[] = {
25623 (char *) "self", NULL
25624 };
25625
25626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25628 if (SWIG_arg_fail(1)) SWIG_fail;
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 (arg1)->Initialize();
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 Py_INCREF(Py_None); resultobj = Py_None;
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25646 PyObject * obj0 = 0 ;
25647 char *kwnames[] = {
25648 (char *) "self", NULL
25649 };
25650
25651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25653 if (SWIG_arg_fail(1)) SWIG_fail;
25654 {
25655 PyThreadState* __tstate = wxPyBeginAllowThreads();
25656 (arg1)->CreateControlBar();
25657
25658 wxPyEndAllowThreads(__tstate);
25659 if (PyErr_Occurred()) SWIG_fail;
25660 }
25661 Py_INCREF(Py_None); resultobj = Py_None;
25662 return resultobj;
25663 fail:
25664 return NULL;
25665 }
25666
25667
25668 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25669 PyObject *resultobj;
25670 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25671 PyObject * obj0 = 0 ;
25672 char *kwnames[] = {
25673 (char *) "self", NULL
25674 };
25675
25676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25678 if (SWIG_arg_fail(1)) SWIG_fail;
25679 {
25680 PyThreadState* __tstate = wxPyBeginAllowThreads();
25681 (arg1)->CreateCanvas();
25682
25683 wxPyEndAllowThreads(__tstate);
25684 if (PyErr_Occurred()) SWIG_fail;
25685 }
25686 Py_INCREF(Py_None); resultobj = Py_None;
25687 return resultobj;
25688 fail:
25689 return NULL;
25690 }
25691
25692
25693 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25694 PyObject *resultobj;
25695 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25696 wxPreviewControlBar *result;
25697 PyObject * obj0 = 0 ;
25698 char *kwnames[] = {
25699 (char *) "self", NULL
25700 };
25701
25702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25704 if (SWIG_arg_fail(1)) SWIG_fail;
25705 {
25706 PyThreadState* __tstate = wxPyBeginAllowThreads();
25707 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25708
25709 wxPyEndAllowThreads(__tstate);
25710 if (PyErr_Occurred()) SWIG_fail;
25711 }
25712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25713 return resultobj;
25714 fail:
25715 return NULL;
25716 }
25717
25718
25719 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25720 PyObject *obj;
25721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25722 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25723 Py_INCREF(obj);
25724 return Py_BuildValue((char *)"");
25725 }
25726 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25727 PyObject *resultobj;
25728 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25729 long arg2 ;
25730 wxWindow *arg3 = (wxWindow *) 0 ;
25731 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25732 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25733 wxSize const &arg5_defvalue = wxDefaultSize ;
25734 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25735 long arg6 = (long) wxTAB_TRAVERSAL ;
25736 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25737 wxString *arg7 = (wxString *) &arg7_defvalue ;
25738 wxPreviewControlBar *result;
25739 wxPoint temp4 ;
25740 wxSize temp5 ;
25741 bool temp7 = false ;
25742 PyObject * obj0 = 0 ;
25743 PyObject * obj1 = 0 ;
25744 PyObject * obj2 = 0 ;
25745 PyObject * obj3 = 0 ;
25746 PyObject * obj4 = 0 ;
25747 PyObject * obj5 = 0 ;
25748 PyObject * obj6 = 0 ;
25749 char *kwnames[] = {
25750 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25751 };
25752
25753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25755 if (SWIG_arg_fail(1)) SWIG_fail;
25756 {
25757 arg2 = (long)(SWIG_As_long(obj1));
25758 if (SWIG_arg_fail(2)) SWIG_fail;
25759 }
25760 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25761 if (SWIG_arg_fail(3)) SWIG_fail;
25762 if (obj3) {
25763 {
25764 arg4 = &temp4;
25765 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25766 }
25767 }
25768 if (obj4) {
25769 {
25770 arg5 = &temp5;
25771 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25772 }
25773 }
25774 if (obj5) {
25775 {
25776 arg6 = (long)(SWIG_As_long(obj5));
25777 if (SWIG_arg_fail(6)) SWIG_fail;
25778 }
25779 }
25780 if (obj6) {
25781 {
25782 arg7 = wxString_in_helper(obj6);
25783 if (arg7 == NULL) SWIG_fail;
25784 temp7 = true;
25785 }
25786 }
25787 {
25788 if (!wxPyCheckForApp()) SWIG_fail;
25789 PyThreadState* __tstate = wxPyBeginAllowThreads();
25790 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25791
25792 wxPyEndAllowThreads(__tstate);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
25795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25796 {
25797 if (temp7)
25798 delete arg7;
25799 }
25800 return resultobj;
25801 fail:
25802 {
25803 if (temp7)
25804 delete arg7;
25805 }
25806 return NULL;
25807 }
25808
25809
25810 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25811 PyObject *resultobj;
25812 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25813 int result;
25814 PyObject * obj0 = 0 ;
25815 char *kwnames[] = {
25816 (char *) "self", NULL
25817 };
25818
25819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail;
25822 {
25823 PyThreadState* __tstate = wxPyBeginAllowThreads();
25824 result = (int)(arg1)->GetZoomControl();
25825
25826 wxPyEndAllowThreads(__tstate);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 }
25829 {
25830 resultobj = SWIG_From_int((int)(result));
25831 }
25832 return resultobj;
25833 fail:
25834 return NULL;
25835 }
25836
25837
25838 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25839 PyObject *resultobj;
25840 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25841 int arg2 ;
25842 PyObject * obj0 = 0 ;
25843 PyObject * obj1 = 0 ;
25844 char *kwnames[] = {
25845 (char *) "self",(char *) "zoom", NULL
25846 };
25847
25848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25850 if (SWIG_arg_fail(1)) SWIG_fail;
25851 {
25852 arg2 = (int)(SWIG_As_int(obj1));
25853 if (SWIG_arg_fail(2)) SWIG_fail;
25854 }
25855 {
25856 PyThreadState* __tstate = wxPyBeginAllowThreads();
25857 (arg1)->SetZoomControl(arg2);
25858
25859 wxPyEndAllowThreads(__tstate);
25860 if (PyErr_Occurred()) SWIG_fail;
25861 }
25862 Py_INCREF(Py_None); resultobj = Py_None;
25863 return resultobj;
25864 fail:
25865 return NULL;
25866 }
25867
25868
25869 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25870 PyObject *resultobj;
25871 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25872 wxPrintPreview *result;
25873 PyObject * obj0 = 0 ;
25874 char *kwnames[] = {
25875 (char *) "self", NULL
25876 };
25877
25878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25880 if (SWIG_arg_fail(1)) SWIG_fail;
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25884
25885 wxPyEndAllowThreads(__tstate);
25886 if (PyErr_Occurred()) SWIG_fail;
25887 }
25888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25889 return resultobj;
25890 fail:
25891 return NULL;
25892 }
25893
25894
25895 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25896 PyObject *resultobj;
25897 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25898 PyObject * obj0 = 0 ;
25899 char *kwnames[] = {
25900 (char *) "self", NULL
25901 };
25902
25903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25905 if (SWIG_arg_fail(1)) SWIG_fail;
25906 {
25907 PyThreadState* __tstate = wxPyBeginAllowThreads();
25908 (arg1)->OnNext();
25909
25910 wxPyEndAllowThreads(__tstate);
25911 if (PyErr_Occurred()) SWIG_fail;
25912 }
25913 Py_INCREF(Py_None); resultobj = Py_None;
25914 return resultobj;
25915 fail:
25916 return NULL;
25917 }
25918
25919
25920 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25921 PyObject *resultobj;
25922 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25923 PyObject * obj0 = 0 ;
25924 char *kwnames[] = {
25925 (char *) "self", NULL
25926 };
25927
25928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25930 if (SWIG_arg_fail(1)) SWIG_fail;
25931 {
25932 PyThreadState* __tstate = wxPyBeginAllowThreads();
25933 (arg1)->OnPrevious();
25934
25935 wxPyEndAllowThreads(__tstate);
25936 if (PyErr_Occurred()) SWIG_fail;
25937 }
25938 Py_INCREF(Py_None); resultobj = Py_None;
25939 return resultobj;
25940 fail:
25941 return NULL;
25942 }
25943
25944
25945 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25946 PyObject *resultobj;
25947 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25948 PyObject * obj0 = 0 ;
25949 char *kwnames[] = {
25950 (char *) "self", NULL
25951 };
25952
25953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail;
25956 {
25957 PyThreadState* __tstate = wxPyBeginAllowThreads();
25958 (arg1)->OnFirst();
25959
25960 wxPyEndAllowThreads(__tstate);
25961 if (PyErr_Occurred()) SWIG_fail;
25962 }
25963 Py_INCREF(Py_None); resultobj = Py_None;
25964 return resultobj;
25965 fail:
25966 return NULL;
25967 }
25968
25969
25970 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25971 PyObject *resultobj;
25972 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25973 PyObject * obj0 = 0 ;
25974 char *kwnames[] = {
25975 (char *) "self", NULL
25976 };
25977
25978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25980 if (SWIG_arg_fail(1)) SWIG_fail;
25981 {
25982 PyThreadState* __tstate = wxPyBeginAllowThreads();
25983 (arg1)->OnLast();
25984
25985 wxPyEndAllowThreads(__tstate);
25986 if (PyErr_Occurred()) SWIG_fail;
25987 }
25988 Py_INCREF(Py_None); resultobj = Py_None;
25989 return resultobj;
25990 fail:
25991 return NULL;
25992 }
25993
25994
25995 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25996 PyObject *resultobj;
25997 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25998 PyObject * obj0 = 0 ;
25999 char *kwnames[] = {
26000 (char *) "self", NULL
26001 };
26002
26003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
26004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26005 if (SWIG_arg_fail(1)) SWIG_fail;
26006 {
26007 PyThreadState* __tstate = wxPyBeginAllowThreads();
26008 (arg1)->OnGoto();
26009
26010 wxPyEndAllowThreads(__tstate);
26011 if (PyErr_Occurred()) SWIG_fail;
26012 }
26013 Py_INCREF(Py_None); resultobj = Py_None;
26014 return resultobj;
26015 fail:
26016 return NULL;
26017 }
26018
26019
26020 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
26021 PyObject *obj;
26022 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26023 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
26024 Py_INCREF(obj);
26025 return Py_BuildValue((char *)"");
26026 }
26027 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
26028 PyObject *resultobj;
26029 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26030 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26031 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26032 wxPrintPreview *result;
26033 PyObject * obj0 = 0 ;
26034 PyObject * obj1 = 0 ;
26035 PyObject * obj2 = 0 ;
26036
26037 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
26038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26039 if (SWIG_arg_fail(1)) SWIG_fail;
26040 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26041 if (SWIG_arg_fail(2)) SWIG_fail;
26042 if (obj2) {
26043 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26044 if (SWIG_arg_fail(3)) SWIG_fail;
26045 }
26046 {
26047 if (!wxPyCheckForApp()) SWIG_fail;
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26050
26051 wxPyEndAllowThreads(__tstate);
26052 if (PyErr_Occurred()) SWIG_fail;
26053 }
26054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26055 return resultobj;
26056 fail:
26057 return NULL;
26058 }
26059
26060
26061 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
26062 PyObject *resultobj;
26063 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26064 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26065 wxPrintData *arg3 = (wxPrintData *) 0 ;
26066 wxPrintPreview *result;
26067 PyObject * obj0 = 0 ;
26068 PyObject * obj1 = 0 ;
26069 PyObject * obj2 = 0 ;
26070
26071 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
26072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26073 if (SWIG_arg_fail(1)) SWIG_fail;
26074 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26075 if (SWIG_arg_fail(2)) SWIG_fail;
26076 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26077 if (SWIG_arg_fail(3)) SWIG_fail;
26078 {
26079 if (!wxPyCheckForApp()) SWIG_fail;
26080 PyThreadState* __tstate = wxPyBeginAllowThreads();
26081 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26082
26083 wxPyEndAllowThreads(__tstate);
26084 if (PyErr_Occurred()) SWIG_fail;
26085 }
26086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26087 return resultobj;
26088 fail:
26089 return NULL;
26090 }
26091
26092
26093 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
26094 int argc;
26095 PyObject *argv[4];
26096 int ii;
26097
26098 argc = PyObject_Length(args);
26099 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26100 argv[ii] = PyTuple_GetItem(args,ii);
26101 }
26102 if ((argc >= 2) && (argc <= 3)) {
26103 int _v;
26104 {
26105 void *ptr;
26106 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26107 _v = 0;
26108 PyErr_Clear();
26109 } else {
26110 _v = 1;
26111 }
26112 }
26113 if (_v) {
26114 {
26115 void *ptr;
26116 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26117 _v = 0;
26118 PyErr_Clear();
26119 } else {
26120 _v = 1;
26121 }
26122 }
26123 if (_v) {
26124 if (argc <= 2) {
26125 return _wrap_new_PrintPreview__SWIG_0(self,args);
26126 }
26127 {
26128 void *ptr;
26129 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26130 _v = 0;
26131 PyErr_Clear();
26132 } else {
26133 _v = 1;
26134 }
26135 }
26136 if (_v) {
26137 return _wrap_new_PrintPreview__SWIG_0(self,args);
26138 }
26139 }
26140 }
26141 }
26142 if (argc == 3) {
26143 int _v;
26144 {
26145 void *ptr;
26146 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26147 _v = 0;
26148 PyErr_Clear();
26149 } else {
26150 _v = 1;
26151 }
26152 }
26153 if (_v) {
26154 {
26155 void *ptr;
26156 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26157 _v = 0;
26158 PyErr_Clear();
26159 } else {
26160 _v = 1;
26161 }
26162 }
26163 if (_v) {
26164 {
26165 void *ptr;
26166 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26167 _v = 0;
26168 PyErr_Clear();
26169 } else {
26170 _v = 1;
26171 }
26172 }
26173 if (_v) {
26174 return _wrap_new_PrintPreview__SWIG_1(self,args);
26175 }
26176 }
26177 }
26178 }
26179
26180 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
26181 return NULL;
26182 }
26183
26184
26185 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26186 PyObject *resultobj;
26187 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26188 int arg2 ;
26189 bool result;
26190 PyObject * obj0 = 0 ;
26191 PyObject * obj1 = 0 ;
26192 char *kwnames[] = {
26193 (char *) "self",(char *) "pageNum", NULL
26194 };
26195
26196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26198 if (SWIG_arg_fail(1)) SWIG_fail;
26199 {
26200 arg2 = (int)(SWIG_As_int(obj1));
26201 if (SWIG_arg_fail(2)) SWIG_fail;
26202 }
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 result = (bool)(arg1)->SetCurrentPage(arg2);
26206
26207 wxPyEndAllowThreads(__tstate);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 }
26210 {
26211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26212 }
26213 return resultobj;
26214 fail:
26215 return NULL;
26216 }
26217
26218
26219 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26220 PyObject *resultobj;
26221 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26222 int result;
26223 PyObject * obj0 = 0 ;
26224 char *kwnames[] = {
26225 (char *) "self", NULL
26226 };
26227
26228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
26229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26230 if (SWIG_arg_fail(1)) SWIG_fail;
26231 {
26232 PyThreadState* __tstate = wxPyBeginAllowThreads();
26233 result = (int)(arg1)->GetCurrentPage();
26234
26235 wxPyEndAllowThreads(__tstate);
26236 if (PyErr_Occurred()) SWIG_fail;
26237 }
26238 {
26239 resultobj = SWIG_From_int((int)(result));
26240 }
26241 return resultobj;
26242 fail:
26243 return NULL;
26244 }
26245
26246
26247 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26248 PyObject *resultobj;
26249 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26250 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26251 PyObject * obj0 = 0 ;
26252 PyObject * obj1 = 0 ;
26253 char *kwnames[] = {
26254 (char *) "self",(char *) "printout", NULL
26255 };
26256
26257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
26258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26259 if (SWIG_arg_fail(1)) SWIG_fail;
26260 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26261 if (SWIG_arg_fail(2)) SWIG_fail;
26262 {
26263 PyThreadState* __tstate = wxPyBeginAllowThreads();
26264 (arg1)->SetPrintout(arg2);
26265
26266 wxPyEndAllowThreads(__tstate);
26267 if (PyErr_Occurred()) SWIG_fail;
26268 }
26269 Py_INCREF(Py_None); resultobj = Py_None;
26270 return resultobj;
26271 fail:
26272 return NULL;
26273 }
26274
26275
26276 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26277 PyObject *resultobj;
26278 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26279 wxPyPrintout *result;
26280 PyObject * obj0 = 0 ;
26281 char *kwnames[] = {
26282 (char *) "self", NULL
26283 };
26284
26285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
26286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26287 if (SWIG_arg_fail(1)) SWIG_fail;
26288 {
26289 PyThreadState* __tstate = wxPyBeginAllowThreads();
26290 result = (wxPyPrintout *)(arg1)->GetPrintout();
26291
26292 wxPyEndAllowThreads(__tstate);
26293 if (PyErr_Occurred()) SWIG_fail;
26294 }
26295 {
26296 resultobj = wxPyMake_wxObject(result, 0);
26297 }
26298 return resultobj;
26299 fail:
26300 return NULL;
26301 }
26302
26303
26304 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
26305 PyObject *resultobj;
26306 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26307 wxPyPrintout *result;
26308 PyObject * obj0 = 0 ;
26309 char *kwnames[] = {
26310 (char *) "self", NULL
26311 };
26312
26313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
26314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26315 if (SWIG_arg_fail(1)) SWIG_fail;
26316 {
26317 PyThreadState* __tstate = wxPyBeginAllowThreads();
26318 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26319
26320 wxPyEndAllowThreads(__tstate);
26321 if (PyErr_Occurred()) SWIG_fail;
26322 }
26323 {
26324 resultobj = wxPyMake_wxObject(result, 0);
26325 }
26326 return resultobj;
26327 fail:
26328 return NULL;
26329 }
26330
26331
26332 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26333 PyObject *resultobj;
26334 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26335 wxFrame *arg2 = (wxFrame *) 0 ;
26336 PyObject * obj0 = 0 ;
26337 PyObject * obj1 = 0 ;
26338 char *kwnames[] = {
26339 (char *) "self",(char *) "frame", NULL
26340 };
26341
26342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
26343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26344 if (SWIG_arg_fail(1)) SWIG_fail;
26345 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26346 if (SWIG_arg_fail(2)) SWIG_fail;
26347 {
26348 PyThreadState* __tstate = wxPyBeginAllowThreads();
26349 (arg1)->SetFrame(arg2);
26350
26351 wxPyEndAllowThreads(__tstate);
26352 if (PyErr_Occurred()) SWIG_fail;
26353 }
26354 Py_INCREF(Py_None); resultobj = Py_None;
26355 return resultobj;
26356 fail:
26357 return NULL;
26358 }
26359
26360
26361 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26362 PyObject *resultobj;
26363 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26364 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26365 PyObject * obj0 = 0 ;
26366 PyObject * obj1 = 0 ;
26367 char *kwnames[] = {
26368 (char *) "self",(char *) "canvas", NULL
26369 };
26370
26371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26373 if (SWIG_arg_fail(1)) SWIG_fail;
26374 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26375 if (SWIG_arg_fail(2)) SWIG_fail;
26376 {
26377 PyThreadState* __tstate = wxPyBeginAllowThreads();
26378 (arg1)->SetCanvas(arg2);
26379
26380 wxPyEndAllowThreads(__tstate);
26381 if (PyErr_Occurred()) SWIG_fail;
26382 }
26383 Py_INCREF(Py_None); resultobj = Py_None;
26384 return resultobj;
26385 fail:
26386 return NULL;
26387 }
26388
26389
26390 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26391 PyObject *resultobj;
26392 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26393 wxFrame *result;
26394 PyObject * obj0 = 0 ;
26395 char *kwnames[] = {
26396 (char *) "self", NULL
26397 };
26398
26399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26401 if (SWIG_arg_fail(1)) SWIG_fail;
26402 {
26403 PyThreadState* __tstate = wxPyBeginAllowThreads();
26404 result = (wxFrame *)(arg1)->GetFrame();
26405
26406 wxPyEndAllowThreads(__tstate);
26407 if (PyErr_Occurred()) SWIG_fail;
26408 }
26409 {
26410 resultobj = wxPyMake_wxObject(result, 0);
26411 }
26412 return resultobj;
26413 fail:
26414 return NULL;
26415 }
26416
26417
26418 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26419 PyObject *resultobj;
26420 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26421 wxPreviewCanvas *result;
26422 PyObject * obj0 = 0 ;
26423 char *kwnames[] = {
26424 (char *) "self", NULL
26425 };
26426
26427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26429 if (SWIG_arg_fail(1)) SWIG_fail;
26430 {
26431 PyThreadState* __tstate = wxPyBeginAllowThreads();
26432 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26433
26434 wxPyEndAllowThreads(__tstate);
26435 if (PyErr_Occurred()) SWIG_fail;
26436 }
26437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26438 return resultobj;
26439 fail:
26440 return NULL;
26441 }
26442
26443
26444 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26445 PyObject *resultobj;
26446 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26447 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26448 wxDC *arg3 = 0 ;
26449 bool result;
26450 PyObject * obj0 = 0 ;
26451 PyObject * obj1 = 0 ;
26452 PyObject * obj2 = 0 ;
26453 char *kwnames[] = {
26454 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26455 };
26456
26457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26459 if (SWIG_arg_fail(1)) SWIG_fail;
26460 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26461 if (SWIG_arg_fail(2)) SWIG_fail;
26462 {
26463 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26464 if (SWIG_arg_fail(3)) SWIG_fail;
26465 if (arg3 == NULL) {
26466 SWIG_null_ref("wxDC");
26467 }
26468 if (SWIG_arg_fail(3)) SWIG_fail;
26469 }
26470 {
26471 PyThreadState* __tstate = wxPyBeginAllowThreads();
26472 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26473
26474 wxPyEndAllowThreads(__tstate);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 }
26477 {
26478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26479 }
26480 return resultobj;
26481 fail:
26482 return NULL;
26483 }
26484
26485
26486 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26487 PyObject *resultobj;
26488 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26489 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26490 wxDC *arg3 = 0 ;
26491 bool result;
26492 PyObject * obj0 = 0 ;
26493 PyObject * obj1 = 0 ;
26494 PyObject * obj2 = 0 ;
26495 char *kwnames[] = {
26496 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26497 };
26498
26499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26501 if (SWIG_arg_fail(1)) SWIG_fail;
26502 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26503 if (SWIG_arg_fail(2)) SWIG_fail;
26504 {
26505 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26506 if (SWIG_arg_fail(3)) SWIG_fail;
26507 if (arg3 == NULL) {
26508 SWIG_null_ref("wxDC");
26509 }
26510 if (SWIG_arg_fail(3)) SWIG_fail;
26511 }
26512 {
26513 PyThreadState* __tstate = wxPyBeginAllowThreads();
26514 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26515
26516 wxPyEndAllowThreads(__tstate);
26517 if (PyErr_Occurred()) SWIG_fail;
26518 }
26519 {
26520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26521 }
26522 return resultobj;
26523 fail:
26524 return NULL;
26525 }
26526
26527
26528 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26529 PyObject *resultobj;
26530 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26531 int arg2 ;
26532 bool result;
26533 PyObject * obj0 = 0 ;
26534 PyObject * obj1 = 0 ;
26535 char *kwnames[] = {
26536 (char *) "self",(char *) "pageNum", NULL
26537 };
26538
26539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26541 if (SWIG_arg_fail(1)) SWIG_fail;
26542 {
26543 arg2 = (int)(SWIG_As_int(obj1));
26544 if (SWIG_arg_fail(2)) SWIG_fail;
26545 }
26546 {
26547 PyThreadState* __tstate = wxPyBeginAllowThreads();
26548 result = (bool)(arg1)->RenderPage(arg2);
26549
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 {
26554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26555 }
26556 return resultobj;
26557 fail:
26558 return NULL;
26559 }
26560
26561
26562 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26563 PyObject *resultobj;
26564 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26565 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26566 PyObject * obj0 = 0 ;
26567 PyObject * obj1 = 0 ;
26568 char *kwnames[] = {
26569 (char *) "self",(char *) "canvas", NULL
26570 };
26571
26572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26574 if (SWIG_arg_fail(1)) SWIG_fail;
26575 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26576 if (SWIG_arg_fail(2)) SWIG_fail;
26577 {
26578 PyThreadState* __tstate = wxPyBeginAllowThreads();
26579 (arg1)->AdjustScrollbars(arg2);
26580
26581 wxPyEndAllowThreads(__tstate);
26582 if (PyErr_Occurred()) SWIG_fail;
26583 }
26584 Py_INCREF(Py_None); resultobj = Py_None;
26585 return resultobj;
26586 fail:
26587 return NULL;
26588 }
26589
26590
26591 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26592 PyObject *resultobj;
26593 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26594 wxPrintDialogData *result;
26595 PyObject * obj0 = 0 ;
26596 char *kwnames[] = {
26597 (char *) "self", NULL
26598 };
26599
26600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26602 if (SWIG_arg_fail(1)) SWIG_fail;
26603 {
26604 PyThreadState* __tstate = wxPyBeginAllowThreads();
26605 {
26606 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26607 result = (wxPrintDialogData *) &_result_ref;
26608 }
26609
26610 wxPyEndAllowThreads(__tstate);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 }
26613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26614 return resultobj;
26615 fail:
26616 return NULL;
26617 }
26618
26619
26620 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26621 PyObject *resultobj;
26622 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26623 int arg2 ;
26624 PyObject * obj0 = 0 ;
26625 PyObject * obj1 = 0 ;
26626 char *kwnames[] = {
26627 (char *) "self",(char *) "percent", NULL
26628 };
26629
26630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26632 if (SWIG_arg_fail(1)) SWIG_fail;
26633 {
26634 arg2 = (int)(SWIG_As_int(obj1));
26635 if (SWIG_arg_fail(2)) SWIG_fail;
26636 }
26637 {
26638 PyThreadState* __tstate = wxPyBeginAllowThreads();
26639 (arg1)->SetZoom(arg2);
26640
26641 wxPyEndAllowThreads(__tstate);
26642 if (PyErr_Occurred()) SWIG_fail;
26643 }
26644 Py_INCREF(Py_None); resultobj = Py_None;
26645 return resultobj;
26646 fail:
26647 return NULL;
26648 }
26649
26650
26651 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26652 PyObject *resultobj;
26653 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26654 int result;
26655 PyObject * obj0 = 0 ;
26656 char *kwnames[] = {
26657 (char *) "self", NULL
26658 };
26659
26660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26662 if (SWIG_arg_fail(1)) SWIG_fail;
26663 {
26664 PyThreadState* __tstate = wxPyBeginAllowThreads();
26665 result = (int)(arg1)->GetZoom();
26666
26667 wxPyEndAllowThreads(__tstate);
26668 if (PyErr_Occurred()) SWIG_fail;
26669 }
26670 {
26671 resultobj = SWIG_From_int((int)(result));
26672 }
26673 return resultobj;
26674 fail:
26675 return NULL;
26676 }
26677
26678
26679 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26680 PyObject *resultobj;
26681 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26682 int result;
26683 PyObject * obj0 = 0 ;
26684 char *kwnames[] = {
26685 (char *) "self", NULL
26686 };
26687
26688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",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 result = (int)(arg1)->GetMaxPage();
26694
26695 wxPyEndAllowThreads(__tstate);
26696 if (PyErr_Occurred()) SWIG_fail;
26697 }
26698 {
26699 resultobj = SWIG_From_int((int)(result));
26700 }
26701 return resultobj;
26702 fail:
26703 return NULL;
26704 }
26705
26706
26707 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26708 PyObject *resultobj;
26709 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26710 int result;
26711 PyObject * obj0 = 0 ;
26712 char *kwnames[] = {
26713 (char *) "self", NULL
26714 };
26715
26716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26718 if (SWIG_arg_fail(1)) SWIG_fail;
26719 {
26720 PyThreadState* __tstate = wxPyBeginAllowThreads();
26721 result = (int)(arg1)->GetMinPage();
26722
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 {
26727 resultobj = SWIG_From_int((int)(result));
26728 }
26729 return resultobj;
26730 fail:
26731 return NULL;
26732 }
26733
26734
26735 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26736 PyObject *resultobj;
26737 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26738 bool result;
26739 PyObject * obj0 = 0 ;
26740 char *kwnames[] = {
26741 (char *) "self", NULL
26742 };
26743
26744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail;
26747 {
26748 PyThreadState* __tstate = wxPyBeginAllowThreads();
26749 result = (bool)(arg1)->Ok();
26750
26751 wxPyEndAllowThreads(__tstate);
26752 if (PyErr_Occurred()) SWIG_fail;
26753 }
26754 {
26755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26756 }
26757 return resultobj;
26758 fail:
26759 return NULL;
26760 }
26761
26762
26763 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26764 PyObject *resultobj;
26765 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26766 bool arg2 ;
26767 PyObject * obj0 = 0 ;
26768 PyObject * obj1 = 0 ;
26769 char *kwnames[] = {
26770 (char *) "self",(char *) "ok", NULL
26771 };
26772
26773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26775 if (SWIG_arg_fail(1)) SWIG_fail;
26776 {
26777 arg2 = (bool)(SWIG_As_bool(obj1));
26778 if (SWIG_arg_fail(2)) SWIG_fail;
26779 }
26780 {
26781 PyThreadState* __tstate = wxPyBeginAllowThreads();
26782 (arg1)->SetOk(arg2);
26783
26784 wxPyEndAllowThreads(__tstate);
26785 if (PyErr_Occurred()) SWIG_fail;
26786 }
26787 Py_INCREF(Py_None); resultobj = Py_None;
26788 return resultobj;
26789 fail:
26790 return NULL;
26791 }
26792
26793
26794 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26795 PyObject *resultobj;
26796 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26797 bool arg2 ;
26798 bool result;
26799 PyObject * obj0 = 0 ;
26800 PyObject * obj1 = 0 ;
26801 char *kwnames[] = {
26802 (char *) "self",(char *) "interactive", NULL
26803 };
26804
26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26807 if (SWIG_arg_fail(1)) SWIG_fail;
26808 {
26809 arg2 = (bool)(SWIG_As_bool(obj1));
26810 if (SWIG_arg_fail(2)) SWIG_fail;
26811 }
26812 {
26813 PyThreadState* __tstate = wxPyBeginAllowThreads();
26814 result = (bool)(arg1)->Print(arg2);
26815
26816 wxPyEndAllowThreads(__tstate);
26817 if (PyErr_Occurred()) SWIG_fail;
26818 }
26819 {
26820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26821 }
26822 return resultobj;
26823 fail:
26824 return NULL;
26825 }
26826
26827
26828 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26829 PyObject *resultobj;
26830 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26831 PyObject * obj0 = 0 ;
26832 char *kwnames[] = {
26833 (char *) "self", NULL
26834 };
26835
26836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26838 if (SWIG_arg_fail(1)) SWIG_fail;
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 (arg1)->DetermineScaling();
26842
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 Py_INCREF(Py_None); resultobj = Py_None;
26847 return resultobj;
26848 fail:
26849 return NULL;
26850 }
26851
26852
26853 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26854 PyObject *obj;
26855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26856 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26857 Py_INCREF(obj);
26858 return Py_BuildValue((char *)"");
26859 }
26860 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26861 PyObject *resultobj;
26862 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26863 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26864 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26865 wxPyPrintPreview *result;
26866 PyObject * obj0 = 0 ;
26867 PyObject * obj1 = 0 ;
26868 PyObject * obj2 = 0 ;
26869
26870 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26872 if (SWIG_arg_fail(1)) SWIG_fail;
26873 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26874 if (SWIG_arg_fail(2)) SWIG_fail;
26875 if (obj2) {
26876 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26877 if (SWIG_arg_fail(3)) SWIG_fail;
26878 }
26879 {
26880 if (!wxPyCheckForApp()) SWIG_fail;
26881 PyThreadState* __tstate = wxPyBeginAllowThreads();
26882 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26883
26884 wxPyEndAllowThreads(__tstate);
26885 if (PyErr_Occurred()) SWIG_fail;
26886 }
26887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26888 return resultobj;
26889 fail:
26890 return NULL;
26891 }
26892
26893
26894 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26895 PyObject *resultobj;
26896 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26897 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26898 wxPrintData *arg3 = (wxPrintData *) 0 ;
26899 wxPyPrintPreview *result;
26900 PyObject * obj0 = 0 ;
26901 PyObject * obj1 = 0 ;
26902 PyObject * obj2 = 0 ;
26903
26904 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26906 if (SWIG_arg_fail(1)) SWIG_fail;
26907 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26908 if (SWIG_arg_fail(2)) SWIG_fail;
26909 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26910 if (SWIG_arg_fail(3)) SWIG_fail;
26911 {
26912 if (!wxPyCheckForApp()) SWIG_fail;
26913 PyThreadState* __tstate = wxPyBeginAllowThreads();
26914 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26915
26916 wxPyEndAllowThreads(__tstate);
26917 if (PyErr_Occurred()) SWIG_fail;
26918 }
26919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26920 return resultobj;
26921 fail:
26922 return NULL;
26923 }
26924
26925
26926 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26927 int argc;
26928 PyObject *argv[4];
26929 int ii;
26930
26931 argc = PyObject_Length(args);
26932 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26933 argv[ii] = PyTuple_GetItem(args,ii);
26934 }
26935 if ((argc >= 2) && (argc <= 3)) {
26936 int _v;
26937 {
26938 void *ptr;
26939 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26940 _v = 0;
26941 PyErr_Clear();
26942 } else {
26943 _v = 1;
26944 }
26945 }
26946 if (_v) {
26947 {
26948 void *ptr;
26949 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26950 _v = 0;
26951 PyErr_Clear();
26952 } else {
26953 _v = 1;
26954 }
26955 }
26956 if (_v) {
26957 if (argc <= 2) {
26958 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26959 }
26960 {
26961 void *ptr;
26962 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26963 _v = 0;
26964 PyErr_Clear();
26965 } else {
26966 _v = 1;
26967 }
26968 }
26969 if (_v) {
26970 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26971 }
26972 }
26973 }
26974 }
26975 if (argc == 3) {
26976 int _v;
26977 {
26978 void *ptr;
26979 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26980 _v = 0;
26981 PyErr_Clear();
26982 } else {
26983 _v = 1;
26984 }
26985 }
26986 if (_v) {
26987 {
26988 void *ptr;
26989 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26990 _v = 0;
26991 PyErr_Clear();
26992 } else {
26993 _v = 1;
26994 }
26995 }
26996 if (_v) {
26997 {
26998 void *ptr;
26999 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
27000 _v = 0;
27001 PyErr_Clear();
27002 } else {
27003 _v = 1;
27004 }
27005 }
27006 if (_v) {
27007 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
27008 }
27009 }
27010 }
27011 }
27012
27013 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
27014 return NULL;
27015 }
27016
27017
27018 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27019 PyObject *resultobj;
27020 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27021 PyObject *arg2 = (PyObject *) 0 ;
27022 PyObject *arg3 = (PyObject *) 0 ;
27023 PyObject * obj0 = 0 ;
27024 PyObject * obj1 = 0 ;
27025 PyObject * obj2 = 0 ;
27026 char *kwnames[] = {
27027 (char *) "self",(char *) "self",(char *) "_class", NULL
27028 };
27029
27030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = obj1;
27034 arg3 = obj2;
27035 {
27036 PyThreadState* __tstate = wxPyBeginAllowThreads();
27037 (arg1)->_setCallbackInfo(arg2,arg3);
27038
27039 wxPyEndAllowThreads(__tstate);
27040 if (PyErr_Occurred()) SWIG_fail;
27041 }
27042 Py_INCREF(Py_None); resultobj = Py_None;
27043 return resultobj;
27044 fail:
27045 return NULL;
27046 }
27047
27048
27049 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
27050 PyObject *resultobj;
27051 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27052 int arg2 ;
27053 bool result;
27054 PyObject * obj0 = 0 ;
27055 PyObject * obj1 = 0 ;
27056 char *kwnames[] = {
27057 (char *) "self",(char *) "pageNum", NULL
27058 };
27059
27060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
27061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27062 if (SWIG_arg_fail(1)) SWIG_fail;
27063 {
27064 arg2 = (int)(SWIG_As_int(obj1));
27065 if (SWIG_arg_fail(2)) SWIG_fail;
27066 }
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 result = (bool)(arg1)->base_SetCurrentPage(arg2);
27070
27071 wxPyEndAllowThreads(__tstate);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
27074 {
27075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27076 }
27077 return resultobj;
27078 fail:
27079 return NULL;
27080 }
27081
27082
27083 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
27084 PyObject *resultobj;
27085 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27086 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27087 wxDC *arg3 = 0 ;
27088 bool result;
27089 PyObject * obj0 = 0 ;
27090 PyObject * obj1 = 0 ;
27091 PyObject * obj2 = 0 ;
27092 char *kwnames[] = {
27093 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27094 };
27095
27096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27098 if (SWIG_arg_fail(1)) SWIG_fail;
27099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27100 if (SWIG_arg_fail(2)) SWIG_fail;
27101 {
27102 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27103 if (SWIG_arg_fail(3)) SWIG_fail;
27104 if (arg3 == NULL) {
27105 SWIG_null_ref("wxDC");
27106 }
27107 if (SWIG_arg_fail(3)) SWIG_fail;
27108 }
27109 {
27110 PyThreadState* __tstate = wxPyBeginAllowThreads();
27111 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
27112
27113 wxPyEndAllowThreads(__tstate);
27114 if (PyErr_Occurred()) SWIG_fail;
27115 }
27116 {
27117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27118 }
27119 return resultobj;
27120 fail:
27121 return NULL;
27122 }
27123
27124
27125 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
27126 PyObject *resultobj;
27127 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27128 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27129 wxDC *arg3 = 0 ;
27130 bool result;
27131 PyObject * obj0 = 0 ;
27132 PyObject * obj1 = 0 ;
27133 PyObject * obj2 = 0 ;
27134 char *kwnames[] = {
27135 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27136 };
27137
27138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27140 if (SWIG_arg_fail(1)) SWIG_fail;
27141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27142 if (SWIG_arg_fail(2)) SWIG_fail;
27143 {
27144 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27145 if (SWIG_arg_fail(3)) SWIG_fail;
27146 if (arg3 == NULL) {
27147 SWIG_null_ref("wxDC");
27148 }
27149 if (SWIG_arg_fail(3)) SWIG_fail;
27150 }
27151 {
27152 PyThreadState* __tstate = wxPyBeginAllowThreads();
27153 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
27154
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 {
27159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27160 }
27161 return resultobj;
27162 fail:
27163 return NULL;
27164 }
27165
27166
27167 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
27168 PyObject *resultobj;
27169 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27170 int arg2 ;
27171 bool result;
27172 PyObject * obj0 = 0 ;
27173 PyObject * obj1 = 0 ;
27174 char *kwnames[] = {
27175 (char *) "self",(char *) "pageNum", NULL
27176 };
27177
27178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
27179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27180 if (SWIG_arg_fail(1)) SWIG_fail;
27181 {
27182 arg2 = (int)(SWIG_As_int(obj1));
27183 if (SWIG_arg_fail(2)) SWIG_fail;
27184 }
27185 {
27186 PyThreadState* __tstate = wxPyBeginAllowThreads();
27187 result = (bool)(arg1)->base_RenderPage(arg2);
27188
27189 wxPyEndAllowThreads(__tstate);
27190 if (PyErr_Occurred()) SWIG_fail;
27191 }
27192 {
27193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27194 }
27195 return resultobj;
27196 fail:
27197 return NULL;
27198 }
27199
27200
27201 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
27202 PyObject *resultobj;
27203 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27204 int arg2 ;
27205 PyObject * obj0 = 0 ;
27206 PyObject * obj1 = 0 ;
27207 char *kwnames[] = {
27208 (char *) "self",(char *) "percent", NULL
27209 };
27210
27211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
27212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27213 if (SWIG_arg_fail(1)) SWIG_fail;
27214 {
27215 arg2 = (int)(SWIG_As_int(obj1));
27216 if (SWIG_arg_fail(2)) SWIG_fail;
27217 }
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 (arg1)->base_SetZoom(arg2);
27221
27222 wxPyEndAllowThreads(__tstate);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
27225 Py_INCREF(Py_None); resultobj = Py_None;
27226 return resultobj;
27227 fail:
27228 return NULL;
27229 }
27230
27231
27232 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
27233 PyObject *resultobj;
27234 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27235 bool arg2 ;
27236 bool result;
27237 PyObject * obj0 = 0 ;
27238 PyObject * obj1 = 0 ;
27239 char *kwnames[] = {
27240 (char *) "self",(char *) "interactive", NULL
27241 };
27242
27243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
27244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27245 if (SWIG_arg_fail(1)) SWIG_fail;
27246 {
27247 arg2 = (bool)(SWIG_As_bool(obj1));
27248 if (SWIG_arg_fail(2)) SWIG_fail;
27249 }
27250 {
27251 PyThreadState* __tstate = wxPyBeginAllowThreads();
27252 result = (bool)(arg1)->base_Print(arg2);
27253
27254 wxPyEndAllowThreads(__tstate);
27255 if (PyErr_Occurred()) SWIG_fail;
27256 }
27257 {
27258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27259 }
27260 return resultobj;
27261 fail:
27262 return NULL;
27263 }
27264
27265
27266 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
27267 PyObject *resultobj;
27268 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27269 PyObject * obj0 = 0 ;
27270 char *kwnames[] = {
27271 (char *) "self", NULL
27272 };
27273
27274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
27275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail;
27277 {
27278 PyThreadState* __tstate = wxPyBeginAllowThreads();
27279 (arg1)->base_DetermineScaling();
27280
27281 wxPyEndAllowThreads(__tstate);
27282 if (PyErr_Occurred()) SWIG_fail;
27283 }
27284 Py_INCREF(Py_None); resultobj = Py_None;
27285 return resultobj;
27286 fail:
27287 return NULL;
27288 }
27289
27290
27291 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
27292 PyObject *obj;
27293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27294 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27295 Py_INCREF(obj);
27296 return Py_BuildValue((char *)"");
27297 }
27298 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
27299 PyObject *resultobj;
27300 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27301 wxFrame *arg2 = (wxFrame *) 0 ;
27302 wxString *arg3 = 0 ;
27303 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27304 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27305 wxSize const &arg5_defvalue = wxDefaultSize ;
27306 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27307 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27308 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27309 wxString *arg7 = (wxString *) &arg7_defvalue ;
27310 wxPyPreviewFrame *result;
27311 bool temp3 = false ;
27312 wxPoint temp4 ;
27313 wxSize temp5 ;
27314 bool temp7 = false ;
27315 PyObject * obj0 = 0 ;
27316 PyObject * obj1 = 0 ;
27317 PyObject * obj2 = 0 ;
27318 PyObject * obj3 = 0 ;
27319 PyObject * obj4 = 0 ;
27320 PyObject * obj5 = 0 ;
27321 PyObject * obj6 = 0 ;
27322 char *kwnames[] = {
27323 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27324 };
27325
27326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27328 if (SWIG_arg_fail(1)) SWIG_fail;
27329 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27330 if (SWIG_arg_fail(2)) SWIG_fail;
27331 {
27332 arg3 = wxString_in_helper(obj2);
27333 if (arg3 == NULL) SWIG_fail;
27334 temp3 = true;
27335 }
27336 if (obj3) {
27337 {
27338 arg4 = &temp4;
27339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27340 }
27341 }
27342 if (obj4) {
27343 {
27344 arg5 = &temp5;
27345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27346 }
27347 }
27348 if (obj5) {
27349 {
27350 arg6 = (long)(SWIG_As_long(obj5));
27351 if (SWIG_arg_fail(6)) SWIG_fail;
27352 }
27353 }
27354 if (obj6) {
27355 {
27356 arg7 = wxString_in_helper(obj6);
27357 if (arg7 == NULL) SWIG_fail;
27358 temp7 = true;
27359 }
27360 }
27361 {
27362 if (!wxPyCheckForApp()) SWIG_fail;
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27365
27366 wxPyEndAllowThreads(__tstate);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27370 {
27371 if (temp3)
27372 delete arg3;
27373 }
27374 {
27375 if (temp7)
27376 delete arg7;
27377 }
27378 return resultobj;
27379 fail:
27380 {
27381 if (temp3)
27382 delete arg3;
27383 }
27384 {
27385 if (temp7)
27386 delete arg7;
27387 }
27388 return NULL;
27389 }
27390
27391
27392 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27393 PyObject *resultobj;
27394 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27395 PyObject *arg2 = (PyObject *) 0 ;
27396 PyObject *arg3 = (PyObject *) 0 ;
27397 PyObject * obj0 = 0 ;
27398 PyObject * obj1 = 0 ;
27399 PyObject * obj2 = 0 ;
27400 char *kwnames[] = {
27401 (char *) "self",(char *) "self",(char *) "_class", NULL
27402 };
27403
27404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27406 if (SWIG_arg_fail(1)) SWIG_fail;
27407 arg2 = obj1;
27408 arg3 = obj2;
27409 {
27410 PyThreadState* __tstate = wxPyBeginAllowThreads();
27411 (arg1)->_setCallbackInfo(arg2,arg3);
27412
27413 wxPyEndAllowThreads(__tstate);
27414 if (PyErr_Occurred()) SWIG_fail;
27415 }
27416 Py_INCREF(Py_None); resultobj = Py_None;
27417 return resultobj;
27418 fail:
27419 return NULL;
27420 }
27421
27422
27423 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27424 PyObject *resultobj;
27425 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27426 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27427 PyObject * obj0 = 0 ;
27428 PyObject * obj1 = 0 ;
27429 char *kwnames[] = {
27430 (char *) "self",(char *) "canvas", NULL
27431 };
27432
27433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27435 if (SWIG_arg_fail(1)) SWIG_fail;
27436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27437 if (SWIG_arg_fail(2)) SWIG_fail;
27438 {
27439 PyThreadState* __tstate = wxPyBeginAllowThreads();
27440 (arg1)->SetPreviewCanvas(arg2);
27441
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 Py_INCREF(Py_None); resultobj = Py_None;
27446 return resultobj;
27447 fail:
27448 return NULL;
27449 }
27450
27451
27452 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27453 PyObject *resultobj;
27454 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27455 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27456 PyObject * obj0 = 0 ;
27457 PyObject * obj1 = 0 ;
27458 char *kwnames[] = {
27459 (char *) "self",(char *) "bar", NULL
27460 };
27461
27462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27464 if (SWIG_arg_fail(1)) SWIG_fail;
27465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27466 if (SWIG_arg_fail(2)) SWIG_fail;
27467 {
27468 PyThreadState* __tstate = wxPyBeginAllowThreads();
27469 (arg1)->SetControlBar(arg2);
27470
27471 wxPyEndAllowThreads(__tstate);
27472 if (PyErr_Occurred()) SWIG_fail;
27473 }
27474 Py_INCREF(Py_None); resultobj = Py_None;
27475 return resultobj;
27476 fail:
27477 return NULL;
27478 }
27479
27480
27481 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27482 PyObject *resultobj;
27483 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27484 PyObject * obj0 = 0 ;
27485 char *kwnames[] = {
27486 (char *) "self", NULL
27487 };
27488
27489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27491 if (SWIG_arg_fail(1)) SWIG_fail;
27492 {
27493 PyThreadState* __tstate = wxPyBeginAllowThreads();
27494 (arg1)->base_Initialize();
27495
27496 wxPyEndAllowThreads(__tstate);
27497 if (PyErr_Occurred()) SWIG_fail;
27498 }
27499 Py_INCREF(Py_None); resultobj = Py_None;
27500 return resultobj;
27501 fail:
27502 return NULL;
27503 }
27504
27505
27506 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27507 PyObject *resultobj;
27508 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27509 PyObject * obj0 = 0 ;
27510 char *kwnames[] = {
27511 (char *) "self", NULL
27512 };
27513
27514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27516 if (SWIG_arg_fail(1)) SWIG_fail;
27517 {
27518 PyThreadState* __tstate = wxPyBeginAllowThreads();
27519 (arg1)->base_CreateCanvas();
27520
27521 wxPyEndAllowThreads(__tstate);
27522 if (PyErr_Occurred()) SWIG_fail;
27523 }
27524 Py_INCREF(Py_None); resultobj = Py_None;
27525 return resultobj;
27526 fail:
27527 return NULL;
27528 }
27529
27530
27531 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27532 PyObject *resultobj;
27533 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27534 PyObject * obj0 = 0 ;
27535 char *kwnames[] = {
27536 (char *) "self", NULL
27537 };
27538
27539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27541 if (SWIG_arg_fail(1)) SWIG_fail;
27542 {
27543 PyThreadState* __tstate = wxPyBeginAllowThreads();
27544 (arg1)->base_CreateControlBar();
27545
27546 wxPyEndAllowThreads(__tstate);
27547 if (PyErr_Occurred()) SWIG_fail;
27548 }
27549 Py_INCREF(Py_None); resultobj = Py_None;
27550 return resultobj;
27551 fail:
27552 return NULL;
27553 }
27554
27555
27556 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27557 PyObject *obj;
27558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27559 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27560 Py_INCREF(obj);
27561 return Py_BuildValue((char *)"");
27562 }
27563 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27564 PyObject *resultobj;
27565 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27566 long arg2 ;
27567 wxWindow *arg3 = (wxWindow *) 0 ;
27568 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27569 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27570 wxSize const &arg5_defvalue = wxDefaultSize ;
27571 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27572 long arg6 = (long) 0 ;
27573 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27574 wxString *arg7 = (wxString *) &arg7_defvalue ;
27575 wxPyPreviewControlBar *result;
27576 wxPoint temp4 ;
27577 wxSize temp5 ;
27578 bool temp7 = false ;
27579 PyObject * obj0 = 0 ;
27580 PyObject * obj1 = 0 ;
27581 PyObject * obj2 = 0 ;
27582 PyObject * obj3 = 0 ;
27583 PyObject * obj4 = 0 ;
27584 PyObject * obj5 = 0 ;
27585 PyObject * obj6 = 0 ;
27586 char *kwnames[] = {
27587 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27588 };
27589
27590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27592 if (SWIG_arg_fail(1)) SWIG_fail;
27593 {
27594 arg2 = (long)(SWIG_As_long(obj1));
27595 if (SWIG_arg_fail(2)) SWIG_fail;
27596 }
27597 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27598 if (SWIG_arg_fail(3)) SWIG_fail;
27599 if (obj3) {
27600 {
27601 arg4 = &temp4;
27602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27603 }
27604 }
27605 if (obj4) {
27606 {
27607 arg5 = &temp5;
27608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27609 }
27610 }
27611 if (obj5) {
27612 {
27613 arg6 = (long)(SWIG_As_long(obj5));
27614 if (SWIG_arg_fail(6)) SWIG_fail;
27615 }
27616 }
27617 if (obj6) {
27618 {
27619 arg7 = wxString_in_helper(obj6);
27620 if (arg7 == NULL) SWIG_fail;
27621 temp7 = true;
27622 }
27623 }
27624 {
27625 if (!wxPyCheckForApp()) SWIG_fail;
27626 PyThreadState* __tstate = wxPyBeginAllowThreads();
27627 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27628
27629 wxPyEndAllowThreads(__tstate);
27630 if (PyErr_Occurred()) SWIG_fail;
27631 }
27632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27633 {
27634 if (temp7)
27635 delete arg7;
27636 }
27637 return resultobj;
27638 fail:
27639 {
27640 if (temp7)
27641 delete arg7;
27642 }
27643 return NULL;
27644 }
27645
27646
27647 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27648 PyObject *resultobj;
27649 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27650 PyObject *arg2 = (PyObject *) 0 ;
27651 PyObject *arg3 = (PyObject *) 0 ;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 PyObject * obj2 = 0 ;
27655 char *kwnames[] = {
27656 (char *) "self",(char *) "self",(char *) "_class", NULL
27657 };
27658
27659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27661 if (SWIG_arg_fail(1)) SWIG_fail;
27662 arg2 = obj1;
27663 arg3 = obj2;
27664 {
27665 PyThreadState* __tstate = wxPyBeginAllowThreads();
27666 (arg1)->_setCallbackInfo(arg2,arg3);
27667
27668 wxPyEndAllowThreads(__tstate);
27669 if (PyErr_Occurred()) SWIG_fail;
27670 }
27671 Py_INCREF(Py_None); resultobj = Py_None;
27672 return resultobj;
27673 fail:
27674 return NULL;
27675 }
27676
27677
27678 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27679 PyObject *resultobj;
27680 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27681 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27682 PyObject * obj0 = 0 ;
27683 PyObject * obj1 = 0 ;
27684 char *kwnames[] = {
27685 (char *) "self",(char *) "preview", NULL
27686 };
27687
27688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27690 if (SWIG_arg_fail(1)) SWIG_fail;
27691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27692 if (SWIG_arg_fail(2)) SWIG_fail;
27693 {
27694 PyThreadState* __tstate = wxPyBeginAllowThreads();
27695 (arg1)->SetPrintPreview(arg2);
27696
27697 wxPyEndAllowThreads(__tstate);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 Py_INCREF(Py_None); resultobj = Py_None;
27701 return resultobj;
27702 fail:
27703 return NULL;
27704 }
27705
27706
27707 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27708 PyObject *resultobj;
27709 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27710 PyObject * obj0 = 0 ;
27711 char *kwnames[] = {
27712 (char *) "self", NULL
27713 };
27714
27715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27717 if (SWIG_arg_fail(1)) SWIG_fail;
27718 {
27719 PyThreadState* __tstate = wxPyBeginAllowThreads();
27720 (arg1)->base_CreateButtons();
27721
27722 wxPyEndAllowThreads(__tstate);
27723 if (PyErr_Occurred()) SWIG_fail;
27724 }
27725 Py_INCREF(Py_None); resultobj = Py_None;
27726 return resultobj;
27727 fail:
27728 return NULL;
27729 }
27730
27731
27732 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27733 PyObject *resultobj;
27734 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27735 int arg2 ;
27736 PyObject * obj0 = 0 ;
27737 PyObject * obj1 = 0 ;
27738 char *kwnames[] = {
27739 (char *) "self",(char *) "zoom", NULL
27740 };
27741
27742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27744 if (SWIG_arg_fail(1)) SWIG_fail;
27745 {
27746 arg2 = (int)(SWIG_As_int(obj1));
27747 if (SWIG_arg_fail(2)) SWIG_fail;
27748 }
27749 {
27750 PyThreadState* __tstate = wxPyBeginAllowThreads();
27751 (arg1)->base_SetZoomControl(arg2);
27752
27753 wxPyEndAllowThreads(__tstate);
27754 if (PyErr_Occurred()) SWIG_fail;
27755 }
27756 Py_INCREF(Py_None); resultobj = Py_None;
27757 return resultobj;
27758 fail:
27759 return NULL;
27760 }
27761
27762
27763 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27764 PyObject *obj;
27765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27766 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27767 Py_INCREF(obj);
27768 return Py_BuildValue((char *)"");
27769 }
27770 static PyMethodDef SwigMethods[] = {
27771 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27779 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27794 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27795 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27804 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27822 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27846 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27859 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27863 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27867 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27872 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27889 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27919 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27926 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27949 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27957 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27969 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27975 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27984 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27990 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27995 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
28001 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
28005 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
28025 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
28051 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
28059 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
28068 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
28070 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
28079 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
28082 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
28089 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
28107 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
28111 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
28116 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
28120 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
28122 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
28138 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
28141 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
28143 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
28147 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
28156 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
28165 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
28171 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28186 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28193 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28197 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28206 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28222 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28247 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28272 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28273 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28275 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28279 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28280 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28281 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28282 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28287 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28289 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28293 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28294 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28295 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28298 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28299 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28309 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28310 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28314 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28316 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28317 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28318 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28320 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28321 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28322 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28323 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28324 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28325 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28326 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28327 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28328 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28329 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28330 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28331 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28332 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28333 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28334 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28335 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28336 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28337 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28338 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28339 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28340 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28341 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28342 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28343 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28344 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28345 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28346 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28347 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28348 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28349 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28350 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28351 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28352 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28353 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28354 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28355 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28356 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28357 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28358 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28359 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28360 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28361 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28362 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28363 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28364 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28365 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28366 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28367 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28368 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28369 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28370 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28371 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28372 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28373 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28374 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28375 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28376 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28377 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28378 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28379 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28380 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28381 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28382 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28383 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28384 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28385 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28386 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28387 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28388 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28389 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28390 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28391 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28392 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28393 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28394 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28395 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28396 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28397 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28398 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28399 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28400 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28401 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28402 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28403 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28404 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28405 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28406 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28407 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28408 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28409 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28410 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28411 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28412 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28413 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28414 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28415 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28416 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28417 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28418 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28419 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28420 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28421 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28422 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28423 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28424 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28425 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28426 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28427 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28428 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28429 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28430 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28431 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28432 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28433 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28434 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28435 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28436 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28437 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28438 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28439 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28440 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28441 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28442 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28443 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28444 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28445 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28446 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28447 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28448 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28449 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28450 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28451 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28452 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28453 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28454 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28455 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28456 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28457 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28458 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28459 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28460 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28461 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28462 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28463 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28464 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28465 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28466 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28467 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28468 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28469 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28470 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28471 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28472 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28473 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28474 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28475 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28476 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28477 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28478 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28479 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28480 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28481 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28482 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28483 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28484 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28485 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28486 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28487 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28488 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28489 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28490 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28491 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28492 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28493 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28494 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28495 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28496 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28497 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28498 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28499 { NULL, NULL, 0, NULL }
28500 };
28501
28502
28503 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28504
28505 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28506 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28507 }
28508 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28509 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28510 }
28511 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28512 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28513 }
28514 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28515 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28516 }
28517 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28518 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28519 }
28520 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28521 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28522 }
28523 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28524 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28525 }
28526 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28527 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28528 }
28529 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28530 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28531 }
28532 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28533 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28534 }
28535 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28536 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28537 }
28538 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28539 return (void *)((wxEvent *) ((wxPyEvent *) x));
28540 }
28541 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28542 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28543 }
28544 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28545 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28546 }
28547 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28548 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28549 }
28550 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28551 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28552 }
28553 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28554 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28555 }
28556 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28557 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28558 }
28559 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28560 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28561 }
28562 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28563 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28564 }
28565 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28566 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28567 }
28568 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28569 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28570 }
28571 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28572 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28573 }
28574 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28575 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28576 }
28577 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28578 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28579 }
28580 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28581 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28582 }
28583 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28584 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28585 }
28586 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28587 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28588 }
28589 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28590 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28591 }
28592 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28593 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28594 }
28595 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28596 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28597 }
28598 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28599 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28600 }
28601 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28602 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28603 }
28604 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28605 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28606 }
28607 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28608 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28609 }
28610 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28611 return (void *)((wxEvent *) ((wxShowEvent *) x));
28612 }
28613 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28614 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28615 }
28616 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28617 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28618 }
28619 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28620 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28621 }
28622 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28623 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28624 }
28625 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28626 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28627 }
28628 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28629 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28630 }
28631 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28632 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28633 }
28634 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28635 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28636 }
28637 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28638 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28639 }
28640 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28641 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28642 }
28643 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28644 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28645 }
28646 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28647 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28648 }
28649 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28650 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28651 }
28652 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28653 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28654 }
28655 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28656 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28657 }
28658 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28659 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28660 }
28661 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28662 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28663 }
28664 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28665 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28666 }
28667 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28668 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28669 }
28670 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28671 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28672 }
28673 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28674 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28675 }
28676 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28677 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28678 }
28679 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28680 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28681 }
28682 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28683 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28684 }
28685 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28686 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28687 }
28688 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28689 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28690 }
28691 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28692 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28693 }
28694 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28695 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28696 }
28697 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28698 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28699 }
28700 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28701 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28702 }
28703 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28704 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28705 }
28706 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28707 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28708 }
28709 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28710 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28711 }
28712 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28713 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28714 }
28715 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28716 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28717 }
28718 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28719 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28720 }
28721 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28722 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28723 }
28724 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28725 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28726 }
28727 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28728 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28729 }
28730 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28731 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28732 }
28733 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28734 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28735 }
28736 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28737 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28738 }
28739 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28740 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28741 }
28742 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28743 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28744 }
28745 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28746 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28747 }
28748 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28749 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28750 }
28751 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28752 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28753 }
28754 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28755 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28756 }
28757 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28758 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28759 }
28760 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28761 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28762 }
28763 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28764 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28765 }
28766 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28767 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28768 }
28769 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28770 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28771 }
28772 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28773 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28774 }
28775 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28776 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28777 }
28778 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28779 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28780 }
28781 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28782 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28783 }
28784 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28785 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28786 }
28787 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28788 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28789 }
28790 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28791 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28792 }
28793 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28794 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28795 }
28796 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28797 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28798 }
28799 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28800 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28801 }
28802 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28803 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28804 }
28805 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28806 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28807 }
28808 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28809 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28810 }
28811 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28812 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28813 }
28814 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28815 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28816 }
28817 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28819 }
28820 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28822 }
28823 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28824 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28825 }
28826 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28827 return (void *)((wxObject *) ((wxSizerItem *) x));
28828 }
28829 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28830 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28831 }
28832 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28833 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28834 }
28835 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28836 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28837 }
28838 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28839 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28840 }
28841 static void *_p_wxSizerTo_p_wxObject(void *x) {
28842 return (void *)((wxObject *) ((wxSizer *) x));
28843 }
28844 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28845 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28846 }
28847 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28848 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28849 }
28850 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28852 }
28853 static void *_p_wxEventTo_p_wxObject(void *x) {
28854 return (void *)((wxObject *) ((wxEvent *) x));
28855 }
28856 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28857 return (void *)((wxObject *) ((wxFontData *) x));
28858 }
28859 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28860 return (void *)((wxObject *) ((wxPrintData *) x));
28861 }
28862 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28863 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28864 }
28865 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28866 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28867 }
28868 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28869 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28870 }
28871 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28872 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28873 }
28874 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28875 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28876 }
28877 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28878 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28879 }
28880 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28881 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28882 }
28883 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28884 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28885 }
28886 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28887 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28888 }
28889 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28890 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28891 }
28892 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28893 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28894 }
28895 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28896 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28897 }
28898 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28900 }
28901 static void *_p_wxControlTo_p_wxObject(void *x) {
28902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28903 }
28904 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28905 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28906 }
28907 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28908 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28909 }
28910 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28911 return (void *)((wxObject *) ((wxFSFile *) x));
28912 }
28913 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28914 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28915 }
28916 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28917 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28918 }
28919 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28921 }
28922 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28923 return (void *)((wxObject *) ((wxColourData *) x));
28924 }
28925 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28926 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28927 }
28928 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28929 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28930 }
28931 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28933 }
28934 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28936 }
28937 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28939 }
28940 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28942 }
28943 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28945 }
28946 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28948 }
28949 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28951 }
28952 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28954 }
28955 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28957 }
28958 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28960 }
28961 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28962 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28963 }
28964 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28965 return (void *)((wxObject *) ((wxPrinter *) x));
28966 }
28967 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28968 return (void *)((wxObject *) ((wxMenuItem *) x));
28969 }
28970 static void *_p_wxDateEventTo_p_wxObject(void *x) {
28971 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28972 }
28973 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28974 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28975 }
28976 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28977 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28978 }
28979 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28980 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28981 }
28982 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28983 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28984 }
28985 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28986 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28987 }
28988 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28989 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28990 }
28991 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28992 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28993 }
28994 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28995 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28996 }
28997 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28998 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28999 }
29000 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29001 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29002 }
29003 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29004 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29005 }
29006 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29007 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29008 }
29009 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29010 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29011 }
29012 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29013 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29014 }
29015 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29016 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29017 }
29018 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29019 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29020 }
29021 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29022 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29023 }
29024 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29025 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29026 }
29027 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29028 return (void *)((wxObject *) ((wxImageHandler *) x));
29029 }
29030 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29031 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29032 }
29033 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29034 return (void *)((wxObject *) ((wxEvtHandler *) x));
29035 }
29036 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
29037 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
29038 }
29039 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
29040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29041 }
29042 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
29043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29044 }
29045 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
29046 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
29047 }
29048 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29049 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29050 }
29051 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
29052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29053 }
29054 static void *_p_wxImageTo_p_wxObject(void *x) {
29055 return (void *)((wxObject *) ((wxImage *) x));
29056 }
29057 static void *_p_wxFrameTo_p_wxObject(void *x) {
29058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
29059 }
29060 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
29061 return (void *)((wxObject *) ((wxPyPrintout *) x));
29062 }
29063 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29064 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29065 }
29066 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
29067 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
29068 }
29069 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
29070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
29071 }
29072 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
29073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29074 }
29075 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29076 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29077 }
29078 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29079 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29080 }
29081 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29082 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29083 }
29084 static void *_p_wxWindowTo_p_wxObject(void *x) {
29085 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29086 }
29087 static void *_p_wxMenuTo_p_wxObject(void *x) {
29088 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29089 }
29090 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29092 }
29093 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
29094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
29095 }
29096 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
29097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
29098 }
29099 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
29100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
29101 }
29102 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
29103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
29104 }
29105 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
29106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
29107 }
29108 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
29109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
29110 }
29111 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
29112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
29113 }
29114 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
29115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29116 }
29117 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
29118 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29119 }
29120 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
29121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
29122 }
29123 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
29124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
29125 }
29126 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
29127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29128 }
29129 static void *_p_wxSashEventTo_p_wxObject(void *x) {
29130 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
29131 }
29132 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
29133 return (void *)((wxObject *) ((wxPrintPreview *) x));
29134 }
29135 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
29136 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
29137 }
29138 static void *_p_wxPanelTo_p_wxObject(void *x) {
29139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
29140 }
29141 static void *_p_wxDialogTo_p_wxObject(void *x) {
29142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
29143 }
29144 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
29145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29146 }
29147 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
29148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29149 }
29150 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
29151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29152 }
29153 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
29154 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
29155 }
29156 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
29157 return (void *)((wxObject *) ((wxPrintDialog *) x));
29158 }
29159 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29160 return (void *)((wxObject *) ((wxFileSystem *) x));
29161 }
29162 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29163 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29164 }
29165 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29166 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29167 }
29168 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29169 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29170 }
29171 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29172 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29173 }
29174 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29175 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29176 }
29177 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29178 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29179 }
29180 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29181 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29182 }
29183 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29184 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29185 }
29186 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29188 }
29189 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29191 }
29192 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29193 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29194 }
29195 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29196 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29197 }
29198 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29199 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29200 }
29201 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29203 }
29204 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29205 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29206 }
29207 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29208 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29209 }
29210 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29211 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29212 }
29213 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29214 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29215 }
29216 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29217 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29218 }
29219 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29220 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29221 }
29222 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29223 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29224 }
29225 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29226 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29227 }
29228 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29229 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29230 }
29231 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29232 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29233 }
29234 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29235 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29236 }
29237 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29238 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29239 }
29240 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29241 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29242 }
29243 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29244 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29245 }
29246 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29247 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29248 }
29249 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29250 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29251 }
29252 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29253 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29254 }
29255 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29256 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29257 }
29258 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29259 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29260 }
29261 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29262 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29263 }
29264 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29265 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29266 }
29267 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29268 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29269 }
29270 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29271 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29272 }
29273 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29274 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29275 }
29276 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29277 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29278 }
29279 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29280 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29281 }
29282 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29283 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29284 }
29285 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29286 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29287 }
29288 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29289 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29290 }
29291 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29292 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29293 }
29294 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29295 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29296 }
29297 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29298 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29299 }
29300 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29301 return (void *)((wxWindow *) ((wxMenuBar *) x));
29302 }
29303 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29304 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29305 }
29306 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29307 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29308 }
29309 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29310 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29311 }
29312 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29313 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29314 }
29315 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29316 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29317 }
29318 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29319 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29320 }
29321 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29322 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29323 }
29324 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29325 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29326 }
29327 static void *_p_wxPanelTo_p_wxWindow(void *x) {
29328 return (void *)((wxWindow *) ((wxPanel *) x));
29329 }
29330 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29331 return (void *)((wxWindow *) ((wxStatusBar *) x));
29332 }
29333 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29334 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29335 }
29336 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29337 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29338 }
29339 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29340 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29341 }
29342 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29343 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29344 }
29345 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29346 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29347 }
29348 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29349 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29350 }
29351 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29352 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29353 }
29354 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29355 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29356 }
29357 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29358 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29359 }
29360 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29361 return (void *)((wxWindow *) ((wxSashWindow *) x));
29362 }
29363 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29364 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29365 }
29366 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29367 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29368 }
29369 static void *_p_wxControlTo_p_wxWindow(void *x) {
29370 return (void *)((wxWindow *) ((wxControl *) x));
29371 }
29372 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29373 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29374 }
29375 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29376 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29377 }
29378 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29379 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29380 }
29381 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29382 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29383 }
29384 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29385 return (void *)((wxWindow *) ((wxPyWindow *) x));
29386 }
29387 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29388 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29389 }
29390 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29391 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29392 }
29393 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29394 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29395 }
29396 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29397 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29398 }
29399 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29400 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29401 }
29402 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29403 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29404 }
29405 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29406 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29407 }
29408 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29410 }
29411 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29412 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29413 }
29414 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29415 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29416 }
29417 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29418 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29419 }
29420 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29421 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29422 }
29423 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29424 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29425 }
29426 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29427 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29428 }
29429 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29430 return (void *)((wxDialog *) ((wxColourDialog *) x));
29431 }
29432 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29433 return (void *)((wxDialog *) ((wxDirDialog *) x));
29434 }
29435 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29436 return (void *)((wxDialog *) ((wxFontDialog *) x));
29437 }
29438 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29439 return (void *)((wxDialog *) ((wxFileDialog *) x));
29440 }
29441 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29442 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29443 }
29444 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29445 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29446 }
29447 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29448 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29449 }
29450 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29451 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29452 }
29453 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29454 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29455 }
29456 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29457 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29458 }
29459 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29460 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29461 }
29462 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29463 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29464 }
29465 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29466 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29467 }
29468 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29469 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29470 }
29471 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29472 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29473 }
29474 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29475 return (void *)((wxPanel *) ((wxPyPanel *) x));
29476 }
29477 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29478 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29479 }
29480 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29481 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29482 }
29483 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29484 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29485 }
29486 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29487 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29488 }
29489 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29490 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29491 }
29492 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29493 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29494 }
29495 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29496 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29497 }
29498 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29499 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29500 }
29501 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29502 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29503 }
29504 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29505 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29506 }
29507 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29508 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29509 }
29510 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29511 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29512 }
29513 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29514 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29515 }
29516 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29517 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29518 }
29519 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29520 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29521 }
29522 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29523 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29524 }
29525 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}};
29526 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}};
29527 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}};
29528 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}};
29529 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}};
29530 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}};
29531 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}};
29532 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}};
29533 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}};
29534 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}};
29535 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}};
29536 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}};
29537 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}};
29538 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}};
29539 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}};
29540 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}};
29541 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}};
29542 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}};
29543 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}};
29544 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}};
29545 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}};
29546 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}};
29547 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}};
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29582 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}};
29583 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}};
29584 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}};
29585 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}};
29586 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}};
29587 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}};
29588 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}};
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29596 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}};
29597 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}};
29598 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}};
29599 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}};
29600 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}};
29601 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}};
29602 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}};
29603 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}};
29604 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}};
29605 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}};
29606 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}};
29607 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}};
29608 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}};
29609 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}};
29610 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}};
29611 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}};
29612 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}};
29613 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}};
29614 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}};
29615 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}};
29616 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}};
29617 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}};
29618 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}};
29619 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}};
29620 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}};
29621 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}};
29622
29623 static swig_type_info *swig_types_initial[] = {
29624 _swigt__p_wxQueryLayoutInfoEvent,
29625 _swigt__p_wxPreviewFrame,
29626 _swigt__p_wxPyPreviewFrame,
29627 _swigt__p_wxPyPanel,
29628 _swigt__p_wxMenu,
29629 _swigt__p_wxFontData,
29630 _swigt__p_wxEvent,
29631 _swigt__p_wxPrintData,
29632 _swigt__p_wxTaskBarIcon,
29633 _swigt__p_wxPyTaskBarIcon,
29634 _swigt__p_wxIconBundle,
29635 _swigt__p_wxLayoutAlgorithm,
29636 _swigt__p_wxFindDialogEvent,
29637 _swigt__p_wxPreviewCanvas,
29638 _swigt__p_wxFont,
29639 _swigt__p_wxSplitterEvent,
29640 _swigt__p_wxRegion,
29641 _swigt__ptrdiff_t,
29642 _swigt__std__ptrdiff_t,
29643 _swigt__p_wxFindReplaceData,
29644 _swigt__p_int,
29645 _swigt__p_wxSize,
29646 _swigt__p_wxDC,
29647 _swigt__p_wxIcon,
29648 _swigt__p_wxVisualAttributes,
29649 _swigt__p_wxMDIChildFrame,
29650 _swigt__p_wxColourData,
29651 _swigt__p_wxNotifyEvent,
29652 _swigt__p_wxPyWindow,
29653 _swigt__p_form_ops_t,
29654 _swigt__p_wxSplashScreen,
29655 _swigt__p_wxPasswordEntryDialog,
29656 _swigt__p_wxSingleChoiceDialog,
29657 _swigt__p_wxMultiChoiceDialog,
29658 _swigt__p_wxFileDialog,
29659 _swigt__p_wxTextEntryDialog,
29660 _swigt__p_wxMessageDialog,
29661 _swigt__p_wxProgressDialog,
29662 _swigt__p_wxFindReplaceDialog,
29663 _swigt__p_wxPrinter,
29664 _swigt__p_wxArrayInt,
29665 _swigt__p_wxDuplexMode,
29666 _swigt__p_wxEvtHandler,
29667 _swigt__p_wxCalculateLayoutEvent,
29668 _swigt__p_wxPyHtmlListBox,
29669 _swigt__p_wxPyVListBox,
29670 _swigt__p_wxRect,
29671 _swigt__p_wxStdDialogButtonSizer,
29672 _swigt__p_char,
29673 _swigt__p_wxMiniFrame,
29674 _swigt__p_wxFrame,
29675 _swigt__p_wxPyPrintout,
29676 _swigt__p_wxTaskBarIconEvent,
29677 _swigt__p_wxScrollWinEvent,
29678 _swigt__p_wxPaperSize,
29679 _swigt__p_wxStatusBar,
29680 _swigt__p_wxMDIParentFrame,
29681 _swigt__p_wxPoint,
29682 _swigt__p_wxObject,
29683 _swigt__p_unsigned_long,
29684 _swigt__p_wxTipWindow,
29685 _swigt__p_wxSashLayoutWindow,
29686 _swigt__p_wxSplitterWindow,
29687 _swigt__p_wxSplashScreenWindow,
29688 _swigt__p_wxPyVScrolledWindow,
29689 _swigt__p_wxPyPopupTransientWindow,
29690 _swigt__p_wxPopupWindow,
29691 _swigt__p_wxSashWindow,
29692 _swigt__p_wxTopLevelWindow,
29693 _swigt__p_wxWindow,
29694 _swigt__p_wxScrolledWindow,
29695 _swigt__p_wxMenuBar,
29696 _swigt__p_wxMDIClientWindow,
29697 _swigt__p_wxPyScrolledWindow,
29698 _swigt__p_wxPrintPreview,
29699 _swigt__p_wxSashEvent,
29700 _swigt__p_wxString,
29701 _swigt__p_wxPyPrintPreview,
29702 _swigt__p_wxDirDialog,
29703 _swigt__p_wxColourDialog,
29704 _swigt__p_wxDialog,
29705 _swigt__p_wxPanel,
29706 _swigt__p_wxFontDialog,
29707 _swigt__p_wxPageSetupDialog,
29708 _swigt__p_wxPrintDialog,
29709 _swigt__p_wxFileSystem,
29710 _swigt__p_wxBitmap,
29711 _swigt__unsigned_int,
29712 _swigt__p_unsigned_int,
29713 _swigt__p_unsigned_char,
29714 _swigt__p_wxCommandEvent,
29715 _swigt__p_wxPreviewControlBar,
29716 _swigt__p_wxPyPreviewControlBar,
29717 _swigt__p_wxColour,
29718 _swigt__p_wxToolBar,
29719 _swigt__p_wxPageSetupDialogData,
29720 _swigt__p_wxPrintDialogData,
29721 0
29722 };
29723
29724
29725 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29726
29727 static swig_const_info swig_const_table[] = {
29728 {0, 0, 0, 0.0, 0, 0}};
29729
29730 #ifdef __cplusplus
29731 }
29732 #endif
29733
29734
29735 #ifdef __cplusplus
29736 extern "C" {
29737 #endif
29738
29739 /* Python-specific SWIG API */
29740 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29741 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29742 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29743
29744 /* -----------------------------------------------------------------------------
29745 * global variable support code.
29746 * ----------------------------------------------------------------------------- */
29747
29748 typedef struct swig_globalvar {
29749 char *name; /* Name of global variable */
29750 PyObject *(*get_attr)(); /* Return the current value */
29751 int (*set_attr)(PyObject *); /* Set the value */
29752 struct swig_globalvar *next;
29753 } swig_globalvar;
29754
29755 typedef struct swig_varlinkobject {
29756 PyObject_HEAD
29757 swig_globalvar *vars;
29758 } swig_varlinkobject;
29759
29760 static PyObject *
29761 swig_varlink_repr(swig_varlinkobject *v) {
29762 v = v;
29763 return PyString_FromString("<Swig global variables>");
29764 }
29765
29766 static int
29767 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29768 swig_globalvar *var;
29769 flags = flags;
29770 fprintf(fp,"Swig global variables { ");
29771 for (var = v->vars; var; var=var->next) {
29772 fprintf(fp,"%s", var->name);
29773 if (var->next) fprintf(fp,", ");
29774 }
29775 fprintf(fp," }\n");
29776 return 0;
29777 }
29778
29779 static PyObject *
29780 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29781 swig_globalvar *var = v->vars;
29782 while (var) {
29783 if (strcmp(var->name,n) == 0) {
29784 return (*var->get_attr)();
29785 }
29786 var = var->next;
29787 }
29788 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29789 return NULL;
29790 }
29791
29792 static int
29793 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29794 swig_globalvar *var = v->vars;
29795 while (var) {
29796 if (strcmp(var->name,n) == 0) {
29797 return (*var->set_attr)(p);
29798 }
29799 var = var->next;
29800 }
29801 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29802 return 1;
29803 }
29804
29805 static PyTypeObject varlinktype = {
29806 PyObject_HEAD_INIT(0)
29807 0, /* Number of items in variable part (ob_size) */
29808 (char *)"swigvarlink", /* Type name (tp_name) */
29809 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29810 0, /* Itemsize (tp_itemsize) */
29811 0, /* Deallocator (tp_dealloc) */
29812 (printfunc) swig_varlink_print, /* Print (tp_print) */
29813 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29814 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29815 0, /* tp_compare */
29816 (reprfunc) swig_varlink_repr, /* tp_repr */
29817 0, /* tp_as_number */
29818 0, /* tp_as_sequence */
29819 0, /* tp_as_mapping */
29820 0, /* tp_hash */
29821 0, /* tp_call */
29822 0, /* tp_str */
29823 0, /* tp_getattro */
29824 0, /* tp_setattro */
29825 0, /* tp_as_buffer */
29826 0, /* tp_flags */
29827 0, /* tp_doc */
29828 #if PY_VERSION_HEX >= 0x02000000
29829 0, /* tp_traverse */
29830 0, /* tp_clear */
29831 #endif
29832 #if PY_VERSION_HEX >= 0x02010000
29833 0, /* tp_richcompare */
29834 0, /* tp_weaklistoffset */
29835 #endif
29836 #if PY_VERSION_HEX >= 0x02020000
29837 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29838 #endif
29839 #if PY_VERSION_HEX >= 0x02030000
29840 0, /* tp_del */
29841 #endif
29842 #ifdef COUNT_ALLOCS
29843 0,0,0,0 /* tp_alloc -> tp_next */
29844 #endif
29845 };
29846
29847 /* Create a variable linking object for use later */
29848 static PyObject *
29849 SWIG_Python_newvarlink(void) {
29850 swig_varlinkobject *result = 0;
29851 result = PyMem_NEW(swig_varlinkobject,1);
29852 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29853 result->ob_type = &varlinktype;
29854 result->vars = 0;
29855 result->ob_refcnt = 0;
29856 Py_XINCREF((PyObject *) result);
29857 return ((PyObject*) result);
29858 }
29859
29860 static void
29861 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29862 swig_varlinkobject *v;
29863 swig_globalvar *gv;
29864 v= (swig_varlinkobject *) p;
29865 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29866 gv->name = (char *) malloc(strlen(name)+1);
29867 strcpy(gv->name,name);
29868 gv->get_attr = get_attr;
29869 gv->set_attr = set_attr;
29870 gv->next = v->vars;
29871 v->vars = gv;
29872 }
29873
29874 /* -----------------------------------------------------------------------------
29875 * constants/methods manipulation
29876 * ----------------------------------------------------------------------------- */
29877
29878 /* Install Constants */
29879 static void
29880 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29881 PyObject *obj = 0;
29882 size_t i;
29883 for (i = 0; constants[i].type; i++) {
29884 switch(constants[i].type) {
29885 case SWIG_PY_INT:
29886 obj = PyInt_FromLong(constants[i].lvalue);
29887 break;
29888 case SWIG_PY_FLOAT:
29889 obj = PyFloat_FromDouble(constants[i].dvalue);
29890 break;
29891 case SWIG_PY_STRING:
29892 if (constants[i].pvalue) {
29893 obj = PyString_FromString((char *) constants[i].pvalue);
29894 } else {
29895 Py_INCREF(Py_None);
29896 obj = Py_None;
29897 }
29898 break;
29899 case SWIG_PY_POINTER:
29900 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29901 break;
29902 case SWIG_PY_BINARY:
29903 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29904 break;
29905 default:
29906 obj = 0;
29907 break;
29908 }
29909 if (obj) {
29910 PyDict_SetItemString(d,constants[i].name,obj);
29911 Py_DECREF(obj);
29912 }
29913 }
29914 }
29915
29916 /* -----------------------------------------------------------------------------*/
29917 /* Fix SwigMethods to carry the callback ptrs when needed */
29918 /* -----------------------------------------------------------------------------*/
29919
29920 static void
29921 SWIG_Python_FixMethods(PyMethodDef *methods,
29922 swig_const_info *const_table,
29923 swig_type_info **types,
29924 swig_type_info **types_initial) {
29925 size_t i;
29926 for (i = 0; methods[i].ml_name; ++i) {
29927 char *c = methods[i].ml_doc;
29928 if (c && (c = strstr(c, "swig_ptr: "))) {
29929 int j;
29930 swig_const_info *ci = 0;
29931 char *name = c + 10;
29932 for (j = 0; const_table[j].type; j++) {
29933 if (strncmp(const_table[j].name, name,
29934 strlen(const_table[j].name)) == 0) {
29935 ci = &(const_table[j]);
29936 break;
29937 }
29938 }
29939 if (ci) {
29940 size_t shift = (ci->ptype) - types;
29941 swig_type_info *ty = types_initial[shift];
29942 size_t ldoc = (c - methods[i].ml_doc);
29943 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29944 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29945 char *buff = ndoc;
29946 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29947 strncpy(buff, methods[i].ml_doc, ldoc);
29948 buff += ldoc;
29949 strncpy(buff, "swig_ptr: ", 10);
29950 buff += 10;
29951 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29952 methods[i].ml_doc = ndoc;
29953 }
29954 }
29955 }
29956 }
29957
29958 /* -----------------------------------------------------------------------------*
29959 * Initialize type list
29960 * -----------------------------------------------------------------------------*/
29961
29962 #if PY_MAJOR_VERSION < 2
29963 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29964 is copied out of Python/modsupport.c in python version 2.3.4 */
29965 static int
29966 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29967 {
29968 PyObject *dict;
29969 if (!PyModule_Check(m)) {
29970 PyErr_SetString(PyExc_TypeError,
29971 "PyModule_AddObject() needs module as first arg");
29972 return -1;
29973 }
29974 if (!o) {
29975 PyErr_SetString(PyExc_TypeError,
29976 "PyModule_AddObject() needs non-NULL value");
29977 return -1;
29978 }
29979
29980 dict = PyModule_GetDict(m);
29981 if (dict == NULL) {
29982 /* Internal error -- modules must have a dict! */
29983 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29984 PyModule_GetName(m));
29985 return -1;
29986 }
29987 if (PyDict_SetItemString(dict, name, o))
29988 return -1;
29989 Py_DECREF(o);
29990 return 0;
29991 }
29992 #endif
29993
29994 static swig_type_info **
29995 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29996 static PyMethodDef swig_empty_runtime_method_table[] = {
29997 {
29998 NULL, NULL, 0, NULL
29999 }
30000 };/* Sentinel */
30001
30002 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
30003 swig_empty_runtime_method_table);
30004 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
30005 if (pointer && module) {
30006 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
30007 }
30008 return type_list_handle;
30009 }
30010
30011 static swig_type_info **
30012 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
30013 swig_type_info **type_pointer;
30014
30015 /* first check if module already created */
30016 type_pointer = SWIG_Python_GetTypeListHandle();
30017 if (type_pointer) {
30018 return type_pointer;
30019 } else {
30020 /* create a new module and variable */
30021 return SWIG_Python_SetTypeListHandle(type_list_handle);
30022 }
30023 }
30024
30025 #ifdef __cplusplus
30026 }
30027 #endif
30028
30029 /* -----------------------------------------------------------------------------*
30030 * Partial Init method
30031 * -----------------------------------------------------------------------------*/
30032
30033 #ifdef SWIG_LINK_RUNTIME
30034 #ifdef __cplusplus
30035 extern "C"
30036 #endif
30037 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
30038 #endif
30039
30040 #ifdef __cplusplus
30041 extern "C"
30042 #endif
30043 SWIGEXPORT(void) SWIG_init(void) {
30044 static PyObject *SWIG_globals = 0;
30045 static int typeinit = 0;
30046 PyObject *m, *d;
30047 int i;
30048 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30049
30050 /* Fix SwigMethods to carry the callback ptrs when needed */
30051 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
30052
30053 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30054 d = PyModule_GetDict(m);
30055
30056 if (!typeinit) {
30057 #ifdef SWIG_LINK_RUNTIME
30058 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
30059 #else
30060 # ifndef SWIG_STATIC_RUNTIME
30061 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
30062 # endif
30063 #endif
30064 for (i = 0; swig_types_initial[i]; i++) {
30065 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30066 }
30067 typeinit = 1;
30068 }
30069 SWIG_InstallConstants(d,swig_const_table);
30070
30071 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30072 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30073 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30074 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30075 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30076 {
30077 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
30078 }
30079 {
30080 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
30081 }
30082 {
30083 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
30084 }
30085 {
30086 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
30087 }
30088 {
30089 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
30090 }
30091 {
30092 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
30093 }
30094 {
30095 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
30096 }
30097 {
30098 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
30099 }
30100 {
30101 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
30102 }
30103 {
30104 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
30105 }
30106 {
30107 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
30108 }
30109 {
30110 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
30111 }
30112 {
30113 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
30114 }
30115 {
30116 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
30117 }
30118 {
30119 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
30120 }
30121 {
30122 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
30123 }
30124 {
30125 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
30126 }
30127 {
30128 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
30129 }
30130 {
30131 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
30132 }
30133 {
30134 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
30135 }
30136 {
30137 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
30138 }
30139 {
30140 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
30141 }
30142 {
30143 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL)));
30144 }
30145 {
30146 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL)));
30147 }
30148 {
30149 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
30150 }
30151 {
30152 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
30153 }
30154 {
30155 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
30156 }
30157 {
30158 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
30159 }
30160 {
30161 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
30162 }
30163 {
30164 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
30165 }
30166 {
30167 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
30168 }
30169 {
30170 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
30171 }
30172 {
30173 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
30174 }
30175 {
30176 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
30177 }
30178 {
30179 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
30180 }
30181 {
30182 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
30183 }
30184 {
30185 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
30186 }
30187 {
30188 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
30189 }
30190 {
30191 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
30192 }
30193 {
30194 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
30195 }
30196 {
30197 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
30198 }
30199 {
30200 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
30201 }
30202 {
30203 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
30204 }
30205 {
30206 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
30207 }
30208 {
30209 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
30210 }
30211 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
30212 {
30213 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
30214 }
30215 {
30216 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
30217 }
30218 {
30219 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
30220 }
30221 {
30222 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
30223 }
30224 {
30225 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30226 }
30227 {
30228 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30229 }
30230 {
30231 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30232 }
30233 {
30234 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30235 }
30236 {
30237 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30238 }
30239 {
30240 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30241 }
30242 {
30243 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30244 }
30245 {
30246 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30247 }
30248 {
30249 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30250 }
30251 {
30252 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30253 }
30254 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30255 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30256 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30257 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30258 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30259 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30260 {
30261 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30262 }
30263 {
30264 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30265 }
30266 {
30267 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30268 }
30269 {
30270 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30271 }
30272 {
30273 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30274 }
30275 {
30276 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30277 }
30278 {
30279 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30280 }
30281 {
30282 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30283 }
30284 {
30285 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30286 }
30287 {
30288 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30289 }
30290 {
30291 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30292 }
30293 {
30294 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30295 }
30296 {
30297 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30298 }
30299 {
30300 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30301 }
30302 {
30303 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30304 }
30305 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30306 {
30307 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30308 }
30309 {
30310 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30311 }
30312 {
30313 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30314 }
30315 {
30316 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30317 }
30318 {
30319 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30320 }
30321 {
30322 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30323 }
30324 {
30325 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30326 }
30327 {
30328 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30329 }
30330 {
30331 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30332 }
30333 {
30334 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30335 }
30336 {
30337 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30338 }
30339 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30340 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30341 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30342
30343 // Map renamed classes back to their common name for OOR
30344 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30345 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30346 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30347
30348 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30349 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30350 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30351 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30352 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30353 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30354 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30355 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30356 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30357 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30358 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30359 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30360 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30361 {
30362 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30363 }
30364 {
30365 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30366 }
30367 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30368 {
30369 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30370 }
30371 {
30372 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30373 }
30374 {
30375 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30376 }
30377 {
30378 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30379 }
30380 {
30381 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30382 }
30383 {
30384 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30385 }
30386 {
30387 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30388 }
30389 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30390 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30391 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30392 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30393 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30394 {
30395 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30396 }
30397 {
30398 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30399 }
30400 {
30401 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30402 }
30403 {
30404 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30405 }
30406 {
30407 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30408 }
30409 {
30410 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30411 }
30412 {
30413 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30414 }
30415 {
30416 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30417 }
30418 {
30419 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30420 }
30421 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30422 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30423 {
30424 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30425 }
30426 {
30427 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30428 }
30429 {
30430 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30431 }
30432 {
30433 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30434 }
30435 {
30436 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30437 }
30438 {
30439 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30440 }
30441 {
30442 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30443 }
30444 {
30445 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30446 }
30447 {
30448 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30449 }
30450 {
30451 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30452 }
30453 {
30454 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30455 }
30456 {
30457 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30458 }
30459 {
30460 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30461 }
30462 {
30463 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30464 }
30465 {
30466 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30467 }
30468 {
30469 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30470 }
30471 {
30472 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30473 }
30474 {
30475 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30476 }
30477 {
30478 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30479 }
30480 {
30481 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30482 }
30483 {
30484 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30485 }
30486 {
30487 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30488 }
30489 {
30490 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30491 }
30492 {
30493 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30494 }
30495 {
30496 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30497 }
30498 {
30499 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30500 }
30501 {
30502 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30503 }
30504 {
30505 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30506 }
30507 {
30508 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30509 }
30510 {
30511 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30512 }
30513 {
30514 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30515 }
30516 {
30517 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30518 }
30519 {
30520 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30521 }
30522 {
30523 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30524 }
30525 {
30526 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30527 }
30528 {
30529 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30530 }
30531 {
30532 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30533 }
30534 {
30535 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30536 }
30537 {
30538 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30539 }
30540
30541 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30542
30543 }
30544