]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
Get/SetTitle only for wxTopLevelWindow (wxMGL part).
[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 bool DoEraseBackground(wxDC* dc) {
2118 #ifdef __WXMSW__
2119 return wxWindow::DoEraseBackground(dc->GetHDC());
2120 #else
2121 dc->SetBackground(wxBrush(GetBackgroundColour()));
2122 dc->Clear();
2123 return true;
2124 #endif
2125 }
2126
2127 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2128 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2129 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2130 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2131
2132 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2133 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2134 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2135
2136 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2137 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2138
2139 DEC_PYCALLBACK__(InitDialog);
2140 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2141 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2142 DEC_PYCALLBACK_BOOL_(Validate);
2143
2144 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2145 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2146 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2147
2148 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2149 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2150
2151 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2152 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2153
2154 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2155
2156 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2157
2158 PYPRIVATE;
2159 };
2160
2161 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2162
2163 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2164 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2165 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2166 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2167
2168 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2169 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2170 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2171
2172 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2173 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2174
2175 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2176 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2177 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2178 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2179
2180 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2181 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2182 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2183
2184 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2185 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2186
2187 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
2188 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2189
2190 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2191
2192 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2193
2194 // C++ version of Python aware wxPanel
2195 class wxPyPanel : public wxPanel
2196 {
2197 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2198 public:
2199 wxPyPanel() : wxPanel() {}
2200 wxPyPanel(wxWindow* parent, const wxWindowID id,
2201 const wxPoint& pos = wxDefaultPosition,
2202 const wxSize& size = wxDefaultSize,
2203 long style = 0,
2204 const wxString& name = wxPyPanelNameStr)
2205 : wxPanel(parent, id, pos, size, style, name) {}
2206
2207 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2208 bool DoEraseBackground(wxDC* dc) {
2209 #ifdef __WXMSW__
2210 return wxWindow::DoEraseBackground(dc->GetHDC());
2211 #else
2212 dc->SetBackground(wxBrush(GetBackgroundColour()));
2213 dc->Clear();
2214 return true;
2215 #endif
2216 }
2217
2218
2219 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2220 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2221 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2222 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2223
2224 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2225 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2226 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2227
2228 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2229 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2230
2231 DEC_PYCALLBACK__(InitDialog);
2232 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2233 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2234 DEC_PYCALLBACK_BOOL_(Validate);
2235
2236 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2237 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2238 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2239
2240 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2241 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2242
2243 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2244 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2245
2246 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2247
2248 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2249
2250 PYPRIVATE;
2251 };
2252
2253 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2254
2255 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2256 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2257 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2258 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2259
2260 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2261 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2262 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2263
2264 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2265 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2266
2267 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2268 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2269 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2270 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2271
2272 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2273 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2274 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2275
2276 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2277 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2278
2279 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2280 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2281
2282 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2283
2284 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2285
2286 // C++ version of Python aware wxScrolledWindow
2287 class wxPyScrolledWindow : public wxScrolledWindow
2288 {
2289 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2290 public:
2291 wxPyScrolledWindow() : wxScrolledWindow() {}
2292 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2293 const wxPoint& pos = wxDefaultPosition,
2294 const wxSize& size = wxDefaultSize,
2295 long style = 0,
2296 const wxString& name = wxPyPanelNameStr)
2297 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2298
2299 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
2300 bool DoEraseBackground(wxDC* dc) {
2301 #ifdef __WXMSW__
2302 return wxWindow::DoEraseBackground(dc->GetHDC());
2303 #else
2304 dc->SetBackground(wxBrush(GetBackgroundColour()));
2305 dc->Clear();
2306 return true;
2307 #endif
2308 }
2309
2310 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2311 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2312 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2313 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2314
2315 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2316 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2317 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2318
2319 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2320 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2321
2322 DEC_PYCALLBACK__(InitDialog);
2323 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2324 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2325 DEC_PYCALLBACK_BOOL_(Validate);
2326
2327 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2328 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2329 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2330
2331 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2332 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2333
2334 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2335 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2336
2337 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2338
2339 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2340
2341 PYPRIVATE;
2342 };
2343
2344 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2345
2346 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2347 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2348 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2349 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2350
2351 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2352 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2353 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2354
2355 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2356 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2357
2358 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2359 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2360 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2361 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2362
2363 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2364 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2365 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2366
2367 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2368 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2369
2370 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2371 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2372
2373 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2374
2375 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2376
2377
2378 #include "wx/wxPython/printfw.h"
2379
2380
2381 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2382 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2383 static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2384 PyObject* data;
2385 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2386 data = PyString_FromStringAndSize(self->GetPrivData(),
2387 self->GetPrivDataLen());
2388 wxPyEndBlockThreads(blocked);
2389 return data;
2390 }
2391 static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2392 if (! PyString_Check(data)) {
2393 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2394 "Expected string object"));
2395 return /* NULL */ ;
2396 }
2397
2398 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2399 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2400 wxPyEndBlockThreads(blocked);
2401 }
2402
2403
2404 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2405
2406 // Since this one would be tough and ugly to do with the Macros...
2407 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2408 bool hadErr = false;
2409 bool found;
2410
2411 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2412 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2413 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2414 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2415 PyObject* val;
2416
2417 val = PyTuple_GetItem(result, 0);
2418 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2419 else hadErr = true;
2420
2421 val = PyTuple_GetItem(result, 1);
2422 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2423 else hadErr = true;
2424
2425 val = PyTuple_GetItem(result, 2);
2426 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2427 else hadErr = true;
2428
2429 val = PyTuple_GetItem(result, 3);
2430 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2431 else hadErr = true;
2432 }
2433 else
2434 hadErr = true;
2435
2436 if (hadErr) {
2437 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2438 PyErr_Print();
2439 }
2440 Py_DECREF(result);
2441 }
2442 wxPyEndBlockThreads(blocked);
2443 if (! found)
2444 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2445 }
2446
2447 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2448 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2449 }
2450
2451
2452 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2453 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2454 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2455 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2456 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2457 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2458 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2459
2460
2461
2462
2463
2464 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2465 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2466 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2467
2468
2469 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2470 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2471 bool rval=false; \
2472 bool found; \
2473 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2474 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2475 PyObject* win = wxPyMake_wxObject(a,false); \
2476 PyObject* dc = wxPyMake_wxObject(&b,false); \
2477 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2478 Py_DECREF(win); \
2479 Py_DECREF(dc); \
2480 } \
2481 wxPyEndBlockThreads(blocked); \
2482 if (! found) \
2483 rval = PCLASS::CBNAME(a, b); \
2484 return rval; \
2485 } \
2486 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2487 return PCLASS::CBNAME(a, b); \
2488 }
2489
2490
2491
2492
2493 class wxPyPrintPreview : public wxPrintPreview
2494 {
2495 DECLARE_CLASS(wxPyPrintPreview)
2496 public:
2497 wxPyPrintPreview(wxPyPrintout* printout,
2498 wxPyPrintout* printoutForPrinting,
2499 wxPrintDialogData* data=NULL)
2500 : wxPrintPreview(printout, printoutForPrinting, data)
2501 {}
2502 wxPyPrintPreview(wxPyPrintout* printout,
2503 wxPyPrintout* printoutForPrinting,
2504 wxPrintData* data=NULL)
2505 : wxPrintPreview(printout, printoutForPrinting, data)
2506 {}
2507
2508 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2509 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2510 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2511 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2512 DEC_PYCALLBACK_VOID_INT(SetZoom);
2513 DEC_PYCALLBACK_BOOL_BOOL(Print);
2514 DEC_PYCALLBACK_VOID_(DetermineScaling);
2515
2516 PYPRIVATE;
2517 };
2518
2519 // Stupid renamed classes... Fix this in 2.5...
2520 #if defined(__WXMSW__)
2521 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2522 #elif defined(__WXMAC__)
2523 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2524 #else
2525 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2526 #endif
2527
2528 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2529 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2530 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2531 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2532 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2533 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2534 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2535
2536
2537 class wxPyPreviewFrame : public wxPreviewFrame
2538 {
2539 DECLARE_CLASS(wxPyPreviewFrame);
2540 public:
2541 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2542 const wxString& title,
2543 const wxPoint& pos = wxDefaultPosition,
2544 const wxSize& size = wxDefaultSize,
2545 long style = wxDEFAULT_FRAME_STYLE,
2546 const wxString& name = wxPyFrameNameStr)
2547 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2548 {}
2549
2550 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2551 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2552
2553 DEC_PYCALLBACK_VOID_(Initialize);
2554 DEC_PYCALLBACK_VOID_(CreateCanvas);
2555 DEC_PYCALLBACK_VOID_(CreateControlBar);
2556
2557 PYPRIVATE;
2558 };
2559
2560 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2561
2562 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2563 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2564 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2565
2566
2567 class wxPyPreviewControlBar : public wxPreviewControlBar
2568 {
2569 DECLARE_CLASS(wxPyPreviewControlBar);
2570 public:
2571 wxPyPreviewControlBar(wxPrintPreview *preview,
2572 long buttons,
2573 wxWindow *parent,
2574 const wxPoint& pos = wxDefaultPosition,
2575 const wxSize& size = wxDefaultSize,
2576 long style = 0,
2577 const wxString& name = wxPyPanelNameStr)
2578 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2579 {}
2580
2581 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2582
2583 DEC_PYCALLBACK_VOID_(CreateButtons);
2584 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2585
2586 PYPRIVATE;
2587 };
2588
2589 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2590 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2591 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2592
2593 #ifdef __cplusplus
2594 extern "C" {
2595 #endif
2596 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2597 PyObject *resultobj;
2598 wxWindow *arg1 = (wxWindow *) 0 ;
2599 int arg2 = (int) (int)-1 ;
2600 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2601 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2602 wxSize const &arg4_defvalue = wxDefaultSize ;
2603 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2604 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2605 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2606 wxString *arg6 = (wxString *) &arg6_defvalue ;
2607 wxPanel *result;
2608 wxPoint temp3 ;
2609 wxSize temp4 ;
2610 bool temp6 = false ;
2611 PyObject * obj0 = 0 ;
2612 PyObject * obj1 = 0 ;
2613 PyObject * obj2 = 0 ;
2614 PyObject * obj3 = 0 ;
2615 PyObject * obj4 = 0 ;
2616 PyObject * obj5 = 0 ;
2617 char *kwnames[] = {
2618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2619 };
2620
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2623 if (SWIG_arg_fail(1)) SWIG_fail;
2624 if (obj1) {
2625 {
2626 arg2 = (int const)(SWIG_As_int(obj1));
2627 if (SWIG_arg_fail(2)) SWIG_fail;
2628 }
2629 }
2630 if (obj2) {
2631 {
2632 arg3 = &temp3;
2633 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2634 }
2635 }
2636 if (obj3) {
2637 {
2638 arg4 = &temp4;
2639 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2640 }
2641 }
2642 if (obj4) {
2643 {
2644 arg5 = (long)(SWIG_As_long(obj4));
2645 if (SWIG_arg_fail(5)) SWIG_fail;
2646 }
2647 }
2648 if (obj5) {
2649 {
2650 arg6 = wxString_in_helper(obj5);
2651 if (arg6 == NULL) SWIG_fail;
2652 temp6 = true;
2653 }
2654 }
2655 {
2656 if (!wxPyCheckForApp()) SWIG_fail;
2657 PyThreadState* __tstate = wxPyBeginAllowThreads();
2658 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2659
2660 wxPyEndAllowThreads(__tstate);
2661 if (PyErr_Occurred()) SWIG_fail;
2662 }
2663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2664 {
2665 if (temp6)
2666 delete arg6;
2667 }
2668 return resultobj;
2669 fail:
2670 {
2671 if (temp6)
2672 delete arg6;
2673 }
2674 return NULL;
2675 }
2676
2677
2678 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2679 PyObject *resultobj;
2680 wxPanel *result;
2681 char *kwnames[] = {
2682 NULL
2683 };
2684
2685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2686 {
2687 if (!wxPyCheckForApp()) SWIG_fail;
2688 PyThreadState* __tstate = wxPyBeginAllowThreads();
2689 result = (wxPanel *)new wxPanel();
2690
2691 wxPyEndAllowThreads(__tstate);
2692 if (PyErr_Occurred()) SWIG_fail;
2693 }
2694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2695 return resultobj;
2696 fail:
2697 return NULL;
2698 }
2699
2700
2701 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2702 PyObject *resultobj;
2703 wxPanel *arg1 = (wxPanel *) 0 ;
2704 wxWindow *arg2 = (wxWindow *) 0 ;
2705 int arg3 = (int) (int)-1 ;
2706 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2707 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2708 wxSize const &arg5_defvalue = wxDefaultSize ;
2709 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2710 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2711 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2712 wxString *arg7 = (wxString *) &arg7_defvalue ;
2713 bool result;
2714 wxPoint temp4 ;
2715 wxSize temp5 ;
2716 bool temp7 = false ;
2717 PyObject * obj0 = 0 ;
2718 PyObject * obj1 = 0 ;
2719 PyObject * obj2 = 0 ;
2720 PyObject * obj3 = 0 ;
2721 PyObject * obj4 = 0 ;
2722 PyObject * obj5 = 0 ;
2723 PyObject * obj6 = 0 ;
2724 char *kwnames[] = {
2725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2726 };
2727
2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2730 if (SWIG_arg_fail(1)) SWIG_fail;
2731 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2732 if (SWIG_arg_fail(2)) SWIG_fail;
2733 if (obj2) {
2734 {
2735 arg3 = (int const)(SWIG_As_int(obj2));
2736 if (SWIG_arg_fail(3)) SWIG_fail;
2737 }
2738 }
2739 if (obj3) {
2740 {
2741 arg4 = &temp4;
2742 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2743 }
2744 }
2745 if (obj4) {
2746 {
2747 arg5 = &temp5;
2748 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2749 }
2750 }
2751 if (obj5) {
2752 {
2753 arg6 = (long)(SWIG_As_long(obj5));
2754 if (SWIG_arg_fail(6)) SWIG_fail;
2755 }
2756 }
2757 if (obj6) {
2758 {
2759 arg7 = wxString_in_helper(obj6);
2760 if (arg7 == NULL) SWIG_fail;
2761 temp7 = true;
2762 }
2763 }
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 {
2772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2773 }
2774 {
2775 if (temp7)
2776 delete arg7;
2777 }
2778 return resultobj;
2779 fail:
2780 {
2781 if (temp7)
2782 delete arg7;
2783 }
2784 return NULL;
2785 }
2786
2787
2788 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2789 PyObject *resultobj;
2790 wxPanel *arg1 = (wxPanel *) 0 ;
2791 PyObject * obj0 = 0 ;
2792 char *kwnames[] = {
2793 (char *) "self", NULL
2794 };
2795
2796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2798 if (SWIG_arg_fail(1)) SWIG_fail;
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 (arg1)->InitDialog();
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 Py_INCREF(Py_None); resultobj = Py_None;
2807 return resultobj;
2808 fail:
2809 return NULL;
2810 }
2811
2812
2813 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2814 PyObject *resultobj;
2815 wxPanel *arg1 = (wxPanel *) 0 ;
2816 PyObject * obj0 = 0 ;
2817 char *kwnames[] = {
2818 (char *) "self", NULL
2819 };
2820
2821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2823 if (SWIG_arg_fail(1)) SWIG_fail;
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 (arg1)->SetFocus();
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) SWIG_fail;
2830 }
2831 Py_INCREF(Py_None); resultobj = Py_None;
2832 return resultobj;
2833 fail:
2834 return NULL;
2835 }
2836
2837
2838 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2839 PyObject *resultobj;
2840 wxPanel *arg1 = (wxPanel *) 0 ;
2841 PyObject * obj0 = 0 ;
2842 char *kwnames[] = {
2843 (char *) "self", NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
2847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2848 if (SWIG_arg_fail(1)) SWIG_fail;
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 (arg1)->SetFocusIgnoringChildren();
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 Py_INCREF(Py_None); resultobj = Py_None;
2857 return resultobj;
2858 fail:
2859 return NULL;
2860 }
2861
2862
2863 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2864 PyObject *resultobj;
2865 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2866 wxVisualAttributes result;
2867 PyObject * obj0 = 0 ;
2868 char *kwnames[] = {
2869 (char *) "variant", NULL
2870 };
2871
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2873 if (obj0) {
2874 {
2875 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2876 if (SWIG_arg_fail(1)) SWIG_fail;
2877 }
2878 }
2879 {
2880 if (!wxPyCheckForApp()) SWIG_fail;
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 {
2888 wxVisualAttributes * resultptr;
2889 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2891 }
2892 return resultobj;
2893 fail:
2894 return NULL;
2895 }
2896
2897
2898 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
2899 PyObject *obj;
2900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2901 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2902 Py_INCREF(obj);
2903 return Py_BuildValue((char *)"");
2904 }
2905 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2906 PyObject *resultobj;
2907 wxWindow *arg1 = (wxWindow *) 0 ;
2908 int arg2 = (int) (int)-1 ;
2909 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2910 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2911 wxSize const &arg4_defvalue = wxDefaultSize ;
2912 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2913 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2914 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2915 wxString *arg6 = (wxString *) &arg6_defvalue ;
2916 wxScrolledWindow *result;
2917 wxPoint temp3 ;
2918 wxSize temp4 ;
2919 bool temp6 = false ;
2920 PyObject * obj0 = 0 ;
2921 PyObject * obj1 = 0 ;
2922 PyObject * obj2 = 0 ;
2923 PyObject * obj3 = 0 ;
2924 PyObject * obj4 = 0 ;
2925 PyObject * obj5 = 0 ;
2926 char *kwnames[] = {
2927 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2928 };
2929
2930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2932 if (SWIG_arg_fail(1)) SWIG_fail;
2933 if (obj1) {
2934 {
2935 arg2 = (int const)(SWIG_As_int(obj1));
2936 if (SWIG_arg_fail(2)) SWIG_fail;
2937 }
2938 }
2939 if (obj2) {
2940 {
2941 arg3 = &temp3;
2942 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2943 }
2944 }
2945 if (obj3) {
2946 {
2947 arg4 = &temp4;
2948 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2949 }
2950 }
2951 if (obj4) {
2952 {
2953 arg5 = (long)(SWIG_As_long(obj4));
2954 if (SWIG_arg_fail(5)) SWIG_fail;
2955 }
2956 }
2957 if (obj5) {
2958 {
2959 arg6 = wxString_in_helper(obj5);
2960 if (arg6 == NULL) SWIG_fail;
2961 temp6 = true;
2962 }
2963 }
2964 {
2965 if (!wxPyCheckForApp()) SWIG_fail;
2966 PyThreadState* __tstate = wxPyBeginAllowThreads();
2967 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2968
2969 wxPyEndAllowThreads(__tstate);
2970 if (PyErr_Occurred()) SWIG_fail;
2971 }
2972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2973 {
2974 if (temp6)
2975 delete arg6;
2976 }
2977 return resultobj;
2978 fail:
2979 {
2980 if (temp6)
2981 delete arg6;
2982 }
2983 return NULL;
2984 }
2985
2986
2987 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2988 PyObject *resultobj;
2989 wxScrolledWindow *result;
2990 char *kwnames[] = {
2991 NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2995 {
2996 if (!wxPyCheckForApp()) SWIG_fail;
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 result = (wxScrolledWindow *)new wxScrolledWindow();
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
3004 return resultobj;
3005 fail:
3006 return NULL;
3007 }
3008
3009
3010 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3013 wxWindow *arg2 = (wxWindow *) 0 ;
3014 int arg3 = (int) (int)-1 ;
3015 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3016 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3017 wxSize const &arg5_defvalue = wxDefaultSize ;
3018 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3019 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3020 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3021 wxString *arg7 = (wxString *) &arg7_defvalue ;
3022 bool result;
3023 wxPoint temp4 ;
3024 wxSize temp5 ;
3025 bool temp7 = false ;
3026 PyObject * obj0 = 0 ;
3027 PyObject * obj1 = 0 ;
3028 PyObject * obj2 = 0 ;
3029 PyObject * obj3 = 0 ;
3030 PyObject * obj4 = 0 ;
3031 PyObject * obj5 = 0 ;
3032 PyObject * obj6 = 0 ;
3033 char *kwnames[] = {
3034 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3035 };
3036
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3039 if (SWIG_arg_fail(1)) SWIG_fail;
3040 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3041 if (SWIG_arg_fail(2)) SWIG_fail;
3042 if (obj2) {
3043 {
3044 arg3 = (int const)(SWIG_As_int(obj2));
3045 if (SWIG_arg_fail(3)) SWIG_fail;
3046 }
3047 }
3048 if (obj3) {
3049 {
3050 arg4 = &temp4;
3051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3052 }
3053 }
3054 if (obj4) {
3055 {
3056 arg5 = &temp5;
3057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3058 }
3059 }
3060 if (obj5) {
3061 {
3062 arg6 = (long)(SWIG_As_long(obj5));
3063 if (SWIG_arg_fail(6)) SWIG_fail;
3064 }
3065 }
3066 if (obj6) {
3067 {
3068 arg7 = wxString_in_helper(obj6);
3069 if (arg7 == NULL) SWIG_fail;
3070 temp7 = true;
3071 }
3072 }
3073 {
3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
3075 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3076
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) SWIG_fail;
3079 }
3080 {
3081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3082 }
3083 {
3084 if (temp7)
3085 delete arg7;
3086 }
3087 return resultobj;
3088 fail:
3089 {
3090 if (temp7)
3091 delete arg7;
3092 }
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3100 int arg2 ;
3101 int arg3 ;
3102 int arg4 ;
3103 int arg5 ;
3104 int arg6 = (int) 0 ;
3105 int arg7 = (int) 0 ;
3106 bool arg8 = (bool) false ;
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3109 PyObject * obj2 = 0 ;
3110 PyObject * obj3 = 0 ;
3111 PyObject * obj4 = 0 ;
3112 PyObject * obj5 = 0 ;
3113 PyObject * obj6 = 0 ;
3114 PyObject * obj7 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3121 if (SWIG_arg_fail(1)) SWIG_fail;
3122 {
3123 arg2 = (int)(SWIG_As_int(obj1));
3124 if (SWIG_arg_fail(2)) SWIG_fail;
3125 }
3126 {
3127 arg3 = (int)(SWIG_As_int(obj2));
3128 if (SWIG_arg_fail(3)) SWIG_fail;
3129 }
3130 {
3131 arg4 = (int)(SWIG_As_int(obj3));
3132 if (SWIG_arg_fail(4)) SWIG_fail;
3133 }
3134 {
3135 arg5 = (int)(SWIG_As_int(obj4));
3136 if (SWIG_arg_fail(5)) SWIG_fail;
3137 }
3138 if (obj5) {
3139 {
3140 arg6 = (int)(SWIG_As_int(obj5));
3141 if (SWIG_arg_fail(6)) SWIG_fail;
3142 }
3143 }
3144 if (obj6) {
3145 {
3146 arg7 = (int)(SWIG_As_int(obj6));
3147 if (SWIG_arg_fail(7)) SWIG_fail;
3148 }
3149 }
3150 if (obj7) {
3151 {
3152 arg8 = (bool)(SWIG_As_bool(obj7));
3153 if (SWIG_arg_fail(8)) SWIG_fail;
3154 }
3155 }
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 Py_INCREF(Py_None); resultobj = Py_None;
3164 return resultobj;
3165 fail:
3166 return NULL;
3167 }
3168
3169
3170 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3171 PyObject *resultobj;
3172 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3173 int arg2 ;
3174 int arg3 ;
3175 PyObject * obj0 = 0 ;
3176 PyObject * obj1 = 0 ;
3177 PyObject * obj2 = 0 ;
3178 char *kwnames[] = {
3179 (char *) "self",(char *) "x",(char *) "y", NULL
3180 };
3181
3182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3184 if (SWIG_arg_fail(1)) SWIG_fail;
3185 {
3186 arg2 = (int)(SWIG_As_int(obj1));
3187 if (SWIG_arg_fail(2)) SWIG_fail;
3188 }
3189 {
3190 arg3 = (int)(SWIG_As_int(obj2));
3191 if (SWIG_arg_fail(3)) SWIG_fail;
3192 }
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 (arg1)->Scroll(arg2,arg3);
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 Py_INCREF(Py_None); resultobj = Py_None;
3201 return resultobj;
3202 fail:
3203 return NULL;
3204 }
3205
3206
3207 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3210 int arg2 ;
3211 int result;
3212 PyObject * obj0 = 0 ;
3213 PyObject * obj1 = 0 ;
3214 char *kwnames[] = {
3215 (char *) "self",(char *) "orient", NULL
3216 };
3217
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3220 if (SWIG_arg_fail(1)) SWIG_fail;
3221 {
3222 arg2 = (int)(SWIG_As_int(obj1));
3223 if (SWIG_arg_fail(2)) SWIG_fail;
3224 }
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 {
3233 resultobj = SWIG_From_int((int)(result));
3234 }
3235 return resultobj;
3236 fail:
3237 return NULL;
3238 }
3239
3240
3241 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3244 int arg2 ;
3245 int arg3 ;
3246 PyObject * obj0 = 0 ;
3247 PyObject * obj1 = 0 ;
3248 PyObject * obj2 = 0 ;
3249 char *kwnames[] = {
3250 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3251 };
3252
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3255 if (SWIG_arg_fail(1)) SWIG_fail;
3256 {
3257 arg2 = (int)(SWIG_As_int(obj1));
3258 if (SWIG_arg_fail(2)) SWIG_fail;
3259 }
3260 {
3261 arg3 = (int)(SWIG_As_int(obj2));
3262 if (SWIG_arg_fail(3)) SWIG_fail;
3263 }
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 (arg1)->SetScrollPageSize(arg2,arg3);
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 Py_INCREF(Py_None); resultobj = Py_None;
3272 return resultobj;
3273 fail:
3274 return NULL;
3275 }
3276
3277
3278 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3279 PyObject *resultobj;
3280 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3281 int arg2 ;
3282 int arg3 ;
3283 PyObject * obj0 = 0 ;
3284 PyObject * obj1 = 0 ;
3285 PyObject * obj2 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail;
3293 {
3294 arg2 = (int)(SWIG_As_int(obj1));
3295 if (SWIG_arg_fail(2)) SWIG_fail;
3296 }
3297 {
3298 arg3 = (int)(SWIG_As_int(obj2));
3299 if (SWIG_arg_fail(3)) SWIG_fail;
3300 }
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 (arg1)->SetScrollRate(arg2,arg3);
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 Py_INCREF(Py_None); resultobj = Py_None;
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3318 int *arg2 = (int *) 0 ;
3319 int *arg3 = (int *) 0 ;
3320 int temp2 ;
3321 int res2 = 0 ;
3322 int temp3 ;
3323 int res3 = 0 ;
3324 PyObject * obj0 = 0 ;
3325 char *kwnames[] = {
3326 (char *) "self", NULL
3327 };
3328
3329 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3330 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3333 if (SWIG_arg_fail(1)) SWIG_fail;
3334 {
3335 PyThreadState* __tstate = wxPyBeginAllowThreads();
3336 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3337
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 Py_INCREF(Py_None); resultobj = Py_None;
3342 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3343 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3344 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3345 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3346 return resultobj;
3347 fail:
3348 return NULL;
3349 }
3350
3351
3352 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3353 PyObject *resultobj;
3354 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3355 bool arg2 ;
3356 bool arg3 ;
3357 PyObject * obj0 = 0 ;
3358 PyObject * obj1 = 0 ;
3359 PyObject * obj2 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3366 if (SWIG_arg_fail(1)) SWIG_fail;
3367 {
3368 arg2 = (bool)(SWIG_As_bool(obj1));
3369 if (SWIG_arg_fail(2)) SWIG_fail;
3370 }
3371 {
3372 arg3 = (bool)(SWIG_As_bool(obj2));
3373 if (SWIG_arg_fail(3)) SWIG_fail;
3374 }
3375 {
3376 PyThreadState* __tstate = wxPyBeginAllowThreads();
3377 (arg1)->EnableScrolling(arg2,arg3);
3378
3379 wxPyEndAllowThreads(__tstate);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 Py_INCREF(Py_None); resultobj = Py_None;
3383 return resultobj;
3384 fail:
3385 return NULL;
3386 }
3387
3388
3389 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3390 PyObject *resultobj;
3391 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3392 int *arg2 = (int *) 0 ;
3393 int *arg3 = (int *) 0 ;
3394 int temp2 ;
3395 int res2 = 0 ;
3396 int temp3 ;
3397 int res3 = 0 ;
3398 PyObject * obj0 = 0 ;
3399 char *kwnames[] = {
3400 (char *) "self", NULL
3401 };
3402
3403 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3404 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3407 if (SWIG_arg_fail(1)) SWIG_fail;
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
3415 Py_INCREF(Py_None); resultobj = Py_None;
3416 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3417 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3418 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3419 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3420 return resultobj;
3421 fail:
3422 return NULL;
3423 }
3424
3425
3426 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3427 PyObject *resultobj;
3428 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3429 double arg2 ;
3430 double arg3 ;
3431 PyObject * obj0 = 0 ;
3432 PyObject * obj1 = 0 ;
3433 PyObject * obj2 = 0 ;
3434 char *kwnames[] = {
3435 (char *) "self",(char *) "xs",(char *) "ys", NULL
3436 };
3437
3438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3440 if (SWIG_arg_fail(1)) SWIG_fail;
3441 {
3442 arg2 = (double)(SWIG_As_double(obj1));
3443 if (SWIG_arg_fail(2)) SWIG_fail;
3444 }
3445 {
3446 arg3 = (double)(SWIG_As_double(obj2));
3447 if (SWIG_arg_fail(3)) SWIG_fail;
3448 }
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 (arg1)->SetScale(arg2,arg3);
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
3456 Py_INCREF(Py_None); resultobj = Py_None;
3457 return resultobj;
3458 fail:
3459 return NULL;
3460 }
3461
3462
3463 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3464 PyObject *resultobj;
3465 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3466 double result;
3467 PyObject * obj0 = 0 ;
3468 char *kwnames[] = {
3469 (char *) "self", NULL
3470 };
3471
3472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3474 if (SWIG_arg_fail(1)) SWIG_fail;
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 {
3483 resultobj = SWIG_From_double((double)(result));
3484 }
3485 return resultobj;
3486 fail:
3487 return NULL;
3488 }
3489
3490
3491 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3492 PyObject *resultobj;
3493 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3494 double result;
3495 PyObject * obj0 = 0 ;
3496 char *kwnames[] = {
3497 (char *) "self", NULL
3498 };
3499
3500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3502 if (SWIG_arg_fail(1)) SWIG_fail;
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 {
3511 resultobj = SWIG_From_double((double)(result));
3512 }
3513 return resultobj;
3514 fail:
3515 return NULL;
3516 }
3517
3518
3519 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3520 PyObject *resultobj;
3521 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3522 wxPoint *arg2 = 0 ;
3523 wxPoint result;
3524 wxPoint temp2 ;
3525 PyObject * obj0 = 0 ;
3526 PyObject * obj1 = 0 ;
3527
3528 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3530 if (SWIG_arg_fail(1)) SWIG_fail;
3531 {
3532 arg2 = &temp2;
3533 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3534 }
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3538
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 {
3543 wxPoint * resultptr;
3544 resultptr = new wxPoint((wxPoint &)(result));
3545 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3546 }
3547 return resultobj;
3548 fail:
3549 return NULL;
3550 }
3551
3552
3553 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3554 PyObject *resultobj;
3555 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3556 int arg2 ;
3557 int arg3 ;
3558 int *arg4 = (int *) 0 ;
3559 int *arg5 = (int *) 0 ;
3560 int temp4 ;
3561 int res4 = 0 ;
3562 int temp5 ;
3563 int res5 = 0 ;
3564 PyObject * obj0 = 0 ;
3565 PyObject * obj1 = 0 ;
3566 PyObject * obj2 = 0 ;
3567
3568 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3569 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3570 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3572 if (SWIG_arg_fail(1)) SWIG_fail;
3573 {
3574 arg2 = (int)(SWIG_As_int(obj1));
3575 if (SWIG_arg_fail(2)) SWIG_fail;
3576 }
3577 {
3578 arg3 = (int)(SWIG_As_int(obj2));
3579 if (SWIG_arg_fail(3)) SWIG_fail;
3580 }
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 Py_INCREF(Py_None); resultobj = Py_None;
3589 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3590 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3591 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3592 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3593 return resultobj;
3594 fail:
3595 return NULL;
3596 }
3597
3598
3599 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3600 int argc;
3601 PyObject *argv[4];
3602 int ii;
3603
3604 argc = PyObject_Length(args);
3605 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3606 argv[ii] = PyTuple_GetItem(args,ii);
3607 }
3608 if (argc == 2) {
3609 int _v;
3610 {
3611 void *ptr;
3612 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3613 _v = 0;
3614 PyErr_Clear();
3615 } else {
3616 _v = 1;
3617 }
3618 }
3619 if (_v) {
3620 {
3621 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3622 }
3623 if (_v) {
3624 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3625 }
3626 }
3627 }
3628 if (argc == 3) {
3629 int _v;
3630 {
3631 void *ptr;
3632 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3633 _v = 0;
3634 PyErr_Clear();
3635 } else {
3636 _v = 1;
3637 }
3638 }
3639 if (_v) {
3640 _v = SWIG_Check_int(argv[1]);
3641 if (_v) {
3642 _v = SWIG_Check_int(argv[2]);
3643 if (_v) {
3644 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3645 }
3646 }
3647 }
3648 }
3649
3650 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3651 return NULL;
3652 }
3653
3654
3655 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3656 PyObject *resultobj;
3657 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3658 wxPoint *arg2 = 0 ;
3659 wxPoint result;
3660 wxPoint temp2 ;
3661 PyObject * obj0 = 0 ;
3662 PyObject * obj1 = 0 ;
3663
3664 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail;
3667 {
3668 arg2 = &temp2;
3669 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3670 }
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 {
3679 wxPoint * resultptr;
3680 resultptr = new wxPoint((wxPoint &)(result));
3681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3682 }
3683 return resultobj;
3684 fail:
3685 return NULL;
3686 }
3687
3688
3689 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3690 PyObject *resultobj;
3691 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3692 int arg2 ;
3693 int arg3 ;
3694 int *arg4 = (int *) 0 ;
3695 int *arg5 = (int *) 0 ;
3696 int temp4 ;
3697 int res4 = 0 ;
3698 int temp5 ;
3699 int res5 = 0 ;
3700 PyObject * obj0 = 0 ;
3701 PyObject * obj1 = 0 ;
3702 PyObject * obj2 = 0 ;
3703
3704 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3705 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3706 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3708 if (SWIG_arg_fail(1)) SWIG_fail;
3709 {
3710 arg2 = (int)(SWIG_As_int(obj1));
3711 if (SWIG_arg_fail(2)) SWIG_fail;
3712 }
3713 {
3714 arg3 = (int)(SWIG_As_int(obj2));
3715 if (SWIG_arg_fail(3)) SWIG_fail;
3716 }
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 Py_INCREF(Py_None); resultobj = Py_None;
3725 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3726 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3727 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3728 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3736 int argc;
3737 PyObject *argv[4];
3738 int ii;
3739
3740 argc = PyObject_Length(args);
3741 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3742 argv[ii] = PyTuple_GetItem(args,ii);
3743 }
3744 if (argc == 2) {
3745 int _v;
3746 {
3747 void *ptr;
3748 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3749 _v = 0;
3750 PyErr_Clear();
3751 } else {
3752 _v = 1;
3753 }
3754 }
3755 if (_v) {
3756 {
3757 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3758 }
3759 if (_v) {
3760 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3761 }
3762 }
3763 }
3764 if (argc == 3) {
3765 int _v;
3766 {
3767 void *ptr;
3768 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3769 _v = 0;
3770 PyErr_Clear();
3771 } else {
3772 _v = 1;
3773 }
3774 }
3775 if (_v) {
3776 _v = SWIG_Check_int(argv[1]);
3777 if (_v) {
3778 _v = SWIG_Check_int(argv[2]);
3779 if (_v) {
3780 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3781 }
3782 }
3783 }
3784 }
3785
3786 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3787 return NULL;
3788 }
3789
3790
3791 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3794 PyObject * obj0 = 0 ;
3795 char *kwnames[] = {
3796 (char *) "self", NULL
3797 };
3798
3799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3801 if (SWIG_arg_fail(1)) SWIG_fail;
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 (arg1)->AdjustScrollbars();
3805
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 Py_INCREF(Py_None); resultobj = Py_None;
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj;
3818 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3819 wxScrollWinEvent *arg2 = 0 ;
3820 int result;
3821 PyObject * obj0 = 0 ;
3822 PyObject * obj1 = 0 ;
3823 char *kwnames[] = {
3824 (char *) "self",(char *) "event", NULL
3825 };
3826
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3829 if (SWIG_arg_fail(1)) SWIG_fail;
3830 {
3831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3832 if (SWIG_arg_fail(2)) SWIG_fail;
3833 if (arg2 == NULL) {
3834 SWIG_null_ref("wxScrollWinEvent");
3835 }
3836 if (SWIG_arg_fail(2)) SWIG_fail;
3837 }
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (int)(arg1)->CalcScrollInc(*arg2);
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 {
3846 resultobj = SWIG_From_int((int)(result));
3847 }
3848 return resultobj;
3849 fail:
3850 return NULL;
3851 }
3852
3853
3854 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3855 PyObject *resultobj;
3856 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3857 wxWindow *arg2 = (wxWindow *) 0 ;
3858 PyObject * obj0 = 0 ;
3859 PyObject * obj1 = 0 ;
3860 char *kwnames[] = {
3861 (char *) "self",(char *) "target", NULL
3862 };
3863
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
3865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3866 if (SWIG_arg_fail(1)) SWIG_fail;
3867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3868 if (SWIG_arg_fail(2)) SWIG_fail;
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 (arg1)->SetTargetWindow(arg2);
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 Py_INCREF(Py_None); resultobj = Py_None;
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3886 wxWindow *result;
3887 PyObject * obj0 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "self", NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
3893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3894 if (SWIG_arg_fail(1)) SWIG_fail;
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 {
3903 resultobj = wxPyMake_wxObject(result, 0);
3904 }
3905 return resultobj;
3906 fail:
3907 return NULL;
3908 }
3909
3910
3911 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3912 PyObject *resultobj;
3913 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3914 wxRect *arg2 = 0 ;
3915 wxRect temp2 ;
3916 PyObject * obj0 = 0 ;
3917 PyObject * obj1 = 0 ;
3918 char *kwnames[] = {
3919 (char *) "self",(char *) "rect", NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
3923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3924 if (SWIG_arg_fail(1)) SWIG_fail;
3925 {
3926 arg2 = &temp2;
3927 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3928 }
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 (arg1)->SetTargetRect((wxRect const &)*arg2);
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 return resultobj;
3938 fail:
3939 return NULL;
3940 }
3941
3942
3943 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3944 PyObject *resultobj;
3945 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3946 wxRect result;
3947 PyObject * obj0 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
3953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail;
3955 {
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
3958
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 {
3963 wxRect * resultptr;
3964 resultptr = new wxRect((wxRect &)(result));
3965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3966 }
3967 return resultobj;
3968 fail:
3969 return NULL;
3970 }
3971
3972
3973 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
3974 PyObject *resultobj;
3975 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3976 wxDC *arg2 = 0 ;
3977 PyObject * obj0 = 0 ;
3978 PyObject * obj1 = 0 ;
3979 char *kwnames[] = {
3980 (char *) "self",(char *) "dc", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
3984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3985 if (SWIG_arg_fail(1)) SWIG_fail;
3986 {
3987 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3988 if (SWIG_arg_fail(2)) SWIG_fail;
3989 if (arg2 == NULL) {
3990 SWIG_null_ref("wxDC");
3991 }
3992 if (SWIG_arg_fail(2)) SWIG_fail;
3993 }
3994 {
3995 PyThreadState* __tstate = wxPyBeginAllowThreads();
3996 (arg1)->DoPrepareDC(*arg2);
3997
3998 wxPyEndAllowThreads(__tstate);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
4001 Py_INCREF(Py_None); resultobj = Py_None;
4002 return resultobj;
4003 fail:
4004 return NULL;
4005 }
4006
4007
4008 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4009 PyObject *resultobj;
4010 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4011 wxVisualAttributes result;
4012 PyObject * obj0 = 0 ;
4013 char *kwnames[] = {
4014 (char *) "variant", NULL
4015 };
4016
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4018 if (obj0) {
4019 {
4020 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4021 if (SWIG_arg_fail(1)) SWIG_fail;
4022 }
4023 }
4024 {
4025 if (!wxPyCheckForApp()) SWIG_fail;
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 {
4033 wxVisualAttributes * resultptr;
4034 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4035 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4036 }
4037 return resultobj;
4038 fail:
4039 return NULL;
4040 }
4041
4042
4043 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
4044 PyObject *obj;
4045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4046 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4047 Py_INCREF(obj);
4048 return Py_BuildValue((char *)"");
4049 }
4050 static int _wrap_FrameNameStr_set(PyObject *) {
4051 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4052 return 1;
4053 }
4054
4055
4056 static PyObject *_wrap_FrameNameStr_get(void) {
4057 PyObject *pyobj;
4058
4059 {
4060 #if wxUSE_UNICODE
4061 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4062 #else
4063 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4064 #endif
4065 }
4066 return pyobj;
4067 }
4068
4069
4070 static int _wrap_DialogNameStr_set(PyObject *) {
4071 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4072 return 1;
4073 }
4074
4075
4076 static PyObject *_wrap_DialogNameStr_get(void) {
4077 PyObject *pyobj;
4078
4079 {
4080 #if wxUSE_UNICODE
4081 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4082 #else
4083 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4084 #endif
4085 }
4086 return pyobj;
4087 }
4088
4089
4090 static int _wrap_StatusLineNameStr_set(PyObject *) {
4091 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4092 return 1;
4093 }
4094
4095
4096 static PyObject *_wrap_StatusLineNameStr_get(void) {
4097 PyObject *pyobj;
4098
4099 {
4100 #if wxUSE_UNICODE
4101 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4102 #else
4103 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4104 #endif
4105 }
4106 return pyobj;
4107 }
4108
4109
4110 static int _wrap_ToolBarNameStr_set(PyObject *) {
4111 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4112 return 1;
4113 }
4114
4115
4116 static PyObject *_wrap_ToolBarNameStr_get(void) {
4117 PyObject *pyobj;
4118
4119 {
4120 #if wxUSE_UNICODE
4121 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4122 #else
4123 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4124 #endif
4125 }
4126 return pyobj;
4127 }
4128
4129
4130 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4133 bool arg2 = (bool) true ;
4134 PyObject * obj0 = 0 ;
4135 PyObject * obj1 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self",(char *) "maximize", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4142 if (SWIG_arg_fail(1)) SWIG_fail;
4143 if (obj1) {
4144 {
4145 arg2 = (bool)(SWIG_As_bool(obj1));
4146 if (SWIG_arg_fail(2)) SWIG_fail;
4147 }
4148 }
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 (arg1)->Maximize(arg2);
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 Py_INCREF(Py_None); resultobj = Py_None;
4157 return resultobj;
4158 fail:
4159 return NULL;
4160 }
4161
4162
4163 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4164 PyObject *resultobj;
4165 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4166 PyObject * obj0 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "self", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4173 if (SWIG_arg_fail(1)) SWIG_fail;
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 (arg1)->Restore();
4177
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 Py_INCREF(Py_None); resultobj = Py_None;
4182 return resultobj;
4183 fail:
4184 return NULL;
4185 }
4186
4187
4188 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj;
4190 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4191 bool arg2 = (bool) true ;
4192 PyObject * obj0 = 0 ;
4193 PyObject * obj1 = 0 ;
4194 char *kwnames[] = {
4195 (char *) "self",(char *) "iconize", NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4200 if (SWIG_arg_fail(1)) SWIG_fail;
4201 if (obj1) {
4202 {
4203 arg2 = (bool)(SWIG_As_bool(obj1));
4204 if (SWIG_arg_fail(2)) SWIG_fail;
4205 }
4206 }
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 (arg1)->Iconize(arg2);
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 Py_INCREF(Py_None); resultobj = Py_None;
4215 return resultobj;
4216 fail:
4217 return NULL;
4218 }
4219
4220
4221 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj;
4223 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4224 bool result;
4225 PyObject * obj0 = 0 ;
4226 char *kwnames[] = {
4227 (char *) "self", NULL
4228 };
4229
4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4232 if (SWIG_arg_fail(1)) SWIG_fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 {
4241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4242 }
4243 return resultobj;
4244 fail:
4245 return NULL;
4246 }
4247
4248
4249 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4252 bool result;
4253 PyObject * obj0 = 0 ;
4254 char *kwnames[] = {
4255 (char *) "self", NULL
4256 };
4257
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4260 if (SWIG_arg_fail(1)) SWIG_fail;
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4264
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
4268 {
4269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4270 }
4271 return resultobj;
4272 fail:
4273 return NULL;
4274 }
4275
4276
4277 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4280 wxIcon result;
4281 PyObject * obj0 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4288 if (SWIG_arg_fail(1)) SWIG_fail;
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4292
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 {
4297 wxIcon * resultptr;
4298 resultptr = new wxIcon((wxIcon &)(result));
4299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4300 }
4301 return resultobj;
4302 fail:
4303 return NULL;
4304 }
4305
4306
4307 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4308 PyObject *resultobj;
4309 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4310 wxIcon *arg2 = 0 ;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313 char *kwnames[] = {
4314 (char *) "self",(char *) "icon", NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail;
4320 {
4321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(2)) SWIG_fail;
4323 if (arg2 == NULL) {
4324 SWIG_null_ref("wxIcon");
4325 }
4326 if (SWIG_arg_fail(2)) SWIG_fail;
4327 }
4328 {
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 (arg1)->SetIcon((wxIcon const &)*arg2);
4331
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 Py_INCREF(Py_None); resultobj = Py_None;
4336 return resultobj;
4337 fail:
4338 return NULL;
4339 }
4340
4341
4342 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4343 PyObject *resultobj;
4344 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4345 wxIconBundle *arg2 = 0 ;
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self",(char *) "icons", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail;
4355 {
4356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4357 if (SWIG_arg_fail(2)) SWIG_fail;
4358 if (arg2 == NULL) {
4359 SWIG_null_ref("wxIconBundle");
4360 }
4361 if (SWIG_arg_fail(2)) SWIG_fail;
4362 }
4363 {
4364 PyThreadState* __tstate = wxPyBeginAllowThreads();
4365 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4366
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 Py_INCREF(Py_None); resultobj = Py_None;
4371 return resultobj;
4372 fail:
4373 return NULL;
4374 }
4375
4376
4377 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4378 PyObject *resultobj;
4379 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4380 bool arg2 ;
4381 long arg3 = (long) wxFULLSCREEN_ALL ;
4382 bool result;
4383 PyObject * obj0 = 0 ;
4384 PyObject * obj1 = 0 ;
4385 PyObject * obj2 = 0 ;
4386 char *kwnames[] = {
4387 (char *) "self",(char *) "show",(char *) "style", NULL
4388 };
4389
4390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4392 if (SWIG_arg_fail(1)) SWIG_fail;
4393 {
4394 arg2 = (bool)(SWIG_As_bool(obj1));
4395 if (SWIG_arg_fail(2)) SWIG_fail;
4396 }
4397 if (obj2) {
4398 {
4399 arg3 = (long)(SWIG_As_long(obj2));
4400 if (SWIG_arg_fail(3)) SWIG_fail;
4401 }
4402 }
4403 {
4404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4405 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4406
4407 wxPyEndAllowThreads(__tstate);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 }
4410 {
4411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4412 }
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4420 PyObject *resultobj;
4421 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4422 bool result;
4423 PyObject * obj0 = 0 ;
4424 char *kwnames[] = {
4425 (char *) "self", NULL
4426 };
4427
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4430 if (SWIG_arg_fail(1)) SWIG_fail;
4431 {
4432 PyThreadState* __tstate = wxPyBeginAllowThreads();
4433 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4434
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 }
4438 {
4439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4440 }
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj;
4449 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4450 wxString *arg2 = 0 ;
4451 bool temp2 = false ;
4452 PyObject * obj0 = 0 ;
4453 PyObject * obj1 = 0 ;
4454 char *kwnames[] = {
4455 (char *) "self",(char *) "title", NULL
4456 };
4457
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4460 if (SWIG_arg_fail(1)) SWIG_fail;
4461 {
4462 arg2 = wxString_in_helper(obj1);
4463 if (arg2 == NULL) SWIG_fail;
4464 temp2 = true;
4465 }
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->SetTitle((wxString const &)*arg2);
4469
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 Py_INCREF(Py_None); resultobj = Py_None;
4474 {
4475 if (temp2)
4476 delete arg2;
4477 }
4478 return resultobj;
4479 fail:
4480 {
4481 if (temp2)
4482 delete arg2;
4483 }
4484 return NULL;
4485 }
4486
4487
4488 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4491 wxString result;
4492 PyObject * obj0 = 0 ;
4493 char *kwnames[] = {
4494 (char *) "self", NULL
4495 };
4496
4497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4499 if (SWIG_arg_fail(1)) SWIG_fail;
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 {
4508 #if wxUSE_UNICODE
4509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4510 #else
4511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4512 #endif
4513 }
4514 return resultobj;
4515 fail:
4516 return NULL;
4517 }
4518
4519
4520 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4521 PyObject *resultobj;
4522 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4523 wxRegion *arg2 = 0 ;
4524 bool result;
4525 PyObject * obj0 = 0 ;
4526 PyObject * obj1 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "self",(char *) "region", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4533 if (SWIG_arg_fail(1)) SWIG_fail;
4534 {
4535 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4536 if (SWIG_arg_fail(2)) SWIG_fail;
4537 if (arg2 == NULL) {
4538 SWIG_null_ref("wxRegion");
4539 }
4540 if (SWIG_arg_fail(2)) SWIG_fail;
4541 }
4542 {
4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4544 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4545
4546 wxPyEndAllowThreads(__tstate);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4549 {
4550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4551 }
4552 return resultobj;
4553 fail:
4554 return NULL;
4555 }
4556
4557
4558 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj;
4560 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4561 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4562 PyObject * obj0 = 0 ;
4563 PyObject * obj1 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self",(char *) "flags", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4570 if (SWIG_arg_fail(1)) SWIG_fail;
4571 if (obj1) {
4572 {
4573 arg2 = (int)(SWIG_As_int(obj1));
4574 if (SWIG_arg_fail(2)) SWIG_fail;
4575 }
4576 }
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 (arg1)->RequestUserAttention(arg2);
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 Py_INCREF(Py_None); resultobj = Py_None;
4585 return resultobj;
4586 fail:
4587 return NULL;
4588 }
4589
4590
4591 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4592 PyObject *resultobj;
4593 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4594 bool result;
4595 PyObject * obj0 = 0 ;
4596 char *kwnames[] = {
4597 (char *) "self", NULL
4598 };
4599
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4602 if (SWIG_arg_fail(1)) SWIG_fail;
4603 {
4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
4605 result = (bool)(arg1)->IsActive();
4606
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 {
4611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4612 }
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4620 PyObject *resultobj;
4621 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4622 bool arg2 ;
4623 PyObject * obj0 = 0 ;
4624 PyObject * obj1 = 0 ;
4625 char *kwnames[] = {
4626 (char *) "self",(char *) "on", NULL
4627 };
4628
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4631 if (SWIG_arg_fail(1)) SWIG_fail;
4632 {
4633 arg2 = (bool)(SWIG_As_bool(obj1));
4634 if (SWIG_arg_fail(2)) SWIG_fail;
4635 }
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 Py_INCREF(Py_None); resultobj = Py_None;
4644 return resultobj;
4645 fail:
4646 return NULL;
4647 }
4648
4649
4650 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4651 PyObject *resultobj;
4652 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4653 bool result;
4654 PyObject * obj0 = 0 ;
4655 char *kwnames[] = {
4656 (char *) "self", NULL
4657 };
4658
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4661 if (SWIG_arg_fail(1)) SWIG_fail;
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 {
4670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4671 }
4672 return resultobj;
4673 fail:
4674 return NULL;
4675 }
4676
4677
4678 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4679 PyObject *obj;
4680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4681 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4682 Py_INCREF(obj);
4683 return Py_BuildValue((char *)"");
4684 }
4685 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4686 PyObject *resultobj;
4687 wxWindow *arg1 = (wxWindow *) 0 ;
4688 int arg2 = (int) (int)-1 ;
4689 wxString const &arg3_defvalue = wxPyEmptyString ;
4690 wxString *arg3 = (wxString *) &arg3_defvalue ;
4691 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4692 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4693 wxSize const &arg5_defvalue = wxDefaultSize ;
4694 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4695 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4696 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4697 wxString *arg7 = (wxString *) &arg7_defvalue ;
4698 wxFrame *result;
4699 bool temp3 = false ;
4700 wxPoint temp4 ;
4701 wxSize temp5 ;
4702 bool temp7 = false ;
4703 PyObject * obj0 = 0 ;
4704 PyObject * obj1 = 0 ;
4705 PyObject * obj2 = 0 ;
4706 PyObject * obj3 = 0 ;
4707 PyObject * obj4 = 0 ;
4708 PyObject * obj5 = 0 ;
4709 PyObject * obj6 = 0 ;
4710 char *kwnames[] = {
4711 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4712 };
4713
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4716 if (SWIG_arg_fail(1)) SWIG_fail;
4717 if (obj1) {
4718 {
4719 arg2 = (int const)(SWIG_As_int(obj1));
4720 if (SWIG_arg_fail(2)) SWIG_fail;
4721 }
4722 }
4723 if (obj2) {
4724 {
4725 arg3 = wxString_in_helper(obj2);
4726 if (arg3 == NULL) SWIG_fail;
4727 temp3 = true;
4728 }
4729 }
4730 if (obj3) {
4731 {
4732 arg4 = &temp4;
4733 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4734 }
4735 }
4736 if (obj4) {
4737 {
4738 arg5 = &temp5;
4739 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4740 }
4741 }
4742 if (obj5) {
4743 {
4744 arg6 = (long)(SWIG_As_long(obj5));
4745 if (SWIG_arg_fail(6)) SWIG_fail;
4746 }
4747 }
4748 if (obj6) {
4749 {
4750 arg7 = wxString_in_helper(obj6);
4751 if (arg7 == NULL) SWIG_fail;
4752 temp7 = true;
4753 }
4754 }
4755 {
4756 if (!wxPyCheckForApp()) SWIG_fail;
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4764 {
4765 if (temp3)
4766 delete arg3;
4767 }
4768 {
4769 if (temp7)
4770 delete arg7;
4771 }
4772 return resultobj;
4773 fail:
4774 {
4775 if (temp3)
4776 delete arg3;
4777 }
4778 {
4779 if (temp7)
4780 delete arg7;
4781 }
4782 return NULL;
4783 }
4784
4785
4786 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4787 PyObject *resultobj;
4788 wxFrame *result;
4789 char *kwnames[] = {
4790 NULL
4791 };
4792
4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4794 {
4795 if (!wxPyCheckForApp()) SWIG_fail;
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 result = (wxFrame *)new wxFrame();
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4803 return resultobj;
4804 fail:
4805 return NULL;
4806 }
4807
4808
4809 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4810 PyObject *resultobj;
4811 wxFrame *arg1 = (wxFrame *) 0 ;
4812 wxWindow *arg2 = (wxWindow *) 0 ;
4813 int arg3 = (int) (int)-1 ;
4814 wxString const &arg4_defvalue = wxPyEmptyString ;
4815 wxString *arg4 = (wxString *) &arg4_defvalue ;
4816 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4817 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4818 wxSize const &arg6_defvalue = wxDefaultSize ;
4819 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4820 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4821 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4822 wxString *arg8 = (wxString *) &arg8_defvalue ;
4823 bool result;
4824 bool temp4 = false ;
4825 wxPoint temp5 ;
4826 wxSize temp6 ;
4827 bool temp8 = false ;
4828 PyObject * obj0 = 0 ;
4829 PyObject * obj1 = 0 ;
4830 PyObject * obj2 = 0 ;
4831 PyObject * obj3 = 0 ;
4832 PyObject * obj4 = 0 ;
4833 PyObject * obj5 = 0 ;
4834 PyObject * obj6 = 0 ;
4835 PyObject * obj7 = 0 ;
4836 char *kwnames[] = {
4837 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4838 };
4839
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4842 if (SWIG_arg_fail(1)) SWIG_fail;
4843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4844 if (SWIG_arg_fail(2)) SWIG_fail;
4845 if (obj2) {
4846 {
4847 arg3 = (int const)(SWIG_As_int(obj2));
4848 if (SWIG_arg_fail(3)) SWIG_fail;
4849 }
4850 }
4851 if (obj3) {
4852 {
4853 arg4 = wxString_in_helper(obj3);
4854 if (arg4 == NULL) SWIG_fail;
4855 temp4 = true;
4856 }
4857 }
4858 if (obj4) {
4859 {
4860 arg5 = &temp5;
4861 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4862 }
4863 }
4864 if (obj5) {
4865 {
4866 arg6 = &temp6;
4867 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4868 }
4869 }
4870 if (obj6) {
4871 {
4872 arg7 = (long)(SWIG_As_long(obj6));
4873 if (SWIG_arg_fail(7)) SWIG_fail;
4874 }
4875 }
4876 if (obj7) {
4877 {
4878 arg8 = wxString_in_helper(obj7);
4879 if (arg8 == NULL) SWIG_fail;
4880 temp8 = true;
4881 }
4882 }
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4886
4887 wxPyEndAllowThreads(__tstate);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 {
4891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4892 }
4893 {
4894 if (temp4)
4895 delete arg4;
4896 }
4897 {
4898 if (temp8)
4899 delete arg8;
4900 }
4901 return resultobj;
4902 fail:
4903 {
4904 if (temp4)
4905 delete arg4;
4906 }
4907 {
4908 if (temp8)
4909 delete arg8;
4910 }
4911 return NULL;
4912 }
4913
4914
4915 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
4916 PyObject *resultobj;
4917 wxFrame *arg1 = (wxFrame *) 0 ;
4918 wxPoint result;
4919 PyObject * obj0 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
4925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4926 if (SWIG_arg_fail(1)) SWIG_fail;
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 {
4935 wxPoint * resultptr;
4936 resultptr = new wxPoint((wxPoint &)(result));
4937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4938 }
4939 return resultobj;
4940 fail:
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj;
4947 wxFrame *arg1 = (wxFrame *) 0 ;
4948 PyObject * obj0 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
4954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail;
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->SendSizeEvent();
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 Py_INCREF(Py_None); resultobj = Py_None;
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxFrame *arg1 = (wxFrame *) 0 ;
4973 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4974 PyObject * obj0 = 0 ;
4975 PyObject * obj1 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "self",(char *) "menubar", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
4981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail;
4983 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4984 if (SWIG_arg_fail(2)) SWIG_fail;
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 (arg1)->SetMenuBar(arg2);
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 Py_INCREF(Py_None); resultobj = Py_None;
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxFrame *arg1 = (wxFrame *) 0 ;
5002 wxMenuBar *result;
5003 PyObject * obj0 = 0 ;
5004 char *kwnames[] = {
5005 (char *) "self", NULL
5006 };
5007
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
5009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5010 if (SWIG_arg_fail(1)) SWIG_fail;
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 {
5019 resultobj = wxPyMake_wxObject(result, 0);
5020 }
5021 return resultobj;
5022 fail:
5023 return NULL;
5024 }
5025
5026
5027 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
5028 PyObject *resultobj;
5029 wxFrame *arg1 = (wxFrame *) 0 ;
5030 int arg2 ;
5031 bool result;
5032 PyObject * obj0 = 0 ;
5033 PyObject * obj1 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "winid", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
5039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5040 if (SWIG_arg_fail(1)) SWIG_fail;
5041 {
5042 arg2 = (int)(SWIG_As_int(obj1));
5043 if (SWIG_arg_fail(2)) SWIG_fail;
5044 }
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = (bool)(arg1)->ProcessCommand(arg2);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 {
5053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5054 }
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxFrame *arg1 = (wxFrame *) 0 ;
5064 int arg2 = (int) 1 ;
5065 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
5066 int arg4 = (int) 0 ;
5067 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5068 wxString *arg5 = (wxString *) &arg5_defvalue ;
5069 wxStatusBar *result;
5070 bool temp5 = false ;
5071 PyObject * obj0 = 0 ;
5072 PyObject * obj1 = 0 ;
5073 PyObject * obj2 = 0 ;
5074 PyObject * obj3 = 0 ;
5075 PyObject * obj4 = 0 ;
5076 char *kwnames[] = {
5077 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5078 };
5079
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5082 if (SWIG_arg_fail(1)) SWIG_fail;
5083 if (obj1) {
5084 {
5085 arg2 = (int)(SWIG_As_int(obj1));
5086 if (SWIG_arg_fail(2)) SWIG_fail;
5087 }
5088 }
5089 if (obj2) {
5090 {
5091 arg3 = (long)(SWIG_As_long(obj2));
5092 if (SWIG_arg_fail(3)) SWIG_fail;
5093 }
5094 }
5095 if (obj3) {
5096 {
5097 arg4 = (int)(SWIG_As_int(obj3));
5098 if (SWIG_arg_fail(4)) SWIG_fail;
5099 }
5100 }
5101 if (obj4) {
5102 {
5103 arg5 = wxString_in_helper(obj4);
5104 if (arg5 == NULL) SWIG_fail;
5105 temp5 = true;
5106 }
5107 }
5108 {
5109 PyThreadState* __tstate = wxPyBeginAllowThreads();
5110 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5111
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
5115 {
5116 resultobj = wxPyMake_wxObject(result, 0);
5117 }
5118 {
5119 if (temp5)
5120 delete arg5;
5121 }
5122 return resultobj;
5123 fail:
5124 {
5125 if (temp5)
5126 delete arg5;
5127 }
5128 return NULL;
5129 }
5130
5131
5132 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxFrame *arg1 = (wxFrame *) 0 ;
5135 wxStatusBar *result;
5136 PyObject * obj0 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail;
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 {
5152 resultobj = wxPyMake_wxObject(result, 0);
5153 }
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxFrame *arg1 = (wxFrame *) 0 ;
5163 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5164 PyObject * obj0 = 0 ;
5165 PyObject * obj1 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self",(char *) "statBar", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5172 if (SWIG_arg_fail(1)) SWIG_fail;
5173 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5174 if (SWIG_arg_fail(2)) SWIG_fail;
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 (arg1)->SetStatusBar(arg2);
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
5182 Py_INCREF(Py_None); resultobj = Py_None;
5183 return resultobj;
5184 fail:
5185 return NULL;
5186 }
5187
5188
5189 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxFrame *arg1 = (wxFrame *) 0 ;
5192 wxString *arg2 = 0 ;
5193 int arg3 = (int) 0 ;
5194 bool temp2 = false ;
5195 PyObject * obj0 = 0 ;
5196 PyObject * obj1 = 0 ;
5197 PyObject * obj2 = 0 ;
5198 char *kwnames[] = {
5199 (char *) "self",(char *) "text",(char *) "number", NULL
5200 };
5201
5202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5204 if (SWIG_arg_fail(1)) SWIG_fail;
5205 {
5206 arg2 = wxString_in_helper(obj1);
5207 if (arg2 == NULL) SWIG_fail;
5208 temp2 = true;
5209 }
5210 if (obj2) {
5211 {
5212 arg3 = (int)(SWIG_As_int(obj2));
5213 if (SWIG_arg_fail(3)) SWIG_fail;
5214 }
5215 }
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 Py_INCREF(Py_None); resultobj = Py_None;
5224 {
5225 if (temp2)
5226 delete arg2;
5227 }
5228 return resultobj;
5229 fail:
5230 {
5231 if (temp2)
5232 delete arg2;
5233 }
5234 return NULL;
5235 }
5236
5237
5238 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5239 PyObject *resultobj;
5240 wxFrame *arg1 = (wxFrame *) 0 ;
5241 int arg2 ;
5242 int *arg3 = (int *) 0 ;
5243 PyObject * obj0 = 0 ;
5244 PyObject * obj1 = 0 ;
5245 char *kwnames[] = {
5246 (char *) "self",(char *) "widths", NULL
5247 };
5248
5249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5251 if (SWIG_arg_fail(1)) SWIG_fail;
5252 {
5253 arg2 = PyList_Size(obj1);
5254 arg3 = int_LIST_helper(obj1);
5255 if (arg3 == NULL) SWIG_fail;
5256 }
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5260
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
5264 Py_INCREF(Py_None); resultobj = Py_None;
5265 {
5266 if (arg3) delete [] arg3;
5267 }
5268 return resultobj;
5269 fail:
5270 {
5271 if (arg3) delete [] arg3;
5272 }
5273 return NULL;
5274 }
5275
5276
5277 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5278 PyObject *resultobj;
5279 wxFrame *arg1 = (wxFrame *) 0 ;
5280 wxString *arg2 = 0 ;
5281 int arg3 = (int) 0 ;
5282 bool temp2 = false ;
5283 PyObject * obj0 = 0 ;
5284 PyObject * obj1 = 0 ;
5285 PyObject * obj2 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self",(char *) "text",(char *) "number", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5292 if (SWIG_arg_fail(1)) SWIG_fail;
5293 {
5294 arg2 = wxString_in_helper(obj1);
5295 if (arg2 == NULL) SWIG_fail;
5296 temp2 = true;
5297 }
5298 if (obj2) {
5299 {
5300 arg3 = (int)(SWIG_As_int(obj2));
5301 if (SWIG_arg_fail(3)) SWIG_fail;
5302 }
5303 }
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 Py_INCREF(Py_None); resultobj = Py_None;
5312 {
5313 if (temp2)
5314 delete arg2;
5315 }
5316 return resultobj;
5317 fail:
5318 {
5319 if (temp2)
5320 delete arg2;
5321 }
5322 return NULL;
5323 }
5324
5325
5326 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5327 PyObject *resultobj;
5328 wxFrame *arg1 = (wxFrame *) 0 ;
5329 int arg2 = (int) 0 ;
5330 PyObject * obj0 = 0 ;
5331 PyObject * obj1 = 0 ;
5332 char *kwnames[] = {
5333 (char *) "self",(char *) "number", NULL
5334 };
5335
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5338 if (SWIG_arg_fail(1)) SWIG_fail;
5339 if (obj1) {
5340 {
5341 arg2 = (int)(SWIG_As_int(obj1));
5342 if (SWIG_arg_fail(2)) SWIG_fail;
5343 }
5344 }
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 (arg1)->PopStatusText(arg2);
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 Py_INCREF(Py_None); resultobj = Py_None;
5353 return resultobj;
5354 fail:
5355 return NULL;
5356 }
5357
5358
5359 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj;
5361 wxFrame *arg1 = (wxFrame *) 0 ;
5362 int arg2 ;
5363 PyObject * obj0 = 0 ;
5364 PyObject * obj1 = 0 ;
5365 char *kwnames[] = {
5366 (char *) "self",(char *) "n", NULL
5367 };
5368
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5371 if (SWIG_arg_fail(1)) SWIG_fail;
5372 {
5373 arg2 = (int)(SWIG_As_int(obj1));
5374 if (SWIG_arg_fail(2)) SWIG_fail;
5375 }
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->SetStatusBarPane(arg2);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxFrame *arg1 = (wxFrame *) 0 ;
5393 int result;
5394 PyObject * obj0 = 0 ;
5395 char *kwnames[] = {
5396 (char *) "self", NULL
5397 };
5398
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5401 if (SWIG_arg_fail(1)) SWIG_fail;
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5405
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 {
5410 resultobj = SWIG_From_int((int)(result));
5411 }
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj;
5420 wxFrame *arg1 = (wxFrame *) 0 ;
5421 long arg2 = (long) -1 ;
5422 int arg3 = (int) -1 ;
5423 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5424 wxString *arg4 = (wxString *) &arg4_defvalue ;
5425 wxToolBar *result;
5426 bool temp4 = false ;
5427 PyObject * obj0 = 0 ;
5428 PyObject * obj1 = 0 ;
5429 PyObject * obj2 = 0 ;
5430 PyObject * obj3 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail;
5438 if (obj1) {
5439 {
5440 arg2 = (long)(SWIG_As_long(obj1));
5441 if (SWIG_arg_fail(2)) SWIG_fail;
5442 }
5443 }
5444 if (obj2) {
5445 {
5446 arg3 = (int)(SWIG_As_int(obj2));
5447 if (SWIG_arg_fail(3)) SWIG_fail;
5448 }
5449 }
5450 if (obj3) {
5451 {
5452 arg4 = wxString_in_helper(obj3);
5453 if (arg4 == NULL) SWIG_fail;
5454 temp4 = true;
5455 }
5456 }
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5460
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 {
5465 resultobj = wxPyMake_wxObject(result, 0);
5466 }
5467 {
5468 if (temp4)
5469 delete arg4;
5470 }
5471 return resultobj;
5472 fail:
5473 {
5474 if (temp4)
5475 delete arg4;
5476 }
5477 return NULL;
5478 }
5479
5480
5481 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj;
5483 wxFrame *arg1 = (wxFrame *) 0 ;
5484 wxToolBar *result;
5485 PyObject * obj0 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5492 if (SWIG_arg_fail(1)) SWIG_fail;
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 {
5501 resultobj = wxPyMake_wxObject(result, 0);
5502 }
5503 return resultobj;
5504 fail:
5505 return NULL;
5506 }
5507
5508
5509 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5510 PyObject *resultobj;
5511 wxFrame *arg1 = (wxFrame *) 0 ;
5512 wxToolBar *arg2 = (wxToolBar *) 0 ;
5513 PyObject * obj0 = 0 ;
5514 PyObject * obj1 = 0 ;
5515 char *kwnames[] = {
5516 (char *) "self",(char *) "toolbar", NULL
5517 };
5518
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5521 if (SWIG_arg_fail(1)) SWIG_fail;
5522 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5523 if (SWIG_arg_fail(2)) SWIG_fail;
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 (arg1)->SetToolBar(arg2);
5527
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 Py_INCREF(Py_None); resultobj = Py_None;
5532 return resultobj;
5533 fail:
5534 return NULL;
5535 }
5536
5537
5538 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxFrame *arg1 = (wxFrame *) 0 ;
5541 wxString *arg2 = 0 ;
5542 bool arg3 ;
5543 bool temp2 = false ;
5544 PyObject * obj0 = 0 ;
5545 PyObject * obj1 = 0 ;
5546 PyObject * obj2 = 0 ;
5547 char *kwnames[] = {
5548 (char *) "self",(char *) "text",(char *) "show", NULL
5549 };
5550
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5553 if (SWIG_arg_fail(1)) SWIG_fail;
5554 {
5555 arg2 = wxString_in_helper(obj1);
5556 if (arg2 == NULL) SWIG_fail;
5557 temp2 = true;
5558 }
5559 {
5560 arg3 = (bool)(SWIG_As_bool(obj2));
5561 if (SWIG_arg_fail(3)) SWIG_fail;
5562 }
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 Py_INCREF(Py_None); resultobj = Py_None;
5571 {
5572 if (temp2)
5573 delete arg2;
5574 }
5575 return resultobj;
5576 fail:
5577 {
5578 if (temp2)
5579 delete arg2;
5580 }
5581 return NULL;
5582 }
5583
5584
5585 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj;
5587 wxFrame *arg1 = (wxFrame *) 0 ;
5588 wxMenu *arg2 = (wxMenu *) NULL ;
5589 PyObject * obj0 = 0 ;
5590 PyObject * obj1 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "self",(char *) "menu", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5597 if (SWIG_arg_fail(1)) SWIG_fail;
5598 if (obj1) {
5599 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5600 if (SWIG_arg_fail(2)) SWIG_fail;
5601 }
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->DoMenuUpdates(arg2);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 Py_INCREF(Py_None); resultobj = Py_None;
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5619 wxVisualAttributes result;
5620 PyObject * obj0 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "variant", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5626 if (obj0) {
5627 {
5628 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5629 if (SWIG_arg_fail(1)) SWIG_fail;
5630 }
5631 }
5632 {
5633 if (!wxPyCheckForApp()) SWIG_fail;
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 {
5641 wxVisualAttributes * resultptr;
5642 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5644 }
5645 return resultobj;
5646 fail:
5647 return NULL;
5648 }
5649
5650
5651 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5652 PyObject *obj;
5653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5654 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5655 Py_INCREF(obj);
5656 return Py_BuildValue((char *)"");
5657 }
5658 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5659 PyObject *resultobj;
5660 wxWindow *arg1 = (wxWindow *) 0 ;
5661 int arg2 = (int) (int)-1 ;
5662 wxString const &arg3_defvalue = wxPyEmptyString ;
5663 wxString *arg3 = (wxString *) &arg3_defvalue ;
5664 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5665 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5666 wxSize const &arg5_defvalue = wxDefaultSize ;
5667 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5668 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5669 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5670 wxString *arg7 = (wxString *) &arg7_defvalue ;
5671 wxDialog *result;
5672 bool temp3 = false ;
5673 wxPoint temp4 ;
5674 wxSize temp5 ;
5675 bool temp7 = false ;
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
5678 PyObject * obj2 = 0 ;
5679 PyObject * obj3 = 0 ;
5680 PyObject * obj4 = 0 ;
5681 PyObject * obj5 = 0 ;
5682 PyObject * obj6 = 0 ;
5683 char *kwnames[] = {
5684 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5685 };
5686
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5689 if (SWIG_arg_fail(1)) SWIG_fail;
5690 if (obj1) {
5691 {
5692 arg2 = (int const)(SWIG_As_int(obj1));
5693 if (SWIG_arg_fail(2)) SWIG_fail;
5694 }
5695 }
5696 if (obj2) {
5697 {
5698 arg3 = wxString_in_helper(obj2);
5699 if (arg3 == NULL) SWIG_fail;
5700 temp3 = true;
5701 }
5702 }
5703 if (obj3) {
5704 {
5705 arg4 = &temp4;
5706 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5707 }
5708 }
5709 if (obj4) {
5710 {
5711 arg5 = &temp5;
5712 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5713 }
5714 }
5715 if (obj5) {
5716 {
5717 arg6 = (long)(SWIG_As_long(obj5));
5718 if (SWIG_arg_fail(6)) SWIG_fail;
5719 }
5720 }
5721 if (obj6) {
5722 {
5723 arg7 = wxString_in_helper(obj6);
5724 if (arg7 == NULL) SWIG_fail;
5725 temp7 = true;
5726 }
5727 }
5728 {
5729 if (!wxPyCheckForApp()) SWIG_fail;
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5737 {
5738 if (temp3)
5739 delete arg3;
5740 }
5741 {
5742 if (temp7)
5743 delete arg7;
5744 }
5745 return resultobj;
5746 fail:
5747 {
5748 if (temp3)
5749 delete arg3;
5750 }
5751 {
5752 if (temp7)
5753 delete arg7;
5754 }
5755 return NULL;
5756 }
5757
5758
5759 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj;
5761 wxDialog *result;
5762 char *kwnames[] = {
5763 NULL
5764 };
5765
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5767 {
5768 if (!wxPyCheckForApp()) SWIG_fail;
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 result = (wxDialog *)new wxDialog();
5771
5772 wxPyEndAllowThreads(__tstate);
5773 if (PyErr_Occurred()) SWIG_fail;
5774 }
5775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5776 return resultobj;
5777 fail:
5778 return NULL;
5779 }
5780
5781
5782 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5783 PyObject *resultobj;
5784 wxDialog *arg1 = (wxDialog *) 0 ;
5785 wxWindow *arg2 = (wxWindow *) 0 ;
5786 int arg3 = (int) (int)-1 ;
5787 wxString const &arg4_defvalue = wxPyEmptyString ;
5788 wxString *arg4 = (wxString *) &arg4_defvalue ;
5789 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5790 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5791 wxSize const &arg6_defvalue = wxDefaultSize ;
5792 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5793 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5794 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5795 wxString *arg8 = (wxString *) &arg8_defvalue ;
5796 bool result;
5797 bool temp4 = false ;
5798 wxPoint temp5 ;
5799 wxSize temp6 ;
5800 bool temp8 = false ;
5801 PyObject * obj0 = 0 ;
5802 PyObject * obj1 = 0 ;
5803 PyObject * obj2 = 0 ;
5804 PyObject * obj3 = 0 ;
5805 PyObject * obj4 = 0 ;
5806 PyObject * obj5 = 0 ;
5807 PyObject * obj6 = 0 ;
5808 PyObject * obj7 = 0 ;
5809 char *kwnames[] = {
5810 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5811 };
5812
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5815 if (SWIG_arg_fail(1)) SWIG_fail;
5816 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5817 if (SWIG_arg_fail(2)) SWIG_fail;
5818 if (obj2) {
5819 {
5820 arg3 = (int const)(SWIG_As_int(obj2));
5821 if (SWIG_arg_fail(3)) SWIG_fail;
5822 }
5823 }
5824 if (obj3) {
5825 {
5826 arg4 = wxString_in_helper(obj3);
5827 if (arg4 == NULL) SWIG_fail;
5828 temp4 = true;
5829 }
5830 }
5831 if (obj4) {
5832 {
5833 arg5 = &temp5;
5834 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5835 }
5836 }
5837 if (obj5) {
5838 {
5839 arg6 = &temp6;
5840 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5841 }
5842 }
5843 if (obj6) {
5844 {
5845 arg7 = (long)(SWIG_As_long(obj6));
5846 if (SWIG_arg_fail(7)) SWIG_fail;
5847 }
5848 }
5849 if (obj7) {
5850 {
5851 arg8 = wxString_in_helper(obj7);
5852 if (arg8 == NULL) SWIG_fail;
5853 temp8 = true;
5854 }
5855 }
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5859
5860 wxPyEndAllowThreads(__tstate);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 }
5863 {
5864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5865 }
5866 {
5867 if (temp4)
5868 delete arg4;
5869 }
5870 {
5871 if (temp8)
5872 delete arg8;
5873 }
5874 return resultobj;
5875 fail:
5876 {
5877 if (temp4)
5878 delete arg4;
5879 }
5880 {
5881 if (temp8)
5882 delete arg8;
5883 }
5884 return NULL;
5885 }
5886
5887
5888 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5889 PyObject *resultobj;
5890 wxDialog *arg1 = (wxDialog *) 0 ;
5891 int arg2 ;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self",(char *) "returnCode", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5900 if (SWIG_arg_fail(1)) SWIG_fail;
5901 {
5902 arg2 = (int)(SWIG_As_int(obj1));
5903 if (SWIG_arg_fail(2)) SWIG_fail;
5904 }
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 (arg1)->SetReturnCode(arg2);
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 Py_INCREF(Py_None); resultobj = Py_None;
5913 return resultobj;
5914 fail:
5915 return NULL;
5916 }
5917
5918
5919 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5920 PyObject *resultobj;
5921 wxDialog *arg1 = (wxDialog *) 0 ;
5922 int result;
5923 PyObject * obj0 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
5929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail;
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 {
5939 resultobj = SWIG_From_int((int)(result));
5940 }
5941 return resultobj;
5942 fail:
5943 return NULL;
5944 }
5945
5946
5947 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxDialog *arg1 = (wxDialog *) 0 ;
5950 wxString *arg2 = 0 ;
5951 wxSizer *result;
5952 bool temp2 = false ;
5953 PyObject * obj0 = 0 ;
5954 PyObject * obj1 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "self",(char *) "message", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
5960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5961 if (SWIG_arg_fail(1)) SWIG_fail;
5962 {
5963 arg2 = wxString_in_helper(obj1);
5964 if (arg2 == NULL) SWIG_fail;
5965 temp2 = true;
5966 }
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 {
5975 resultobj = wxPyMake_wxObject(result, 0);
5976 }
5977 {
5978 if (temp2)
5979 delete arg2;
5980 }
5981 return resultobj;
5982 fail:
5983 {
5984 if (temp2)
5985 delete arg2;
5986 }
5987 return NULL;
5988 }
5989
5990
5991 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj;
5993 wxDialog *arg1 = (wxDialog *) 0 ;
5994 long arg2 ;
5995 wxSizer *result;
5996 PyObject * obj0 = 0 ;
5997 PyObject * obj1 = 0 ;
5998 char *kwnames[] = {
5999 (char *) "self",(char *) "flags", NULL
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6004 if (SWIG_arg_fail(1)) SWIG_fail;
6005 {
6006 arg2 = (long)(SWIG_As_long(obj1));
6007 if (SWIG_arg_fail(2)) SWIG_fail;
6008 }
6009 {
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
6012
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 {
6017 resultobj = wxPyMake_wxObject(result, 0);
6018 }
6019 return resultobj;
6020 fail:
6021 return NULL;
6022 }
6023
6024
6025 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6026 PyObject *resultobj;
6027 wxDialog *arg1 = (wxDialog *) 0 ;
6028 long arg2 ;
6029 wxStdDialogButtonSizer *result;
6030 PyObject * obj0 = 0 ;
6031 PyObject * obj1 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "self",(char *) "flags", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6038 if (SWIG_arg_fail(1)) SWIG_fail;
6039 {
6040 arg2 = (long)(SWIG_As_long(obj1));
6041 if (SWIG_arg_fail(2)) SWIG_fail;
6042 }
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6051 return resultobj;
6052 fail:
6053 return NULL;
6054 }
6055
6056
6057 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
6058 PyObject *resultobj;
6059 wxDialog *arg1 = (wxDialog *) 0 ;
6060 bool result;
6061 PyObject * obj0 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6068 if (SWIG_arg_fail(1)) SWIG_fail;
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 result = (bool)((wxDialog const *)arg1)->IsModal();
6072
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 {
6077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6078 }
6079 return resultobj;
6080 fail:
6081 return NULL;
6082 }
6083
6084
6085 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj;
6087 wxDialog *arg1 = (wxDialog *) 0 ;
6088 int result;
6089 PyObject * obj0 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6096 if (SWIG_arg_fail(1)) SWIG_fail;
6097 {
6098 PyThreadState* __tstate = wxPyBeginAllowThreads();
6099 result = (int)(arg1)->ShowModal();
6100
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 {
6105 resultobj = SWIG_From_int((int)(result));
6106 }
6107 return resultobj;
6108 fail:
6109 return NULL;
6110 }
6111
6112
6113 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6114 PyObject *resultobj;
6115 wxDialog *arg1 = (wxDialog *) 0 ;
6116 int arg2 ;
6117 PyObject * obj0 = 0 ;
6118 PyObject * obj1 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "self",(char *) "retCode", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6125 if (SWIG_arg_fail(1)) SWIG_fail;
6126 {
6127 arg2 = (int)(SWIG_As_int(obj1));
6128 if (SWIG_arg_fail(2)) SWIG_fail;
6129 }
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 (arg1)->EndModal(arg2);
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 Py_INCREF(Py_None); resultobj = Py_None;
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj;
6146 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6147 wxVisualAttributes result;
6148 PyObject * obj0 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "variant", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6154 if (obj0) {
6155 {
6156 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6157 if (SWIG_arg_fail(1)) SWIG_fail;
6158 }
6159 }
6160 {
6161 if (!wxPyCheckForApp()) SWIG_fail;
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6164
6165 wxPyEndAllowThreads(__tstate);
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
6168 {
6169 wxVisualAttributes * resultptr;
6170 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6172 }
6173 return resultobj;
6174 fail:
6175 return NULL;
6176 }
6177
6178
6179 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6180 PyObject *obj;
6181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6182 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6183 Py_INCREF(obj);
6184 return Py_BuildValue((char *)"");
6185 }
6186 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxWindow *arg1 = (wxWindow *) 0 ;
6189 int arg2 = (int) (int)-1 ;
6190 wxString const &arg3_defvalue = wxPyEmptyString ;
6191 wxString *arg3 = (wxString *) &arg3_defvalue ;
6192 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6193 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6194 wxSize const &arg5_defvalue = wxDefaultSize ;
6195 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6196 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6197 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6198 wxString *arg7 = (wxString *) &arg7_defvalue ;
6199 wxMiniFrame *result;
6200 bool temp3 = false ;
6201 wxPoint temp4 ;
6202 wxSize temp5 ;
6203 bool temp7 = false ;
6204 PyObject * obj0 = 0 ;
6205 PyObject * obj1 = 0 ;
6206 PyObject * obj2 = 0 ;
6207 PyObject * obj3 = 0 ;
6208 PyObject * obj4 = 0 ;
6209 PyObject * obj5 = 0 ;
6210 PyObject * obj6 = 0 ;
6211 char *kwnames[] = {
6212 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6213 };
6214
6215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6217 if (SWIG_arg_fail(1)) SWIG_fail;
6218 if (obj1) {
6219 {
6220 arg2 = (int const)(SWIG_As_int(obj1));
6221 if (SWIG_arg_fail(2)) SWIG_fail;
6222 }
6223 }
6224 if (obj2) {
6225 {
6226 arg3 = wxString_in_helper(obj2);
6227 if (arg3 == NULL) SWIG_fail;
6228 temp3 = true;
6229 }
6230 }
6231 if (obj3) {
6232 {
6233 arg4 = &temp4;
6234 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6235 }
6236 }
6237 if (obj4) {
6238 {
6239 arg5 = &temp5;
6240 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6241 }
6242 }
6243 if (obj5) {
6244 {
6245 arg6 = (long)(SWIG_As_long(obj5));
6246 if (SWIG_arg_fail(6)) SWIG_fail;
6247 }
6248 }
6249 if (obj6) {
6250 {
6251 arg7 = wxString_in_helper(obj6);
6252 if (arg7 == NULL) SWIG_fail;
6253 temp7 = true;
6254 }
6255 }
6256 {
6257 if (!wxPyCheckForApp()) SWIG_fail;
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
6264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6265 {
6266 if (temp3)
6267 delete arg3;
6268 }
6269 {
6270 if (temp7)
6271 delete arg7;
6272 }
6273 return resultobj;
6274 fail:
6275 {
6276 if (temp3)
6277 delete arg3;
6278 }
6279 {
6280 if (temp7)
6281 delete arg7;
6282 }
6283 return NULL;
6284 }
6285
6286
6287 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 wxMiniFrame *result;
6290 char *kwnames[] = {
6291 NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6295 {
6296 if (!wxPyCheckForApp()) SWIG_fail;
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 result = (wxMiniFrame *)new wxMiniFrame();
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj;
6312 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6313 wxWindow *arg2 = (wxWindow *) 0 ;
6314 int arg3 = (int) (int)-1 ;
6315 wxString const &arg4_defvalue = wxPyEmptyString ;
6316 wxString *arg4 = (wxString *) &arg4_defvalue ;
6317 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6318 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6319 wxSize const &arg6_defvalue = wxDefaultSize ;
6320 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6321 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6322 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6323 wxString *arg8 = (wxString *) &arg8_defvalue ;
6324 bool result;
6325 bool temp4 = false ;
6326 wxPoint temp5 ;
6327 wxSize temp6 ;
6328 bool temp8 = false ;
6329 PyObject * obj0 = 0 ;
6330 PyObject * obj1 = 0 ;
6331 PyObject * obj2 = 0 ;
6332 PyObject * obj3 = 0 ;
6333 PyObject * obj4 = 0 ;
6334 PyObject * obj5 = 0 ;
6335 PyObject * obj6 = 0 ;
6336 PyObject * obj7 = 0 ;
6337 char *kwnames[] = {
6338 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6339 };
6340
6341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6343 if (SWIG_arg_fail(1)) SWIG_fail;
6344 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6345 if (SWIG_arg_fail(2)) SWIG_fail;
6346 if (obj2) {
6347 {
6348 arg3 = (int const)(SWIG_As_int(obj2));
6349 if (SWIG_arg_fail(3)) SWIG_fail;
6350 }
6351 }
6352 if (obj3) {
6353 {
6354 arg4 = wxString_in_helper(obj3);
6355 if (arg4 == NULL) SWIG_fail;
6356 temp4 = true;
6357 }
6358 }
6359 if (obj4) {
6360 {
6361 arg5 = &temp5;
6362 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6363 }
6364 }
6365 if (obj5) {
6366 {
6367 arg6 = &temp6;
6368 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6369 }
6370 }
6371 if (obj6) {
6372 {
6373 arg7 = (long)(SWIG_As_long(obj6));
6374 if (SWIG_arg_fail(7)) SWIG_fail;
6375 }
6376 }
6377 if (obj7) {
6378 {
6379 arg8 = wxString_in_helper(obj7);
6380 if (arg8 == NULL) SWIG_fail;
6381 temp8 = true;
6382 }
6383 }
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 {
6392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6393 }
6394 {
6395 if (temp4)
6396 delete arg4;
6397 }
6398 {
6399 if (temp8)
6400 delete arg8;
6401 }
6402 return resultobj;
6403 fail:
6404 {
6405 if (temp4)
6406 delete arg4;
6407 }
6408 {
6409 if (temp8)
6410 delete arg8;
6411 }
6412 return NULL;
6413 }
6414
6415
6416 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6417 PyObject *obj;
6418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6419 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6420 Py_INCREF(obj);
6421 return Py_BuildValue((char *)"");
6422 }
6423 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxBitmap *arg1 = 0 ;
6426 wxWindow *arg2 = (wxWindow *) 0 ;
6427 int arg3 ;
6428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6430 wxSize const &arg5_defvalue = wxDefaultSize ;
6431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6432 long arg6 = (long) wxNO_BORDER ;
6433 wxSplashScreenWindow *result;
6434 wxPoint temp4 ;
6435 wxSize temp5 ;
6436 PyObject * obj0 = 0 ;
6437 PyObject * obj1 = 0 ;
6438 PyObject * obj2 = 0 ;
6439 PyObject * obj3 = 0 ;
6440 PyObject * obj4 = 0 ;
6441 PyObject * obj5 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6447 {
6448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6449 if (SWIG_arg_fail(1)) SWIG_fail;
6450 if (arg1 == NULL) {
6451 SWIG_null_ref("wxBitmap");
6452 }
6453 if (SWIG_arg_fail(1)) SWIG_fail;
6454 }
6455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6456 if (SWIG_arg_fail(2)) SWIG_fail;
6457 {
6458 arg3 = (int)(SWIG_As_int(obj2));
6459 if (SWIG_arg_fail(3)) SWIG_fail;
6460 }
6461 if (obj3) {
6462 {
6463 arg4 = &temp4;
6464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6465 }
6466 }
6467 if (obj4) {
6468 {
6469 arg5 = &temp5;
6470 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6471 }
6472 }
6473 if (obj5) {
6474 {
6475 arg6 = (long)(SWIG_As_long(obj5));
6476 if (SWIG_arg_fail(6)) SWIG_fail;
6477 }
6478 }
6479 {
6480 if (!wxPyCheckForApp()) SWIG_fail;
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6488 return resultobj;
6489 fail:
6490 return NULL;
6491 }
6492
6493
6494 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj;
6496 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6497 wxBitmap *arg2 = 0 ;
6498 PyObject * obj0 = 0 ;
6499 PyObject * obj1 = 0 ;
6500 char *kwnames[] = {
6501 (char *) "self",(char *) "bitmap", NULL
6502 };
6503
6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6506 if (SWIG_arg_fail(1)) SWIG_fail;
6507 {
6508 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6509 if (SWIG_arg_fail(2)) SWIG_fail;
6510 if (arg2 == NULL) {
6511 SWIG_null_ref("wxBitmap");
6512 }
6513 if (SWIG_arg_fail(2)) SWIG_fail;
6514 }
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 Py_INCREF(Py_None); resultobj = Py_None;
6523 return resultobj;
6524 fail:
6525 return NULL;
6526 }
6527
6528
6529 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6530 PyObject *resultobj;
6531 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6532 wxBitmap *result;
6533 PyObject * obj0 = 0 ;
6534 char *kwnames[] = {
6535 (char *) "self", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6540 if (SWIG_arg_fail(1)) SWIG_fail;
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 {
6544 wxBitmap &_result_ref = (arg1)->GetBitmap();
6545 result = (wxBitmap *) &_result_ref;
6546 }
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 {
6552 wxBitmap* resultptr = new wxBitmap(*result);
6553 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6554 }
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6562 PyObject *obj;
6563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6564 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6565 Py_INCREF(obj);
6566 return Py_BuildValue((char *)"");
6567 }
6568 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6569 PyObject *resultobj;
6570 wxBitmap *arg1 = 0 ;
6571 long arg2 ;
6572 int arg3 ;
6573 wxWindow *arg4 = (wxWindow *) 0 ;
6574 int arg5 = (int) -1 ;
6575 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6576 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6577 wxSize const &arg7_defvalue = wxDefaultSize ;
6578 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6579 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6580 wxSplashScreen *result;
6581 wxPoint temp6 ;
6582 wxSize temp7 ;
6583 PyObject * obj0 = 0 ;
6584 PyObject * obj1 = 0 ;
6585 PyObject * obj2 = 0 ;
6586 PyObject * obj3 = 0 ;
6587 PyObject * obj4 = 0 ;
6588 PyObject * obj5 = 0 ;
6589 PyObject * obj6 = 0 ;
6590 PyObject * obj7 = 0 ;
6591 char *kwnames[] = {
6592 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6593 };
6594
6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6596 {
6597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6598 if (SWIG_arg_fail(1)) SWIG_fail;
6599 if (arg1 == NULL) {
6600 SWIG_null_ref("wxBitmap");
6601 }
6602 if (SWIG_arg_fail(1)) SWIG_fail;
6603 }
6604 {
6605 arg2 = (long)(SWIG_As_long(obj1));
6606 if (SWIG_arg_fail(2)) SWIG_fail;
6607 }
6608 {
6609 arg3 = (int)(SWIG_As_int(obj2));
6610 if (SWIG_arg_fail(3)) SWIG_fail;
6611 }
6612 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6613 if (SWIG_arg_fail(4)) SWIG_fail;
6614 if (obj4) {
6615 {
6616 arg5 = (int)(SWIG_As_int(obj4));
6617 if (SWIG_arg_fail(5)) SWIG_fail;
6618 }
6619 }
6620 if (obj5) {
6621 {
6622 arg6 = &temp6;
6623 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6624 }
6625 }
6626 if (obj6) {
6627 {
6628 arg7 = &temp7;
6629 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6630 }
6631 }
6632 if (obj7) {
6633 {
6634 arg8 = (long)(SWIG_As_long(obj7));
6635 if (SWIG_arg_fail(8)) SWIG_fail;
6636 }
6637 }
6638 {
6639 if (!wxPyCheckForApp()) SWIG_fail;
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6654 PyObject *resultobj;
6655 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6656 long result;
6657 PyObject * obj0 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6664 if (SWIG_arg_fail(1)) SWIG_fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 {
6673 resultobj = SWIG_From_long((long)(result));
6674 }
6675 return resultobj;
6676 fail:
6677 return NULL;
6678 }
6679
6680
6681 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6682 PyObject *resultobj;
6683 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6684 wxSplashScreenWindow *result;
6685 PyObject * obj0 = 0 ;
6686 char *kwnames[] = {
6687 (char *) "self", NULL
6688 };
6689
6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6692 if (SWIG_arg_fail(1)) SWIG_fail;
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6696
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
6700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6701 return resultobj;
6702 fail:
6703 return NULL;
6704 }
6705
6706
6707 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6708 PyObject *resultobj;
6709 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6710 int result;
6711 PyObject * obj0 = 0 ;
6712 char *kwnames[] = {
6713 (char *) "self", NULL
6714 };
6715
6716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6718 if (SWIG_arg_fail(1)) SWIG_fail;
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 {
6727 resultobj = SWIG_From_int((int)(result));
6728 }
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6736 PyObject *obj;
6737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6738 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6739 Py_INCREF(obj);
6740 return Py_BuildValue((char *)"");
6741 }
6742 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxWindow *arg1 = (wxWindow *) 0 ;
6745 int arg2 = (int) -1 ;
6746 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6747 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6748 wxString *arg4 = (wxString *) &arg4_defvalue ;
6749 wxStatusBar *result;
6750 bool temp4 = false ;
6751 PyObject * obj0 = 0 ;
6752 PyObject * obj1 = 0 ;
6753 PyObject * obj2 = 0 ;
6754 PyObject * obj3 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6761 if (SWIG_arg_fail(1)) SWIG_fail;
6762 if (obj1) {
6763 {
6764 arg2 = (int)(SWIG_As_int(obj1));
6765 if (SWIG_arg_fail(2)) SWIG_fail;
6766 }
6767 }
6768 if (obj2) {
6769 {
6770 arg3 = (long)(SWIG_As_long(obj2));
6771 if (SWIG_arg_fail(3)) SWIG_fail;
6772 }
6773 }
6774 if (obj3) {
6775 {
6776 arg4 = wxString_in_helper(obj3);
6777 if (arg4 == NULL) SWIG_fail;
6778 temp4 = true;
6779 }
6780 }
6781 {
6782 if (!wxPyCheckForApp()) SWIG_fail;
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6790 {
6791 if (temp4)
6792 delete arg4;
6793 }
6794 return resultobj;
6795 fail:
6796 {
6797 if (temp4)
6798 delete arg4;
6799 }
6800 return NULL;
6801 }
6802
6803
6804 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxStatusBar *result;
6807 char *kwnames[] = {
6808 NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6812 {
6813 if (!wxPyCheckForApp()) SWIG_fail;
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (wxStatusBar *)new wxStatusBar();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6830 wxWindow *arg2 = (wxWindow *) 0 ;
6831 int arg3 = (int) -1 ;
6832 long arg4 = (long) wxST_SIZEGRIP ;
6833 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6834 wxString *arg5 = (wxString *) &arg5_defvalue ;
6835 bool result;
6836 bool temp5 = false ;
6837 PyObject * obj0 = 0 ;
6838 PyObject * obj1 = 0 ;
6839 PyObject * obj2 = 0 ;
6840 PyObject * obj3 = 0 ;
6841 PyObject * obj4 = 0 ;
6842 char *kwnames[] = {
6843 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6848 if (SWIG_arg_fail(1)) SWIG_fail;
6849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6850 if (SWIG_arg_fail(2)) SWIG_fail;
6851 if (obj2) {
6852 {
6853 arg3 = (int)(SWIG_As_int(obj2));
6854 if (SWIG_arg_fail(3)) SWIG_fail;
6855 }
6856 }
6857 if (obj3) {
6858 {
6859 arg4 = (long)(SWIG_As_long(obj3));
6860 if (SWIG_arg_fail(4)) SWIG_fail;
6861 }
6862 }
6863 if (obj4) {
6864 {
6865 arg5 = wxString_in_helper(obj4);
6866 if (arg5 == NULL) SWIG_fail;
6867 temp5 = true;
6868 }
6869 }
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 {
6878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6879 }
6880 {
6881 if (temp5)
6882 delete arg5;
6883 }
6884 return resultobj;
6885 fail:
6886 {
6887 if (temp5)
6888 delete arg5;
6889 }
6890 return NULL;
6891 }
6892
6893
6894 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6895 PyObject *resultobj;
6896 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6897 int arg2 = (int) 1 ;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self",(char *) "number", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
6905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6906 if (SWIG_arg_fail(1)) SWIG_fail;
6907 if (obj1) {
6908 {
6909 arg2 = (int)(SWIG_As_int(obj1));
6910 if (SWIG_arg_fail(2)) SWIG_fail;
6911 }
6912 }
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 (arg1)->SetFieldsCount(arg2);
6916
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 Py_INCREF(Py_None); resultobj = Py_None;
6921 return resultobj;
6922 fail:
6923 return NULL;
6924 }
6925
6926
6927 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj;
6929 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6930 int result;
6931 PyObject * obj0 = 0 ;
6932 char *kwnames[] = {
6933 (char *) "self", NULL
6934 };
6935
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
6937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6938 if (SWIG_arg_fail(1)) SWIG_fail;
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 {
6947 resultobj = SWIG_From_int((int)(result));
6948 }
6949 return resultobj;
6950 fail:
6951 return NULL;
6952 }
6953
6954
6955 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj;
6957 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6958 wxString *arg2 = 0 ;
6959 int arg3 = (int) 0 ;
6960 bool temp2 = false ;
6961 PyObject * obj0 = 0 ;
6962 PyObject * obj1 = 0 ;
6963 PyObject * obj2 = 0 ;
6964 char *kwnames[] = {
6965 (char *) "self",(char *) "text",(char *) "number", NULL
6966 };
6967
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6970 if (SWIG_arg_fail(1)) SWIG_fail;
6971 {
6972 arg2 = wxString_in_helper(obj1);
6973 if (arg2 == NULL) SWIG_fail;
6974 temp2 = true;
6975 }
6976 if (obj2) {
6977 {
6978 arg3 = (int)(SWIG_As_int(obj2));
6979 if (SWIG_arg_fail(3)) SWIG_fail;
6980 }
6981 }
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 Py_INCREF(Py_None); resultobj = Py_None;
6990 {
6991 if (temp2)
6992 delete arg2;
6993 }
6994 return resultobj;
6995 fail:
6996 {
6997 if (temp2)
6998 delete arg2;
6999 }
7000 return NULL;
7001 }
7002
7003
7004 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7005 PyObject *resultobj;
7006 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7007 int arg2 = (int) 0 ;
7008 wxString result;
7009 PyObject * obj0 = 0 ;
7010 PyObject * obj1 = 0 ;
7011 char *kwnames[] = {
7012 (char *) "self",(char *) "number", NULL
7013 };
7014
7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
7016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail;
7018 if (obj1) {
7019 {
7020 arg2 = (int)(SWIG_As_int(obj1));
7021 if (SWIG_arg_fail(2)) SWIG_fail;
7022 }
7023 }
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7027
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 {
7032 #if wxUSE_UNICODE
7033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7034 #else
7035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7036 #endif
7037 }
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7047 wxString *arg2 = 0 ;
7048 int arg3 = (int) 0 ;
7049 bool temp2 = false ;
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 PyObject * obj2 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "text",(char *) "number", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7059 if (SWIG_arg_fail(1)) SWIG_fail;
7060 {
7061 arg2 = wxString_in_helper(obj1);
7062 if (arg2 == NULL) SWIG_fail;
7063 temp2 = true;
7064 }
7065 if (obj2) {
7066 {
7067 arg3 = (int)(SWIG_As_int(obj2));
7068 if (SWIG_arg_fail(3)) SWIG_fail;
7069 }
7070 }
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 Py_INCREF(Py_None); resultobj = Py_None;
7079 {
7080 if (temp2)
7081 delete arg2;
7082 }
7083 return resultobj;
7084 fail:
7085 {
7086 if (temp2)
7087 delete arg2;
7088 }
7089 return NULL;
7090 }
7091
7092
7093 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj;
7095 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7096 int arg2 = (int) 0 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "number", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail;
7106 if (obj1) {
7107 {
7108 arg2 = (int)(SWIG_As_int(obj1));
7109 if (SWIG_arg_fail(2)) SWIG_fail;
7110 }
7111 }
7112 {
7113 PyThreadState* __tstate = wxPyBeginAllowThreads();
7114 (arg1)->PopStatusText(arg2);
7115
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 Py_INCREF(Py_None); resultobj = Py_None;
7120 return resultobj;
7121 fail:
7122 return NULL;
7123 }
7124
7125
7126 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj;
7128 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7129 int arg2 ;
7130 int *arg3 = (int *) 0 ;
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self",(char *) "widths", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7139 if (SWIG_arg_fail(1)) SWIG_fail;
7140 {
7141 arg2 = PyList_Size(obj1);
7142 arg3 = int_LIST_helper(obj1);
7143 if (arg3 == NULL) SWIG_fail;
7144 }
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 Py_INCREF(Py_None); resultobj = Py_None;
7153 {
7154 if (arg3) delete [] arg3;
7155 }
7156 return resultobj;
7157 fail:
7158 {
7159 if (arg3) delete [] arg3;
7160 }
7161 return NULL;
7162 }
7163
7164
7165 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7166 PyObject *resultobj;
7167 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7168 int arg2 ;
7169 int *arg3 = (int *) 0 ;
7170 PyObject * obj0 = 0 ;
7171 PyObject * obj1 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "styles", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7178 if (SWIG_arg_fail(1)) SWIG_fail;
7179 {
7180 arg2 = PyList_Size(obj1);
7181 arg3 = int_LIST_helper(obj1);
7182 if (arg3 == NULL) SWIG_fail;
7183 }
7184 {
7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7186 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7187
7188 wxPyEndAllowThreads(__tstate);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 }
7191 Py_INCREF(Py_None); resultobj = Py_None;
7192 {
7193 if (arg3) delete [] arg3;
7194 }
7195 return resultobj;
7196 fail:
7197 {
7198 if (arg3) delete [] arg3;
7199 }
7200 return NULL;
7201 }
7202
7203
7204 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7205 PyObject *resultobj;
7206 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7207 int arg2 ;
7208 wxRect result;
7209 PyObject * obj0 = 0 ;
7210 PyObject * obj1 = 0 ;
7211 char *kwnames[] = {
7212 (char *) "self",(char *) "i", NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7217 if (SWIG_arg_fail(1)) SWIG_fail;
7218 {
7219 arg2 = (int)(SWIG_As_int(obj1));
7220 if (SWIG_arg_fail(2)) SWIG_fail;
7221 }
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = wxStatusBar_GetFieldRect(arg1,arg2);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 {
7230 wxRect * resultptr;
7231 resultptr = new wxRect((wxRect &)(result));
7232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7233 }
7234 return resultobj;
7235 fail:
7236 return NULL;
7237 }
7238
7239
7240 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj;
7242 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7243 int arg2 ;
7244 PyObject * obj0 = 0 ;
7245 PyObject * obj1 = 0 ;
7246 char *kwnames[] = {
7247 (char *) "self",(char *) "height", NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail;
7253 {
7254 arg2 = (int)(SWIG_As_int(obj1));
7255 if (SWIG_arg_fail(2)) SWIG_fail;
7256 }
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 (arg1)->SetMinHeight(arg2);
7260
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 Py_INCREF(Py_None); resultobj = Py_None;
7265 return resultobj;
7266 fail:
7267 return NULL;
7268 }
7269
7270
7271 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj;
7273 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7274 int result;
7275 PyObject * obj0 = 0 ;
7276 char *kwnames[] = {
7277 (char *) "self", NULL
7278 };
7279
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7282 if (SWIG_arg_fail(1)) SWIG_fail;
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 {
7291 resultobj = SWIG_From_int((int)(result));
7292 }
7293 return resultobj;
7294 fail:
7295 return NULL;
7296 }
7297
7298
7299 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7300 PyObject *resultobj;
7301 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7302 int result;
7303 PyObject * obj0 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "self", NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7310 if (SWIG_arg_fail(1)) SWIG_fail;
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7314
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 {
7319 resultobj = SWIG_From_int((int)(result));
7320 }
7321 return resultobj;
7322 fail:
7323 return NULL;
7324 }
7325
7326
7327 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj;
7329 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7330 wxVisualAttributes result;
7331 PyObject * obj0 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "variant", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7337 if (obj0) {
7338 {
7339 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7340 if (SWIG_arg_fail(1)) SWIG_fail;
7341 }
7342 }
7343 {
7344 if (!wxPyCheckForApp()) SWIG_fail;
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 {
7352 wxVisualAttributes * resultptr;
7353 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7355 }
7356 return resultobj;
7357 fail:
7358 return NULL;
7359 }
7360
7361
7362 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7363 PyObject *obj;
7364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7365 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7366 Py_INCREF(obj);
7367 return Py_BuildValue((char *)"");
7368 }
7369 static int _wrap_SplitterNameStr_set(PyObject *) {
7370 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7371 return 1;
7372 }
7373
7374
7375 static PyObject *_wrap_SplitterNameStr_get(void) {
7376 PyObject *pyobj;
7377
7378 {
7379 #if wxUSE_UNICODE
7380 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7381 #else
7382 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7383 #endif
7384 }
7385 return pyobj;
7386 }
7387
7388
7389 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7390 PyObject *resultobj;
7391 wxWindow *arg1 = (wxWindow *) 0 ;
7392 int arg2 = (int) -1 ;
7393 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7394 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7395 wxSize const &arg4_defvalue = wxDefaultSize ;
7396 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7397 long arg5 = (long) wxSP_3D ;
7398 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7399 wxString *arg6 = (wxString *) &arg6_defvalue ;
7400 wxSplitterWindow *result;
7401 wxPoint temp3 ;
7402 wxSize temp4 ;
7403 bool temp6 = false ;
7404 PyObject * obj0 = 0 ;
7405 PyObject * obj1 = 0 ;
7406 PyObject * obj2 = 0 ;
7407 PyObject * obj3 = 0 ;
7408 PyObject * obj4 = 0 ;
7409 PyObject * obj5 = 0 ;
7410 char *kwnames[] = {
7411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7412 };
7413
7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail;
7417 if (obj1) {
7418 {
7419 arg2 = (int)(SWIG_As_int(obj1));
7420 if (SWIG_arg_fail(2)) SWIG_fail;
7421 }
7422 }
7423 if (obj2) {
7424 {
7425 arg3 = &temp3;
7426 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7427 }
7428 }
7429 if (obj3) {
7430 {
7431 arg4 = &temp4;
7432 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7433 }
7434 }
7435 if (obj4) {
7436 {
7437 arg5 = (long)(SWIG_As_long(obj4));
7438 if (SWIG_arg_fail(5)) SWIG_fail;
7439 }
7440 }
7441 if (obj5) {
7442 {
7443 arg6 = wxString_in_helper(obj5);
7444 if (arg6 == NULL) SWIG_fail;
7445 temp6 = true;
7446 }
7447 }
7448 {
7449 if (!wxPyCheckForApp()) SWIG_fail;
7450 PyThreadState* __tstate = wxPyBeginAllowThreads();
7451 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7452
7453 wxPyEndAllowThreads(__tstate);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 }
7456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7457 {
7458 if (temp6)
7459 delete arg6;
7460 }
7461 return resultobj;
7462 fail:
7463 {
7464 if (temp6)
7465 delete arg6;
7466 }
7467 return NULL;
7468 }
7469
7470
7471 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxSplitterWindow *result;
7474 char *kwnames[] = {
7475 NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7479 {
7480 if (!wxPyCheckForApp()) SWIG_fail;
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (wxSplitterWindow *)new wxSplitterWindow();
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7497 wxWindow *arg2 = (wxWindow *) 0 ;
7498 int arg3 = (int) -1 ;
7499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7501 wxSize const &arg5_defvalue = wxDefaultSize ;
7502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7503 long arg6 = (long) wxSP_3D ;
7504 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7505 wxString *arg7 = (wxString *) &arg7_defvalue ;
7506 bool result;
7507 wxPoint temp4 ;
7508 wxSize temp5 ;
7509 bool temp7 = false ;
7510 PyObject * obj0 = 0 ;
7511 PyObject * obj1 = 0 ;
7512 PyObject * obj2 = 0 ;
7513 PyObject * obj3 = 0 ;
7514 PyObject * obj4 = 0 ;
7515 PyObject * obj5 = 0 ;
7516 PyObject * obj6 = 0 ;
7517 char *kwnames[] = {
7518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7519 };
7520
7521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7523 if (SWIG_arg_fail(1)) SWIG_fail;
7524 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7525 if (SWIG_arg_fail(2)) SWIG_fail;
7526 if (obj2) {
7527 {
7528 arg3 = (int)(SWIG_As_int(obj2));
7529 if (SWIG_arg_fail(3)) SWIG_fail;
7530 }
7531 }
7532 if (obj3) {
7533 {
7534 arg4 = &temp4;
7535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7536 }
7537 }
7538 if (obj4) {
7539 {
7540 arg5 = &temp5;
7541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7542 }
7543 }
7544 if (obj5) {
7545 {
7546 arg6 = (long)(SWIG_As_long(obj5));
7547 if (SWIG_arg_fail(6)) SWIG_fail;
7548 }
7549 }
7550 if (obj6) {
7551 {
7552 arg7 = wxString_in_helper(obj6);
7553 if (arg7 == NULL) SWIG_fail;
7554 temp7 = true;
7555 }
7556 }
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7560
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
7564 {
7565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7566 }
7567 {
7568 if (temp7)
7569 delete arg7;
7570 }
7571 return resultobj;
7572 fail:
7573 {
7574 if (temp7)
7575 delete arg7;
7576 }
7577 return NULL;
7578 }
7579
7580
7581 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7582 PyObject *resultobj;
7583 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7584 wxWindow *result;
7585 PyObject * obj0 = 0 ;
7586 char *kwnames[] = {
7587 (char *) "self", NULL
7588 };
7589
7590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7592 if (SWIG_arg_fail(1)) SWIG_fail;
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 {
7601 resultobj = wxPyMake_wxObject(result, 0);
7602 }
7603 return resultobj;
7604 fail:
7605 return NULL;
7606 }
7607
7608
7609 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj;
7611 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7612 wxWindow *result;
7613 PyObject * obj0 = 0 ;
7614 char *kwnames[] = {
7615 (char *) "self", NULL
7616 };
7617
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7620 if (SWIG_arg_fail(1)) SWIG_fail;
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 {
7629 resultobj = wxPyMake_wxObject(result, 0);
7630 }
7631 return resultobj;
7632 fail:
7633 return NULL;
7634 }
7635
7636
7637 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj;
7639 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7640 int arg2 ;
7641 PyObject * obj0 = 0 ;
7642 PyObject * obj1 = 0 ;
7643 char *kwnames[] = {
7644 (char *) "self",(char *) "mode", NULL
7645 };
7646
7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail;
7650 {
7651 arg2 = (int)(SWIG_As_int(obj1));
7652 if (SWIG_arg_fail(2)) SWIG_fail;
7653 }
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 (arg1)->SetSplitMode(arg2);
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 Py_INCREF(Py_None); resultobj = Py_None;
7662 return resultobj;
7663 fail:
7664 return NULL;
7665 }
7666
7667
7668 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7669 PyObject *resultobj;
7670 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7671 wxSplitMode result;
7672 PyObject * obj0 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail;
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 resultobj = SWIG_From_int((result));
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7695 PyObject *resultobj;
7696 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7697 wxWindow *arg2 = (wxWindow *) 0 ;
7698 PyObject * obj0 = 0 ;
7699 PyObject * obj1 = 0 ;
7700 char *kwnames[] = {
7701 (char *) "self",(char *) "window", NULL
7702 };
7703
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7706 if (SWIG_arg_fail(1)) SWIG_fail;
7707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7708 if (SWIG_arg_fail(2)) SWIG_fail;
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 (arg1)->Initialize(arg2);
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 Py_INCREF(Py_None); resultobj = Py_None;
7717 return resultobj;
7718 fail:
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7726 wxWindow *arg2 = (wxWindow *) 0 ;
7727 wxWindow *arg3 = (wxWindow *) 0 ;
7728 int arg4 = (int) 0 ;
7729 bool result;
7730 PyObject * obj0 = 0 ;
7731 PyObject * obj1 = 0 ;
7732 PyObject * obj2 = 0 ;
7733 PyObject * obj3 = 0 ;
7734 char *kwnames[] = {
7735 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7740 if (SWIG_arg_fail(1)) SWIG_fail;
7741 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7742 if (SWIG_arg_fail(2)) SWIG_fail;
7743 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7744 if (SWIG_arg_fail(3)) SWIG_fail;
7745 if (obj3) {
7746 {
7747 arg4 = (int)(SWIG_As_int(obj3));
7748 if (SWIG_arg_fail(4)) SWIG_fail;
7749 }
7750 }
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 {
7759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7760 }
7761 return resultobj;
7762 fail:
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7770 wxWindow *arg2 = (wxWindow *) 0 ;
7771 wxWindow *arg3 = (wxWindow *) 0 ;
7772 int arg4 = (int) 0 ;
7773 bool result;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 PyObject * obj2 = 0 ;
7777 PyObject * obj3 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7786 if (SWIG_arg_fail(2)) SWIG_fail;
7787 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7788 if (SWIG_arg_fail(3)) SWIG_fail;
7789 if (obj3) {
7790 {
7791 arg4 = (int)(SWIG_As_int(obj3));
7792 if (SWIG_arg_fail(4)) SWIG_fail;
7793 }
7794 }
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 {
7803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7804 }
7805 return resultobj;
7806 fail:
7807 return NULL;
7808 }
7809
7810
7811 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7812 PyObject *resultobj;
7813 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7814 wxWindow *arg2 = (wxWindow *) NULL ;
7815 bool result;
7816 PyObject * obj0 = 0 ;
7817 PyObject * obj1 = 0 ;
7818 char *kwnames[] = {
7819 (char *) "self",(char *) "toRemove", NULL
7820 };
7821
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7824 if (SWIG_arg_fail(1)) SWIG_fail;
7825 if (obj1) {
7826 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7827 if (SWIG_arg_fail(2)) SWIG_fail;
7828 }
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 result = (bool)(arg1)->Unsplit(arg2);
7832
7833 wxPyEndAllowThreads(__tstate);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 {
7837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7838 }
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7848 wxWindow *arg2 = (wxWindow *) 0 ;
7849 wxWindow *arg3 = (wxWindow *) 0 ;
7850 bool result;
7851 PyObject * obj0 = 0 ;
7852 PyObject * obj1 = 0 ;
7853 PyObject * obj2 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7860 if (SWIG_arg_fail(1)) SWIG_fail;
7861 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7862 if (SWIG_arg_fail(2)) SWIG_fail;
7863 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7864 if (SWIG_arg_fail(3)) SWIG_fail;
7865 {
7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
7867 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7868
7869 wxPyEndAllowThreads(__tstate);
7870 if (PyErr_Occurred()) SWIG_fail;
7871 }
7872 {
7873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7874 }
7875 return resultobj;
7876 fail:
7877 return NULL;
7878 }
7879
7880
7881 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7882 PyObject *resultobj;
7883 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7884 PyObject * obj0 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
7890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7891 if (SWIG_arg_fail(1)) SWIG_fail;
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 (arg1)->UpdateSize();
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 Py_INCREF(Py_None); resultobj = Py_None;
7900 return resultobj;
7901 fail:
7902 return NULL;
7903 }
7904
7905
7906 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj;
7908 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7909 bool result;
7910 PyObject * obj0 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
7916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail;
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 {
7926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7927 }
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7937 int arg2 ;
7938 PyObject * obj0 = 0 ;
7939 PyObject * obj1 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self",(char *) "width", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
7945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7946 if (SWIG_arg_fail(1)) SWIG_fail;
7947 {
7948 arg2 = (int)(SWIG_As_int(obj1));
7949 if (SWIG_arg_fail(2)) SWIG_fail;
7950 }
7951 {
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 (arg1)->SetSashSize(arg2);
7954
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 Py_INCREF(Py_None); resultobj = Py_None;
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7968 int arg2 ;
7969 PyObject * obj0 = 0 ;
7970 PyObject * obj1 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self",(char *) "width", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
7976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail;
7978 {
7979 arg2 = (int)(SWIG_As_int(obj1));
7980 if (SWIG_arg_fail(2)) SWIG_fail;
7981 }
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 (arg1)->SetBorderSize(arg2);
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 Py_INCREF(Py_None); resultobj = Py_None;
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7999 int result;
8000 PyObject * obj0 = 0 ;
8001 char *kwnames[] = {
8002 (char *) "self", NULL
8003 };
8004
8005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
8006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8007 if (SWIG_arg_fail(1)) SWIG_fail;
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 {
8016 resultobj = SWIG_From_int((int)(result));
8017 }
8018 return resultobj;
8019 fail:
8020 return NULL;
8021 }
8022
8023
8024 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8025 PyObject *resultobj;
8026 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8027 int result;
8028 PyObject * obj0 = 0 ;
8029 char *kwnames[] = {
8030 (char *) "self", NULL
8031 };
8032
8033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
8034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8035 if (SWIG_arg_fail(1)) SWIG_fail;
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 {
8044 resultobj = SWIG_From_int((int)(result));
8045 }
8046 return resultobj;
8047 fail:
8048 return NULL;
8049 }
8050
8051
8052 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8053 PyObject *resultobj;
8054 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8055 int arg2 ;
8056 bool arg3 = (bool) true ;
8057 PyObject * obj0 = 0 ;
8058 PyObject * obj1 = 0 ;
8059 PyObject * obj2 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self",(char *) "position",(char *) "redraw", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8066 if (SWIG_arg_fail(1)) SWIG_fail;
8067 {
8068 arg2 = (int)(SWIG_As_int(obj1));
8069 if (SWIG_arg_fail(2)) SWIG_fail;
8070 }
8071 if (obj2) {
8072 {
8073 arg3 = (bool)(SWIG_As_bool(obj2));
8074 if (SWIG_arg_fail(3)) SWIG_fail;
8075 }
8076 }
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
8079 (arg1)->SetSashPosition(arg2,arg3);
8080
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 Py_INCREF(Py_None); resultobj = Py_None;
8085 return resultobj;
8086 fail:
8087 return NULL;
8088 }
8089
8090
8091 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8092 PyObject *resultobj;
8093 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8094 int result;
8095 PyObject * obj0 = 0 ;
8096 char *kwnames[] = {
8097 (char *) "self", NULL
8098 };
8099
8100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8102 if (SWIG_arg_fail(1)) SWIG_fail;
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 {
8111 resultobj = SWIG_From_int((int)(result));
8112 }
8113 return resultobj;
8114 fail:
8115 return NULL;
8116 }
8117
8118
8119 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj;
8121 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8122 double arg2 ;
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "gravity", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8131 if (SWIG_arg_fail(1)) SWIG_fail;
8132 {
8133 arg2 = (double)(SWIG_As_double(obj1));
8134 if (SWIG_arg_fail(2)) SWIG_fail;
8135 }
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 (arg1)->SetSashGravity(arg2);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 Py_INCREF(Py_None); resultobj = Py_None;
8144 return resultobj;
8145 fail:
8146 return NULL;
8147 }
8148
8149
8150 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8153 double result;
8154 PyObject * obj0 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8161 if (SWIG_arg_fail(1)) SWIG_fail;
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 {
8170 resultobj = SWIG_From_double((double)(result));
8171 }
8172 return resultobj;
8173 fail:
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8181 int arg2 ;
8182 PyObject * obj0 = 0 ;
8183 PyObject * obj1 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self",(char *) "min", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8190 if (SWIG_arg_fail(1)) SWIG_fail;
8191 {
8192 arg2 = (int)(SWIG_As_int(obj1));
8193 if (SWIG_arg_fail(2)) SWIG_fail;
8194 }
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 (arg1)->SetMinimumPaneSize(arg2);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 Py_INCREF(Py_None); resultobj = Py_None;
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8212 int result;
8213 PyObject * obj0 = 0 ;
8214 char *kwnames[] = {
8215 (char *) "self", NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8220 if (SWIG_arg_fail(1)) SWIG_fail;
8221 {
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8224
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 {
8229 resultobj = SWIG_From_int((int)(result));
8230 }
8231 return resultobj;
8232 fail:
8233 return NULL;
8234 }
8235
8236
8237 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj;
8239 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8240 int arg2 ;
8241 int arg3 ;
8242 int arg4 = (int) 5 ;
8243 bool result;
8244 PyObject * obj0 = 0 ;
8245 PyObject * obj1 = 0 ;
8246 PyObject * obj2 = 0 ;
8247 PyObject * obj3 = 0 ;
8248 char *kwnames[] = {
8249 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8250 };
8251
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8254 if (SWIG_arg_fail(1)) SWIG_fail;
8255 {
8256 arg2 = (int)(SWIG_As_int(obj1));
8257 if (SWIG_arg_fail(2)) SWIG_fail;
8258 }
8259 {
8260 arg3 = (int)(SWIG_As_int(obj2));
8261 if (SWIG_arg_fail(3)) SWIG_fail;
8262 }
8263 if (obj3) {
8264 {
8265 arg4 = (int)(SWIG_As_int(obj3));
8266 if (SWIG_arg_fail(4)) SWIG_fail;
8267 }
8268 }
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 {
8277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8278 }
8279 return resultobj;
8280 fail:
8281 return NULL;
8282 }
8283
8284
8285 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8286 PyObject *resultobj;
8287 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8288 PyObject * obj0 = 0 ;
8289 char *kwnames[] = {
8290 (char *) "self", NULL
8291 };
8292
8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8295 if (SWIG_arg_fail(1)) SWIG_fail;
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 (arg1)->SizeWindows();
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
8303 Py_INCREF(Py_None); resultobj = Py_None;
8304 return resultobj;
8305 fail:
8306 return NULL;
8307 }
8308
8309
8310 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj;
8312 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8313 bool arg2 ;
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self",(char *) "needUpdating", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8322 if (SWIG_arg_fail(1)) SWIG_fail;
8323 {
8324 arg2 = (bool)(SWIG_As_bool(obj1));
8325 if (SWIG_arg_fail(2)) SWIG_fail;
8326 }
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 (arg1)->SetNeedUpdating(arg2);
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 Py_INCREF(Py_None); resultobj = Py_None;
8335 return resultobj;
8336 fail:
8337 return NULL;
8338 }
8339
8340
8341 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8342 PyObject *resultobj;
8343 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8344 bool result;
8345 PyObject * obj0 = 0 ;
8346 char *kwnames[] = {
8347 (char *) "self", NULL
8348 };
8349
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8352 if (SWIG_arg_fail(1)) SWIG_fail;
8353 {
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8356
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 {
8361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8362 }
8363 return resultobj;
8364 fail:
8365 return NULL;
8366 }
8367
8368
8369 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8370 PyObject *resultobj;
8371 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8372 wxVisualAttributes result;
8373 PyObject * obj0 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "variant", NULL
8376 };
8377
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8379 if (obj0) {
8380 {
8381 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8382 if (SWIG_arg_fail(1)) SWIG_fail;
8383 }
8384 }
8385 {
8386 if (!wxPyCheckForApp()) SWIG_fail;
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
8393 {
8394 wxVisualAttributes * resultptr;
8395 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8397 }
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8405 PyObject *obj;
8406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8407 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8408 Py_INCREF(obj);
8409 return Py_BuildValue((char *)"");
8410 }
8411 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8412 PyObject *resultobj;
8413 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8414 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8415 wxSplitterEvent *result;
8416 PyObject * obj0 = 0 ;
8417 PyObject * obj1 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "type",(char *) "splitter", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8423 if (obj0) {
8424 {
8425 arg1 = (wxEventType)(SWIG_As_int(obj0));
8426 if (SWIG_arg_fail(1)) SWIG_fail;
8427 }
8428 }
8429 if (obj1) {
8430 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8431 if (SWIG_arg_fail(2)) SWIG_fail;
8432 }
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8450 int arg2 ;
8451 PyObject * obj0 = 0 ;
8452 PyObject * obj1 = 0 ;
8453 char *kwnames[] = {
8454 (char *) "self",(char *) "pos", NULL
8455 };
8456
8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8459 if (SWIG_arg_fail(1)) SWIG_fail;
8460 {
8461 arg2 = (int)(SWIG_As_int(obj1));
8462 if (SWIG_arg_fail(2)) SWIG_fail;
8463 }
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 (arg1)->SetSashPosition(arg2);
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 Py_INCREF(Py_None); resultobj = Py_None;
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8479 PyObject *resultobj;
8480 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8481 int result;
8482 PyObject * obj0 = 0 ;
8483 char *kwnames[] = {
8484 (char *) "self", NULL
8485 };
8486
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail;
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 {
8498 resultobj = SWIG_From_int((int)(result));
8499 }
8500 return resultobj;
8501 fail:
8502 return NULL;
8503 }
8504
8505
8506 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8507 PyObject *resultobj;
8508 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8509 wxWindow *result;
8510 PyObject * obj0 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail;
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 {
8526 resultobj = wxPyMake_wxObject(result, 0);
8527 }
8528 return resultobj;
8529 fail:
8530 return NULL;
8531 }
8532
8533
8534 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8537 int result;
8538 PyObject * obj0 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8545 if (SWIG_arg_fail(1)) SWIG_fail;
8546 {
8547 PyThreadState* __tstate = wxPyBeginAllowThreads();
8548 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8549
8550 wxPyEndAllowThreads(__tstate);
8551 if (PyErr_Occurred()) SWIG_fail;
8552 }
8553 {
8554 resultobj = SWIG_From_int((int)(result));
8555 }
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj;
8564 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8565 int result;
8566 PyObject * obj0 = 0 ;
8567 char *kwnames[] = {
8568 (char *) "self", NULL
8569 };
8570
8571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8573 if (SWIG_arg_fail(1)) SWIG_fail;
8574 {
8575 PyThreadState* __tstate = wxPyBeginAllowThreads();
8576 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8577
8578 wxPyEndAllowThreads(__tstate);
8579 if (PyErr_Occurred()) SWIG_fail;
8580 }
8581 {
8582 resultobj = SWIG_From_int((int)(result));
8583 }
8584 return resultobj;
8585 fail:
8586 return NULL;
8587 }
8588
8589
8590 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8591 PyObject *obj;
8592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8593 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8594 Py_INCREF(obj);
8595 return Py_BuildValue((char *)"");
8596 }
8597 static int _wrap_SashNameStr_set(PyObject *) {
8598 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8599 return 1;
8600 }
8601
8602
8603 static PyObject *_wrap_SashNameStr_get(void) {
8604 PyObject *pyobj;
8605
8606 {
8607 #if wxUSE_UNICODE
8608 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8609 #else
8610 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8611 #endif
8612 }
8613 return pyobj;
8614 }
8615
8616
8617 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8618 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8619 return 1;
8620 }
8621
8622
8623 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8624 PyObject *pyobj;
8625
8626 {
8627 #if wxUSE_UNICODE
8628 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8629 #else
8630 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8631 #endif
8632 }
8633 return pyobj;
8634 }
8635
8636
8637 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8638 PyObject *resultobj;
8639 wxWindow *arg1 = (wxWindow *) 0 ;
8640 int arg2 = (int) -1 ;
8641 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8642 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8643 wxSize const &arg4_defvalue = wxDefaultSize ;
8644 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8645 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8646 wxString const &arg6_defvalue = wxPySashNameStr ;
8647 wxString *arg6 = (wxString *) &arg6_defvalue ;
8648 wxSashWindow *result;
8649 wxPoint temp3 ;
8650 wxSize temp4 ;
8651 bool temp6 = false ;
8652 PyObject * obj0 = 0 ;
8653 PyObject * obj1 = 0 ;
8654 PyObject * obj2 = 0 ;
8655 PyObject * obj3 = 0 ;
8656 PyObject * obj4 = 0 ;
8657 PyObject * obj5 = 0 ;
8658 char *kwnames[] = {
8659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8660 };
8661
8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8664 if (SWIG_arg_fail(1)) SWIG_fail;
8665 if (obj1) {
8666 {
8667 arg2 = (int)(SWIG_As_int(obj1));
8668 if (SWIG_arg_fail(2)) SWIG_fail;
8669 }
8670 }
8671 if (obj2) {
8672 {
8673 arg3 = &temp3;
8674 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8675 }
8676 }
8677 if (obj3) {
8678 {
8679 arg4 = &temp4;
8680 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8681 }
8682 }
8683 if (obj4) {
8684 {
8685 arg5 = (long)(SWIG_As_long(obj4));
8686 if (SWIG_arg_fail(5)) SWIG_fail;
8687 }
8688 }
8689 if (obj5) {
8690 {
8691 arg6 = wxString_in_helper(obj5);
8692 if (arg6 == NULL) SWIG_fail;
8693 temp6 = true;
8694 }
8695 }
8696 {
8697 if (!wxPyCheckForApp()) SWIG_fail;
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8700
8701 wxPyEndAllowThreads(__tstate);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8705 {
8706 if (temp6)
8707 delete arg6;
8708 }
8709 return resultobj;
8710 fail:
8711 {
8712 if (temp6)
8713 delete arg6;
8714 }
8715 return NULL;
8716 }
8717
8718
8719 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8720 PyObject *resultobj;
8721 wxSashWindow *result;
8722 char *kwnames[] = {
8723 NULL
8724 };
8725
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8727 {
8728 if (!wxPyCheckForApp()) SWIG_fail;
8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
8730 result = (wxSashWindow *)new wxSashWindow();
8731
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8736 return resultobj;
8737 fail:
8738 return NULL;
8739 }
8740
8741
8742 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8743 PyObject *resultobj;
8744 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8745 wxWindow *arg2 = (wxWindow *) 0 ;
8746 int arg3 = (int) -1 ;
8747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8749 wxSize const &arg5_defvalue = wxDefaultSize ;
8750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8751 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8752 wxString const &arg7_defvalue = wxPySashNameStr ;
8753 wxString *arg7 = (wxString *) &arg7_defvalue ;
8754 bool result;
8755 wxPoint temp4 ;
8756 wxSize temp5 ;
8757 bool temp7 = false ;
8758 PyObject * obj0 = 0 ;
8759 PyObject * obj1 = 0 ;
8760 PyObject * obj2 = 0 ;
8761 PyObject * obj3 = 0 ;
8762 PyObject * obj4 = 0 ;
8763 PyObject * obj5 = 0 ;
8764 PyObject * obj6 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8771 if (SWIG_arg_fail(1)) SWIG_fail;
8772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8773 if (SWIG_arg_fail(2)) SWIG_fail;
8774 if (obj2) {
8775 {
8776 arg3 = (int)(SWIG_As_int(obj2));
8777 if (SWIG_arg_fail(3)) SWIG_fail;
8778 }
8779 }
8780 if (obj3) {
8781 {
8782 arg4 = &temp4;
8783 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8784 }
8785 }
8786 if (obj4) {
8787 {
8788 arg5 = &temp5;
8789 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8790 }
8791 }
8792 if (obj5) {
8793 {
8794 arg6 = (long)(SWIG_As_long(obj5));
8795 if (SWIG_arg_fail(6)) SWIG_fail;
8796 }
8797 }
8798 if (obj6) {
8799 {
8800 arg7 = wxString_in_helper(obj6);
8801 if (arg7 == NULL) SWIG_fail;
8802 temp7 = true;
8803 }
8804 }
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 {
8813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8814 }
8815 {
8816 if (temp7)
8817 delete arg7;
8818 }
8819 return resultobj;
8820 fail:
8821 {
8822 if (temp7)
8823 delete arg7;
8824 }
8825 return NULL;
8826 }
8827
8828
8829 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8832 wxSashEdgePosition arg2 ;
8833 bool arg3 ;
8834 PyObject * obj0 = 0 ;
8835 PyObject * obj1 = 0 ;
8836 PyObject * obj2 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self",(char *) "edge",(char *) "sash", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail;
8844 {
8845 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8846 if (SWIG_arg_fail(2)) SWIG_fail;
8847 }
8848 {
8849 arg3 = (bool)(SWIG_As_bool(obj2));
8850 if (SWIG_arg_fail(3)) SWIG_fail;
8851 }
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 Py_INCREF(Py_None); resultobj = Py_None;
8860 return resultobj;
8861 fail:
8862 return NULL;
8863 }
8864
8865
8866 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8869 wxSashEdgePosition arg2 ;
8870 bool result;
8871 PyObject * obj0 = 0 ;
8872 PyObject * obj1 = 0 ;
8873 char *kwnames[] = {
8874 (char *) "self",(char *) "edge", NULL
8875 };
8876
8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8879 if (SWIG_arg_fail(1)) SWIG_fail;
8880 {
8881 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8882 if (SWIG_arg_fail(2)) SWIG_fail;
8883 }
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 {
8892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8893 }
8894 return resultobj;
8895 fail:
8896 return NULL;
8897 }
8898
8899
8900 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8901 PyObject *resultobj;
8902 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8903 wxSashEdgePosition arg2 ;
8904 bool arg3 ;
8905 PyObject * obj0 = 0 ;
8906 PyObject * obj1 = 0 ;
8907 PyObject * obj2 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self",(char *) "edge",(char *) "border", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
8913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail;
8915 {
8916 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8917 if (SWIG_arg_fail(2)) SWIG_fail;
8918 }
8919 {
8920 arg3 = (bool)(SWIG_As_bool(obj2));
8921 if (SWIG_arg_fail(3)) SWIG_fail;
8922 }
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 Py_INCREF(Py_None); resultobj = Py_None;
8931 return resultobj;
8932 fail:
8933 return NULL;
8934 }
8935
8936
8937 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj;
8939 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8940 wxSashEdgePosition arg2 ;
8941 bool result;
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj1 = 0 ;
8944 char *kwnames[] = {
8945 (char *) "self",(char *) "edge", NULL
8946 };
8947
8948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
8949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail;
8951 {
8952 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8953 if (SWIG_arg_fail(2)) SWIG_fail;
8954 }
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8958
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 {
8963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8964 }
8965 return resultobj;
8966 fail:
8967 return NULL;
8968 }
8969
8970
8971 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8974 wxSashEdgePosition arg2 ;
8975 int result;
8976 PyObject * obj0 = 0 ;
8977 PyObject * obj1 = 0 ;
8978 char *kwnames[] = {
8979 (char *) "self",(char *) "edge", NULL
8980 };
8981
8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
8983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail;
8985 {
8986 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8987 if (SWIG_arg_fail(2)) SWIG_fail;
8988 }
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8992
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 {
8997 resultobj = SWIG_From_int((int)(result));
8998 }
8999 return resultobj;
9000 fail:
9001 return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9008 int arg2 ;
9009 PyObject * obj0 = 0 ;
9010 PyObject * obj1 = 0 ;
9011 char *kwnames[] = {
9012 (char *) "self",(char *) "width", NULL
9013 };
9014
9015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
9016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9017 if (SWIG_arg_fail(1)) SWIG_fail;
9018 {
9019 arg2 = (int)(SWIG_As_int(obj1));
9020 if (SWIG_arg_fail(2)) SWIG_fail;
9021 }
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 (arg1)->SetDefaultBorderSize(arg2);
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 Py_INCREF(Py_None); resultobj = Py_None;
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9039 int result;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
9046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9047 if (SWIG_arg_fail(1)) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 {
9056 resultobj = SWIG_From_int((int)(result));
9057 }
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9067 int arg2 ;
9068 PyObject * obj0 = 0 ;
9069 PyObject * obj1 = 0 ;
9070 char *kwnames[] = {
9071 (char *) "self",(char *) "width", NULL
9072 };
9073
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9076 if (SWIG_arg_fail(1)) SWIG_fail;
9077 {
9078 arg2 = (int)(SWIG_As_int(obj1));
9079 if (SWIG_arg_fail(2)) SWIG_fail;
9080 }
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 (arg1)->SetExtraBorderSize(arg2);
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 Py_INCREF(Py_None); resultobj = Py_None;
9089 return resultobj;
9090 fail:
9091 return NULL;
9092 }
9093
9094
9095 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9096 PyObject *resultobj;
9097 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9098 int result;
9099 PyObject * obj0 = 0 ;
9100 char *kwnames[] = {
9101 (char *) "self", NULL
9102 };
9103
9104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9106 if (SWIG_arg_fail(1)) SWIG_fail;
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 {
9115 resultobj = SWIG_From_int((int)(result));
9116 }
9117 return resultobj;
9118 fail:
9119 return NULL;
9120 }
9121
9122
9123 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj;
9125 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9126 int arg2 ;
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9129 char *kwnames[] = {
9130 (char *) "self",(char *) "min", NULL
9131 };
9132
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9135 if (SWIG_arg_fail(1)) SWIG_fail;
9136 {
9137 arg2 = (int)(SWIG_As_int(obj1));
9138 if (SWIG_arg_fail(2)) SWIG_fail;
9139 }
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 (arg1)->SetMinimumSizeX(arg2);
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 Py_INCREF(Py_None); resultobj = Py_None;
9148 return resultobj;
9149 fail:
9150 return NULL;
9151 }
9152
9153
9154 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9155 PyObject *resultobj;
9156 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9157 int arg2 ;
9158 PyObject * obj0 = 0 ;
9159 PyObject * obj1 = 0 ;
9160 char *kwnames[] = {
9161 (char *) "self",(char *) "min", NULL
9162 };
9163
9164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9166 if (SWIG_arg_fail(1)) SWIG_fail;
9167 {
9168 arg2 = (int)(SWIG_As_int(obj1));
9169 if (SWIG_arg_fail(2)) SWIG_fail;
9170 }
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 (arg1)->SetMinimumSizeY(arg2);
9174
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
9178 Py_INCREF(Py_None); resultobj = Py_None;
9179 return resultobj;
9180 fail:
9181 return NULL;
9182 }
9183
9184
9185 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj;
9187 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9188 int result;
9189 PyObject * obj0 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9196 if (SWIG_arg_fail(1)) SWIG_fail;
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 {
9205 resultobj = SWIG_From_int((int)(result));
9206 }
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj;
9215 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9216 int result;
9217 PyObject * obj0 = 0 ;
9218 char *kwnames[] = {
9219 (char *) "self", NULL
9220 };
9221
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9224 if (SWIG_arg_fail(1)) SWIG_fail;
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 {
9233 resultobj = SWIG_From_int((int)(result));
9234 }
9235 return resultobj;
9236 fail:
9237 return NULL;
9238 }
9239
9240
9241 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj;
9243 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9244 int arg2 ;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "self",(char *) "max", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail;
9254 {
9255 arg2 = (int)(SWIG_As_int(obj1));
9256 if (SWIG_arg_fail(2)) SWIG_fail;
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 (arg1)->SetMaximumSizeX(arg2);
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 Py_INCREF(Py_None); resultobj = Py_None;
9266 return resultobj;
9267 fail:
9268 return NULL;
9269 }
9270
9271
9272 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj;
9274 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9275 int arg2 ;
9276 PyObject * obj0 = 0 ;
9277 PyObject * obj1 = 0 ;
9278 char *kwnames[] = {
9279 (char *) "self",(char *) "max", NULL
9280 };
9281
9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9284 if (SWIG_arg_fail(1)) SWIG_fail;
9285 {
9286 arg2 = (int)(SWIG_As_int(obj1));
9287 if (SWIG_arg_fail(2)) SWIG_fail;
9288 }
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 (arg1)->SetMaximumSizeY(arg2);
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 Py_INCREF(Py_None); resultobj = Py_None;
9297 return resultobj;
9298 fail:
9299 return NULL;
9300 }
9301
9302
9303 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9306 int result;
9307 PyObject * obj0 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail;
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 {
9323 resultobj = SWIG_From_int((int)(result));
9324 }
9325 return resultobj;
9326 fail:
9327 return NULL;
9328 }
9329
9330
9331 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9334 int result;
9335 PyObject * obj0 = 0 ;
9336 char *kwnames[] = {
9337 (char *) "self", NULL
9338 };
9339
9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9342 if (SWIG_arg_fail(1)) SWIG_fail;
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 {
9351 resultobj = SWIG_From_int((int)(result));
9352 }
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9362 int arg2 ;
9363 int arg3 ;
9364 int arg4 = (int) 2 ;
9365 wxSashEdgePosition result;
9366 PyObject * obj0 = 0 ;
9367 PyObject * obj1 = 0 ;
9368 PyObject * obj2 = 0 ;
9369 PyObject * obj3 = 0 ;
9370 char *kwnames[] = {
9371 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9372 };
9373
9374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9376 if (SWIG_arg_fail(1)) SWIG_fail;
9377 {
9378 arg2 = (int)(SWIG_As_int(obj1));
9379 if (SWIG_arg_fail(2)) SWIG_fail;
9380 }
9381 {
9382 arg3 = (int)(SWIG_As_int(obj2));
9383 if (SWIG_arg_fail(3)) SWIG_fail;
9384 }
9385 if (obj3) {
9386 {
9387 arg4 = (int)(SWIG_As_int(obj3));
9388 if (SWIG_arg_fail(4)) SWIG_fail;
9389 }
9390 }
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 resultobj = SWIG_From_int((result));
9399 return resultobj;
9400 fail:
9401 return NULL;
9402 }
9403
9404
9405 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9406 PyObject *resultobj;
9407 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9408 PyObject * obj0 = 0 ;
9409 char *kwnames[] = {
9410 (char *) "self", NULL
9411 };
9412
9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9415 if (SWIG_arg_fail(1)) SWIG_fail;
9416 {
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 (arg1)->SizeWindows();
9419
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 Py_INCREF(Py_None); resultobj = Py_None;
9424 return resultobj;
9425 fail:
9426 return NULL;
9427 }
9428
9429
9430 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9431 PyObject *obj;
9432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9433 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9434 Py_INCREF(obj);
9435 return Py_BuildValue((char *)"");
9436 }
9437 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9438 PyObject *resultobj;
9439 int arg1 = (int) 0 ;
9440 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9441 wxSashEvent *result;
9442 PyObject * obj0 = 0 ;
9443 PyObject * obj1 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "id",(char *) "edge", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9449 if (obj0) {
9450 {
9451 arg1 = (int)(SWIG_As_int(obj0));
9452 if (SWIG_arg_fail(1)) SWIG_fail;
9453 }
9454 }
9455 if (obj1) {
9456 {
9457 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9458 if (SWIG_arg_fail(2)) SWIG_fail;
9459 }
9460 }
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9469 return resultobj;
9470 fail:
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9478 wxSashEdgePosition arg2 ;
9479 PyObject * obj0 = 0 ;
9480 PyObject * obj1 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self",(char *) "edge", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9487 if (SWIG_arg_fail(1)) SWIG_fail;
9488 {
9489 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9490 if (SWIG_arg_fail(2)) SWIG_fail;
9491 }
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 Py_INCREF(Py_None); resultobj = Py_None;
9500 return resultobj;
9501 fail:
9502 return NULL;
9503 }
9504
9505
9506 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9507 PyObject *resultobj;
9508 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9509 wxSashEdgePosition result;
9510 PyObject * obj0 = 0 ;
9511 char *kwnames[] = {
9512 (char *) "self", NULL
9513 };
9514
9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9517 if (SWIG_arg_fail(1)) SWIG_fail;
9518 {
9519 PyThreadState* __tstate = wxPyBeginAllowThreads();
9520 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9521
9522 wxPyEndAllowThreads(__tstate);
9523 if (PyErr_Occurred()) SWIG_fail;
9524 }
9525 resultobj = SWIG_From_int((result));
9526 return resultobj;
9527 fail:
9528 return NULL;
9529 }
9530
9531
9532 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9533 PyObject *resultobj;
9534 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9535 wxRect *arg2 = 0 ;
9536 wxRect temp2 ;
9537 PyObject * obj0 = 0 ;
9538 PyObject * obj1 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self",(char *) "rect", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9545 if (SWIG_arg_fail(1)) SWIG_fail;
9546 {
9547 arg2 = &temp2;
9548 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9549 }
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 (arg1)->SetDragRect((wxRect const &)*arg2);
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 Py_INCREF(Py_None); resultobj = Py_None;
9558 return resultobj;
9559 fail:
9560 return NULL;
9561 }
9562
9563
9564 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj;
9566 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9567 wxRect result;
9568 PyObject * obj0 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9575 if (SWIG_arg_fail(1)) SWIG_fail;
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = ((wxSashEvent const *)arg1)->GetDragRect();
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 {
9584 wxRect * resultptr;
9585 resultptr = new wxRect((wxRect &)(result));
9586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9587 }
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9597 wxSashDragStatus arg2 ;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj1 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self",(char *) "status", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9606 if (SWIG_arg_fail(1)) SWIG_fail;
9607 {
9608 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9609 if (SWIG_arg_fail(2)) SWIG_fail;
9610 }
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9628 wxSashDragStatus result;
9629 PyObject * obj0 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9636 if (SWIG_arg_fail(1)) SWIG_fail;
9637 {
9638 PyThreadState* __tstate = wxPyBeginAllowThreads();
9639 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9640
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 resultobj = SWIG_From_int((result));
9645 return resultobj;
9646 fail:
9647 return NULL;
9648 }
9649
9650
9651 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9652 PyObject *obj;
9653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9654 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9655 Py_INCREF(obj);
9656 return Py_BuildValue((char *)"");
9657 }
9658 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj;
9660 int arg1 = (int) 0 ;
9661 wxQueryLayoutInfoEvent *result;
9662 PyObject * obj0 = 0 ;
9663 char *kwnames[] = {
9664 (char *) "id", NULL
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9668 if (obj0) {
9669 {
9670 arg1 = (int)(SWIG_As_int(obj0));
9671 if (SWIG_arg_fail(1)) SWIG_fail;
9672 }
9673 }
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9691 int arg2 ;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "length", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9700 if (SWIG_arg_fail(1)) SWIG_fail;
9701 {
9702 arg2 = (int)(SWIG_As_int(obj1));
9703 if (SWIG_arg_fail(2)) SWIG_fail;
9704 }
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 (arg1)->SetRequestedLength(arg2);
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 Py_INCREF(Py_None); resultobj = Py_None;
9713 return resultobj;
9714 fail:
9715 return NULL;
9716 }
9717
9718
9719 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj;
9721 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9722 int result;
9723 PyObject * obj0 = 0 ;
9724 char *kwnames[] = {
9725 (char *) "self", NULL
9726 };
9727
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9730 if (SWIG_arg_fail(1)) SWIG_fail;
9731 {
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9734
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 {
9739 resultobj = SWIG_From_int((int)(result));
9740 }
9741 return resultobj;
9742 fail:
9743 return NULL;
9744 }
9745
9746
9747 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj;
9749 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9750 int arg2 ;
9751 PyObject * obj0 = 0 ;
9752 PyObject * obj1 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self",(char *) "flags", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9759 if (SWIG_arg_fail(1)) SWIG_fail;
9760 {
9761 arg2 = (int)(SWIG_As_int(obj1));
9762 if (SWIG_arg_fail(2)) SWIG_fail;
9763 }
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 (arg1)->SetFlags(arg2);
9767
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 Py_INCREF(Py_None); resultobj = Py_None;
9772 return resultobj;
9773 fail:
9774 return NULL;
9775 }
9776
9777
9778 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9779 PyObject *resultobj;
9780 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9781 int result;
9782 PyObject * obj0 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9789 if (SWIG_arg_fail(1)) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 {
9798 resultobj = SWIG_From_int((int)(result));
9799 }
9800 return resultobj;
9801 fail:
9802 return NULL;
9803 }
9804
9805
9806 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9807 PyObject *resultobj;
9808 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9809 wxSize *arg2 = 0 ;
9810 wxSize temp2 ;
9811 PyObject * obj0 = 0 ;
9812 PyObject * obj1 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "self",(char *) "size", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9819 if (SWIG_arg_fail(1)) SWIG_fail;
9820 {
9821 arg2 = &temp2;
9822 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9823 }
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 (arg1)->SetSize((wxSize const &)*arg2);
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 Py_INCREF(Py_None); resultobj = Py_None;
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj;
9840 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9841 wxSize result;
9842 PyObject * obj0 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9849 if (SWIG_arg_fail(1)) SWIG_fail;
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9853
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 {
9858 wxSize * resultptr;
9859 resultptr = new wxSize((wxSize &)(result));
9860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9861 }
9862 return resultobj;
9863 fail:
9864 return NULL;
9865 }
9866
9867
9868 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj;
9870 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9871 wxLayoutOrientation arg2 ;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self",(char *) "orient", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail;
9881 {
9882 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9883 if (SWIG_arg_fail(2)) SWIG_fail;
9884 }
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 Py_INCREF(Py_None); resultobj = Py_None;
9893 return resultobj;
9894 fail:
9895 return NULL;
9896 }
9897
9898
9899 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9900 PyObject *resultobj;
9901 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9902 wxLayoutOrientation result;
9903 PyObject * obj0 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
9909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail;
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 resultobj = SWIG_From_int((result));
9919 return resultobj;
9920 fail:
9921 return NULL;
9922 }
9923
9924
9925 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj;
9927 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9928 wxLayoutAlignment arg2 ;
9929 PyObject * obj0 = 0 ;
9930 PyObject * obj1 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self",(char *) "align", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9937 if (SWIG_arg_fail(1)) SWIG_fail;
9938 {
9939 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9940 if (SWIG_arg_fail(2)) SWIG_fail;
9941 }
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 Py_INCREF(Py_None); resultobj = Py_None;
9950 return resultobj;
9951 fail:
9952 return NULL;
9953 }
9954
9955
9956 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9959 wxLayoutAlignment result;
9960 PyObject * obj0 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
9966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9967 if (SWIG_arg_fail(1)) SWIG_fail;
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 resultobj = SWIG_From_int((result));
9976 return resultobj;
9977 fail:
9978 return NULL;
9979 }
9980
9981
9982 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
9983 PyObject *obj;
9984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9985 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9986 Py_INCREF(obj);
9987 return Py_BuildValue((char *)"");
9988 }
9989 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 int arg1 = (int) 0 ;
9992 wxCalculateLayoutEvent *result;
9993 PyObject * obj0 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "id", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9999 if (obj0) {
10000 {
10001 arg1 = (int)(SWIG_As_int(obj0));
10002 if (SWIG_arg_fail(1)) SWIG_fail;
10003 }
10004 }
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10022 int arg2 ;
10023 PyObject * obj0 = 0 ;
10024 PyObject * obj1 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self",(char *) "flags", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
10030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail;
10032 {
10033 arg2 = (int)(SWIG_As_int(obj1));
10034 if (SWIG_arg_fail(2)) SWIG_fail;
10035 }
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 (arg1)->SetFlags(arg2);
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 Py_INCREF(Py_None); resultobj = Py_None;
10044 return resultobj;
10045 fail:
10046 return NULL;
10047 }
10048
10049
10050 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10051 PyObject *resultobj;
10052 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10053 int result;
10054 PyObject * obj0 = 0 ;
10055 char *kwnames[] = {
10056 (char *) "self", NULL
10057 };
10058
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
10060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10061 if (SWIG_arg_fail(1)) SWIG_fail;
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10065
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 {
10070 resultobj = SWIG_From_int((int)(result));
10071 }
10072 return resultobj;
10073 fail:
10074 return NULL;
10075 }
10076
10077
10078 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10081 wxRect *arg2 = 0 ;
10082 wxRect temp2 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char *kwnames[] = {
10086 (char *) "self",(char *) "rect", NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10091 if (SWIG_arg_fail(1)) SWIG_fail;
10092 {
10093 arg2 = &temp2;
10094 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10095 }
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 (arg1)->SetRect((wxRect const &)*arg2);
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 Py_INCREF(Py_None); resultobj = Py_None;
10104 return resultobj;
10105 fail:
10106 return NULL;
10107 }
10108
10109
10110 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10111 PyObject *resultobj;
10112 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10113 wxRect result;
10114 PyObject * obj0 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10121 if (SWIG_arg_fail(1)) SWIG_fail;
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 {
10130 wxRect * resultptr;
10131 resultptr = new wxRect((wxRect &)(result));
10132 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10133 }
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10141 PyObject *obj;
10142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10144 Py_INCREF(obj);
10145 return Py_BuildValue((char *)"");
10146 }
10147 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxWindow *arg1 = (wxWindow *) 0 ;
10150 int arg2 = (int) -1 ;
10151 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10152 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10153 wxSize const &arg4_defvalue = wxDefaultSize ;
10154 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10155 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10156 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10157 wxString *arg6 = (wxString *) &arg6_defvalue ;
10158 wxSashLayoutWindow *result;
10159 wxPoint temp3 ;
10160 wxSize temp4 ;
10161 bool temp6 = false ;
10162 PyObject * obj0 = 0 ;
10163 PyObject * obj1 = 0 ;
10164 PyObject * obj2 = 0 ;
10165 PyObject * obj3 = 0 ;
10166 PyObject * obj4 = 0 ;
10167 PyObject * obj5 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10174 if (SWIG_arg_fail(1)) SWIG_fail;
10175 if (obj1) {
10176 {
10177 arg2 = (int)(SWIG_As_int(obj1));
10178 if (SWIG_arg_fail(2)) SWIG_fail;
10179 }
10180 }
10181 if (obj2) {
10182 {
10183 arg3 = &temp3;
10184 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10185 }
10186 }
10187 if (obj3) {
10188 {
10189 arg4 = &temp4;
10190 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10191 }
10192 }
10193 if (obj4) {
10194 {
10195 arg5 = (long)(SWIG_As_long(obj4));
10196 if (SWIG_arg_fail(5)) SWIG_fail;
10197 }
10198 }
10199 if (obj5) {
10200 {
10201 arg6 = wxString_in_helper(obj5);
10202 if (arg6 == NULL) SWIG_fail;
10203 temp6 = true;
10204 }
10205 }
10206 {
10207 if (!wxPyCheckForApp()) SWIG_fail;
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10210
10211 wxPyEndAllowThreads(__tstate);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10215 {
10216 if (temp6)
10217 delete arg6;
10218 }
10219 return resultobj;
10220 fail:
10221 {
10222 if (temp6)
10223 delete arg6;
10224 }
10225 return NULL;
10226 }
10227
10228
10229 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxSashLayoutWindow *result;
10232 char *kwnames[] = {
10233 NULL
10234 };
10235
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10237 {
10238 if (!wxPyCheckForApp()) SWIG_fail;
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10246 return resultobj;
10247 fail:
10248 return NULL;
10249 }
10250
10251
10252 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10253 PyObject *resultobj;
10254 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10255 wxWindow *arg2 = (wxWindow *) 0 ;
10256 int arg3 = (int) -1 ;
10257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10259 wxSize const &arg5_defvalue = wxDefaultSize ;
10260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10261 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10262 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10263 wxString *arg7 = (wxString *) &arg7_defvalue ;
10264 bool result;
10265 wxPoint temp4 ;
10266 wxSize temp5 ;
10267 bool temp7 = false ;
10268 PyObject * obj0 = 0 ;
10269 PyObject * obj1 = 0 ;
10270 PyObject * obj2 = 0 ;
10271 PyObject * obj3 = 0 ;
10272 PyObject * obj4 = 0 ;
10273 PyObject * obj5 = 0 ;
10274 PyObject * obj6 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10281 if (SWIG_arg_fail(1)) SWIG_fail;
10282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10283 if (SWIG_arg_fail(2)) SWIG_fail;
10284 if (obj2) {
10285 {
10286 arg3 = (int)(SWIG_As_int(obj2));
10287 if (SWIG_arg_fail(3)) SWIG_fail;
10288 }
10289 }
10290 if (obj3) {
10291 {
10292 arg4 = &temp4;
10293 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10294 }
10295 }
10296 if (obj4) {
10297 {
10298 arg5 = &temp5;
10299 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10300 }
10301 }
10302 if (obj5) {
10303 {
10304 arg6 = (long)(SWIG_As_long(obj5));
10305 if (SWIG_arg_fail(6)) SWIG_fail;
10306 }
10307 }
10308 if (obj6) {
10309 {
10310 arg7 = wxString_in_helper(obj6);
10311 if (arg7 == NULL) SWIG_fail;
10312 temp7 = true;
10313 }
10314 }
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 {
10323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10324 }
10325 {
10326 if (temp7)
10327 delete arg7;
10328 }
10329 return resultobj;
10330 fail:
10331 {
10332 if (temp7)
10333 delete arg7;
10334 }
10335 return NULL;
10336 }
10337
10338
10339 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10342 wxLayoutAlignment result;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10350 if (SWIG_arg_fail(1)) SWIG_fail;
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 resultobj = SWIG_From_int((result));
10359 return resultobj;
10360 fail:
10361 return NULL;
10362 }
10363
10364
10365 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj;
10367 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10368 wxLayoutOrientation result;
10369 PyObject * obj0 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10376 if (SWIG_arg_fail(1)) SWIG_fail;
10377 {
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10380
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 resultobj = SWIG_From_int((result));
10385 return resultobj;
10386 fail:
10387 return NULL;
10388 }
10389
10390
10391 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10392 PyObject *resultobj;
10393 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10394 wxLayoutAlignment arg2 ;
10395 PyObject * obj0 = 0 ;
10396 PyObject * obj1 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self",(char *) "alignment", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10403 if (SWIG_arg_fail(1)) SWIG_fail;
10404 {
10405 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10406 if (SWIG_arg_fail(2)) SWIG_fail;
10407 }
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 Py_INCREF(Py_None); resultobj = Py_None;
10416 return resultobj;
10417 fail:
10418 return NULL;
10419 }
10420
10421
10422 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10423 PyObject *resultobj;
10424 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10425 wxSize *arg2 = 0 ;
10426 wxSize temp2 ;
10427 PyObject * obj0 = 0 ;
10428 PyObject * obj1 = 0 ;
10429 char *kwnames[] = {
10430 (char *) "self",(char *) "size", NULL
10431 };
10432
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10435 if (SWIG_arg_fail(1)) SWIG_fail;
10436 {
10437 arg2 = &temp2;
10438 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10439 }
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
10447 Py_INCREF(Py_None); resultobj = Py_None;
10448 return resultobj;
10449 fail:
10450 return NULL;
10451 }
10452
10453
10454 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10455 PyObject *resultobj;
10456 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10457 wxLayoutOrientation arg2 ;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460 char *kwnames[] = {
10461 (char *) "self",(char *) "orientation", NULL
10462 };
10463
10464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10466 if (SWIG_arg_fail(1)) SWIG_fail;
10467 {
10468 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10469 if (SWIG_arg_fail(2)) SWIG_fail;
10470 }
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 Py_INCREF(Py_None); resultobj = Py_None;
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10486 PyObject *obj;
10487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10488 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10489 Py_INCREF(obj);
10490 return Py_BuildValue((char *)"");
10491 }
10492 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10493 PyObject *resultobj;
10494 wxLayoutAlgorithm *result;
10495 char *kwnames[] = {
10496 NULL
10497 };
10498
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10508 return resultobj;
10509 fail:
10510 return NULL;
10511 }
10512
10513
10514 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj;
10516 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10517 PyObject * obj0 = 0 ;
10518 char *kwnames[] = {
10519 (char *) "self", NULL
10520 };
10521
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10524 if (SWIG_arg_fail(1)) SWIG_fail;
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 delete arg1;
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 Py_INCREF(Py_None); resultobj = Py_None;
10533 return resultobj;
10534 fail:
10535 return NULL;
10536 }
10537
10538
10539 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10540 PyObject *resultobj;
10541 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10542 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10543 wxRect *arg3 = (wxRect *) NULL ;
10544 bool result;
10545 PyObject * obj0 = 0 ;
10546 PyObject * obj1 = 0 ;
10547 PyObject * obj2 = 0 ;
10548 char *kwnames[] = {
10549 (char *) "self",(char *) "frame",(char *) "rect", NULL
10550 };
10551
10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10554 if (SWIG_arg_fail(1)) SWIG_fail;
10555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10556 if (SWIG_arg_fail(2)) SWIG_fail;
10557 if (obj2) {
10558 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10559 if (SWIG_arg_fail(3)) SWIG_fail;
10560 }
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 {
10569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10570 }
10571 return resultobj;
10572 fail:
10573 return NULL;
10574 }
10575
10576
10577 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj;
10579 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10580 wxFrame *arg2 = (wxFrame *) 0 ;
10581 wxWindow *arg3 = (wxWindow *) NULL ;
10582 bool result;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 PyObject * obj2 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail;
10593 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10594 if (SWIG_arg_fail(2)) SWIG_fail;
10595 if (obj2) {
10596 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10597 if (SWIG_arg_fail(3)) SWIG_fail;
10598 }
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10602
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 {
10607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10608 }
10609 return resultobj;
10610 fail:
10611 return NULL;
10612 }
10613
10614
10615 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj;
10617 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10618 wxWindow *arg2 = (wxWindow *) 0 ;
10619 wxWindow *arg3 = (wxWindow *) NULL ;
10620 bool result;
10621 PyObject * obj0 = 0 ;
10622 PyObject * obj1 = 0 ;
10623 PyObject * obj2 = 0 ;
10624 char *kwnames[] = {
10625 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10626 };
10627
10628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10630 if (SWIG_arg_fail(1)) SWIG_fail;
10631 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10632 if (SWIG_arg_fail(2)) SWIG_fail;
10633 if (obj2) {
10634 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10635 if (SWIG_arg_fail(3)) SWIG_fail;
10636 }
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10640
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 {
10645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10646 }
10647 return resultobj;
10648 fail:
10649 return NULL;
10650 }
10651
10652
10653 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10654 PyObject *obj;
10655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10656 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10657 Py_INCREF(obj);
10658 return Py_BuildValue((char *)"");
10659 }
10660 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10661 PyObject *resultobj;
10662 wxWindow *arg1 = (wxWindow *) 0 ;
10663 int arg2 = (int) wxBORDER_NONE ;
10664 wxPopupWindow *result;
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "parent",(char *) "flags", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail;
10674 if (obj1) {
10675 {
10676 arg2 = (int)(SWIG_As_int(obj1));
10677 if (SWIG_arg_fail(2)) SWIG_fail;
10678 }
10679 }
10680 {
10681 if (!wxPyCheckForApp()) SWIG_fail;
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10684
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10689 return resultobj;
10690 fail:
10691 return NULL;
10692 }
10693
10694
10695 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10696 PyObject *resultobj;
10697 wxPopupWindow *result;
10698 char *kwnames[] = {
10699 NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10703 {
10704 if (!wxPyCheckForApp()) SWIG_fail;
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 result = (wxPopupWindow *)new wxPopupWindow();
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10721 wxWindow *arg2 = (wxWindow *) 0 ;
10722 int arg3 = (int) wxBORDER_NONE ;
10723 bool result;
10724 PyObject * obj0 = 0 ;
10725 PyObject * obj1 = 0 ;
10726 PyObject * obj2 = 0 ;
10727 char *kwnames[] = {
10728 (char *) "self",(char *) "parent",(char *) "flags", NULL
10729 };
10730
10731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
10732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10733 if (SWIG_arg_fail(1)) SWIG_fail;
10734 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10735 if (SWIG_arg_fail(2)) SWIG_fail;
10736 if (obj2) {
10737 {
10738 arg3 = (int)(SWIG_As_int(obj2));
10739 if (SWIG_arg_fail(3)) SWIG_fail;
10740 }
10741 }
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 result = (bool)(arg1)->Create(arg2,arg3);
10745
10746 wxPyEndAllowThreads(__tstate);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 {
10750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10751 }
10752 return resultobj;
10753 fail:
10754 return NULL;
10755 }
10756
10757
10758 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj;
10760 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10761 wxPoint *arg2 = 0 ;
10762 wxSize *arg3 = 0 ;
10763 wxPoint temp2 ;
10764 wxSize temp3 ;
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 PyObject * obj2 = 0 ;
10768 char *kwnames[] = {
10769 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10770 };
10771
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
10773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10774 if (SWIG_arg_fail(1)) SWIG_fail;
10775 {
10776 arg2 = &temp2;
10777 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10778 }
10779 {
10780 arg3 = &temp3;
10781 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10782 }
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 Py_INCREF(Py_None); resultobj = Py_None;
10791 return resultobj;
10792 fail:
10793 return NULL;
10794 }
10795
10796
10797 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10798 PyObject *obj;
10799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10800 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10801 Py_INCREF(obj);
10802 return Py_BuildValue((char *)"");
10803 }
10804 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj;
10806 wxWindow *arg1 = (wxWindow *) 0 ;
10807 int arg2 = (int) wxBORDER_NONE ;
10808 wxPyPopupTransientWindow *result;
10809 PyObject * obj0 = 0 ;
10810 PyObject * obj1 = 0 ;
10811 char *kwnames[] = {
10812 (char *) "parent",(char *) "style", NULL
10813 };
10814
10815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10817 if (SWIG_arg_fail(1)) SWIG_fail;
10818 if (obj1) {
10819 {
10820 arg2 = (int)(SWIG_As_int(obj1));
10821 if (SWIG_arg_fail(2)) SWIG_fail;
10822 }
10823 }
10824 {
10825 if (!wxPyCheckForApp()) SWIG_fail;
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10833 return resultobj;
10834 fail:
10835 return NULL;
10836 }
10837
10838
10839 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10840 PyObject *resultobj;
10841 wxPyPopupTransientWindow *result;
10842 char *kwnames[] = {
10843 NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10847 {
10848 if (!wxPyCheckForApp()) SWIG_fail;
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10851
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10856 return resultobj;
10857 fail:
10858 return NULL;
10859 }
10860
10861
10862 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj;
10864 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10865 PyObject *arg2 = (PyObject *) 0 ;
10866 PyObject *arg3 = (PyObject *) 0 ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 PyObject * obj2 = 0 ;
10870 char *kwnames[] = {
10871 (char *) "self",(char *) "self",(char *) "_class", NULL
10872 };
10873
10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10876 if (SWIG_arg_fail(1)) SWIG_fail;
10877 arg2 = obj1;
10878 arg3 = obj2;
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->_setCallbackInfo(arg2,arg3);
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 Py_INCREF(Py_None); resultobj = Py_None;
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10896 wxWindow *arg2 = (wxWindow *) NULL ;
10897 PyObject * obj0 = 0 ;
10898 PyObject * obj1 = 0 ;
10899 char *kwnames[] = {
10900 (char *) "self",(char *) "focus", NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
10904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10905 if (SWIG_arg_fail(1)) SWIG_fail;
10906 if (obj1) {
10907 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10908 if (SWIG_arg_fail(2)) SWIG_fail;
10909 }
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 (arg1)->Popup(arg2);
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 Py_INCREF(Py_None); resultobj = Py_None;
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj;
10926 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10927 PyObject * obj0 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
10933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 (arg1)->Dismiss();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 Py_INCREF(Py_None); resultobj = Py_None;
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10950 PyObject *obj;
10951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10952 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10953 Py_INCREF(obj);
10954 return Py_BuildValue((char *)"");
10955 }
10956 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj;
10958 wxWindow *arg1 = (wxWindow *) 0 ;
10959 wxString *arg2 = 0 ;
10960 int arg3 = (int) 100 ;
10961 wxRect *arg4 = (wxRect *) NULL ;
10962 wxTipWindow *result;
10963 bool temp2 = false ;
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 PyObject * obj2 = 0 ;
10967 PyObject * obj3 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail;
10975 {
10976 arg2 = wxString_in_helper(obj1);
10977 if (arg2 == NULL) SWIG_fail;
10978 temp2 = true;
10979 }
10980 if (obj2) {
10981 {
10982 arg3 = (int)(SWIG_As_int(obj2));
10983 if (SWIG_arg_fail(3)) SWIG_fail;
10984 }
10985 }
10986 if (obj3) {
10987 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10988 if (SWIG_arg_fail(4)) SWIG_fail;
10989 }
10990 {
10991 if (!wxPyCheckForApp()) SWIG_fail;
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10994
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10999 {
11000 if (temp2)
11001 delete arg2;
11002 }
11003 return resultobj;
11004 fail:
11005 {
11006 if (temp2)
11007 delete arg2;
11008 }
11009 return NULL;
11010 }
11011
11012
11013 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj;
11015 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11016 wxRect *arg2 = 0 ;
11017 wxRect temp2 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self",(char *) "rectBound", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
11025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11026 if (SWIG_arg_fail(1)) SWIG_fail;
11027 {
11028 arg2 = &temp2;
11029 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11030 }
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 Py_INCREF(Py_None); resultobj = Py_None;
11039 return resultobj;
11040 fail:
11041 return NULL;
11042 }
11043
11044
11045 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
11046 PyObject *resultobj;
11047 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11048 PyObject * obj0 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
11054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail;
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 (arg1)->Close();
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 Py_INCREF(Py_None); resultobj = Py_None;
11064 return resultobj;
11065 fail:
11066 return NULL;
11067 }
11068
11069
11070 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
11071 PyObject *obj;
11072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11073 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11074 Py_INCREF(obj);
11075 return Py_BuildValue((char *)"");
11076 }
11077 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11078 PyObject *resultobj;
11079 wxWindow *arg1 = (wxWindow *) 0 ;
11080 int arg2 = (int) wxID_ANY ;
11081 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11082 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11083 wxSize const &arg4_defvalue = wxDefaultSize ;
11084 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11085 long arg5 = (long) 0 ;
11086 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11087 wxString *arg6 = (wxString *) &arg6_defvalue ;
11088 wxPyVScrolledWindow *result;
11089 wxPoint temp3 ;
11090 wxSize temp4 ;
11091 bool temp6 = false ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 PyObject * obj2 = 0 ;
11095 PyObject * obj3 = 0 ;
11096 PyObject * obj4 = 0 ;
11097 PyObject * obj5 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail;
11105 if (obj1) {
11106 {
11107 arg2 = (int)(SWIG_As_int(obj1));
11108 if (SWIG_arg_fail(2)) SWIG_fail;
11109 }
11110 }
11111 if (obj2) {
11112 {
11113 arg3 = &temp3;
11114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11115 }
11116 }
11117 if (obj3) {
11118 {
11119 arg4 = &temp4;
11120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11121 }
11122 }
11123 if (obj4) {
11124 {
11125 arg5 = (long)(SWIG_As_long(obj4));
11126 if (SWIG_arg_fail(5)) SWIG_fail;
11127 }
11128 }
11129 if (obj5) {
11130 {
11131 arg6 = wxString_in_helper(obj5);
11132 if (arg6 == NULL) SWIG_fail;
11133 temp6 = true;
11134 }
11135 }
11136 {
11137 if (!wxPyCheckForApp()) SWIG_fail;
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11145 {
11146 if (temp6)
11147 delete arg6;
11148 }
11149 return resultobj;
11150 fail:
11151 {
11152 if (temp6)
11153 delete arg6;
11154 }
11155 return NULL;
11156 }
11157
11158
11159 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11160 PyObject *resultobj;
11161 wxPyVScrolledWindow *result;
11162 char *kwnames[] = {
11163 NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11167 {
11168 if (!wxPyCheckForApp()) SWIG_fail;
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11176 return resultobj;
11177 fail:
11178 return NULL;
11179 }
11180
11181
11182 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj;
11184 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11185 PyObject *arg2 = (PyObject *) 0 ;
11186 PyObject *arg3 = (PyObject *) 0 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 PyObject * obj2 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self",(char *) "self",(char *) "_class", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail;
11197 arg2 = obj1;
11198 arg3 = obj2;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->_setCallbackInfo(arg2,arg3);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11216 wxWindow *arg2 = (wxWindow *) 0 ;
11217 int arg3 = (int) wxID_ANY ;
11218 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11219 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11220 wxSize const &arg5_defvalue = wxDefaultSize ;
11221 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11222 long arg6 = (long) 0 ;
11223 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11224 wxString *arg7 = (wxString *) &arg7_defvalue ;
11225 bool result;
11226 wxPoint temp4 ;
11227 wxSize temp5 ;
11228 bool temp7 = false ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 PyObject * obj2 = 0 ;
11232 PyObject * obj3 = 0 ;
11233 PyObject * obj4 = 0 ;
11234 PyObject * obj5 = 0 ;
11235 PyObject * obj6 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail;
11243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11244 if (SWIG_arg_fail(2)) SWIG_fail;
11245 if (obj2) {
11246 {
11247 arg3 = (int)(SWIG_As_int(obj2));
11248 if (SWIG_arg_fail(3)) SWIG_fail;
11249 }
11250 }
11251 if (obj3) {
11252 {
11253 arg4 = &temp4;
11254 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11255 }
11256 }
11257 if (obj4) {
11258 {
11259 arg5 = &temp5;
11260 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11261 }
11262 }
11263 if (obj5) {
11264 {
11265 arg6 = (long)(SWIG_As_long(obj5));
11266 if (SWIG_arg_fail(6)) SWIG_fail;
11267 }
11268 }
11269 if (obj6) {
11270 {
11271 arg7 = wxString_in_helper(obj6);
11272 if (arg7 == NULL) SWIG_fail;
11273 temp7 = true;
11274 }
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 {
11284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11285 }
11286 {
11287 if (temp7)
11288 delete arg7;
11289 }
11290 return resultobj;
11291 fail:
11292 {
11293 if (temp7)
11294 delete arg7;
11295 }
11296 return NULL;
11297 }
11298
11299
11300 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj;
11302 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11303 size_t arg2 ;
11304 PyObject * obj0 = 0 ;
11305 PyObject * obj1 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "count", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail;
11313 {
11314 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11315 if (SWIG_arg_fail(2)) SWIG_fail;
11316 }
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->SetLineCount(arg2);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 Py_INCREF(Py_None); resultobj = Py_None;
11325 return resultobj;
11326 fail:
11327 return NULL;
11328 }
11329
11330
11331 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj;
11333 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11334 size_t arg2 ;
11335 bool result;
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self",(char *) "line", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail;
11345 {
11346 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11347 if (SWIG_arg_fail(2)) SWIG_fail;
11348 }
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 result = (bool)(arg1)->ScrollToLine(arg2);
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 {
11357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11358 }
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj;
11367 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11368 int arg2 ;
11369 bool result;
11370 PyObject * obj0 = 0 ;
11371 PyObject * obj1 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "lines", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail;
11379 {
11380 arg2 = (int)(SWIG_As_int(obj1));
11381 if (SWIG_arg_fail(2)) SWIG_fail;
11382 }
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (bool)(arg1)->ScrollLines(arg2);
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 {
11391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11392 }
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11400 PyObject *resultobj;
11401 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11402 int arg2 ;
11403 bool result;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self",(char *) "pages", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11412 if (SWIG_arg_fail(1)) SWIG_fail;
11413 {
11414 arg2 = (int)(SWIG_As_int(obj1));
11415 if (SWIG_arg_fail(2)) SWIG_fail;
11416 }
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (bool)(arg1)->ScrollPages(arg2);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 {
11425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11426 }
11427 return resultobj;
11428 fail:
11429 return NULL;
11430 }
11431
11432
11433 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11436 size_t arg2 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self",(char *) "line", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail;
11446 {
11447 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11448 if (SWIG_arg_fail(2)) SWIG_fail;
11449 }
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 (arg1)->RefreshLine(arg2);
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 Py_INCREF(Py_None); resultobj = Py_None;
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj;
11466 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11467 size_t arg2 ;
11468 size_t arg3 ;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 PyObject * obj2 = 0 ;
11472 char *kwnames[] = {
11473 (char *) "self",(char *) "from",(char *) "to", NULL
11474 };
11475
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail;
11479 {
11480 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11481 if (SWIG_arg_fail(2)) SWIG_fail;
11482 }
11483 {
11484 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11485 if (SWIG_arg_fail(3)) SWIG_fail;
11486 }
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 (arg1)->RefreshLines(arg2,arg3);
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 Py_INCREF(Py_None); resultobj = Py_None;
11495 return resultobj;
11496 fail:
11497 return NULL;
11498 }
11499
11500
11501 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj;
11503 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11504 int arg2 ;
11505 int arg3 ;
11506 int result;
11507 PyObject * obj0 = 0 ;
11508 PyObject * obj1 = 0 ;
11509 PyObject * obj2 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self",(char *) "x",(char *) "y", NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail;
11517 {
11518 arg2 = (int)(SWIG_As_int(obj1));
11519 if (SWIG_arg_fail(2)) SWIG_fail;
11520 }
11521 {
11522 arg3 = (int)(SWIG_As_int(obj2));
11523 if (SWIG_arg_fail(3)) SWIG_fail;
11524 }
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 {
11533 resultobj = SWIG_From_int((int)(result));
11534 }
11535 return resultobj;
11536 fail:
11537 return NULL;
11538 }
11539
11540
11541 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11544 wxPoint *arg2 = 0 ;
11545 int result;
11546 wxPoint temp2 ;
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self",(char *) "pt", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail;
11556 {
11557 arg2 = &temp2;
11558 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 {
11568 resultobj = SWIG_From_int((int)(result));
11569 }
11570 return resultobj;
11571 fail:
11572 return NULL;
11573 }
11574
11575
11576 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj;
11578 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11579 PyObject * obj0 = 0 ;
11580 char *kwnames[] = {
11581 (char *) "self", NULL
11582 };
11583
11584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail;
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->RefreshAll();
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 Py_INCREF(Py_None); resultobj = Py_None;
11595 return resultobj;
11596 fail:
11597 return NULL;
11598 }
11599
11600
11601 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11602 PyObject *resultobj;
11603 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11604 size_t result;
11605 PyObject * obj0 = 0 ;
11606 char *kwnames[] = {
11607 (char *) "self", NULL
11608 };
11609
11610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11612 if (SWIG_arg_fail(1)) SWIG_fail;
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 {
11621 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11622 }
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj;
11631 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11632 size_t result;
11633 PyObject * obj0 = 0 ;
11634 char *kwnames[] = {
11635 (char *) "self", NULL
11636 };
11637
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
11639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail;
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 {
11649 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11650 }
11651 return resultobj;
11652 fail:
11653 return NULL;
11654 }
11655
11656
11657 static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11658 PyObject *resultobj;
11659 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11660 size_t result;
11661 PyObject * obj0 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self", NULL
11664 };
11665
11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
11667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11668 if (SWIG_arg_fail(1)) SWIG_fail;
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 {
11677 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11678 }
11679 return resultobj;
11680 fail:
11681 return NULL;
11682 }
11683
11684
11685 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11688 size_t arg2 ;
11689 bool result;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "line", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail;
11699 {
11700 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11701 if (SWIG_arg_fail(2)) SWIG_fail;
11702 }
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 {
11711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11712 }
11713 return resultobj;
11714 fail:
11715 return NULL;
11716 }
11717
11718
11719 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj;
11721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11722 size_t result;
11723 PyObject * obj0 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail;
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 {
11739 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11740 }
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj;
11749 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11750 size_t result;
11751 PyObject * obj0 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail;
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 {
11767 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11768 }
11769 return resultobj;
11770 fail:
11771 return NULL;
11772 }
11773
11774
11775 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11776 PyObject *obj;
11777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11779 Py_INCREF(obj);
11780 return Py_BuildValue((char *)"");
11781 }
11782 static int _wrap_VListBoxNameStr_set(PyObject *) {
11783 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11784 return 1;
11785 }
11786
11787
11788 static PyObject *_wrap_VListBoxNameStr_get(void) {
11789 PyObject *pyobj;
11790
11791 {
11792 #if wxUSE_UNICODE
11793 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11794 #else
11795 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11796 #endif
11797 }
11798 return pyobj;
11799 }
11800
11801
11802 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11803 PyObject *resultobj;
11804 wxWindow *arg1 = (wxWindow *) 0 ;
11805 int arg2 = (int) wxID_ANY ;
11806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11808 wxSize const &arg4_defvalue = wxDefaultSize ;
11809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11810 long arg5 = (long) 0 ;
11811 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11812 wxString *arg6 = (wxString *) &arg6_defvalue ;
11813 wxPyVListBox *result;
11814 wxPoint temp3 ;
11815 wxSize temp4 ;
11816 bool temp6 = false ;
11817 PyObject * obj0 = 0 ;
11818 PyObject * obj1 = 0 ;
11819 PyObject * obj2 = 0 ;
11820 PyObject * obj3 = 0 ;
11821 PyObject * obj4 = 0 ;
11822 PyObject * obj5 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11829 if (SWIG_arg_fail(1)) SWIG_fail;
11830 if (obj1) {
11831 {
11832 arg2 = (int)(SWIG_As_int(obj1));
11833 if (SWIG_arg_fail(2)) SWIG_fail;
11834 }
11835 }
11836 if (obj2) {
11837 {
11838 arg3 = &temp3;
11839 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11840 }
11841 }
11842 if (obj3) {
11843 {
11844 arg4 = &temp4;
11845 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11846 }
11847 }
11848 if (obj4) {
11849 {
11850 arg5 = (long)(SWIG_As_long(obj4));
11851 if (SWIG_arg_fail(5)) SWIG_fail;
11852 }
11853 }
11854 if (obj5) {
11855 {
11856 arg6 = wxString_in_helper(obj5);
11857 if (arg6 == NULL) SWIG_fail;
11858 temp6 = true;
11859 }
11860 }
11861 {
11862 if (!wxPyCheckForApp()) SWIG_fail;
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11870 {
11871 if (temp6)
11872 delete arg6;
11873 }
11874 return resultobj;
11875 fail:
11876 {
11877 if (temp6)
11878 delete arg6;
11879 }
11880 return NULL;
11881 }
11882
11883
11884 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11885 PyObject *resultobj;
11886 wxPyVListBox *result;
11887 char *kwnames[] = {
11888 NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11892 {
11893 if (!wxPyCheckForApp()) SWIG_fail;
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (wxPyVListBox *)new wxPyVListBox();
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11901 return resultobj;
11902 fail:
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11910 PyObject *arg2 = (PyObject *) 0 ;
11911 PyObject *arg3 = (PyObject *) 0 ;
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 PyObject * obj2 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "self",(char *) "self",(char *) "_class", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11921 if (SWIG_arg_fail(1)) SWIG_fail;
11922 arg2 = obj1;
11923 arg3 = obj2;
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->_setCallbackInfo(arg2,arg3);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 Py_INCREF(Py_None); resultobj = Py_None;
11932 return resultobj;
11933 fail:
11934 return NULL;
11935 }
11936
11937
11938 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj;
11940 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11941 wxWindow *arg2 = (wxWindow *) 0 ;
11942 int arg3 = (int) wxID_ANY ;
11943 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11944 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11945 wxSize const &arg5_defvalue = wxDefaultSize ;
11946 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11947 long arg6 = (long) 0 ;
11948 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11949 wxString *arg7 = (wxString *) &arg7_defvalue ;
11950 bool result;
11951 wxPoint temp4 ;
11952 wxSize temp5 ;
11953 bool temp7 = false ;
11954 PyObject * obj0 = 0 ;
11955 PyObject * obj1 = 0 ;
11956 PyObject * obj2 = 0 ;
11957 PyObject * obj3 = 0 ;
11958 PyObject * obj4 = 0 ;
11959 PyObject * obj5 = 0 ;
11960 PyObject * obj6 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11967 if (SWIG_arg_fail(1)) SWIG_fail;
11968 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11969 if (SWIG_arg_fail(2)) SWIG_fail;
11970 if (obj2) {
11971 {
11972 arg3 = (int)(SWIG_As_int(obj2));
11973 if (SWIG_arg_fail(3)) SWIG_fail;
11974 }
11975 }
11976 if (obj3) {
11977 {
11978 arg4 = &temp4;
11979 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11980 }
11981 }
11982 if (obj4) {
11983 {
11984 arg5 = &temp5;
11985 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11986 }
11987 }
11988 if (obj5) {
11989 {
11990 arg6 = (long)(SWIG_As_long(obj5));
11991 if (SWIG_arg_fail(6)) SWIG_fail;
11992 }
11993 }
11994 if (obj6) {
11995 {
11996 arg7 = wxString_in_helper(obj6);
11997 if (arg7 == NULL) SWIG_fail;
11998 temp7 = true;
11999 }
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 {
12009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12010 }
12011 {
12012 if (temp7)
12013 delete arg7;
12014 }
12015 return resultobj;
12016 fail:
12017 {
12018 if (temp7)
12019 delete arg7;
12020 }
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj;
12027 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12028 size_t result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
12035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 {
12045 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12046 }
12047 return resultobj;
12048 fail:
12049 return NULL;
12050 }
12051
12052
12053 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj;
12055 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12056 bool result;
12057 PyObject * obj0 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
12063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail;
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 {
12073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12074 }
12075 return resultobj;
12076 fail:
12077 return NULL;
12078 }
12079
12080
12081 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12082 PyObject *resultobj;
12083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12084 int result;
12085 PyObject * obj0 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
12091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12092 if (SWIG_arg_fail(1)) SWIG_fail;
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 {
12101 resultobj = SWIG_From_int((int)(result));
12102 }
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj;
12111 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12112 size_t arg2 ;
12113 bool result;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "item", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
12123 {
12124 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12125 if (SWIG_arg_fail(2)) SWIG_fail;
12126 }
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 {
12135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12136 }
12137 return resultobj;
12138 fail:
12139 return NULL;
12140 }
12141
12142
12143 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12144 PyObject *resultobj;
12145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12146 size_t arg2 ;
12147 bool result;
12148 PyObject * obj0 = 0 ;
12149 PyObject * obj1 = 0 ;
12150 char *kwnames[] = {
12151 (char *) "self",(char *) "item", NULL
12152 };
12153
12154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
12155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail;
12157 {
12158 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12159 if (SWIG_arg_fail(2)) SWIG_fail;
12160 }
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 {
12169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12170 }
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12180 size_t result;
12181 PyObject * obj0 = 0 ;
12182 char *kwnames[] = {
12183 (char *) "self", NULL
12184 };
12185
12186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail;
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
12196 {
12197 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12198 }
12199 return resultobj;
12200 fail:
12201 return NULL;
12202 }
12203
12204
12205 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj;
12207 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12208 PyObject *result;
12209 PyObject * obj0 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail;
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 resultobj = result;
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12234 unsigned long arg2 ;
12235 PyObject *result;
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "cookie", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail;
12245 {
12246 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12247 if (SWIG_arg_fail(2)) SWIG_fail;
12248 }
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 resultobj = result;
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj;
12265 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12266 wxPoint result;
12267 PyObject * obj0 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail;
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 result = ((wxPyVListBox const *)arg1)->GetMargins();
12278
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
12282 {
12283 wxPoint * resultptr;
12284 resultptr = new wxPoint((wxPoint &)(result));
12285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12286 }
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj;
12295 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12296 wxColour *result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail;
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 {
12308 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12309 result = (wxColour *) &_result_ref;
12310 }
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12325 size_t arg2 ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "count", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail;
12335 {
12336 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12337 if (SWIG_arg_fail(2)) SWIG_fail;
12338 }
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 (arg1)->SetItemCount(arg2);
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 Py_INCREF(Py_None); resultobj = Py_None;
12347 return resultobj;
12348 fail:
12349 return NULL;
12350 }
12351
12352
12353 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12354 PyObject *resultobj;
12355 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12356 PyObject * obj0 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail;
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 (arg1)->Clear();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 Py_INCREF(Py_None); resultobj = Py_None;
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12381 int arg2 ;
12382 PyObject * obj0 = 0 ;
12383 PyObject * obj1 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self",(char *) "selection", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail;
12391 {
12392 arg2 = (int)(SWIG_As_int(obj1));
12393 if (SWIG_arg_fail(2)) SWIG_fail;
12394 }
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 (arg1)->SetSelection(arg2);
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 Py_INCREF(Py_None); resultobj = Py_None;
12403 return resultobj;
12404 fail:
12405 return NULL;
12406 }
12407
12408
12409 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj;
12411 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12412 size_t arg2 ;
12413 bool arg3 = (bool) true ;
12414 bool result;
12415 PyObject * obj0 = 0 ;
12416 PyObject * obj1 = 0 ;
12417 PyObject * obj2 = 0 ;
12418 char *kwnames[] = {
12419 (char *) "self",(char *) "item",(char *) "select", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12424 if (SWIG_arg_fail(1)) SWIG_fail;
12425 {
12426 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12427 if (SWIG_arg_fail(2)) SWIG_fail;
12428 }
12429 if (obj2) {
12430 {
12431 arg3 = (bool)(SWIG_As_bool(obj2));
12432 if (SWIG_arg_fail(3)) SWIG_fail;
12433 }
12434 }
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 result = (bool)(arg1)->Select(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_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12452 PyObject *resultobj;
12453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12454 size_t arg2 ;
12455 size_t arg3 ;
12456 bool result;
12457 PyObject * obj0 = 0 ;
12458 PyObject * obj1 = 0 ;
12459 PyObject * obj2 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "self",(char *) "from",(char *) "to", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail;
12467 {
12468 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12469 if (SWIG_arg_fail(2)) SWIG_fail;
12470 }
12471 {
12472 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12473 if (SWIG_arg_fail(3)) SWIG_fail;
12474 }
12475 {
12476 PyThreadState* __tstate = wxPyBeginAllowThreads();
12477 result = (bool)(arg1)->SelectRange(arg2,arg3);
12478
12479 wxPyEndAllowThreads(__tstate);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 {
12483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12484 }
12485 return resultobj;
12486 fail:
12487 return NULL;
12488 }
12489
12490
12491 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj;
12493 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12494 size_t arg2 ;
12495 PyObject * obj0 = 0 ;
12496 PyObject * obj1 = 0 ;
12497 char *kwnames[] = {
12498 (char *) "self",(char *) "item", NULL
12499 };
12500
12501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12503 if (SWIG_arg_fail(1)) SWIG_fail;
12504 {
12505 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12506 if (SWIG_arg_fail(2)) SWIG_fail;
12507 }
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 (arg1)->Toggle(arg2);
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 Py_INCREF(Py_None); resultobj = Py_None;
12516 return resultobj;
12517 fail:
12518 return NULL;
12519 }
12520
12521
12522 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12525 bool result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail;
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 result = (bool)(arg1)->SelectAll();
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 {
12542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12543 }
12544 return resultobj;
12545 fail:
12546 return NULL;
12547 }
12548
12549
12550 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12551 PyObject *resultobj;
12552 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12553 bool result;
12554 PyObject * obj0 = 0 ;
12555 char *kwnames[] = {
12556 (char *) "self", NULL
12557 };
12558
12559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail;
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 result = (bool)(arg1)->DeselectAll();
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 {
12570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12571 }
12572 return resultobj;
12573 fail:
12574 return NULL;
12575 }
12576
12577
12578 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj;
12580 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12581 wxPoint *arg2 = 0 ;
12582 wxPoint temp2 ;
12583 PyObject * obj0 = 0 ;
12584 PyObject * obj1 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self",(char *) "pt", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail;
12592 {
12593 arg2 = &temp2;
12594 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12595 }
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetMargins((wxPoint const &)*arg2);
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 Py_INCREF(Py_None); resultobj = Py_None;
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12613 int arg2 ;
12614 int arg3 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 PyObject * obj2 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self",(char *) "x",(char *) "y", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail;
12625 {
12626 arg2 = (int)(SWIG_As_int(obj1));
12627 if (SWIG_arg_fail(2)) SWIG_fail;
12628 }
12629 {
12630 arg3 = (int)(SWIG_As_int(obj2));
12631 if (SWIG_arg_fail(3)) SWIG_fail;
12632 }
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->SetMargins(arg2,arg3);
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 Py_INCREF(Py_None); resultobj = Py_None;
12641 return resultobj;
12642 fail:
12643 return NULL;
12644 }
12645
12646
12647 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12650 wxColour *arg2 = 0 ;
12651 wxColour temp2 ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self",(char *) "col", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail;
12661 {
12662 arg2 = &temp2;
12663 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12664 }
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676 }
12677
12678
12679 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12680 PyObject *obj;
12681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12682 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12683 Py_INCREF(obj);
12684 return Py_BuildValue((char *)"");
12685 }
12686 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12687 PyObject *resultobj;
12688 wxWindow *arg1 = (wxWindow *) 0 ;
12689 int arg2 = (int) wxID_ANY ;
12690 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12691 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12692 wxSize const &arg4_defvalue = wxDefaultSize ;
12693 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12694 long arg5 = (long) 0 ;
12695 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12696 wxString *arg6 = (wxString *) &arg6_defvalue ;
12697 wxPyHtmlListBox *result;
12698 wxPoint temp3 ;
12699 wxSize temp4 ;
12700 bool temp6 = false ;
12701 PyObject * obj0 = 0 ;
12702 PyObject * obj1 = 0 ;
12703 PyObject * obj2 = 0 ;
12704 PyObject * obj3 = 0 ;
12705 PyObject * obj4 = 0 ;
12706 PyObject * obj5 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail;
12714 if (obj1) {
12715 {
12716 arg2 = (int)(SWIG_As_int(obj1));
12717 if (SWIG_arg_fail(2)) SWIG_fail;
12718 }
12719 }
12720 if (obj2) {
12721 {
12722 arg3 = &temp3;
12723 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12724 }
12725 }
12726 if (obj3) {
12727 {
12728 arg4 = &temp4;
12729 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12730 }
12731 }
12732 if (obj4) {
12733 {
12734 arg5 = (long)(SWIG_As_long(obj4));
12735 if (SWIG_arg_fail(5)) SWIG_fail;
12736 }
12737 }
12738 if (obj5) {
12739 {
12740 arg6 = wxString_in_helper(obj5);
12741 if (arg6 == NULL) SWIG_fail;
12742 temp6 = true;
12743 }
12744 }
12745 {
12746 if (!wxPyCheckForApp()) SWIG_fail;
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12754 {
12755 if (temp6)
12756 delete arg6;
12757 }
12758 return resultobj;
12759 fail:
12760 {
12761 if (temp6)
12762 delete arg6;
12763 }
12764 return NULL;
12765 }
12766
12767
12768 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxPyHtmlListBox *result;
12771 char *kwnames[] = {
12772 NULL
12773 };
12774
12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12776 {
12777 if (!wxPyCheckForApp()) SWIG_fail;
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12785 return resultobj;
12786 fail:
12787 return NULL;
12788 }
12789
12790
12791 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12792 PyObject *resultobj;
12793 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12794 PyObject *arg2 = (PyObject *) 0 ;
12795 PyObject *arg3 = (PyObject *) 0 ;
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12798 PyObject * obj2 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self",(char *) "self",(char *) "_class", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail;
12806 arg2 = obj1;
12807 arg3 = obj2;
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 (arg1)->_setCallbackInfo(arg2,arg3);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 Py_INCREF(Py_None); resultobj = Py_None;
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12825 wxWindow *arg2 = (wxWindow *) 0 ;
12826 int arg3 = (int) wxID_ANY ;
12827 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12828 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12829 wxSize const &arg5_defvalue = wxDefaultSize ;
12830 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12831 long arg6 = (long) 0 ;
12832 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12833 wxString *arg7 = (wxString *) &arg7_defvalue ;
12834 bool result;
12835 wxPoint temp4 ;
12836 wxSize temp5 ;
12837 bool temp7 = false ;
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 PyObject * obj2 = 0 ;
12841 PyObject * obj3 = 0 ;
12842 PyObject * obj4 = 0 ;
12843 PyObject * obj5 = 0 ;
12844 PyObject * obj6 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail;
12852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12853 if (SWIG_arg_fail(2)) SWIG_fail;
12854 if (obj2) {
12855 {
12856 arg3 = (int)(SWIG_As_int(obj2));
12857 if (SWIG_arg_fail(3)) SWIG_fail;
12858 }
12859 }
12860 if (obj3) {
12861 {
12862 arg4 = &temp4;
12863 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12864 }
12865 }
12866 if (obj4) {
12867 {
12868 arg5 = &temp5;
12869 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12870 }
12871 }
12872 if (obj5) {
12873 {
12874 arg6 = (long)(SWIG_As_long(obj5));
12875 if (SWIG_arg_fail(6)) SWIG_fail;
12876 }
12877 }
12878 if (obj6) {
12879 {
12880 arg7 = wxString_in_helper(obj6);
12881 if (arg7 == NULL) SWIG_fail;
12882 temp7 = true;
12883 }
12884 }
12885 {
12886 PyThreadState* __tstate = wxPyBeginAllowThreads();
12887 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12888
12889 wxPyEndAllowThreads(__tstate);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
12892 {
12893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12894 }
12895 {
12896 if (temp7)
12897 delete arg7;
12898 }
12899 return resultobj;
12900 fail:
12901 {
12902 if (temp7)
12903 delete arg7;
12904 }
12905 return NULL;
12906 }
12907
12908
12909 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj;
12911 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12912 PyObject * obj0 = 0 ;
12913 char *kwnames[] = {
12914 (char *) "self", NULL
12915 };
12916
12917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12919 if (SWIG_arg_fail(1)) SWIG_fail;
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 (arg1)->RefreshAll();
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 Py_INCREF(Py_None); resultobj = Py_None;
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12937 size_t arg2 ;
12938 PyObject * obj0 = 0 ;
12939 PyObject * obj1 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self",(char *) "count", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail;
12947 {
12948 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12949 if (SWIG_arg_fail(2)) SWIG_fail;
12950 }
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 (arg1)->SetItemCount(arg2);
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 Py_INCREF(Py_None); resultobj = Py_None;
12959 return resultobj;
12960 fail:
12961 return NULL;
12962 }
12963
12964
12965 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12966 PyObject *resultobj;
12967 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12968 wxFileSystem *result;
12969 PyObject * obj0 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "self", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail;
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 {
12980 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12981 result = (wxFileSystem *) &_result_ref;
12982 }
12983
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12988 return resultobj;
12989 fail:
12990 return NULL;
12991 }
12992
12993
12994 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12995 PyObject *obj;
12996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12997 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12998 Py_INCREF(obj);
12999 return Py_BuildValue((char *)"");
13000 }
13001 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13002 PyObject *resultobj;
13003 wxPyTaskBarIcon *result;
13004 char *kwnames[] = {
13005 NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13009 {
13010 if (!wxPyCheckForApp()) SWIG_fail;
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
13018 return resultobj;
13019 fail:
13020 return NULL;
13021 }
13022
13023
13024 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13027 PyObject *arg2 = (PyObject *) 0 ;
13028 PyObject *arg3 = (PyObject *) 0 ;
13029 int arg4 ;
13030 PyObject * obj0 = 0 ;
13031 PyObject * obj1 = 0 ;
13032 PyObject * obj2 = 0 ;
13033 PyObject * obj3 = 0 ;
13034 char *kwnames[] = {
13035 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13036 };
13037
13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13040 if (SWIG_arg_fail(1)) SWIG_fail;
13041 arg2 = obj1;
13042 arg3 = obj2;
13043 {
13044 arg4 = (int)(SWIG_As_int(obj3));
13045 if (SWIG_arg_fail(4)) SWIG_fail;
13046 }
13047 {
13048 PyThreadState* __tstate = wxPyBeginAllowThreads();
13049 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
13050
13051 wxPyEndAllowThreads(__tstate);
13052 if (PyErr_Occurred()) SWIG_fail;
13053 }
13054 Py_INCREF(Py_None); resultobj = Py_None;
13055 return resultobj;
13056 fail:
13057 return NULL;
13058 }
13059
13060
13061 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
13062 PyObject *resultobj;
13063 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13064 PyObject * obj0 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
13070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13071 if (SWIG_arg_fail(1)) SWIG_fail;
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 wxPyTaskBarIcon_Destroy(arg1);
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 Py_INCREF(Py_None); resultobj = Py_None;
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13089 bool result;
13090 PyObject * obj0 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
13096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13097 if (SWIG_arg_fail(1)) SWIG_fail;
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 {
13106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13107 }
13108 return resultobj;
13109 fail:
13110 return NULL;
13111 }
13112
13113
13114 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
13115 PyObject *resultobj;
13116 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13117 bool result;
13118 PyObject * obj0 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
13124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail;
13126 {
13127 PyThreadState* __tstate = wxPyBeginAllowThreads();
13128 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
13129
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 {
13134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13135 }
13136 return resultobj;
13137 fail:
13138 return NULL;
13139 }
13140
13141
13142 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13143 PyObject *resultobj;
13144 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13145 wxIcon *arg2 = 0 ;
13146 wxString const &arg3_defvalue = wxPyEmptyString ;
13147 wxString *arg3 = (wxString *) &arg3_defvalue ;
13148 bool result;
13149 bool temp3 = false ;
13150 PyObject * obj0 = 0 ;
13151 PyObject * obj1 = 0 ;
13152 PyObject * obj2 = 0 ;
13153 char *kwnames[] = {
13154 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13155 };
13156
13157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13159 if (SWIG_arg_fail(1)) SWIG_fail;
13160 {
13161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13162 if (SWIG_arg_fail(2)) SWIG_fail;
13163 if (arg2 == NULL) {
13164 SWIG_null_ref("wxIcon");
13165 }
13166 if (SWIG_arg_fail(2)) SWIG_fail;
13167 }
13168 if (obj2) {
13169 {
13170 arg3 = wxString_in_helper(obj2);
13171 if (arg3 == NULL) SWIG_fail;
13172 temp3 = true;
13173 }
13174 }
13175 {
13176 PyThreadState* __tstate = wxPyBeginAllowThreads();
13177 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13178
13179 wxPyEndAllowThreads(__tstate);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 {
13183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13184 }
13185 {
13186 if (temp3)
13187 delete arg3;
13188 }
13189 return resultobj;
13190 fail:
13191 {
13192 if (temp3)
13193 delete arg3;
13194 }
13195 return NULL;
13196 }
13197
13198
13199 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13200 PyObject *resultobj;
13201 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13202 bool result;
13203 PyObject * obj0 = 0 ;
13204 char *kwnames[] = {
13205 (char *) "self", NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail;
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 result = (bool)(arg1)->RemoveIcon();
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 {
13219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13220 }
13221 return resultobj;
13222 fail:
13223 return NULL;
13224 }
13225
13226
13227 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13228 PyObject *resultobj;
13229 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13230 wxMenu *arg2 = (wxMenu *) 0 ;
13231 bool result;
13232 PyObject * obj0 = 0 ;
13233 PyObject * obj1 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self",(char *) "menu", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail;
13241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13242 if (SWIG_arg_fail(2)) SWIG_fail;
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 result = (bool)(arg1)->PopupMenu(arg2);
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 {
13251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13252 }
13253 return resultobj;
13254 fail:
13255 return NULL;
13256 }
13257
13258
13259 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13260 PyObject *obj;
13261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13262 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13263 Py_INCREF(obj);
13264 return Py_BuildValue((char *)"");
13265 }
13266 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj;
13268 wxEventType arg1 ;
13269 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13270 wxTaskBarIconEvent *result;
13271 PyObject * obj0 = 0 ;
13272 PyObject * obj1 = 0 ;
13273 char *kwnames[] = {
13274 (char *) "evtType",(char *) "tbIcon", NULL
13275 };
13276
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13278 {
13279 arg1 = (wxEventType)(SWIG_As_int(obj0));
13280 if (SWIG_arg_fail(1)) SWIG_fail;
13281 }
13282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13283 if (SWIG_arg_fail(2)) SWIG_fail;
13284 {
13285 PyThreadState* __tstate = wxPyBeginAllowThreads();
13286 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13287
13288 wxPyEndAllowThreads(__tstate);
13289 if (PyErr_Occurred()) SWIG_fail;
13290 }
13291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13292 return resultobj;
13293 fail:
13294 return NULL;
13295 }
13296
13297
13298 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13299 PyObject *obj;
13300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13301 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13302 Py_INCREF(obj);
13303 return Py_BuildValue((char *)"");
13304 }
13305 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13306 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13307 return 1;
13308 }
13309
13310
13311 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13312 PyObject *pyobj;
13313
13314 {
13315 #if wxUSE_UNICODE
13316 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13317 #else
13318 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13319 #endif
13320 }
13321 return pyobj;
13322 }
13323
13324
13325 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13326 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13327 return 1;
13328 }
13329
13330
13331 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13332 PyObject *pyobj;
13333
13334 {
13335 #if wxUSE_UNICODE
13336 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13337 #else
13338 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13339 #endif
13340 }
13341 return pyobj;
13342 }
13343
13344
13345 static int _wrap_DirDialogNameStr_set(PyObject *) {
13346 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13347 return 1;
13348 }
13349
13350
13351 static PyObject *_wrap_DirDialogNameStr_get(void) {
13352 PyObject *pyobj;
13353
13354 {
13355 #if wxUSE_UNICODE
13356 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13357 #else
13358 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13359 #endif
13360 }
13361 return pyobj;
13362 }
13363
13364
13365 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13366 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13367 return 1;
13368 }
13369
13370
13371 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13372 PyObject *pyobj;
13373
13374 {
13375 #if wxUSE_UNICODE
13376 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13377 #else
13378 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13379 #endif
13380 }
13381 return pyobj;
13382 }
13383
13384
13385 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13386 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13387 return 1;
13388 }
13389
13390
13391 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13392 PyObject *pyobj;
13393
13394 {
13395 #if wxUSE_UNICODE
13396 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13397 #else
13398 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13399 #endif
13400 }
13401 return pyobj;
13402 }
13403
13404
13405 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13406 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13407 return 1;
13408 }
13409
13410
13411 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13412 PyObject *pyobj;
13413
13414 {
13415 #if wxUSE_UNICODE
13416 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13417 #else
13418 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13419 #endif
13420 }
13421 return pyobj;
13422 }
13423
13424
13425 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxColourData *result;
13428 char *kwnames[] = {
13429 NULL
13430 };
13431
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 result = (wxColourData *)new wxColourData();
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13441 return resultobj;
13442 fail:
13443 return NULL;
13444 }
13445
13446
13447 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13448 PyObject *resultobj;
13449 wxColourData *arg1 = (wxColourData *) 0 ;
13450 PyObject * obj0 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13457 if (SWIG_arg_fail(1)) SWIG_fail;
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 delete arg1;
13461
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
13465 Py_INCREF(Py_None); resultobj = Py_None;
13466 return resultobj;
13467 fail:
13468 return NULL;
13469 }
13470
13471
13472 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13473 PyObject *resultobj;
13474 wxColourData *arg1 = (wxColourData *) 0 ;
13475 bool result;
13476 PyObject * obj0 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13483 if (SWIG_arg_fail(1)) SWIG_fail;
13484 {
13485 PyThreadState* __tstate = wxPyBeginAllowThreads();
13486 result = (bool)(arg1)->GetChooseFull();
13487
13488 wxPyEndAllowThreads(__tstate);
13489 if (PyErr_Occurred()) SWIG_fail;
13490 }
13491 {
13492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13493 }
13494 return resultobj;
13495 fail:
13496 return NULL;
13497 }
13498
13499
13500 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13501 PyObject *resultobj;
13502 wxColourData *arg1 = (wxColourData *) 0 ;
13503 wxColour result;
13504 PyObject * obj0 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "self", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail;
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 result = (arg1)->GetColour();
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 {
13520 wxColour * resultptr;
13521 resultptr = new wxColour((wxColour &)(result));
13522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13523 }
13524 return resultobj;
13525 fail:
13526 return NULL;
13527 }
13528
13529
13530 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj;
13532 wxColourData *arg1 = (wxColourData *) 0 ;
13533 int arg2 ;
13534 wxColour result;
13535 PyObject * obj0 = 0 ;
13536 PyObject * obj1 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self",(char *) "i", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13543 if (SWIG_arg_fail(1)) SWIG_fail;
13544 {
13545 arg2 = (int)(SWIG_As_int(obj1));
13546 if (SWIG_arg_fail(2)) SWIG_fail;
13547 }
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (arg1)->GetCustomColour(arg2);
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 {
13556 wxColour * resultptr;
13557 resultptr = new wxColour((wxColour &)(result));
13558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13559 }
13560 return resultobj;
13561 fail:
13562 return NULL;
13563 }
13564
13565
13566 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj;
13568 wxColourData *arg1 = (wxColourData *) 0 ;
13569 int arg2 ;
13570 PyObject * obj0 = 0 ;
13571 PyObject * obj1 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "flag", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail;
13579 {
13580 arg2 = (int)(SWIG_As_int(obj1));
13581 if (SWIG_arg_fail(2)) SWIG_fail;
13582 }
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 (arg1)->SetChooseFull(arg2);
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 Py_INCREF(Py_None); resultobj = Py_None;
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj;
13599 wxColourData *arg1 = (wxColourData *) 0 ;
13600 wxColour *arg2 = 0 ;
13601 wxColour temp2 ;
13602 PyObject * obj0 = 0 ;
13603 PyObject * obj1 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "colour", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13610 if (SWIG_arg_fail(1)) SWIG_fail;
13611 {
13612 arg2 = &temp2;
13613 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13614 }
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 (arg1)->SetColour((wxColour const &)*arg2);
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 Py_INCREF(Py_None); resultobj = Py_None;
13623 return resultobj;
13624 fail:
13625 return NULL;
13626 }
13627
13628
13629 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13630 PyObject *resultobj;
13631 wxColourData *arg1 = (wxColourData *) 0 ;
13632 int arg2 ;
13633 wxColour *arg3 = 0 ;
13634 wxColour temp3 ;
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 PyObject * obj2 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self",(char *) "i",(char *) "colour", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13644 if (SWIG_arg_fail(1)) SWIG_fail;
13645 {
13646 arg2 = (int)(SWIG_As_int(obj1));
13647 if (SWIG_arg_fail(2)) SWIG_fail;
13648 }
13649 {
13650 arg3 = &temp3;
13651 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13652 }
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 Py_INCREF(Py_None); resultobj = Py_None;
13661 return resultobj;
13662 fail:
13663 return NULL;
13664 }
13665
13666
13667 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13668 PyObject *obj;
13669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13670 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13671 Py_INCREF(obj);
13672 return Py_BuildValue((char *)"");
13673 }
13674 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13675 PyObject *resultobj;
13676 wxWindow *arg1 = (wxWindow *) 0 ;
13677 wxColourData *arg2 = (wxColourData *) NULL ;
13678 wxColourDialog *result;
13679 PyObject * obj0 = 0 ;
13680 PyObject * obj1 = 0 ;
13681 char *kwnames[] = {
13682 (char *) "parent",(char *) "data", NULL
13683 };
13684
13685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13687 if (SWIG_arg_fail(1)) SWIG_fail;
13688 if (obj1) {
13689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13690 if (SWIG_arg_fail(2)) SWIG_fail;
13691 }
13692 {
13693 if (!wxPyCheckForApp()) SWIG_fail;
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13710 wxColourData *result;
13711 PyObject * obj0 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13718 if (SWIG_arg_fail(1)) SWIG_fail;
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 {
13722 wxColourData &_result_ref = (arg1)->GetColourData();
13723 result = (wxColourData *) &_result_ref;
13724 }
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13730 return resultobj;
13731 fail:
13732 return NULL;
13733 }
13734
13735
13736 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13737 PyObject *obj;
13738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13739 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13740 Py_INCREF(obj);
13741 return Py_BuildValue((char *)"");
13742 }
13743 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13744 PyObject *resultobj;
13745 wxWindow *arg1 = (wxWindow *) 0 ;
13746 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13747 wxString *arg2 = (wxString *) &arg2_defvalue ;
13748 wxString const &arg3_defvalue = wxPyEmptyString ;
13749 wxString *arg3 = (wxString *) &arg3_defvalue ;
13750 long arg4 = (long) 0 ;
13751 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13752 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13753 wxSize const &arg6_defvalue = wxDefaultSize ;
13754 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13755 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13756 wxString *arg7 = (wxString *) &arg7_defvalue ;
13757 wxDirDialog *result;
13758 bool temp2 = false ;
13759 bool temp3 = false ;
13760 wxPoint temp5 ;
13761 wxSize temp6 ;
13762 bool temp7 = false ;
13763 PyObject * obj0 = 0 ;
13764 PyObject * obj1 = 0 ;
13765 PyObject * obj2 = 0 ;
13766 PyObject * obj3 = 0 ;
13767 PyObject * obj4 = 0 ;
13768 PyObject * obj5 = 0 ;
13769 PyObject * obj6 = 0 ;
13770 char *kwnames[] = {
13771 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13772 };
13773
13774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13776 if (SWIG_arg_fail(1)) SWIG_fail;
13777 if (obj1) {
13778 {
13779 arg2 = wxString_in_helper(obj1);
13780 if (arg2 == NULL) SWIG_fail;
13781 temp2 = true;
13782 }
13783 }
13784 if (obj2) {
13785 {
13786 arg3 = wxString_in_helper(obj2);
13787 if (arg3 == NULL) SWIG_fail;
13788 temp3 = true;
13789 }
13790 }
13791 if (obj3) {
13792 {
13793 arg4 = (long)(SWIG_As_long(obj3));
13794 if (SWIG_arg_fail(4)) SWIG_fail;
13795 }
13796 }
13797 if (obj4) {
13798 {
13799 arg5 = &temp5;
13800 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13801 }
13802 }
13803 if (obj5) {
13804 {
13805 arg6 = &temp6;
13806 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13807 }
13808 }
13809 if (obj6) {
13810 {
13811 arg7 = wxString_in_helper(obj6);
13812 if (arg7 == NULL) SWIG_fail;
13813 temp7 = true;
13814 }
13815 }
13816 {
13817 if (!wxPyCheckForApp()) SWIG_fail;
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13820
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13825 {
13826 if (temp2)
13827 delete arg2;
13828 }
13829 {
13830 if (temp3)
13831 delete arg3;
13832 }
13833 {
13834 if (temp7)
13835 delete arg7;
13836 }
13837 return resultobj;
13838 fail:
13839 {
13840 if (temp2)
13841 delete arg2;
13842 }
13843 {
13844 if (temp3)
13845 delete arg3;
13846 }
13847 {
13848 if (temp7)
13849 delete arg7;
13850 }
13851 return NULL;
13852 }
13853
13854
13855 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13856 PyObject *resultobj;
13857 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13858 wxString result;
13859 PyObject * obj0 = 0 ;
13860 char *kwnames[] = {
13861 (char *) "self", NULL
13862 };
13863
13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13866 if (SWIG_arg_fail(1)) SWIG_fail;
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 result = (arg1)->GetPath();
13870
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 {
13875 #if wxUSE_UNICODE
13876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13877 #else
13878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13879 #endif
13880 }
13881 return resultobj;
13882 fail:
13883 return NULL;
13884 }
13885
13886
13887 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj;
13889 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13890 wxString result;
13891 PyObject * obj0 = 0 ;
13892 char *kwnames[] = {
13893 (char *) "self", NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13898 if (SWIG_arg_fail(1)) SWIG_fail;
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 result = (arg1)->GetMessage();
13902
13903 wxPyEndAllowThreads(__tstate);
13904 if (PyErr_Occurred()) SWIG_fail;
13905 }
13906 {
13907 #if wxUSE_UNICODE
13908 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13909 #else
13910 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13911 #endif
13912 }
13913 return resultobj;
13914 fail:
13915 return NULL;
13916 }
13917
13918
13919 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj;
13921 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13922 long result;
13923 PyObject * obj0 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "self", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13930 if (SWIG_arg_fail(1)) SWIG_fail;
13931 {
13932 PyThreadState* __tstate = wxPyBeginAllowThreads();
13933 result = (long)(arg1)->GetStyle();
13934
13935 wxPyEndAllowThreads(__tstate);
13936 if (PyErr_Occurred()) SWIG_fail;
13937 }
13938 {
13939 resultobj = SWIG_From_long((long)(result));
13940 }
13941 return resultobj;
13942 fail:
13943 return NULL;
13944 }
13945
13946
13947 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13948 PyObject *resultobj;
13949 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13950 wxString *arg2 = 0 ;
13951 bool temp2 = false ;
13952 PyObject * obj0 = 0 ;
13953 PyObject * obj1 = 0 ;
13954 char *kwnames[] = {
13955 (char *) "self",(char *) "message", NULL
13956 };
13957
13958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13960 if (SWIG_arg_fail(1)) SWIG_fail;
13961 {
13962 arg2 = wxString_in_helper(obj1);
13963 if (arg2 == NULL) SWIG_fail;
13964 temp2 = true;
13965 }
13966 {
13967 PyThreadState* __tstate = wxPyBeginAllowThreads();
13968 (arg1)->SetMessage((wxString const &)*arg2);
13969
13970 wxPyEndAllowThreads(__tstate);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 Py_INCREF(Py_None); resultobj = Py_None;
13974 {
13975 if (temp2)
13976 delete arg2;
13977 }
13978 return resultobj;
13979 fail:
13980 {
13981 if (temp2)
13982 delete arg2;
13983 }
13984 return NULL;
13985 }
13986
13987
13988 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj;
13990 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13991 wxString *arg2 = 0 ;
13992 bool temp2 = false ;
13993 PyObject * obj0 = 0 ;
13994 PyObject * obj1 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self",(char *) "path", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14001 if (SWIG_arg_fail(1)) SWIG_fail;
14002 {
14003 arg2 = wxString_in_helper(obj1);
14004 if (arg2 == NULL) SWIG_fail;
14005 temp2 = true;
14006 }
14007 {
14008 PyThreadState* __tstate = wxPyBeginAllowThreads();
14009 (arg1)->SetPath((wxString const &)*arg2);
14010
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
14014 Py_INCREF(Py_None); resultobj = Py_None;
14015 {
14016 if (temp2)
14017 delete arg2;
14018 }
14019 return resultobj;
14020 fail:
14021 {
14022 if (temp2)
14023 delete arg2;
14024 }
14025 return NULL;
14026 }
14027
14028
14029 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
14030 PyObject *obj;
14031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14032 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14033 Py_INCREF(obj);
14034 return Py_BuildValue((char *)"");
14035 }
14036 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14037 PyObject *resultobj;
14038 wxWindow *arg1 = (wxWindow *) 0 ;
14039 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14040 wxString *arg2 = (wxString *) &arg2_defvalue ;
14041 wxString const &arg3_defvalue = wxPyEmptyString ;
14042 wxString *arg3 = (wxString *) &arg3_defvalue ;
14043 wxString const &arg4_defvalue = wxPyEmptyString ;
14044 wxString *arg4 = (wxString *) &arg4_defvalue ;
14045 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14046 wxString *arg5 = (wxString *) &arg5_defvalue ;
14047 long arg6 = (long) 0 ;
14048 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14049 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14050 wxFileDialog *result;
14051 bool temp2 = false ;
14052 bool temp3 = false ;
14053 bool temp4 = false ;
14054 bool temp5 = false ;
14055 wxPoint temp7 ;
14056 PyObject * obj0 = 0 ;
14057 PyObject * obj1 = 0 ;
14058 PyObject * obj2 = 0 ;
14059 PyObject * obj3 = 0 ;
14060 PyObject * obj4 = 0 ;
14061 PyObject * obj5 = 0 ;
14062 PyObject * obj6 = 0 ;
14063 char *kwnames[] = {
14064 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14065 };
14066
14067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14069 if (SWIG_arg_fail(1)) SWIG_fail;
14070 if (obj1) {
14071 {
14072 arg2 = wxString_in_helper(obj1);
14073 if (arg2 == NULL) SWIG_fail;
14074 temp2 = true;
14075 }
14076 }
14077 if (obj2) {
14078 {
14079 arg3 = wxString_in_helper(obj2);
14080 if (arg3 == NULL) SWIG_fail;
14081 temp3 = true;
14082 }
14083 }
14084 if (obj3) {
14085 {
14086 arg4 = wxString_in_helper(obj3);
14087 if (arg4 == NULL) SWIG_fail;
14088 temp4 = true;
14089 }
14090 }
14091 if (obj4) {
14092 {
14093 arg5 = wxString_in_helper(obj4);
14094 if (arg5 == NULL) SWIG_fail;
14095 temp5 = true;
14096 }
14097 }
14098 if (obj5) {
14099 {
14100 arg6 = (long)(SWIG_As_long(obj5));
14101 if (SWIG_arg_fail(6)) SWIG_fail;
14102 }
14103 }
14104 if (obj6) {
14105 {
14106 arg7 = &temp7;
14107 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14108 }
14109 }
14110 {
14111 if (!wxPyCheckForApp()) SWIG_fail;
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14119 {
14120 if (temp2)
14121 delete arg2;
14122 }
14123 {
14124 if (temp3)
14125 delete arg3;
14126 }
14127 {
14128 if (temp4)
14129 delete arg4;
14130 }
14131 {
14132 if (temp5)
14133 delete arg5;
14134 }
14135 return resultobj;
14136 fail:
14137 {
14138 if (temp2)
14139 delete arg2;
14140 }
14141 {
14142 if (temp3)
14143 delete arg3;
14144 }
14145 {
14146 if (temp4)
14147 delete arg4;
14148 }
14149 {
14150 if (temp5)
14151 delete arg5;
14152 }
14153 return NULL;
14154 }
14155
14156
14157 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14158 PyObject *resultobj;
14159 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14160 wxString *arg2 = 0 ;
14161 bool temp2 = false ;
14162 PyObject * obj0 = 0 ;
14163 PyObject * obj1 = 0 ;
14164 char *kwnames[] = {
14165 (char *) "self",(char *) "message", NULL
14166 };
14167
14168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14170 if (SWIG_arg_fail(1)) SWIG_fail;
14171 {
14172 arg2 = wxString_in_helper(obj1);
14173 if (arg2 == NULL) SWIG_fail;
14174 temp2 = true;
14175 }
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 (arg1)->SetMessage((wxString const &)*arg2);
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 Py_INCREF(Py_None); resultobj = Py_None;
14184 {
14185 if (temp2)
14186 delete arg2;
14187 }
14188 return resultobj;
14189 fail:
14190 {
14191 if (temp2)
14192 delete arg2;
14193 }
14194 return NULL;
14195 }
14196
14197
14198 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14199 PyObject *resultobj;
14200 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14201 wxString *arg2 = 0 ;
14202 bool temp2 = false ;
14203 PyObject * obj0 = 0 ;
14204 PyObject * obj1 = 0 ;
14205 char *kwnames[] = {
14206 (char *) "self",(char *) "path", NULL
14207 };
14208
14209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14211 if (SWIG_arg_fail(1)) SWIG_fail;
14212 {
14213 arg2 = wxString_in_helper(obj1);
14214 if (arg2 == NULL) SWIG_fail;
14215 temp2 = true;
14216 }
14217 {
14218 PyThreadState* __tstate = wxPyBeginAllowThreads();
14219 (arg1)->SetPath((wxString const &)*arg2);
14220
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 Py_INCREF(Py_None); resultobj = Py_None;
14225 {
14226 if (temp2)
14227 delete arg2;
14228 }
14229 return resultobj;
14230 fail:
14231 {
14232 if (temp2)
14233 delete arg2;
14234 }
14235 return NULL;
14236 }
14237
14238
14239 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14240 PyObject *resultobj;
14241 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14242 wxString *arg2 = 0 ;
14243 bool temp2 = false ;
14244 PyObject * obj0 = 0 ;
14245 PyObject * obj1 = 0 ;
14246 char *kwnames[] = {
14247 (char *) "self",(char *) "dir", NULL
14248 };
14249
14250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14252 if (SWIG_arg_fail(1)) SWIG_fail;
14253 {
14254 arg2 = wxString_in_helper(obj1);
14255 if (arg2 == NULL) SWIG_fail;
14256 temp2 = true;
14257 }
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 (arg1)->SetDirectory((wxString const &)*arg2);
14261
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 Py_INCREF(Py_None); resultobj = Py_None;
14266 {
14267 if (temp2)
14268 delete arg2;
14269 }
14270 return resultobj;
14271 fail:
14272 {
14273 if (temp2)
14274 delete arg2;
14275 }
14276 return NULL;
14277 }
14278
14279
14280 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14281 PyObject *resultobj;
14282 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14283 wxString *arg2 = 0 ;
14284 bool temp2 = false ;
14285 PyObject * obj0 = 0 ;
14286 PyObject * obj1 = 0 ;
14287 char *kwnames[] = {
14288 (char *) "self",(char *) "name", NULL
14289 };
14290
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14293 if (SWIG_arg_fail(1)) SWIG_fail;
14294 {
14295 arg2 = wxString_in_helper(obj1);
14296 if (arg2 == NULL) SWIG_fail;
14297 temp2 = true;
14298 }
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 (arg1)->SetFilename((wxString const &)*arg2);
14302
14303 wxPyEndAllowThreads(__tstate);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 Py_INCREF(Py_None); resultobj = Py_None;
14307 {
14308 if (temp2)
14309 delete arg2;
14310 }
14311 return resultobj;
14312 fail:
14313 {
14314 if (temp2)
14315 delete arg2;
14316 }
14317 return NULL;
14318 }
14319
14320
14321 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14322 PyObject *resultobj;
14323 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14324 wxString *arg2 = 0 ;
14325 bool temp2 = false ;
14326 PyObject * obj0 = 0 ;
14327 PyObject * obj1 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "self",(char *) "wildCard", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",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 = wxString_in_helper(obj1);
14337 if (arg2 == NULL) SWIG_fail;
14338 temp2 = true;
14339 }
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 (arg1)->SetWildcard((wxString const &)*arg2);
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 Py_INCREF(Py_None); resultobj = Py_None;
14348 {
14349 if (temp2)
14350 delete arg2;
14351 }
14352 return resultobj;
14353 fail:
14354 {
14355 if (temp2)
14356 delete arg2;
14357 }
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14365 long arg2 ;
14366 PyObject * obj0 = 0 ;
14367 PyObject * obj1 = 0 ;
14368 char *kwnames[] = {
14369 (char *) "self",(char *) "style", NULL
14370 };
14371
14372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14374 if (SWIG_arg_fail(1)) SWIG_fail;
14375 {
14376 arg2 = (long)(SWIG_As_long(obj1));
14377 if (SWIG_arg_fail(2)) SWIG_fail;
14378 }
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 (arg1)->SetStyle(arg2);
14382
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 Py_INCREF(Py_None); resultobj = Py_None;
14387 return resultobj;
14388 fail:
14389 return NULL;
14390 }
14391
14392
14393 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14394 PyObject *resultobj;
14395 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14396 int arg2 ;
14397 PyObject * obj0 = 0 ;
14398 PyObject * obj1 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self",(char *) "filterIndex", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14405 if (SWIG_arg_fail(1)) SWIG_fail;
14406 {
14407 arg2 = (int)(SWIG_As_int(obj1));
14408 if (SWIG_arg_fail(2)) SWIG_fail;
14409 }
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 (arg1)->SetFilterIndex(arg2);
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 Py_INCREF(Py_None); resultobj = Py_None;
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj;
14426 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14427 wxString result;
14428 PyObject * obj0 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14435 if (SWIG_arg_fail(1)) SWIG_fail;
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 result = ((wxFileDialog const *)arg1)->GetMessage();
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 {
14444 #if wxUSE_UNICODE
14445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14446 #else
14447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14448 #endif
14449 }
14450 return resultobj;
14451 fail:
14452 return NULL;
14453 }
14454
14455
14456 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14457 PyObject *resultobj;
14458 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14459 wxString result;
14460 PyObject * obj0 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14467 if (SWIG_arg_fail(1)) SWIG_fail;
14468 {
14469 PyThreadState* __tstate = wxPyBeginAllowThreads();
14470 result = ((wxFileDialog const *)arg1)->GetPath();
14471
14472 wxPyEndAllowThreads(__tstate);
14473 if (PyErr_Occurred()) SWIG_fail;
14474 }
14475 {
14476 #if wxUSE_UNICODE
14477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14478 #else
14479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14480 #endif
14481 }
14482 return resultobj;
14483 fail:
14484 return NULL;
14485 }
14486
14487
14488 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14489 PyObject *resultobj;
14490 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14491 wxString result;
14492 PyObject * obj0 = 0 ;
14493 char *kwnames[] = {
14494 (char *) "self", NULL
14495 };
14496
14497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14499 if (SWIG_arg_fail(1)) SWIG_fail;
14500 {
14501 PyThreadState* __tstate = wxPyBeginAllowThreads();
14502 result = ((wxFileDialog const *)arg1)->GetDirectory();
14503
14504 wxPyEndAllowThreads(__tstate);
14505 if (PyErr_Occurred()) SWIG_fail;
14506 }
14507 {
14508 #if wxUSE_UNICODE
14509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14510 #else
14511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14512 #endif
14513 }
14514 return resultobj;
14515 fail:
14516 return NULL;
14517 }
14518
14519
14520 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14521 PyObject *resultobj;
14522 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14523 wxString result;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14531 if (SWIG_arg_fail(1)) SWIG_fail;
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 result = ((wxFileDialog const *)arg1)->GetFilename();
14535
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 {
14540 #if wxUSE_UNICODE
14541 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14542 #else
14543 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14544 #endif
14545 }
14546 return resultobj;
14547 fail:
14548 return NULL;
14549 }
14550
14551
14552 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14553 PyObject *resultobj;
14554 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14555 wxString result;
14556 PyObject * obj0 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail;
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 result = ((wxFileDialog const *)arg1)->GetWildcard();
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 {
14572 #if wxUSE_UNICODE
14573 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14574 #else
14575 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14576 #endif
14577 }
14578 return resultobj;
14579 fail:
14580 return NULL;
14581 }
14582
14583
14584 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14585 PyObject *resultobj;
14586 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14587 long result;
14588 PyObject * obj0 = 0 ;
14589 char *kwnames[] = {
14590 (char *) "self", NULL
14591 };
14592
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14595 if (SWIG_arg_fail(1)) SWIG_fail;
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14599
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 {
14604 resultobj = SWIG_From_long((long)(result));
14605 }
14606 return resultobj;
14607 fail:
14608 return NULL;
14609 }
14610
14611
14612 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14613 PyObject *resultobj;
14614 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14615 int result;
14616 PyObject * obj0 = 0 ;
14617 char *kwnames[] = {
14618 (char *) "self", NULL
14619 };
14620
14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14623 if (SWIG_arg_fail(1)) SWIG_fail;
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14627
14628 wxPyEndAllowThreads(__tstate);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 {
14632 resultobj = SWIG_From_int((int)(result));
14633 }
14634 return resultobj;
14635 fail:
14636 return NULL;
14637 }
14638
14639
14640 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj;
14642 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14643 PyObject *result;
14644 PyObject * obj0 = 0 ;
14645 char *kwnames[] = {
14646 (char *) "self", NULL
14647 };
14648
14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14651 if (SWIG_arg_fail(1)) SWIG_fail;
14652 {
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14655
14656 wxPyEndAllowThreads(__tstate);
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
14659 resultobj = result;
14660 return resultobj;
14661 fail:
14662 return NULL;
14663 }
14664
14665
14666 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14667 PyObject *resultobj;
14668 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14669 PyObject *result;
14670 PyObject * obj0 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "self", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14677 if (SWIG_arg_fail(1)) SWIG_fail;
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 resultobj = result;
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14693 PyObject *obj;
14694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14695 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14696 Py_INCREF(obj);
14697 return Py_BuildValue((char *)"");
14698 }
14699 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxWindow *arg1 = (wxWindow *) 0 ;
14702 wxString *arg2 = 0 ;
14703 wxString *arg3 = 0 ;
14704 int arg4 = (int) 0 ;
14705 wxString *arg5 = (wxString *) NULL ;
14706 long arg6 = (long) wxCHOICEDLG_STYLE ;
14707 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14708 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14709 wxMultiChoiceDialog *result;
14710 bool temp2 = false ;
14711 bool temp3 = false ;
14712 wxPoint temp7 ;
14713 PyObject * obj0 = 0 ;
14714 PyObject * obj1 = 0 ;
14715 PyObject * obj2 = 0 ;
14716 PyObject * obj3 = 0 ;
14717 PyObject * obj4 = 0 ;
14718 PyObject * obj5 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14725 if (SWIG_arg_fail(1)) SWIG_fail;
14726 {
14727 arg2 = wxString_in_helper(obj1);
14728 if (arg2 == NULL) SWIG_fail;
14729 temp2 = true;
14730 }
14731 {
14732 arg3 = wxString_in_helper(obj2);
14733 if (arg3 == NULL) SWIG_fail;
14734 temp3 = true;
14735 }
14736 if (obj3) {
14737 {
14738 arg4 = PyList_Size(obj3);
14739 arg5 = wxString_LIST_helper(obj3);
14740 if (arg5 == NULL) SWIG_fail;
14741 }
14742 }
14743 if (obj4) {
14744 {
14745 arg6 = (long)(SWIG_As_long(obj4));
14746 if (SWIG_arg_fail(6)) SWIG_fail;
14747 }
14748 }
14749 if (obj5) {
14750 {
14751 arg7 = &temp7;
14752 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14753 }
14754 }
14755 {
14756 if (!wxPyCheckForApp()) SWIG_fail;
14757 PyThreadState* __tstate = wxPyBeginAllowThreads();
14758 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14759
14760 wxPyEndAllowThreads(__tstate);
14761 if (PyErr_Occurred()) SWIG_fail;
14762 }
14763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14764 {
14765 if (temp2)
14766 delete arg2;
14767 }
14768 {
14769 if (temp3)
14770 delete arg3;
14771 }
14772 {
14773 if (arg5) delete [] arg5;
14774 }
14775 return resultobj;
14776 fail:
14777 {
14778 if (temp2)
14779 delete arg2;
14780 }
14781 {
14782 if (temp3)
14783 delete arg3;
14784 }
14785 {
14786 if (arg5) delete [] arg5;
14787 }
14788 return NULL;
14789 }
14790
14791
14792 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14795 wxArrayInt *arg2 = 0 ;
14796 bool temp2 = false ;
14797 PyObject * obj0 = 0 ;
14798 PyObject * obj1 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "self",(char *) "selections", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14805 if (SWIG_arg_fail(1)) SWIG_fail;
14806 {
14807 if (! PySequence_Check(obj1)) {
14808 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14809 SWIG_fail;
14810 }
14811 arg2 = new wxArrayInt;
14812 temp2 = true;
14813 int i, len=PySequence_Length(obj1);
14814 for (i=0; i<len; i++) {
14815 PyObject* item = PySequence_GetItem(obj1, i);
14816 PyObject* number = PyNumber_Int(item);
14817 arg2->Add(PyInt_AS_LONG(number));
14818 Py_DECREF(item);
14819 Py_DECREF(number);
14820 }
14821 }
14822 {
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14825
14826 wxPyEndAllowThreads(__tstate);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 Py_INCREF(Py_None); resultobj = Py_None;
14830 {
14831 if (temp2) delete arg2;
14832 }
14833 return resultobj;
14834 fail:
14835 {
14836 if (temp2) delete arg2;
14837 }
14838 return NULL;
14839 }
14840
14841
14842 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj;
14844 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14845 PyObject *result;
14846 PyObject * obj0 = 0 ;
14847 char *kwnames[] = {
14848 (char *) "self", NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14853 if (SWIG_arg_fail(1)) SWIG_fail;
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14857
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 resultobj = result;
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14869 PyObject *obj;
14870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14872 Py_INCREF(obj);
14873 return Py_BuildValue((char *)"");
14874 }
14875 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj;
14877 wxWindow *arg1 = (wxWindow *) 0 ;
14878 wxString *arg2 = 0 ;
14879 wxString *arg3 = 0 ;
14880 int arg4 ;
14881 wxString *arg5 = (wxString *) 0 ;
14882 long arg6 = (long) wxCHOICEDLG_STYLE ;
14883 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14884 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14885 wxSingleChoiceDialog *result;
14886 bool temp2 = false ;
14887 bool temp3 = false ;
14888 wxPoint temp7 ;
14889 PyObject * obj0 = 0 ;
14890 PyObject * obj1 = 0 ;
14891 PyObject * obj2 = 0 ;
14892 PyObject * obj3 = 0 ;
14893 PyObject * obj4 = 0 ;
14894 PyObject * obj5 = 0 ;
14895 char *kwnames[] = {
14896 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14897 };
14898
14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14901 if (SWIG_arg_fail(1)) SWIG_fail;
14902 {
14903 arg2 = wxString_in_helper(obj1);
14904 if (arg2 == NULL) SWIG_fail;
14905 temp2 = true;
14906 }
14907 {
14908 arg3 = wxString_in_helper(obj2);
14909 if (arg3 == NULL) SWIG_fail;
14910 temp3 = true;
14911 }
14912 {
14913 arg4 = PyList_Size(obj3);
14914 arg5 = wxString_LIST_helper(obj3);
14915 if (arg5 == NULL) SWIG_fail;
14916 }
14917 if (obj4) {
14918 {
14919 arg6 = (long)(SWIG_As_long(obj4));
14920 if (SWIG_arg_fail(6)) SWIG_fail;
14921 }
14922 }
14923 if (obj5) {
14924 {
14925 arg7 = &temp7;
14926 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14927 }
14928 }
14929 {
14930 if (!wxPyCheckForApp()) SWIG_fail;
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14933
14934 wxPyEndAllowThreads(__tstate);
14935 if (PyErr_Occurred()) SWIG_fail;
14936 }
14937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14938 {
14939 if (temp2)
14940 delete arg2;
14941 }
14942 {
14943 if (temp3)
14944 delete arg3;
14945 }
14946 {
14947 if (arg5) delete [] arg5;
14948 }
14949 return resultobj;
14950 fail:
14951 {
14952 if (temp2)
14953 delete arg2;
14954 }
14955 {
14956 if (temp3)
14957 delete arg3;
14958 }
14959 {
14960 if (arg5) delete [] arg5;
14961 }
14962 return NULL;
14963 }
14964
14965
14966 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14967 PyObject *resultobj;
14968 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14969 int result;
14970 PyObject * obj0 = 0 ;
14971 char *kwnames[] = {
14972 (char *) "self", NULL
14973 };
14974
14975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
14976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14977 if (SWIG_arg_fail(1)) SWIG_fail;
14978 {
14979 PyThreadState* __tstate = wxPyBeginAllowThreads();
14980 result = (int)(arg1)->GetSelection();
14981
14982 wxPyEndAllowThreads(__tstate);
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 {
14986 resultobj = SWIG_From_int((int)(result));
14987 }
14988 return resultobj;
14989 fail:
14990 return NULL;
14991 }
14992
14993
14994 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14995 PyObject *resultobj;
14996 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14997 wxString result;
14998 PyObject * obj0 = 0 ;
14999 char *kwnames[] = {
15000 (char *) "self", NULL
15001 };
15002
15003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
15004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15005 if (SWIG_arg_fail(1)) SWIG_fail;
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 result = (arg1)->GetStringSelection();
15009
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 {
15014 #if wxUSE_UNICODE
15015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15016 #else
15017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15018 #endif
15019 }
15020 return resultobj;
15021 fail:
15022 return NULL;
15023 }
15024
15025
15026 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15027 PyObject *resultobj;
15028 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15029 int arg2 ;
15030 PyObject * obj0 = 0 ;
15031 PyObject * obj1 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self",(char *) "sel", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15038 if (SWIG_arg_fail(1)) SWIG_fail;
15039 {
15040 arg2 = (int)(SWIG_As_int(obj1));
15041 if (SWIG_arg_fail(2)) SWIG_fail;
15042 }
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 (arg1)->SetSelection(arg2);
15046
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 Py_INCREF(Py_None); resultobj = Py_None;
15051 return resultobj;
15052 fail:
15053 return NULL;
15054 }
15055
15056
15057 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
15058 PyObject *obj;
15059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15060 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15061 Py_INCREF(obj);
15062 return Py_BuildValue((char *)"");
15063 }
15064 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15065 PyObject *resultobj;
15066 wxWindow *arg1 = (wxWindow *) 0 ;
15067 wxString *arg2 = 0 ;
15068 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15069 wxString *arg3 = (wxString *) &arg3_defvalue ;
15070 wxString const &arg4_defvalue = wxPyEmptyString ;
15071 wxString *arg4 = (wxString *) &arg4_defvalue ;
15072 long arg5 = (long) wxTextEntryDialogStyle ;
15073 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15074 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15075 wxTextEntryDialog *result;
15076 bool temp2 = false ;
15077 bool temp3 = false ;
15078 bool temp4 = false ;
15079 wxPoint temp6 ;
15080 PyObject * obj0 = 0 ;
15081 PyObject * obj1 = 0 ;
15082 PyObject * obj2 = 0 ;
15083 PyObject * obj3 = 0 ;
15084 PyObject * obj4 = 0 ;
15085 PyObject * obj5 = 0 ;
15086 char *kwnames[] = {
15087 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail;
15093 {
15094 arg2 = wxString_in_helper(obj1);
15095 if (arg2 == NULL) SWIG_fail;
15096 temp2 = true;
15097 }
15098 if (obj2) {
15099 {
15100 arg3 = wxString_in_helper(obj2);
15101 if (arg3 == NULL) SWIG_fail;
15102 temp3 = true;
15103 }
15104 }
15105 if (obj3) {
15106 {
15107 arg4 = wxString_in_helper(obj3);
15108 if (arg4 == NULL) SWIG_fail;
15109 temp4 = true;
15110 }
15111 }
15112 if (obj4) {
15113 {
15114 arg5 = (long)(SWIG_As_long(obj4));
15115 if (SWIG_arg_fail(5)) SWIG_fail;
15116 }
15117 }
15118 if (obj5) {
15119 {
15120 arg6 = &temp6;
15121 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15122 }
15123 }
15124 {
15125 if (!wxPyCheckForApp()) SWIG_fail;
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15128
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15133 {
15134 if (temp2)
15135 delete arg2;
15136 }
15137 {
15138 if (temp3)
15139 delete arg3;
15140 }
15141 {
15142 if (temp4)
15143 delete arg4;
15144 }
15145 return resultobj;
15146 fail:
15147 {
15148 if (temp2)
15149 delete arg2;
15150 }
15151 {
15152 if (temp3)
15153 delete arg3;
15154 }
15155 {
15156 if (temp4)
15157 delete arg4;
15158 }
15159 return NULL;
15160 }
15161
15162
15163 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15166 wxString result;
15167 PyObject * obj0 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15174 if (SWIG_arg_fail(1)) SWIG_fail;
15175 {
15176 PyThreadState* __tstate = wxPyBeginAllowThreads();
15177 result = (arg1)->GetValue();
15178
15179 wxPyEndAllowThreads(__tstate);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 }
15182 {
15183 #if wxUSE_UNICODE
15184 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15185 #else
15186 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15187 #endif
15188 }
15189 return resultobj;
15190 fail:
15191 return NULL;
15192 }
15193
15194
15195 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj;
15197 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15198 wxString *arg2 = 0 ;
15199 bool temp2 = false ;
15200 PyObject * obj0 = 0 ;
15201 PyObject * obj1 = 0 ;
15202 char *kwnames[] = {
15203 (char *) "self",(char *) "value", NULL
15204 };
15205
15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15208 if (SWIG_arg_fail(1)) SWIG_fail;
15209 {
15210 arg2 = wxString_in_helper(obj1);
15211 if (arg2 == NULL) SWIG_fail;
15212 temp2 = true;
15213 }
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 (arg1)->SetValue((wxString const &)*arg2);
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 Py_INCREF(Py_None); resultobj = Py_None;
15222 {
15223 if (temp2)
15224 delete arg2;
15225 }
15226 return resultobj;
15227 fail:
15228 {
15229 if (temp2)
15230 delete arg2;
15231 }
15232 return NULL;
15233 }
15234
15235
15236 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15237 PyObject *obj;
15238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15239 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15240 Py_INCREF(obj);
15241 return Py_BuildValue((char *)"");
15242 }
15243 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15244 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15245 return 1;
15246 }
15247
15248
15249 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15250 PyObject *pyobj;
15251
15252 {
15253 #if wxUSE_UNICODE
15254 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15255 #else
15256 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15257 #endif
15258 }
15259 return pyobj;
15260 }
15261
15262
15263 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxWindow *arg1 = (wxWindow *) 0 ;
15266 wxString *arg2 = 0 ;
15267 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15268 wxString *arg3 = (wxString *) &arg3_defvalue ;
15269 wxString const &arg4_defvalue = wxPyEmptyString ;
15270 wxString *arg4 = (wxString *) &arg4_defvalue ;
15271 long arg5 = (long) wxTextEntryDialogStyle ;
15272 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15273 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15274 wxPasswordEntryDialog *result;
15275 bool temp2 = false ;
15276 bool temp3 = false ;
15277 bool temp4 = false ;
15278 wxPoint temp6 ;
15279 PyObject * obj0 = 0 ;
15280 PyObject * obj1 = 0 ;
15281 PyObject * obj2 = 0 ;
15282 PyObject * obj3 = 0 ;
15283 PyObject * obj4 = 0 ;
15284 PyObject * obj5 = 0 ;
15285 char *kwnames[] = {
15286 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15287 };
15288
15289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15291 if (SWIG_arg_fail(1)) SWIG_fail;
15292 {
15293 arg2 = wxString_in_helper(obj1);
15294 if (arg2 == NULL) SWIG_fail;
15295 temp2 = true;
15296 }
15297 if (obj2) {
15298 {
15299 arg3 = wxString_in_helper(obj2);
15300 if (arg3 == NULL) SWIG_fail;
15301 temp3 = true;
15302 }
15303 }
15304 if (obj3) {
15305 {
15306 arg4 = wxString_in_helper(obj3);
15307 if (arg4 == NULL) SWIG_fail;
15308 temp4 = true;
15309 }
15310 }
15311 if (obj4) {
15312 {
15313 arg5 = (long)(SWIG_As_long(obj4));
15314 if (SWIG_arg_fail(5)) SWIG_fail;
15315 }
15316 }
15317 if (obj5) {
15318 {
15319 arg6 = &temp6;
15320 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15321 }
15322 }
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15331 {
15332 if (temp2)
15333 delete arg2;
15334 }
15335 {
15336 if (temp3)
15337 delete arg3;
15338 }
15339 {
15340 if (temp4)
15341 delete arg4;
15342 }
15343 return resultobj;
15344 fail:
15345 {
15346 if (temp2)
15347 delete arg2;
15348 }
15349 {
15350 if (temp3)
15351 delete arg3;
15352 }
15353 {
15354 if (temp4)
15355 delete arg4;
15356 }
15357 return NULL;
15358 }
15359
15360
15361 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15362 PyObject *obj;
15363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15364 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15365 Py_INCREF(obj);
15366 return Py_BuildValue((char *)"");
15367 }
15368 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15369 PyObject *resultobj;
15370 wxFontData *result;
15371 char *kwnames[] = {
15372 NULL
15373 };
15374
15375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 result = (wxFontData *)new wxFontData();
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15384 return resultobj;
15385 fail:
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxFontData *arg1 = (wxFontData *) 0 ;
15393 PyObject * obj0 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15400 if (SWIG_arg_fail(1)) SWIG_fail;
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 delete arg1;
15404
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 Py_INCREF(Py_None); resultobj = Py_None;
15409 return resultobj;
15410 fail:
15411 return NULL;
15412 }
15413
15414
15415 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15416 PyObject *resultobj;
15417 wxFontData *arg1 = (wxFontData *) 0 ;
15418 bool arg2 ;
15419 PyObject * obj0 = 0 ;
15420 PyObject * obj1 = 0 ;
15421 char *kwnames[] = {
15422 (char *) "self",(char *) "enable", NULL
15423 };
15424
15425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail;
15428 {
15429 arg2 = (bool)(SWIG_As_bool(obj1));
15430 if (SWIG_arg_fail(2)) SWIG_fail;
15431 }
15432 {
15433 PyThreadState* __tstate = wxPyBeginAllowThreads();
15434 (arg1)->EnableEffects(arg2);
15435
15436 wxPyEndAllowThreads(__tstate);
15437 if (PyErr_Occurred()) SWIG_fail;
15438 }
15439 Py_INCREF(Py_None); resultobj = Py_None;
15440 return resultobj;
15441 fail:
15442 return NULL;
15443 }
15444
15445
15446 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15447 PyObject *resultobj;
15448 wxFontData *arg1 = (wxFontData *) 0 ;
15449 bool result;
15450 PyObject * obj0 = 0 ;
15451 char *kwnames[] = {
15452 (char *) "self", NULL
15453 };
15454
15455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15457 if (SWIG_arg_fail(1)) SWIG_fail;
15458 {
15459 PyThreadState* __tstate = wxPyBeginAllowThreads();
15460 result = (bool)(arg1)->GetAllowSymbols();
15461
15462 wxPyEndAllowThreads(__tstate);
15463 if (PyErr_Occurred()) SWIG_fail;
15464 }
15465 {
15466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15467 }
15468 return resultobj;
15469 fail:
15470 return NULL;
15471 }
15472
15473
15474 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj;
15476 wxFontData *arg1 = (wxFontData *) 0 ;
15477 wxColour result;
15478 PyObject * obj0 = 0 ;
15479 char *kwnames[] = {
15480 (char *) "self", NULL
15481 };
15482
15483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15485 if (SWIG_arg_fail(1)) SWIG_fail;
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 result = (arg1)->GetColour();
15489
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 {
15494 wxColour * resultptr;
15495 resultptr = new wxColour((wxColour &)(result));
15496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15497 }
15498 return resultobj;
15499 fail:
15500 return NULL;
15501 }
15502
15503
15504 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15505 PyObject *resultobj;
15506 wxFontData *arg1 = (wxFontData *) 0 ;
15507 wxFont result;
15508 PyObject * obj0 = 0 ;
15509 char *kwnames[] = {
15510 (char *) "self", NULL
15511 };
15512
15513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15515 if (SWIG_arg_fail(1)) SWIG_fail;
15516 {
15517 PyThreadState* __tstate = wxPyBeginAllowThreads();
15518 result = (arg1)->GetChosenFont();
15519
15520 wxPyEndAllowThreads(__tstate);
15521 if (PyErr_Occurred()) SWIG_fail;
15522 }
15523 {
15524 wxFont * resultptr;
15525 resultptr = new wxFont((wxFont &)(result));
15526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15527 }
15528 return resultobj;
15529 fail:
15530 return NULL;
15531 }
15532
15533
15534 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15535 PyObject *resultobj;
15536 wxFontData *arg1 = (wxFontData *) 0 ;
15537 bool result;
15538 PyObject * obj0 = 0 ;
15539 char *kwnames[] = {
15540 (char *) "self", NULL
15541 };
15542
15543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail;
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 result = (bool)(arg1)->GetEnableEffects();
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 {
15554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15555 }
15556 return resultobj;
15557 fail:
15558 return NULL;
15559 }
15560
15561
15562 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj;
15564 wxFontData *arg1 = (wxFontData *) 0 ;
15565 wxFont result;
15566 PyObject * obj0 = 0 ;
15567 char *kwnames[] = {
15568 (char *) "self", NULL
15569 };
15570
15571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail;
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 result = (arg1)->GetInitialFont();
15577
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 {
15582 wxFont * resultptr;
15583 resultptr = new wxFont((wxFont &)(result));
15584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15585 }
15586 return resultobj;
15587 fail:
15588 return NULL;
15589 }
15590
15591
15592 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 wxFontData *arg1 = (wxFontData *) 0 ;
15595 bool result;
15596 PyObject * obj0 = 0 ;
15597 char *kwnames[] = {
15598 (char *) "self", NULL
15599 };
15600
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail;
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 result = (bool)(arg1)->GetShowHelp();
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 {
15612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15613 }
15614 return resultobj;
15615 fail:
15616 return NULL;
15617 }
15618
15619
15620 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15621 PyObject *resultobj;
15622 wxFontData *arg1 = (wxFontData *) 0 ;
15623 bool arg2 ;
15624 PyObject * obj0 = 0 ;
15625 PyObject * obj1 = 0 ;
15626 char *kwnames[] = {
15627 (char *) "self",(char *) "allowSymbols", NULL
15628 };
15629
15630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15632 if (SWIG_arg_fail(1)) SWIG_fail;
15633 {
15634 arg2 = (bool)(SWIG_As_bool(obj1));
15635 if (SWIG_arg_fail(2)) SWIG_fail;
15636 }
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 (arg1)->SetAllowSymbols(arg2);
15640
15641 wxPyEndAllowThreads(__tstate);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15644 Py_INCREF(Py_None); resultobj = Py_None;
15645 return resultobj;
15646 fail:
15647 return NULL;
15648 }
15649
15650
15651 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxFontData *arg1 = (wxFontData *) 0 ;
15654 wxFont *arg2 = 0 ;
15655 PyObject * obj0 = 0 ;
15656 PyObject * obj1 = 0 ;
15657 char *kwnames[] = {
15658 (char *) "self",(char *) "font", NULL
15659 };
15660
15661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15663 if (SWIG_arg_fail(1)) SWIG_fail;
15664 {
15665 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15666 if (SWIG_arg_fail(2)) SWIG_fail;
15667 if (arg2 == NULL) {
15668 SWIG_null_ref("wxFont");
15669 }
15670 if (SWIG_arg_fail(2)) SWIG_fail;
15671 }
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 (arg1)->SetChosenFont((wxFont const &)*arg2);
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 Py_INCREF(Py_None); resultobj = Py_None;
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj;
15688 wxFontData *arg1 = (wxFontData *) 0 ;
15689 wxColour *arg2 = 0 ;
15690 wxColour temp2 ;
15691 PyObject * obj0 = 0 ;
15692 PyObject * obj1 = 0 ;
15693 char *kwnames[] = {
15694 (char *) "self",(char *) "colour", NULL
15695 };
15696
15697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15699 if (SWIG_arg_fail(1)) SWIG_fail;
15700 {
15701 arg2 = &temp2;
15702 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15703 }
15704 {
15705 PyThreadState* __tstate = wxPyBeginAllowThreads();
15706 (arg1)->SetColour((wxColour const &)*arg2);
15707
15708 wxPyEndAllowThreads(__tstate);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 Py_INCREF(Py_None); resultobj = Py_None;
15712 return resultobj;
15713 fail:
15714 return NULL;
15715 }
15716
15717
15718 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15719 PyObject *resultobj;
15720 wxFontData *arg1 = (wxFontData *) 0 ;
15721 wxFont *arg2 = 0 ;
15722 PyObject * obj0 = 0 ;
15723 PyObject * obj1 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self",(char *) "font", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15730 if (SWIG_arg_fail(1)) SWIG_fail;
15731 {
15732 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15733 if (SWIG_arg_fail(2)) SWIG_fail;
15734 if (arg2 == NULL) {
15735 SWIG_null_ref("wxFont");
15736 }
15737 if (SWIG_arg_fail(2)) SWIG_fail;
15738 }
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 (arg1)->SetInitialFont((wxFont const &)*arg2);
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 Py_INCREF(Py_None); resultobj = Py_None;
15747 return resultobj;
15748 fail:
15749 return NULL;
15750 }
15751
15752
15753 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15754 PyObject *resultobj;
15755 wxFontData *arg1 = (wxFontData *) 0 ;
15756 int arg2 ;
15757 int arg3 ;
15758 PyObject * obj0 = 0 ;
15759 PyObject * obj1 = 0 ;
15760 PyObject * obj2 = 0 ;
15761 char *kwnames[] = {
15762 (char *) "self",(char *) "min",(char *) "max", NULL
15763 };
15764
15765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15767 if (SWIG_arg_fail(1)) SWIG_fail;
15768 {
15769 arg2 = (int)(SWIG_As_int(obj1));
15770 if (SWIG_arg_fail(2)) SWIG_fail;
15771 }
15772 {
15773 arg3 = (int)(SWIG_As_int(obj2));
15774 if (SWIG_arg_fail(3)) SWIG_fail;
15775 }
15776 {
15777 PyThreadState* __tstate = wxPyBeginAllowThreads();
15778 (arg1)->SetRange(arg2,arg3);
15779
15780 wxPyEndAllowThreads(__tstate);
15781 if (PyErr_Occurred()) SWIG_fail;
15782 }
15783 Py_INCREF(Py_None); resultobj = Py_None;
15784 return resultobj;
15785 fail:
15786 return NULL;
15787 }
15788
15789
15790 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15791 PyObject *resultobj;
15792 wxFontData *arg1 = (wxFontData *) 0 ;
15793 bool arg2 ;
15794 PyObject * obj0 = 0 ;
15795 PyObject * obj1 = 0 ;
15796 char *kwnames[] = {
15797 (char *) "self",(char *) "showHelp", NULL
15798 };
15799
15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15802 if (SWIG_arg_fail(1)) SWIG_fail;
15803 {
15804 arg2 = (bool)(SWIG_As_bool(obj1));
15805 if (SWIG_arg_fail(2)) SWIG_fail;
15806 }
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 (arg1)->SetShowHelp(arg2);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 Py_INCREF(Py_None); resultobj = Py_None;
15815 return resultobj;
15816 fail:
15817 return NULL;
15818 }
15819
15820
15821 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15822 PyObject *obj;
15823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15824 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15825 Py_INCREF(obj);
15826 return Py_BuildValue((char *)"");
15827 }
15828 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15829 PyObject *resultobj;
15830 wxWindow *arg1 = (wxWindow *) 0 ;
15831 wxFontData *arg2 = 0 ;
15832 wxFontDialog *result;
15833 PyObject * obj0 = 0 ;
15834 PyObject * obj1 = 0 ;
15835 char *kwnames[] = {
15836 (char *) "parent",(char *) "data", NULL
15837 };
15838
15839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15841 if (SWIG_arg_fail(1)) SWIG_fail;
15842 {
15843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15844 if (SWIG_arg_fail(2)) SWIG_fail;
15845 if (arg2 == NULL) {
15846 SWIG_null_ref("wxFontData");
15847 }
15848 if (SWIG_arg_fail(2)) SWIG_fail;
15849 }
15850 {
15851 if (!wxPyCheckForApp()) SWIG_fail;
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15854
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15859 return resultobj;
15860 fail:
15861 return NULL;
15862 }
15863
15864
15865 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15868 wxFontData *result;
15869 PyObject * obj0 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "self", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15876 if (SWIG_arg_fail(1)) SWIG_fail;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 {
15880 wxFontData &_result_ref = (arg1)->GetFontData();
15881 result = (wxFontData *) &_result_ref;
15882 }
15883
15884 wxPyEndAllowThreads(__tstate);
15885 if (PyErr_Occurred()) SWIG_fail;
15886 }
15887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15888 return resultobj;
15889 fail:
15890 return NULL;
15891 }
15892
15893
15894 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15895 PyObject *obj;
15896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15897 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15898 Py_INCREF(obj);
15899 return Py_BuildValue((char *)"");
15900 }
15901 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxWindow *arg1 = (wxWindow *) 0 ;
15904 wxString *arg2 = 0 ;
15905 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15906 wxString *arg3 = (wxString *) &arg3_defvalue ;
15907 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15908 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15909 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15910 wxMessageDialog *result;
15911 bool temp2 = false ;
15912 bool temp3 = false ;
15913 wxPoint temp5 ;
15914 PyObject * obj0 = 0 ;
15915 PyObject * obj1 = 0 ;
15916 PyObject * obj2 = 0 ;
15917 PyObject * obj3 = 0 ;
15918 PyObject * obj4 = 0 ;
15919 char *kwnames[] = {
15920 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15921 };
15922
15923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15925 if (SWIG_arg_fail(1)) SWIG_fail;
15926 {
15927 arg2 = wxString_in_helper(obj1);
15928 if (arg2 == NULL) SWIG_fail;
15929 temp2 = true;
15930 }
15931 if (obj2) {
15932 {
15933 arg3 = wxString_in_helper(obj2);
15934 if (arg3 == NULL) SWIG_fail;
15935 temp3 = true;
15936 }
15937 }
15938 if (obj3) {
15939 {
15940 arg4 = (long)(SWIG_As_long(obj3));
15941 if (SWIG_arg_fail(4)) SWIG_fail;
15942 }
15943 }
15944 if (obj4) {
15945 {
15946 arg5 = &temp5;
15947 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15948 }
15949 }
15950 {
15951 if (!wxPyCheckForApp()) SWIG_fail;
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15959 {
15960 if (temp2)
15961 delete arg2;
15962 }
15963 {
15964 if (temp3)
15965 delete arg3;
15966 }
15967 return resultobj;
15968 fail:
15969 {
15970 if (temp2)
15971 delete arg2;
15972 }
15973 {
15974 if (temp3)
15975 delete arg3;
15976 }
15977 return NULL;
15978 }
15979
15980
15981 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
15982 PyObject *obj;
15983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15984 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15985 Py_INCREF(obj);
15986 return Py_BuildValue((char *)"");
15987 }
15988 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15989 PyObject *resultobj;
15990 wxString *arg1 = 0 ;
15991 wxString *arg2 = 0 ;
15992 int arg3 = (int) 100 ;
15993 wxWindow *arg4 = (wxWindow *) NULL ;
15994 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15995 wxProgressDialog *result;
15996 bool temp1 = false ;
15997 bool temp2 = false ;
15998 PyObject * obj0 = 0 ;
15999 PyObject * obj1 = 0 ;
16000 PyObject * obj2 = 0 ;
16001 PyObject * obj3 = 0 ;
16002 PyObject * obj4 = 0 ;
16003 char *kwnames[] = {
16004 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16005 };
16006
16007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16008 {
16009 arg1 = wxString_in_helper(obj0);
16010 if (arg1 == NULL) SWIG_fail;
16011 temp1 = true;
16012 }
16013 {
16014 arg2 = wxString_in_helper(obj1);
16015 if (arg2 == NULL) SWIG_fail;
16016 temp2 = true;
16017 }
16018 if (obj2) {
16019 {
16020 arg3 = (int)(SWIG_As_int(obj2));
16021 if (SWIG_arg_fail(3)) SWIG_fail;
16022 }
16023 }
16024 if (obj3) {
16025 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16026 if (SWIG_arg_fail(4)) SWIG_fail;
16027 }
16028 if (obj4) {
16029 {
16030 arg5 = (int)(SWIG_As_int(obj4));
16031 if (SWIG_arg_fail(5)) SWIG_fail;
16032 }
16033 }
16034 {
16035 if (!wxPyCheckForApp()) SWIG_fail;
16036 PyThreadState* __tstate = wxPyBeginAllowThreads();
16037 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16038
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16043 {
16044 if (temp1)
16045 delete arg1;
16046 }
16047 {
16048 if (temp2)
16049 delete arg2;
16050 }
16051 return resultobj;
16052 fail:
16053 {
16054 if (temp1)
16055 delete arg1;
16056 }
16057 {
16058 if (temp2)
16059 delete arg2;
16060 }
16061 return NULL;
16062 }
16063
16064
16065 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
16066 PyObject *resultobj;
16067 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16068 int arg2 ;
16069 wxString const &arg3_defvalue = wxPyEmptyString ;
16070 wxString *arg3 = (wxString *) &arg3_defvalue ;
16071 bool result;
16072 bool temp3 = false ;
16073 PyObject * obj0 = 0 ;
16074 PyObject * obj1 = 0 ;
16075 PyObject * obj2 = 0 ;
16076 char *kwnames[] = {
16077 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
16081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16082 if (SWIG_arg_fail(1)) SWIG_fail;
16083 {
16084 arg2 = (int)(SWIG_As_int(obj1));
16085 if (SWIG_arg_fail(2)) SWIG_fail;
16086 }
16087 if (obj2) {
16088 {
16089 arg3 = wxString_in_helper(obj2);
16090 if (arg3 == NULL) SWIG_fail;
16091 temp3 = true;
16092 }
16093 }
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 {
16102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16103 }
16104 {
16105 if (temp3)
16106 delete arg3;
16107 }
16108 return resultobj;
16109 fail:
16110 {
16111 if (temp3)
16112 delete arg3;
16113 }
16114 return NULL;
16115 }
16116
16117
16118 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
16119 PyObject *resultobj;
16120 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16121 PyObject * obj0 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self", NULL
16124 };
16125
16126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
16127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail;
16129 {
16130 PyThreadState* __tstate = wxPyBeginAllowThreads();
16131 (arg1)->Resume();
16132
16133 wxPyEndAllowThreads(__tstate);
16134 if (PyErr_Occurred()) SWIG_fail;
16135 }
16136 Py_INCREF(Py_None); resultobj = Py_None;
16137 return resultobj;
16138 fail:
16139 return NULL;
16140 }
16141
16142
16143 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
16144 PyObject *obj;
16145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16146 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16147 Py_INCREF(obj);
16148 return Py_BuildValue((char *)"");
16149 }
16150 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj;
16152 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16153 int arg2 = (int) 0 ;
16154 wxFindDialogEvent *result;
16155 PyObject * obj0 = 0 ;
16156 PyObject * obj1 = 0 ;
16157 char *kwnames[] = {
16158 (char *) "commandType",(char *) "id", NULL
16159 };
16160
16161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16162 if (obj0) {
16163 {
16164 arg1 = (wxEventType)(SWIG_As_int(obj0));
16165 if (SWIG_arg_fail(1)) SWIG_fail;
16166 }
16167 }
16168 if (obj1) {
16169 {
16170 arg2 = (int)(SWIG_As_int(obj1));
16171 if (SWIG_arg_fail(2)) SWIG_fail;
16172 }
16173 }
16174 {
16175 PyThreadState* __tstate = wxPyBeginAllowThreads();
16176 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16177
16178 wxPyEndAllowThreads(__tstate);
16179 if (PyErr_Occurred()) SWIG_fail;
16180 }
16181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16182 return resultobj;
16183 fail:
16184 return NULL;
16185 }
16186
16187
16188 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj;
16190 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16191 int result;
16192 PyObject * obj0 = 0 ;
16193 char *kwnames[] = {
16194 (char *) "self", NULL
16195 };
16196
16197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16199 if (SWIG_arg_fail(1)) SWIG_fail;
16200 {
16201 PyThreadState* __tstate = wxPyBeginAllowThreads();
16202 result = (int)(arg1)->GetFlags();
16203
16204 wxPyEndAllowThreads(__tstate);
16205 if (PyErr_Occurred()) SWIG_fail;
16206 }
16207 {
16208 resultobj = SWIG_From_int((int)(result));
16209 }
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16217 PyObject *resultobj;
16218 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16219 wxString *result;
16220 PyObject * obj0 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "self", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
16226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16227 if (SWIG_arg_fail(1)) SWIG_fail;
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 {
16231 wxString const &_result_ref = (arg1)->GetFindString();
16232 result = (wxString *) &_result_ref;
16233 }
16234
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 {
16239 #if wxUSE_UNICODE
16240 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16241 #else
16242 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16243 #endif
16244 }
16245 return resultobj;
16246 fail:
16247 return NULL;
16248 }
16249
16250
16251 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16252 PyObject *resultobj;
16253 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16254 wxString *result;
16255 PyObject * obj0 = 0 ;
16256 char *kwnames[] = {
16257 (char *) "self", NULL
16258 };
16259
16260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
16261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16262 if (SWIG_arg_fail(1)) SWIG_fail;
16263 {
16264 PyThreadState* __tstate = wxPyBeginAllowThreads();
16265 {
16266 wxString const &_result_ref = (arg1)->GetReplaceString();
16267 result = (wxString *) &_result_ref;
16268 }
16269
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 {
16274 #if wxUSE_UNICODE
16275 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16276 #else
16277 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16278 #endif
16279 }
16280 return resultobj;
16281 fail:
16282 return NULL;
16283 }
16284
16285
16286 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16287 PyObject *resultobj;
16288 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16289 wxFindReplaceDialog *result;
16290 PyObject * obj0 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16297 if (SWIG_arg_fail(1)) SWIG_fail;
16298 {
16299 PyThreadState* __tstate = wxPyBeginAllowThreads();
16300 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16301
16302 wxPyEndAllowThreads(__tstate);
16303 if (PyErr_Occurred()) SWIG_fail;
16304 }
16305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16306 return resultobj;
16307 fail:
16308 return NULL;
16309 }
16310
16311
16312 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16313 PyObject *resultobj;
16314 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16315 int arg2 ;
16316 PyObject * obj0 = 0 ;
16317 PyObject * obj1 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self",(char *) "flags", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16324 if (SWIG_arg_fail(1)) SWIG_fail;
16325 {
16326 arg2 = (int)(SWIG_As_int(obj1));
16327 if (SWIG_arg_fail(2)) SWIG_fail;
16328 }
16329 {
16330 PyThreadState* __tstate = wxPyBeginAllowThreads();
16331 (arg1)->SetFlags(arg2);
16332
16333 wxPyEndAllowThreads(__tstate);
16334 if (PyErr_Occurred()) SWIG_fail;
16335 }
16336 Py_INCREF(Py_None); resultobj = Py_None;
16337 return resultobj;
16338 fail:
16339 return NULL;
16340 }
16341
16342
16343 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj;
16345 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16346 wxString *arg2 = 0 ;
16347 bool temp2 = false ;
16348 PyObject * obj0 = 0 ;
16349 PyObject * obj1 = 0 ;
16350 char *kwnames[] = {
16351 (char *) "self",(char *) "str", NULL
16352 };
16353
16354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16356 if (SWIG_arg_fail(1)) SWIG_fail;
16357 {
16358 arg2 = wxString_in_helper(obj1);
16359 if (arg2 == NULL) SWIG_fail;
16360 temp2 = true;
16361 }
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 (arg1)->SetFindString((wxString const &)*arg2);
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 Py_INCREF(Py_None); resultobj = Py_None;
16370 {
16371 if (temp2)
16372 delete arg2;
16373 }
16374 return resultobj;
16375 fail:
16376 {
16377 if (temp2)
16378 delete arg2;
16379 }
16380 return NULL;
16381 }
16382
16383
16384 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16385 PyObject *resultobj;
16386 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16387 wxString *arg2 = 0 ;
16388 bool temp2 = false ;
16389 PyObject * obj0 = 0 ;
16390 PyObject * obj1 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self",(char *) "str", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16397 if (SWIG_arg_fail(1)) SWIG_fail;
16398 {
16399 arg2 = wxString_in_helper(obj1);
16400 if (arg2 == NULL) SWIG_fail;
16401 temp2 = true;
16402 }
16403 {
16404 PyThreadState* __tstate = wxPyBeginAllowThreads();
16405 (arg1)->SetReplaceString((wxString const &)*arg2);
16406
16407 wxPyEndAllowThreads(__tstate);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 }
16410 Py_INCREF(Py_None); resultobj = Py_None;
16411 {
16412 if (temp2)
16413 delete arg2;
16414 }
16415 return resultobj;
16416 fail:
16417 {
16418 if (temp2)
16419 delete arg2;
16420 }
16421 return NULL;
16422 }
16423
16424
16425 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16426 PyObject *obj;
16427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16428 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16429 Py_INCREF(obj);
16430 return Py_BuildValue((char *)"");
16431 }
16432 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16433 PyObject *resultobj;
16434 int arg1 = (int) 0 ;
16435 wxFindReplaceData *result;
16436 PyObject * obj0 = 0 ;
16437 char *kwnames[] = {
16438 (char *) "flags", NULL
16439 };
16440
16441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16442 if (obj0) {
16443 {
16444 arg1 = (int)(SWIG_As_int(obj0));
16445 if (SWIG_arg_fail(1)) SWIG_fail;
16446 }
16447 }
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16456 return resultobj;
16457 fail:
16458 return NULL;
16459 }
16460
16461
16462 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj;
16464 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16465 PyObject * obj0 = 0 ;
16466 char *kwnames[] = {
16467 (char *) "self", NULL
16468 };
16469
16470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16472 if (SWIG_arg_fail(1)) SWIG_fail;
16473 {
16474 PyThreadState* __tstate = wxPyBeginAllowThreads();
16475 delete arg1;
16476
16477 wxPyEndAllowThreads(__tstate);
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
16480 Py_INCREF(Py_None); resultobj = Py_None;
16481 return resultobj;
16482 fail:
16483 return NULL;
16484 }
16485
16486
16487 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16488 PyObject *resultobj;
16489 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16490 wxString *result;
16491 PyObject * obj0 = 0 ;
16492 char *kwnames[] = {
16493 (char *) "self", NULL
16494 };
16495
16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16498 if (SWIG_arg_fail(1)) SWIG_fail;
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 {
16502 wxString const &_result_ref = (arg1)->GetFindString();
16503 result = (wxString *) &_result_ref;
16504 }
16505
16506 wxPyEndAllowThreads(__tstate);
16507 if (PyErr_Occurred()) SWIG_fail;
16508 }
16509 {
16510 #if wxUSE_UNICODE
16511 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16512 #else
16513 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16514 #endif
16515 }
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16525 wxString *result;
16526 PyObject * obj0 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16533 if (SWIG_arg_fail(1)) SWIG_fail;
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 {
16537 wxString const &_result_ref = (arg1)->GetReplaceString();
16538 result = (wxString *) &_result_ref;
16539 }
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 {
16545 #if wxUSE_UNICODE
16546 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16547 #else
16548 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16549 #endif
16550 }
16551 return resultobj;
16552 fail:
16553 return NULL;
16554 }
16555
16556
16557 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj;
16559 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16560 int result;
16561 PyObject * obj0 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16568 if (SWIG_arg_fail(1)) SWIG_fail;
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 result = (int)(arg1)->GetFlags();
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 {
16577 resultobj = SWIG_From_int((int)(result));
16578 }
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj;
16587 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16588 int arg2 ;
16589 PyObject * obj0 = 0 ;
16590 PyObject * obj1 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self",(char *) "flags", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail;
16598 {
16599 arg2 = (int)(SWIG_As_int(obj1));
16600 if (SWIG_arg_fail(2)) SWIG_fail;
16601 }
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 (arg1)->SetFlags(arg2);
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 Py_INCREF(Py_None); resultobj = Py_None;
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16619 wxString *arg2 = 0 ;
16620 bool temp2 = false ;
16621 PyObject * obj0 = 0 ;
16622 PyObject * obj1 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self",(char *) "str", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16629 if (SWIG_arg_fail(1)) SWIG_fail;
16630 {
16631 arg2 = wxString_in_helper(obj1);
16632 if (arg2 == NULL) SWIG_fail;
16633 temp2 = true;
16634 }
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 (arg1)->SetFindString((wxString const &)*arg2);
16638
16639 wxPyEndAllowThreads(__tstate);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 Py_INCREF(Py_None); resultobj = Py_None;
16643 {
16644 if (temp2)
16645 delete arg2;
16646 }
16647 return resultobj;
16648 fail:
16649 {
16650 if (temp2)
16651 delete arg2;
16652 }
16653 return NULL;
16654 }
16655
16656
16657 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj;
16659 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16660 wxString *arg2 = 0 ;
16661 bool temp2 = false ;
16662 PyObject * obj0 = 0 ;
16663 PyObject * obj1 = 0 ;
16664 char *kwnames[] = {
16665 (char *) "self",(char *) "str", NULL
16666 };
16667
16668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail;
16671 {
16672 arg2 = wxString_in_helper(obj1);
16673 if (arg2 == NULL) SWIG_fail;
16674 temp2 = true;
16675 }
16676 {
16677 PyThreadState* __tstate = wxPyBeginAllowThreads();
16678 (arg1)->SetReplaceString((wxString const &)*arg2);
16679
16680 wxPyEndAllowThreads(__tstate);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 }
16683 Py_INCREF(Py_None); resultobj = Py_None;
16684 {
16685 if (temp2)
16686 delete arg2;
16687 }
16688 return resultobj;
16689 fail:
16690 {
16691 if (temp2)
16692 delete arg2;
16693 }
16694 return NULL;
16695 }
16696
16697
16698 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16699 PyObject *obj;
16700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16701 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16702 Py_INCREF(obj);
16703 return Py_BuildValue((char *)"");
16704 }
16705 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj;
16707 wxWindow *arg1 = (wxWindow *) 0 ;
16708 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16709 wxString *arg3 = 0 ;
16710 int arg4 = (int) 0 ;
16711 wxFindReplaceDialog *result;
16712 bool temp3 = false ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 PyObject * obj2 = 0 ;
16716 PyObject * obj3 = 0 ;
16717 char *kwnames[] = {
16718 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16719 };
16720
16721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16723 if (SWIG_arg_fail(1)) SWIG_fail;
16724 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16725 if (SWIG_arg_fail(2)) SWIG_fail;
16726 {
16727 arg3 = wxString_in_helper(obj2);
16728 if (arg3 == NULL) SWIG_fail;
16729 temp3 = true;
16730 }
16731 if (obj3) {
16732 {
16733 arg4 = (int)(SWIG_As_int(obj3));
16734 if (SWIG_arg_fail(4)) SWIG_fail;
16735 }
16736 }
16737 {
16738 if (!wxPyCheckForApp()) SWIG_fail;
16739 PyThreadState* __tstate = wxPyBeginAllowThreads();
16740 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16741
16742 wxPyEndAllowThreads(__tstate);
16743 if (PyErr_Occurred()) SWIG_fail;
16744 }
16745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16746 {
16747 if (temp3)
16748 delete arg3;
16749 }
16750 return resultobj;
16751 fail:
16752 {
16753 if (temp3)
16754 delete arg3;
16755 }
16756 return NULL;
16757 }
16758
16759
16760 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 wxFindReplaceDialog *result;
16763 char *kwnames[] = {
16764 NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16768 {
16769 if (!wxPyCheckForApp()) SWIG_fail;
16770 PyThreadState* __tstate = wxPyBeginAllowThreads();
16771 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16772
16773 wxPyEndAllowThreads(__tstate);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
16776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16777 return resultobj;
16778 fail:
16779 return NULL;
16780 }
16781
16782
16783 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16784 PyObject *resultobj;
16785 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16786 wxWindow *arg2 = (wxWindow *) 0 ;
16787 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16788 wxString *arg4 = 0 ;
16789 int arg5 = (int) 0 ;
16790 bool result;
16791 bool temp4 = false ;
16792 PyObject * obj0 = 0 ;
16793 PyObject * obj1 = 0 ;
16794 PyObject * obj2 = 0 ;
16795 PyObject * obj3 = 0 ;
16796 PyObject * obj4 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16803 if (SWIG_arg_fail(1)) SWIG_fail;
16804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16805 if (SWIG_arg_fail(2)) SWIG_fail;
16806 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16807 if (SWIG_arg_fail(3)) SWIG_fail;
16808 {
16809 arg4 = wxString_in_helper(obj3);
16810 if (arg4 == NULL) SWIG_fail;
16811 temp4 = true;
16812 }
16813 if (obj4) {
16814 {
16815 arg5 = (int)(SWIG_As_int(obj4));
16816 if (SWIG_arg_fail(5)) SWIG_fail;
16817 }
16818 }
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 {
16827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16828 }
16829 {
16830 if (temp4)
16831 delete arg4;
16832 }
16833 return resultobj;
16834 fail:
16835 {
16836 if (temp4)
16837 delete arg4;
16838 }
16839 return NULL;
16840 }
16841
16842
16843 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16844 PyObject *resultobj;
16845 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16846 wxFindReplaceData *result;
16847 PyObject * obj0 = 0 ;
16848 char *kwnames[] = {
16849 (char *) "self", NULL
16850 };
16851
16852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16854 if (SWIG_arg_fail(1)) SWIG_fail;
16855 {
16856 PyThreadState* __tstate = wxPyBeginAllowThreads();
16857 result = (wxFindReplaceData *)(arg1)->GetData();
16858
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16863 return resultobj;
16864 fail:
16865 return NULL;
16866 }
16867
16868
16869 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16870 PyObject *resultobj;
16871 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16872 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16873 PyObject * obj0 = 0 ;
16874 PyObject * obj1 = 0 ;
16875 char *kwnames[] = {
16876 (char *) "self",(char *) "data", NULL
16877 };
16878
16879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
16880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16881 if (SWIG_arg_fail(1)) SWIG_fail;
16882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16883 if (SWIG_arg_fail(2)) SWIG_fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 (arg1)->SetData(arg2);
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 Py_INCREF(Py_None); resultobj = Py_None;
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
16899 PyObject *obj;
16900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16901 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16902 Py_INCREF(obj);
16903 return Py_BuildValue((char *)"");
16904 }
16905 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj;
16907 wxWindow *arg1 = (wxWindow *) 0 ;
16908 int arg2 = (int) (int)-1 ;
16909 wxString const &arg3_defvalue = wxPyEmptyString ;
16910 wxString *arg3 = (wxString *) &arg3_defvalue ;
16911 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16912 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16913 wxSize const &arg5_defvalue = wxDefaultSize ;
16914 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16915 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16916 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16917 wxString *arg7 = (wxString *) &arg7_defvalue ;
16918 wxMDIParentFrame *result;
16919 bool temp3 = false ;
16920 wxPoint temp4 ;
16921 wxSize temp5 ;
16922 bool temp7 = false ;
16923 PyObject * obj0 = 0 ;
16924 PyObject * obj1 = 0 ;
16925 PyObject * obj2 = 0 ;
16926 PyObject * obj3 = 0 ;
16927 PyObject * obj4 = 0 ;
16928 PyObject * obj5 = 0 ;
16929 PyObject * obj6 = 0 ;
16930 char *kwnames[] = {
16931 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16932 };
16933
16934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16936 if (SWIG_arg_fail(1)) SWIG_fail;
16937 if (obj1) {
16938 {
16939 arg2 = (int const)(SWIG_As_int(obj1));
16940 if (SWIG_arg_fail(2)) SWIG_fail;
16941 }
16942 }
16943 if (obj2) {
16944 {
16945 arg3 = wxString_in_helper(obj2);
16946 if (arg3 == NULL) SWIG_fail;
16947 temp3 = true;
16948 }
16949 }
16950 if (obj3) {
16951 {
16952 arg4 = &temp4;
16953 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16954 }
16955 }
16956 if (obj4) {
16957 {
16958 arg5 = &temp5;
16959 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16960 }
16961 }
16962 if (obj5) {
16963 {
16964 arg6 = (long)(SWIG_As_long(obj5));
16965 if (SWIG_arg_fail(6)) SWIG_fail;
16966 }
16967 }
16968 if (obj6) {
16969 {
16970 arg7 = wxString_in_helper(obj6);
16971 if (arg7 == NULL) SWIG_fail;
16972 temp7 = true;
16973 }
16974 }
16975 {
16976 if (!wxPyCheckForApp()) SWIG_fail;
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16979
16980 wxPyEndAllowThreads(__tstate);
16981 if (PyErr_Occurred()) SWIG_fail;
16982 }
16983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16984 {
16985 if (temp3)
16986 delete arg3;
16987 }
16988 {
16989 if (temp7)
16990 delete arg7;
16991 }
16992 return resultobj;
16993 fail:
16994 {
16995 if (temp3)
16996 delete arg3;
16997 }
16998 {
16999 if (temp7)
17000 delete arg7;
17001 }
17002 return NULL;
17003 }
17004
17005
17006 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 wxMDIParentFrame *result;
17009 char *kwnames[] = {
17010 NULL
17011 };
17012
17013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17014 {
17015 if (!wxPyCheckForApp()) SWIG_fail;
17016 PyThreadState* __tstate = wxPyBeginAllowThreads();
17017 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17018
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17023 return resultobj;
17024 fail:
17025 return NULL;
17026 }
17027
17028
17029 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj;
17031 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17032 wxWindow *arg2 = (wxWindow *) 0 ;
17033 int arg3 = (int) (int)-1 ;
17034 wxString const &arg4_defvalue = wxPyEmptyString ;
17035 wxString *arg4 = (wxString *) &arg4_defvalue ;
17036 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17037 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17038 wxSize const &arg6_defvalue = wxDefaultSize ;
17039 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17040 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17041 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17042 wxString *arg8 = (wxString *) &arg8_defvalue ;
17043 bool result;
17044 bool temp4 = false ;
17045 wxPoint temp5 ;
17046 wxSize temp6 ;
17047 bool temp8 = false ;
17048 PyObject * obj0 = 0 ;
17049 PyObject * obj1 = 0 ;
17050 PyObject * obj2 = 0 ;
17051 PyObject * obj3 = 0 ;
17052 PyObject * obj4 = 0 ;
17053 PyObject * obj5 = 0 ;
17054 PyObject * obj6 = 0 ;
17055 PyObject * obj7 = 0 ;
17056 char *kwnames[] = {
17057 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17058 };
17059
17060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17062 if (SWIG_arg_fail(1)) SWIG_fail;
17063 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17064 if (SWIG_arg_fail(2)) SWIG_fail;
17065 if (obj2) {
17066 {
17067 arg3 = (int const)(SWIG_As_int(obj2));
17068 if (SWIG_arg_fail(3)) SWIG_fail;
17069 }
17070 }
17071 if (obj3) {
17072 {
17073 arg4 = wxString_in_helper(obj3);
17074 if (arg4 == NULL) SWIG_fail;
17075 temp4 = true;
17076 }
17077 }
17078 if (obj4) {
17079 {
17080 arg5 = &temp5;
17081 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17082 }
17083 }
17084 if (obj5) {
17085 {
17086 arg6 = &temp6;
17087 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17088 }
17089 }
17090 if (obj6) {
17091 {
17092 arg7 = (long)(SWIG_As_long(obj6));
17093 if (SWIG_arg_fail(7)) SWIG_fail;
17094 }
17095 }
17096 if (obj7) {
17097 {
17098 arg8 = wxString_in_helper(obj7);
17099 if (arg8 == NULL) SWIG_fail;
17100 temp8 = true;
17101 }
17102 }
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 {
17111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17112 }
17113 {
17114 if (temp4)
17115 delete arg4;
17116 }
17117 {
17118 if (temp8)
17119 delete arg8;
17120 }
17121 return resultobj;
17122 fail:
17123 {
17124 if (temp4)
17125 delete arg4;
17126 }
17127 {
17128 if (temp8)
17129 delete arg8;
17130 }
17131 return NULL;
17132 }
17133
17134
17135 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17138 PyObject * obj0 = 0 ;
17139 char *kwnames[] = {
17140 (char *) "self", NULL
17141 };
17142
17143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
17144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17145 if (SWIG_arg_fail(1)) SWIG_fail;
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 (arg1)->ActivateNext();
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 Py_INCREF(Py_None); resultobj = Py_None;
17154 return resultobj;
17155 fail:
17156 return NULL;
17157 }
17158
17159
17160 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
17161 PyObject *resultobj;
17162 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17163 PyObject * obj0 = 0 ;
17164 char *kwnames[] = {
17165 (char *) "self", NULL
17166 };
17167
17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
17169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17170 if (SWIG_arg_fail(1)) SWIG_fail;
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 (arg1)->ActivatePrevious();
17174
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 Py_INCREF(Py_None); resultobj = Py_None;
17179 return resultobj;
17180 fail:
17181 return NULL;
17182 }
17183
17184
17185 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17188 PyObject * obj0 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail;
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 (arg1)->ArrangeIcons();
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 Py_INCREF(Py_None); resultobj = Py_None;
17204 return resultobj;
17205 fail:
17206 return NULL;
17207 }
17208
17209
17210 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17211 PyObject *resultobj;
17212 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17213 PyObject * obj0 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17220 if (SWIG_arg_fail(1)) SWIG_fail;
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 (arg1)->Cascade();
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 Py_INCREF(Py_None); resultobj = Py_None;
17229 return resultobj;
17230 fail:
17231 return NULL;
17232 }
17233
17234
17235 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj;
17237 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17238 wxMDIChildFrame *result;
17239 PyObject * obj0 = 0 ;
17240 char *kwnames[] = {
17241 (char *) "self", NULL
17242 };
17243
17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17246 if (SWIG_arg_fail(1)) SWIG_fail;
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 {
17255 resultobj = wxPyMake_wxObject(result, 0);
17256 }
17257 return resultobj;
17258 fail:
17259 return NULL;
17260 }
17261
17262
17263 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17266 wxMDIClientWindow *result;
17267 PyObject * obj0 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail;
17275 {
17276 PyThreadState* __tstate = wxPyBeginAllowThreads();
17277 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17278
17279 wxPyEndAllowThreads(__tstate);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 }
17282 {
17283 resultobj = wxPyMake_wxObject(result, 0);
17284 }
17285 return resultobj;
17286 fail:
17287 return NULL;
17288 }
17289
17290
17291 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17292 PyObject *resultobj;
17293 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17294 wxWindow *result;
17295 PyObject * obj0 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "self", NULL
17298 };
17299
17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17302 if (SWIG_arg_fail(1)) SWIG_fail;
17303 {
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 result = (wxWindow *)(arg1)->GetToolBar();
17306
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 {
17311 resultobj = wxPyMake_wxObject(result, 0);
17312 }
17313 return resultobj;
17314 fail:
17315 return NULL;
17316 }
17317
17318
17319 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
17320 PyObject *resultobj;
17321 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17322 wxMenu *result;
17323 PyObject * obj0 = 0 ;
17324 char *kwnames[] = {
17325 (char *) "self", NULL
17326 };
17327
17328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
17329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17330 if (SWIG_arg_fail(1)) SWIG_fail;
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 result = (wxMenu *)(arg1)->GetWindowMenu();
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 {
17339 resultobj = wxPyMake_wxObject(result, 0);
17340 }
17341 return resultobj;
17342 fail:
17343 return NULL;
17344 }
17345
17346
17347 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17350 wxMenu *arg2 = (wxMenu *) 0 ;
17351 PyObject * obj0 = 0 ;
17352 PyObject * obj1 = 0 ;
17353 char *kwnames[] = {
17354 (char *) "self",(char *) "menu", NULL
17355 };
17356
17357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
17358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17359 if (SWIG_arg_fail(1)) SWIG_fail;
17360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
17361 if (SWIG_arg_fail(2)) SWIG_fail;
17362 {
17363 PyThreadState* __tstate = wxPyBeginAllowThreads();
17364 (arg1)->SetWindowMenu(arg2);
17365
17366 wxPyEndAllowThreads(__tstate);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 }
17369 Py_INCREF(Py_None); resultobj = Py_None;
17370 return resultobj;
17371 fail:
17372 return NULL;
17373 }
17374
17375
17376 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17377 PyObject *resultobj;
17378 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17379 wxToolBar *arg2 = (wxToolBar *) 0 ;
17380 PyObject * obj0 = 0 ;
17381 PyObject * obj1 = 0 ;
17382 char *kwnames[] = {
17383 (char *) "self",(char *) "toolbar", NULL
17384 };
17385
17386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
17387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17388 if (SWIG_arg_fail(1)) SWIG_fail;
17389 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
17390 if (SWIG_arg_fail(2)) SWIG_fail;
17391 {
17392 PyThreadState* __tstate = wxPyBeginAllowThreads();
17393 (arg1)->SetToolBar(arg2);
17394
17395 wxPyEndAllowThreads(__tstate);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 Py_INCREF(Py_None); resultobj = Py_None;
17399 return resultobj;
17400 fail:
17401 return NULL;
17402 }
17403
17404
17405 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17408 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17409 PyObject * obj0 = 0 ;
17410 PyObject * obj1 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self",(char *) "orient", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17417 if (SWIG_arg_fail(1)) SWIG_fail;
17418 if (obj1) {
17419 {
17420 arg2 = (wxOrientation)(SWIG_As_int(obj1));
17421 if (SWIG_arg_fail(2)) SWIG_fail;
17422 }
17423 }
17424 {
17425 PyThreadState* __tstate = wxPyBeginAllowThreads();
17426 (arg1)->Tile((wxOrientation )arg2);
17427
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 Py_INCREF(Py_None); resultobj = Py_None;
17432 return resultobj;
17433 fail:
17434 return NULL;
17435 }
17436
17437
17438 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17439 PyObject *obj;
17440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17441 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17442 Py_INCREF(obj);
17443 return Py_BuildValue((char *)"");
17444 }
17445 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17448 int arg2 = (int) (int)-1 ;
17449 wxString const &arg3_defvalue = wxPyEmptyString ;
17450 wxString *arg3 = (wxString *) &arg3_defvalue ;
17451 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17452 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17453 wxSize const &arg5_defvalue = wxDefaultSize ;
17454 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17455 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17456 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17457 wxString *arg7 = (wxString *) &arg7_defvalue ;
17458 wxMDIChildFrame *result;
17459 bool temp3 = false ;
17460 wxPoint temp4 ;
17461 wxSize temp5 ;
17462 bool temp7 = false ;
17463 PyObject * obj0 = 0 ;
17464 PyObject * obj1 = 0 ;
17465 PyObject * obj2 = 0 ;
17466 PyObject * obj3 = 0 ;
17467 PyObject * obj4 = 0 ;
17468 PyObject * obj5 = 0 ;
17469 PyObject * obj6 = 0 ;
17470 char *kwnames[] = {
17471 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17472 };
17473
17474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail;
17477 if (obj1) {
17478 {
17479 arg2 = (int const)(SWIG_As_int(obj1));
17480 if (SWIG_arg_fail(2)) SWIG_fail;
17481 }
17482 }
17483 if (obj2) {
17484 {
17485 arg3 = wxString_in_helper(obj2);
17486 if (arg3 == NULL) SWIG_fail;
17487 temp3 = true;
17488 }
17489 }
17490 if (obj3) {
17491 {
17492 arg4 = &temp4;
17493 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17494 }
17495 }
17496 if (obj4) {
17497 {
17498 arg5 = &temp5;
17499 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17500 }
17501 }
17502 if (obj5) {
17503 {
17504 arg6 = (long)(SWIG_As_long(obj5));
17505 if (SWIG_arg_fail(6)) SWIG_fail;
17506 }
17507 }
17508 if (obj6) {
17509 {
17510 arg7 = wxString_in_helper(obj6);
17511 if (arg7 == NULL) SWIG_fail;
17512 temp7 = true;
17513 }
17514 }
17515 {
17516 if (!wxPyCheckForApp()) SWIG_fail;
17517 PyThreadState* __tstate = wxPyBeginAllowThreads();
17518 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17519
17520 wxPyEndAllowThreads(__tstate);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17524 {
17525 if (temp3)
17526 delete arg3;
17527 }
17528 {
17529 if (temp7)
17530 delete arg7;
17531 }
17532 return resultobj;
17533 fail:
17534 {
17535 if (temp3)
17536 delete arg3;
17537 }
17538 {
17539 if (temp7)
17540 delete arg7;
17541 }
17542 return NULL;
17543 }
17544
17545
17546 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj;
17548 wxMDIChildFrame *result;
17549 char *kwnames[] = {
17550 NULL
17551 };
17552
17553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17554 {
17555 if (!wxPyCheckForApp()) SWIG_fail;
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17563 return resultobj;
17564 fail:
17565 return NULL;
17566 }
17567
17568
17569 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17570 PyObject *resultobj;
17571 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17572 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17573 int arg3 = (int) (int)-1 ;
17574 wxString const &arg4_defvalue = wxPyEmptyString ;
17575 wxString *arg4 = (wxString *) &arg4_defvalue ;
17576 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17577 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17578 wxSize const &arg6_defvalue = wxDefaultSize ;
17579 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17580 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17581 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17582 wxString *arg8 = (wxString *) &arg8_defvalue ;
17583 bool result;
17584 bool temp4 = false ;
17585 wxPoint temp5 ;
17586 wxSize temp6 ;
17587 bool temp8 = false ;
17588 PyObject * obj0 = 0 ;
17589 PyObject * obj1 = 0 ;
17590 PyObject * obj2 = 0 ;
17591 PyObject * obj3 = 0 ;
17592 PyObject * obj4 = 0 ;
17593 PyObject * obj5 = 0 ;
17594 PyObject * obj6 = 0 ;
17595 PyObject * obj7 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17602 if (SWIG_arg_fail(1)) SWIG_fail;
17603 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17604 if (SWIG_arg_fail(2)) SWIG_fail;
17605 if (obj2) {
17606 {
17607 arg3 = (int const)(SWIG_As_int(obj2));
17608 if (SWIG_arg_fail(3)) SWIG_fail;
17609 }
17610 }
17611 if (obj3) {
17612 {
17613 arg4 = wxString_in_helper(obj3);
17614 if (arg4 == NULL) SWIG_fail;
17615 temp4 = true;
17616 }
17617 }
17618 if (obj4) {
17619 {
17620 arg5 = &temp5;
17621 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17622 }
17623 }
17624 if (obj5) {
17625 {
17626 arg6 = &temp6;
17627 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17628 }
17629 }
17630 if (obj6) {
17631 {
17632 arg7 = (long)(SWIG_As_long(obj6));
17633 if (SWIG_arg_fail(7)) SWIG_fail;
17634 }
17635 }
17636 if (obj7) {
17637 {
17638 arg8 = wxString_in_helper(obj7);
17639 if (arg8 == NULL) SWIG_fail;
17640 temp8 = true;
17641 }
17642 }
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17646
17647 wxPyEndAllowThreads(__tstate);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 {
17651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17652 }
17653 {
17654 if (temp4)
17655 delete arg4;
17656 }
17657 {
17658 if (temp8)
17659 delete arg8;
17660 }
17661 return resultobj;
17662 fail:
17663 {
17664 if (temp4)
17665 delete arg4;
17666 }
17667 {
17668 if (temp8)
17669 delete arg8;
17670 }
17671 return NULL;
17672 }
17673
17674
17675 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17676 PyObject *resultobj;
17677 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17678 PyObject * obj0 = 0 ;
17679 char *kwnames[] = {
17680 (char *) "self", NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17685 if (SWIG_arg_fail(1)) SWIG_fail;
17686 {
17687 PyThreadState* __tstate = wxPyBeginAllowThreads();
17688 (arg1)->Activate();
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 Py_INCREF(Py_None); resultobj = Py_None;
17694 return resultobj;
17695 fail:
17696 return NULL;
17697 }
17698
17699
17700 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj;
17702 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17703 bool arg2 = (bool) true ;
17704 PyObject * obj0 = 0 ;
17705 PyObject * obj1 = 0 ;
17706 char *kwnames[] = {
17707 (char *) "self",(char *) "maximize", NULL
17708 };
17709
17710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17712 if (SWIG_arg_fail(1)) SWIG_fail;
17713 if (obj1) {
17714 {
17715 arg2 = (bool)(SWIG_As_bool(obj1));
17716 if (SWIG_arg_fail(2)) SWIG_fail;
17717 }
17718 }
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 (arg1)->Maximize(arg2);
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 Py_INCREF(Py_None); resultobj = Py_None;
17727 return resultobj;
17728 fail:
17729 return NULL;
17730 }
17731
17732
17733 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj;
17735 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17736 PyObject * obj0 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17743 if (SWIG_arg_fail(1)) SWIG_fail;
17744 {
17745 PyThreadState* __tstate = wxPyBeginAllowThreads();
17746 (arg1)->Restore();
17747
17748 wxPyEndAllowThreads(__tstate);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 Py_INCREF(Py_None); resultobj = Py_None;
17752 return resultobj;
17753 fail:
17754 return NULL;
17755 }
17756
17757
17758 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17759 PyObject *obj;
17760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17761 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17762 Py_INCREF(obj);
17763 return Py_BuildValue((char *)"");
17764 }
17765 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17766 PyObject *resultobj;
17767 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17768 long arg2 = (long) 0 ;
17769 wxMDIClientWindow *result;
17770 PyObject * obj0 = 0 ;
17771 PyObject * obj1 = 0 ;
17772 char *kwnames[] = {
17773 (char *) "parent",(char *) "style", NULL
17774 };
17775
17776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17778 if (SWIG_arg_fail(1)) SWIG_fail;
17779 if (obj1) {
17780 {
17781 arg2 = (long)(SWIG_As_long(obj1));
17782 if (SWIG_arg_fail(2)) SWIG_fail;
17783 }
17784 }
17785 {
17786 if (!wxPyCheckForApp()) SWIG_fail;
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17794 return resultobj;
17795 fail:
17796 return NULL;
17797 }
17798
17799
17800 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17801 PyObject *resultobj;
17802 wxMDIClientWindow *result;
17803 char *kwnames[] = {
17804 NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17808 {
17809 if (!wxPyCheckForApp()) SWIG_fail;
17810 PyThreadState* __tstate = wxPyBeginAllowThreads();
17811 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17812
17813 wxPyEndAllowThreads(__tstate);
17814 if (PyErr_Occurred()) SWIG_fail;
17815 }
17816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17817 return resultobj;
17818 fail:
17819 return NULL;
17820 }
17821
17822
17823 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17824 PyObject *resultobj;
17825 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17826 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17827 long arg3 = (long) 0 ;
17828 bool result;
17829 PyObject * obj0 = 0 ;
17830 PyObject * obj1 = 0 ;
17831 PyObject * obj2 = 0 ;
17832 char *kwnames[] = {
17833 (char *) "self",(char *) "parent",(char *) "style", NULL
17834 };
17835
17836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17838 if (SWIG_arg_fail(1)) SWIG_fail;
17839 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17840 if (SWIG_arg_fail(2)) SWIG_fail;
17841 if (obj2) {
17842 {
17843 arg3 = (long)(SWIG_As_long(obj2));
17844 if (SWIG_arg_fail(3)) SWIG_fail;
17845 }
17846 }
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 result = (bool)(arg1)->Create(arg2,arg3);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 {
17855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17856 }
17857 return resultobj;
17858 fail:
17859 return NULL;
17860 }
17861
17862
17863 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17864 PyObject *obj;
17865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17866 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17867 Py_INCREF(obj);
17868 return Py_BuildValue((char *)"");
17869 }
17870 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxWindow *arg1 = (wxWindow *) 0 ;
17873 int arg2 = (int) (int)-1 ;
17874 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17875 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17876 wxSize const &arg4_defvalue = wxDefaultSize ;
17877 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17878 long arg5 = (long) 0 ;
17879 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17880 wxString *arg6 = (wxString *) &arg6_defvalue ;
17881 wxPyWindow *result;
17882 wxPoint temp3 ;
17883 wxSize temp4 ;
17884 bool temp6 = false ;
17885 PyObject * obj0 = 0 ;
17886 PyObject * obj1 = 0 ;
17887 PyObject * obj2 = 0 ;
17888 PyObject * obj3 = 0 ;
17889 PyObject * obj4 = 0 ;
17890 PyObject * obj5 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail;
17898 if (obj1) {
17899 {
17900 arg2 = (int const)(SWIG_As_int(obj1));
17901 if (SWIG_arg_fail(2)) SWIG_fail;
17902 }
17903 }
17904 if (obj2) {
17905 {
17906 arg3 = &temp3;
17907 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17908 }
17909 }
17910 if (obj3) {
17911 {
17912 arg4 = &temp4;
17913 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17914 }
17915 }
17916 if (obj4) {
17917 {
17918 arg5 = (long)(SWIG_As_long(obj4));
17919 if (SWIG_arg_fail(5)) SWIG_fail;
17920 }
17921 }
17922 if (obj5) {
17923 {
17924 arg6 = wxString_in_helper(obj5);
17925 if (arg6 == NULL) SWIG_fail;
17926 temp6 = true;
17927 }
17928 }
17929 {
17930 if (!wxPyCheckForApp()) SWIG_fail;
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17938 {
17939 if (temp6)
17940 delete arg6;
17941 }
17942 return resultobj;
17943 fail:
17944 {
17945 if (temp6)
17946 delete arg6;
17947 }
17948 return NULL;
17949 }
17950
17951
17952 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17953 PyObject *resultobj;
17954 wxPyWindow *result;
17955 char *kwnames[] = {
17956 NULL
17957 };
17958
17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17960 {
17961 if (!wxPyCheckForApp()) SWIG_fail;
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 result = (wxPyWindow *)new wxPyWindow();
17964
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17978 PyObject *arg2 = (PyObject *) 0 ;
17979 PyObject *arg3 = (PyObject *) 0 ;
17980 PyObject * obj0 = 0 ;
17981 PyObject * obj1 = 0 ;
17982 PyObject * obj2 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "self",(char *) "_class", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail;
17990 arg2 = obj1;
17991 arg3 = obj2;
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 (arg1)->_setCallbackInfo(arg2,arg3);
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 Py_INCREF(Py_None); resultobj = Py_None;
18000 return resultobj;
18001 fail:
18002 return NULL;
18003 }
18004
18005
18006 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18009 wxSize *arg2 = 0 ;
18010 wxSize temp2 ;
18011 PyObject * obj0 = 0 ;
18012 PyObject * obj1 = 0 ;
18013 char *kwnames[] = {
18014 (char *) "self",(char *) "size", NULL
18015 };
18016
18017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18019 if (SWIG_arg_fail(1)) SWIG_fail;
18020 {
18021 arg2 = &temp2;
18022 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18023 }
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 (arg1)->SetBestSize((wxSize const &)*arg2);
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 Py_INCREF(Py_None); resultobj = Py_None;
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18041 wxDC *arg2 = (wxDC *) 0 ;
18042 bool result;
18043 PyObject * obj0 = 0 ;
18044 PyObject * obj1 = 0 ;
18045 char *kwnames[] = {
18046 (char *) "self",(char *) "dc", NULL
18047 };
18048
18049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail;
18052 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18053 if (SWIG_arg_fail(2)) SWIG_fail;
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 result = (bool)(arg1)->DoEraseBackground(arg2);
18057
18058 wxPyEndAllowThreads(__tstate);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 }
18061 {
18062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18063 }
18064 return resultobj;
18065 fail:
18066 return NULL;
18067 }
18068
18069
18070 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18071 PyObject *resultobj;
18072 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18073 int arg2 ;
18074 int arg3 ;
18075 int arg4 ;
18076 int arg5 ;
18077 PyObject * obj0 = 0 ;
18078 PyObject * obj1 = 0 ;
18079 PyObject * obj2 = 0 ;
18080 PyObject * obj3 = 0 ;
18081 PyObject * obj4 = 0 ;
18082 char *kwnames[] = {
18083 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18084 };
18085
18086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18088 if (SWIG_arg_fail(1)) SWIG_fail;
18089 {
18090 arg2 = (int)(SWIG_As_int(obj1));
18091 if (SWIG_arg_fail(2)) SWIG_fail;
18092 }
18093 {
18094 arg3 = (int)(SWIG_As_int(obj2));
18095 if (SWIG_arg_fail(3)) SWIG_fail;
18096 }
18097 {
18098 arg4 = (int)(SWIG_As_int(obj3));
18099 if (SWIG_arg_fail(4)) SWIG_fail;
18100 }
18101 {
18102 arg5 = (int)(SWIG_As_int(obj4));
18103 if (SWIG_arg_fail(5)) SWIG_fail;
18104 }
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 Py_INCREF(Py_None); resultobj = Py_None;
18113 return resultobj;
18114 fail:
18115 return NULL;
18116 }
18117
18118
18119 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj;
18121 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18122 int arg2 ;
18123 int arg3 ;
18124 int arg4 ;
18125 int arg5 ;
18126 int arg6 = (int) wxSIZE_AUTO ;
18127 PyObject * obj0 = 0 ;
18128 PyObject * obj1 = 0 ;
18129 PyObject * obj2 = 0 ;
18130 PyObject * obj3 = 0 ;
18131 PyObject * obj4 = 0 ;
18132 PyObject * obj5 = 0 ;
18133 char *kwnames[] = {
18134 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18135 };
18136
18137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18139 if (SWIG_arg_fail(1)) SWIG_fail;
18140 {
18141 arg2 = (int)(SWIG_As_int(obj1));
18142 if (SWIG_arg_fail(2)) SWIG_fail;
18143 }
18144 {
18145 arg3 = (int)(SWIG_As_int(obj2));
18146 if (SWIG_arg_fail(3)) SWIG_fail;
18147 }
18148 {
18149 arg4 = (int)(SWIG_As_int(obj3));
18150 if (SWIG_arg_fail(4)) SWIG_fail;
18151 }
18152 {
18153 arg5 = (int)(SWIG_As_int(obj4));
18154 if (SWIG_arg_fail(5)) SWIG_fail;
18155 }
18156 if (obj5) {
18157 {
18158 arg6 = (int)(SWIG_As_int(obj5));
18159 if (SWIG_arg_fail(6)) SWIG_fail;
18160 }
18161 }
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 Py_INCREF(Py_None); resultobj = Py_None;
18170 return resultobj;
18171 fail:
18172 return NULL;
18173 }
18174
18175
18176 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18177 PyObject *resultobj;
18178 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18179 int arg2 ;
18180 int arg3 ;
18181 PyObject * obj0 = 0 ;
18182 PyObject * obj1 = 0 ;
18183 PyObject * obj2 = 0 ;
18184 char *kwnames[] = {
18185 (char *) "self",(char *) "width",(char *) "height", NULL
18186 };
18187
18188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18190 if (SWIG_arg_fail(1)) SWIG_fail;
18191 {
18192 arg2 = (int)(SWIG_As_int(obj1));
18193 if (SWIG_arg_fail(2)) SWIG_fail;
18194 }
18195 {
18196 arg3 = (int)(SWIG_As_int(obj2));
18197 if (SWIG_arg_fail(3)) SWIG_fail;
18198 }
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 (arg1)->base_DoSetClientSize(arg2,arg3);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 Py_INCREF(Py_None); resultobj = Py_None;
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18216 int arg2 ;
18217 int arg3 ;
18218 PyObject * obj0 = 0 ;
18219 PyObject * obj1 = 0 ;
18220 PyObject * obj2 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self",(char *) "x",(char *) "y", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18227 if (SWIG_arg_fail(1)) SWIG_fail;
18228 {
18229 arg2 = (int)(SWIG_As_int(obj1));
18230 if (SWIG_arg_fail(2)) SWIG_fail;
18231 }
18232 {
18233 arg3 = (int)(SWIG_As_int(obj2));
18234 if (SWIG_arg_fail(3)) SWIG_fail;
18235 }
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 Py_INCREF(Py_None); resultobj = Py_None;
18244 return resultobj;
18245 fail:
18246 return NULL;
18247 }
18248
18249
18250 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18253 int *arg2 = (int *) 0 ;
18254 int *arg3 = (int *) 0 ;
18255 int temp2 ;
18256 int res2 = 0 ;
18257 int temp3 ;
18258 int res3 = 0 ;
18259 PyObject * obj0 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self", NULL
18262 };
18263
18264 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18265 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
18267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18268 if (SWIG_arg_fail(1)) SWIG_fail;
18269 {
18270 PyThreadState* __tstate = wxPyBeginAllowThreads();
18271 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18272
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 Py_INCREF(Py_None); resultobj = Py_None;
18277 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18278 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18279 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18280 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18281 return resultobj;
18282 fail:
18283 return NULL;
18284 }
18285
18286
18287 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18288 PyObject *resultobj;
18289 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18290 int *arg2 = (int *) 0 ;
18291 int *arg3 = (int *) 0 ;
18292 int temp2 ;
18293 int res2 = 0 ;
18294 int temp3 ;
18295 int res3 = 0 ;
18296 PyObject * obj0 = 0 ;
18297 char *kwnames[] = {
18298 (char *) "self", NULL
18299 };
18300
18301 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18302 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18305 if (SWIG_arg_fail(1)) SWIG_fail;
18306 {
18307 PyThreadState* __tstate = wxPyBeginAllowThreads();
18308 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18309
18310 wxPyEndAllowThreads(__tstate);
18311 if (PyErr_Occurred()) SWIG_fail;
18312 }
18313 Py_INCREF(Py_None); resultobj = Py_None;
18314 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18315 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18316 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18317 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18327 int *arg2 = (int *) 0 ;
18328 int *arg3 = (int *) 0 ;
18329 int temp2 ;
18330 int res2 = 0 ;
18331 int temp3 ;
18332 int res3 = 0 ;
18333 PyObject * obj0 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "self", NULL
18336 };
18337
18338 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18339 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18342 if (SWIG_arg_fail(1)) SWIG_fail;
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18346
18347 wxPyEndAllowThreads(__tstate);
18348 if (PyErr_Occurred()) SWIG_fail;
18349 }
18350 Py_INCREF(Py_None); resultobj = Py_None;
18351 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18352 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18353 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18354 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18355 return resultobj;
18356 fail:
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18364 wxSize result;
18365 PyObject * obj0 = 0 ;
18366 char *kwnames[] = {
18367 (char *) "self", NULL
18368 };
18369
18370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18372 if (SWIG_arg_fail(1)) SWIG_fail;
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 {
18381 wxSize * resultptr;
18382 resultptr = new wxSize((wxSize &)(result));
18383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18384 }
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18394 wxSize result;
18395 PyObject * obj0 = 0 ;
18396 char *kwnames[] = {
18397 (char *) "self", NULL
18398 };
18399
18400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18402 if (SWIG_arg_fail(1)) SWIG_fail;
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 {
18411 wxSize * resultptr;
18412 resultptr = new wxSize((wxSize &)(result));
18413 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18414 }
18415 return resultobj;
18416 fail:
18417 return NULL;
18418 }
18419
18420
18421 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18424 PyObject * obj0 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "self", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18431 if (SWIG_arg_fail(1)) SWIG_fail;
18432 {
18433 PyThreadState* __tstate = wxPyBeginAllowThreads();
18434 (arg1)->base_InitDialog();
18435
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 Py_INCREF(Py_None); resultobj = Py_None;
18440 return resultobj;
18441 fail:
18442 return NULL;
18443 }
18444
18445
18446 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18447 PyObject *resultobj;
18448 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18449 bool result;
18450 PyObject * obj0 = 0 ;
18451 char *kwnames[] = {
18452 (char *) "self", NULL
18453 };
18454
18455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18457 if (SWIG_arg_fail(1)) SWIG_fail;
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 result = (bool)(arg1)->base_TransferDataToWindow();
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 {
18466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18467 }
18468 return resultobj;
18469 fail:
18470 return NULL;
18471 }
18472
18473
18474 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18477 bool result;
18478 PyObject * obj0 = 0 ;
18479 char *kwnames[] = {
18480 (char *) "self", NULL
18481 };
18482
18483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18485 if (SWIG_arg_fail(1)) SWIG_fail;
18486 {
18487 PyThreadState* __tstate = wxPyBeginAllowThreads();
18488 result = (bool)(arg1)->base_TransferDataFromWindow();
18489
18490 wxPyEndAllowThreads(__tstate);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 }
18493 {
18494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18495 }
18496 return resultobj;
18497 fail:
18498 return NULL;
18499 }
18500
18501
18502 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18503 PyObject *resultobj;
18504 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18505 bool result;
18506 PyObject * obj0 = 0 ;
18507 char *kwnames[] = {
18508 (char *) "self", NULL
18509 };
18510
18511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18513 if (SWIG_arg_fail(1)) SWIG_fail;
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 result = (bool)(arg1)->base_Validate();
18517
18518 wxPyEndAllowThreads(__tstate);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 }
18521 {
18522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18523 }
18524 return resultobj;
18525 fail:
18526 return NULL;
18527 }
18528
18529
18530 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18531 PyObject *resultobj;
18532 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18533 bool result;
18534 PyObject * obj0 = 0 ;
18535 char *kwnames[] = {
18536 (char *) "self", NULL
18537 };
18538
18539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18541 if (SWIG_arg_fail(1)) SWIG_fail;
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 {
18550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18551 }
18552 return resultobj;
18553 fail:
18554 return NULL;
18555 }
18556
18557
18558 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18559 PyObject *resultobj;
18560 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18561 bool result;
18562 PyObject * obj0 = 0 ;
18563 char *kwnames[] = {
18564 (char *) "self", NULL
18565 };
18566
18567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18569 if (SWIG_arg_fail(1)) SWIG_fail;
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 {
18578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18579 }
18580 return resultobj;
18581 fail:
18582 return NULL;
18583 }
18584
18585
18586 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18587 PyObject *resultobj;
18588 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18589 wxSize result;
18590 PyObject * obj0 = 0 ;
18591 char *kwnames[] = {
18592 (char *) "self", NULL
18593 };
18594
18595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18597 if (SWIG_arg_fail(1)) SWIG_fail;
18598 {
18599 PyThreadState* __tstate = wxPyBeginAllowThreads();
18600 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18601
18602 wxPyEndAllowThreads(__tstate);
18603 if (PyErr_Occurred()) SWIG_fail;
18604 }
18605 {
18606 wxSize * resultptr;
18607 resultptr = new wxSize((wxSize &)(result));
18608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18609 }
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18619 wxWindow *arg2 = (wxWindow *) 0 ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "child", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18628 if (SWIG_arg_fail(1)) SWIG_fail;
18629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18630 if (SWIG_arg_fail(2)) SWIG_fail;
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 (arg1)->base_AddChild(arg2);
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 Py_INCREF(Py_None); resultobj = Py_None;
18639 return resultobj;
18640 fail:
18641 return NULL;
18642 }
18643
18644
18645 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18646 PyObject *resultobj;
18647 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18648 wxWindow *arg2 = (wxWindow *) 0 ;
18649 PyObject * obj0 = 0 ;
18650 PyObject * obj1 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self",(char *) "child", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18657 if (SWIG_arg_fail(1)) SWIG_fail;
18658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18659 if (SWIG_arg_fail(2)) SWIG_fail;
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 (arg1)->base_RemoveChild(arg2);
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 Py_INCREF(Py_None); resultobj = Py_None;
18668 return resultobj;
18669 fail:
18670 return NULL;
18671 }
18672
18673
18674 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18677 bool result;
18678 PyObject * obj0 = 0 ;
18679 char *kwnames[] = {
18680 (char *) "self", NULL
18681 };
18682
18683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18685 if (SWIG_arg_fail(1)) SWIG_fail;
18686 {
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 {
18694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18695 }
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18705 wxVisualAttributes result;
18706 PyObject * obj0 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18713 if (SWIG_arg_fail(1)) SWIG_fail;
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (arg1)->base_GetDefaultAttributes();
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 {
18722 wxVisualAttributes * resultptr;
18723 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
18724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18725 }
18726 return resultobj;
18727 fail:
18728 return NULL;
18729 }
18730
18731
18732 static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18735 PyObject * obj0 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
18741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18742 if (SWIG_arg_fail(1)) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 (arg1)->base_OnInternalIdle();
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 Py_INCREF(Py_None); resultobj = Py_None;
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18758 PyObject *obj;
18759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18760 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18761 Py_INCREF(obj);
18762 return Py_BuildValue((char *)"");
18763 }
18764 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj;
18766 wxWindow *arg1 = (wxWindow *) 0 ;
18767 int arg2 = (int) (int)-1 ;
18768 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18769 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18770 wxSize const &arg4_defvalue = wxDefaultSize ;
18771 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18772 long arg5 = (long) 0 ;
18773 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18774 wxString *arg6 = (wxString *) &arg6_defvalue ;
18775 wxPyPanel *result;
18776 wxPoint temp3 ;
18777 wxSize temp4 ;
18778 bool temp6 = false ;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj1 = 0 ;
18781 PyObject * obj2 = 0 ;
18782 PyObject * obj3 = 0 ;
18783 PyObject * obj4 = 0 ;
18784 PyObject * obj5 = 0 ;
18785 char *kwnames[] = {
18786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18787 };
18788
18789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18791 if (SWIG_arg_fail(1)) SWIG_fail;
18792 if (obj1) {
18793 {
18794 arg2 = (int const)(SWIG_As_int(obj1));
18795 if (SWIG_arg_fail(2)) SWIG_fail;
18796 }
18797 }
18798 if (obj2) {
18799 {
18800 arg3 = &temp3;
18801 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18802 }
18803 }
18804 if (obj3) {
18805 {
18806 arg4 = &temp4;
18807 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18808 }
18809 }
18810 if (obj4) {
18811 {
18812 arg5 = (long)(SWIG_As_long(obj4));
18813 if (SWIG_arg_fail(5)) SWIG_fail;
18814 }
18815 }
18816 if (obj5) {
18817 {
18818 arg6 = wxString_in_helper(obj5);
18819 if (arg6 == NULL) SWIG_fail;
18820 temp6 = true;
18821 }
18822 }
18823 {
18824 if (!wxPyCheckForApp()) SWIG_fail;
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18832 {
18833 if (temp6)
18834 delete arg6;
18835 }
18836 return resultobj;
18837 fail:
18838 {
18839 if (temp6)
18840 delete arg6;
18841 }
18842 return NULL;
18843 }
18844
18845
18846 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj;
18848 wxPyPanel *result;
18849 char *kwnames[] = {
18850 NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18854 {
18855 if (!wxPyCheckForApp()) SWIG_fail;
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 result = (wxPyPanel *)new wxPyPanel();
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18863 return resultobj;
18864 fail:
18865 return NULL;
18866 }
18867
18868
18869 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj;
18871 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18872 PyObject *arg2 = (PyObject *) 0 ;
18873 PyObject *arg3 = (PyObject *) 0 ;
18874 PyObject * obj0 = 0 ;
18875 PyObject * obj1 = 0 ;
18876 PyObject * obj2 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self",(char *) "self",(char *) "_class", NULL
18879 };
18880
18881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail;
18884 arg2 = obj1;
18885 arg3 = obj2;
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 (arg1)->_setCallbackInfo(arg2,arg3);
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 Py_INCREF(Py_None); resultobj = Py_None;
18894 return resultobj;
18895 fail:
18896 return NULL;
18897 }
18898
18899
18900 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18901 PyObject *resultobj;
18902 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18903 wxSize *arg2 = 0 ;
18904 wxSize temp2 ;
18905 PyObject * obj0 = 0 ;
18906 PyObject * obj1 = 0 ;
18907 char *kwnames[] = {
18908 (char *) "self",(char *) "size", NULL
18909 };
18910
18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18913 if (SWIG_arg_fail(1)) SWIG_fail;
18914 {
18915 arg2 = &temp2;
18916 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18917 }
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 (arg1)->SetBestSize((wxSize const &)*arg2);
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 Py_INCREF(Py_None); resultobj = Py_None;
18926 return resultobj;
18927 fail:
18928 return NULL;
18929 }
18930
18931
18932 static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18933 PyObject *resultobj;
18934 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18935 wxDC *arg2 = (wxDC *) 0 ;
18936 bool result;
18937 PyObject * obj0 = 0 ;
18938 PyObject * obj1 = 0 ;
18939 char *kwnames[] = {
18940 (char *) "self",(char *) "dc", NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail;
18946 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18947 if (SWIG_arg_fail(2)) SWIG_fail;
18948 {
18949 PyThreadState* __tstate = wxPyBeginAllowThreads();
18950 result = (bool)(arg1)->DoEraseBackground(arg2);
18951
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 {
18956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18957 }
18958 return resultobj;
18959 fail:
18960 return NULL;
18961 }
18962
18963
18964 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj;
18966 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18967 int arg2 ;
18968 int arg3 ;
18969 int arg4 ;
18970 int arg5 ;
18971 PyObject * obj0 = 0 ;
18972 PyObject * obj1 = 0 ;
18973 PyObject * obj2 = 0 ;
18974 PyObject * obj3 = 0 ;
18975 PyObject * obj4 = 0 ;
18976 char *kwnames[] = {
18977 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18978 };
18979
18980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18982 if (SWIG_arg_fail(1)) SWIG_fail;
18983 {
18984 arg2 = (int)(SWIG_As_int(obj1));
18985 if (SWIG_arg_fail(2)) SWIG_fail;
18986 }
18987 {
18988 arg3 = (int)(SWIG_As_int(obj2));
18989 if (SWIG_arg_fail(3)) SWIG_fail;
18990 }
18991 {
18992 arg4 = (int)(SWIG_As_int(obj3));
18993 if (SWIG_arg_fail(4)) SWIG_fail;
18994 }
18995 {
18996 arg5 = (int)(SWIG_As_int(obj4));
18997 if (SWIG_arg_fail(5)) SWIG_fail;
18998 }
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 Py_INCREF(Py_None); resultobj = Py_None;
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19016 int arg2 ;
19017 int arg3 ;
19018 int arg4 ;
19019 int arg5 ;
19020 int arg6 = (int) wxSIZE_AUTO ;
19021 PyObject * obj0 = 0 ;
19022 PyObject * obj1 = 0 ;
19023 PyObject * obj2 = 0 ;
19024 PyObject * obj3 = 0 ;
19025 PyObject * obj4 = 0 ;
19026 PyObject * obj5 = 0 ;
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19029 };
19030
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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 arg2 = (int)(SWIG_As_int(obj1));
19036 if (SWIG_arg_fail(2)) SWIG_fail;
19037 }
19038 {
19039 arg3 = (int)(SWIG_As_int(obj2));
19040 if (SWIG_arg_fail(3)) SWIG_fail;
19041 }
19042 {
19043 arg4 = (int)(SWIG_As_int(obj3));
19044 if (SWIG_arg_fail(4)) SWIG_fail;
19045 }
19046 {
19047 arg5 = (int)(SWIG_As_int(obj4));
19048 if (SWIG_arg_fail(5)) SWIG_fail;
19049 }
19050 if (obj5) {
19051 {
19052 arg6 = (int)(SWIG_As_int(obj5));
19053 if (SWIG_arg_fail(6)) SWIG_fail;
19054 }
19055 }
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 Py_INCREF(Py_None); resultobj = Py_None;
19064 return resultobj;
19065 fail:
19066 return NULL;
19067 }
19068
19069
19070 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19073 int arg2 ;
19074 int arg3 ;
19075 PyObject * obj0 = 0 ;
19076 PyObject * obj1 = 0 ;
19077 PyObject * obj2 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self",(char *) "width",(char *) "height", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail;
19085 {
19086 arg2 = (int)(SWIG_As_int(obj1));
19087 if (SWIG_arg_fail(2)) SWIG_fail;
19088 }
19089 {
19090 arg3 = (int)(SWIG_As_int(obj2));
19091 if (SWIG_arg_fail(3)) SWIG_fail;
19092 }
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 (arg1)->base_DoSetClientSize(arg2,arg3);
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 Py_INCREF(Py_None); resultobj = Py_None;
19101 return resultobj;
19102 fail:
19103 return NULL;
19104 }
19105
19106
19107 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19108 PyObject *resultobj;
19109 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19110 int arg2 ;
19111 int arg3 ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 PyObject * obj2 = 0 ;
19115 char *kwnames[] = {
19116 (char *) "self",(char *) "x",(char *) "y", NULL
19117 };
19118
19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19121 if (SWIG_arg_fail(1)) SWIG_fail;
19122 {
19123 arg2 = (int)(SWIG_As_int(obj1));
19124 if (SWIG_arg_fail(2)) SWIG_fail;
19125 }
19126 {
19127 arg3 = (int)(SWIG_As_int(obj2));
19128 if (SWIG_arg_fail(3)) SWIG_fail;
19129 }
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 Py_INCREF(Py_None); resultobj = Py_None;
19138 return resultobj;
19139 fail:
19140 return NULL;
19141 }
19142
19143
19144 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19145 PyObject *resultobj;
19146 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19147 int *arg2 = (int *) 0 ;
19148 int *arg3 = (int *) 0 ;
19149 int temp2 ;
19150 int res2 = 0 ;
19151 int temp3 ;
19152 int res3 = 0 ;
19153 PyObject * obj0 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self", NULL
19156 };
19157
19158 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19159 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
19161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19162 if (SWIG_arg_fail(1)) SWIG_fail;
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 Py_INCREF(Py_None); resultobj = Py_None;
19171 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19172 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19173 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19174 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19175 return resultobj;
19176 fail:
19177 return NULL;
19178 }
19179
19180
19181 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj;
19183 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19184 int *arg2 = (int *) 0 ;
19185 int *arg3 = (int *) 0 ;
19186 int temp2 ;
19187 int res2 = 0 ;
19188 int temp3 ;
19189 int res3 = 0 ;
19190 PyObject * obj0 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self", NULL
19193 };
19194
19195 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19196 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19199 if (SWIG_arg_fail(1)) SWIG_fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 Py_INCREF(Py_None); resultobj = Py_None;
19208 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19209 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19210 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19211 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19212 return resultobj;
19213 fail:
19214 return NULL;
19215 }
19216
19217
19218 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19219 PyObject *resultobj;
19220 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19221 int *arg2 = (int *) 0 ;
19222 int *arg3 = (int *) 0 ;
19223 int temp2 ;
19224 int res2 = 0 ;
19225 int temp3 ;
19226 int res3 = 0 ;
19227 PyObject * obj0 = 0 ;
19228 char *kwnames[] = {
19229 (char *) "self", NULL
19230 };
19231
19232 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19233 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
19235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19236 if (SWIG_arg_fail(1)) SWIG_fail;
19237 {
19238 PyThreadState* __tstate = wxPyBeginAllowThreads();
19239 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19240
19241 wxPyEndAllowThreads(__tstate);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 Py_INCREF(Py_None); resultobj = Py_None;
19245 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19246 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19247 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19248 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19249 return resultobj;
19250 fail:
19251 return NULL;
19252 }
19253
19254
19255 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19256 PyObject *resultobj;
19257 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19258 wxSize result;
19259 PyObject * obj0 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "self", NULL
19262 };
19263
19264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19266 if (SWIG_arg_fail(1)) SWIG_fail;
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19270
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 {
19275 wxSize * resultptr;
19276 resultptr = new wxSize((wxSize &)(result));
19277 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19278 }
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19288 wxSize result;
19289 PyObject * obj0 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "self", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19296 if (SWIG_arg_fail(1)) SWIG_fail;
19297 {
19298 PyThreadState* __tstate = wxPyBeginAllowThreads();
19299 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19300
19301 wxPyEndAllowThreads(__tstate);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 {
19305 wxSize * resultptr;
19306 resultptr = new wxSize((wxSize &)(result));
19307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19308 }
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19318 PyObject * obj0 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
19324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19325 if (SWIG_arg_fail(1)) SWIG_fail;
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 (arg1)->base_InitDialog();
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 Py_INCREF(Py_None); resultobj = Py_None;
19334 return resultobj;
19335 fail:
19336 return NULL;
19337 }
19338
19339
19340 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj;
19342 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19343 bool result;
19344 PyObject * obj0 = 0 ;
19345 char *kwnames[] = {
19346 (char *) "self", NULL
19347 };
19348
19349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19351 if (SWIG_arg_fail(1)) SWIG_fail;
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 result = (bool)(arg1)->base_TransferDataToWindow();
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 {
19360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19361 }
19362 return resultobj;
19363 fail:
19364 return NULL;
19365 }
19366
19367
19368 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19369 PyObject *resultobj;
19370 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19371 bool result;
19372 PyObject * obj0 = 0 ;
19373 char *kwnames[] = {
19374 (char *) "self", NULL
19375 };
19376
19377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19379 if (SWIG_arg_fail(1)) SWIG_fail;
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 result = (bool)(arg1)->base_TransferDataFromWindow();
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 {
19388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19389 }
19390 return resultobj;
19391 fail:
19392 return NULL;
19393 }
19394
19395
19396 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19397 PyObject *resultobj;
19398 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19399 bool result;
19400 PyObject * obj0 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
19406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19407 if (SWIG_arg_fail(1)) SWIG_fail;
19408 {
19409 PyThreadState* __tstate = wxPyBeginAllowThreads();
19410 result = (bool)(arg1)->base_Validate();
19411
19412 wxPyEndAllowThreads(__tstate);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 }
19415 {
19416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19417 }
19418 return resultobj;
19419 fail:
19420 return NULL;
19421 }
19422
19423
19424 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19425 PyObject *resultobj;
19426 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19427 bool result;
19428 PyObject * obj0 = 0 ;
19429 char *kwnames[] = {
19430 (char *) "self", NULL
19431 };
19432
19433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19435 if (SWIG_arg_fail(1)) SWIG_fail;
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19439
19440 wxPyEndAllowThreads(__tstate);
19441 if (PyErr_Occurred()) SWIG_fail;
19442 }
19443 {
19444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19445 }
19446 return resultobj;
19447 fail:
19448 return NULL;
19449 }
19450
19451
19452 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19455 bool result;
19456 PyObject * obj0 = 0 ;
19457 char *kwnames[] = {
19458 (char *) "self", NULL
19459 };
19460
19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19463 if (SWIG_arg_fail(1)) SWIG_fail;
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19467
19468 wxPyEndAllowThreads(__tstate);
19469 if (PyErr_Occurred()) SWIG_fail;
19470 }
19471 {
19472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19473 }
19474 return resultobj;
19475 fail:
19476 return NULL;
19477 }
19478
19479
19480 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj;
19482 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19483 wxSize result;
19484 PyObject * obj0 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19491 if (SWIG_arg_fail(1)) SWIG_fail;
19492 {
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19495
19496 wxPyEndAllowThreads(__tstate);
19497 if (PyErr_Occurred()) SWIG_fail;
19498 }
19499 {
19500 wxSize * resultptr;
19501 resultptr = new wxSize((wxSize &)(result));
19502 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19503 }
19504 return resultobj;
19505 fail:
19506 return NULL;
19507 }
19508
19509
19510 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19511 PyObject *resultobj;
19512 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19513 wxWindow *arg2 = (wxWindow *) 0 ;
19514 PyObject * obj0 = 0 ;
19515 PyObject * obj1 = 0 ;
19516 char *kwnames[] = {
19517 (char *) "self",(char *) "child", NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19522 if (SWIG_arg_fail(1)) SWIG_fail;
19523 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19524 if (SWIG_arg_fail(2)) SWIG_fail;
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 (arg1)->base_AddChild(arg2);
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 Py_INCREF(Py_None); resultobj = Py_None;
19533 return resultobj;
19534 fail:
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19542 wxWindow *arg2 = (wxWindow *) 0 ;
19543 PyObject * obj0 = 0 ;
19544 PyObject * obj1 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self",(char *) "child", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19551 if (SWIG_arg_fail(1)) SWIG_fail;
19552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19553 if (SWIG_arg_fail(2)) SWIG_fail;
19554 {
19555 PyThreadState* __tstate = wxPyBeginAllowThreads();
19556 (arg1)->base_RemoveChild(arg2);
19557
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 Py_INCREF(Py_None); resultobj = Py_None;
19562 return resultobj;
19563 fail:
19564 return NULL;
19565 }
19566
19567
19568 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19569 PyObject *resultobj;
19570 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19571 bool result;
19572 PyObject * obj0 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail;
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 {
19588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19589 }
19590 return resultobj;
19591 fail:
19592 return NULL;
19593 }
19594
19595
19596 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19597 PyObject *resultobj;
19598 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19599 wxVisualAttributes result;
19600 PyObject * obj0 = 0 ;
19601 char *kwnames[] = {
19602 (char *) "self", NULL
19603 };
19604
19605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19607 if (SWIG_arg_fail(1)) SWIG_fail;
19608 {
19609 PyThreadState* __tstate = wxPyBeginAllowThreads();
19610 result = (arg1)->base_GetDefaultAttributes();
19611
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 {
19616 wxVisualAttributes * resultptr;
19617 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
19618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19619 }
19620 return resultobj;
19621 fail:
19622 return NULL;
19623 }
19624
19625
19626 static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
19627 PyObject *resultobj;
19628 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19629 PyObject * obj0 = 0 ;
19630 char *kwnames[] = {
19631 (char *) "self", NULL
19632 };
19633
19634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
19635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19636 if (SWIG_arg_fail(1)) SWIG_fail;
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 (arg1)->base_OnInternalIdle();
19640
19641 wxPyEndAllowThreads(__tstate);
19642 if (PyErr_Occurred()) SWIG_fail;
19643 }
19644 Py_INCREF(Py_None); resultobj = Py_None;
19645 return resultobj;
19646 fail:
19647 return NULL;
19648 }
19649
19650
19651 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19652 PyObject *obj;
19653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19654 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19655 Py_INCREF(obj);
19656 return Py_BuildValue((char *)"");
19657 }
19658 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19659 PyObject *resultobj;
19660 wxWindow *arg1 = (wxWindow *) 0 ;
19661 int arg2 = (int) (int)-1 ;
19662 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19663 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19664 wxSize const &arg4_defvalue = wxDefaultSize ;
19665 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19666 long arg5 = (long) 0 ;
19667 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19668 wxString *arg6 = (wxString *) &arg6_defvalue ;
19669 wxPyScrolledWindow *result;
19670 wxPoint temp3 ;
19671 wxSize temp4 ;
19672 bool temp6 = false ;
19673 PyObject * obj0 = 0 ;
19674 PyObject * obj1 = 0 ;
19675 PyObject * obj2 = 0 ;
19676 PyObject * obj3 = 0 ;
19677 PyObject * obj4 = 0 ;
19678 PyObject * obj5 = 0 ;
19679 char *kwnames[] = {
19680 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19681 };
19682
19683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19685 if (SWIG_arg_fail(1)) SWIG_fail;
19686 if (obj1) {
19687 {
19688 arg2 = (int const)(SWIG_As_int(obj1));
19689 if (SWIG_arg_fail(2)) SWIG_fail;
19690 }
19691 }
19692 if (obj2) {
19693 {
19694 arg3 = &temp3;
19695 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19696 }
19697 }
19698 if (obj3) {
19699 {
19700 arg4 = &temp4;
19701 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19702 }
19703 }
19704 if (obj4) {
19705 {
19706 arg5 = (long)(SWIG_As_long(obj4));
19707 if (SWIG_arg_fail(5)) SWIG_fail;
19708 }
19709 }
19710 if (obj5) {
19711 {
19712 arg6 = wxString_in_helper(obj5);
19713 if (arg6 == NULL) SWIG_fail;
19714 temp6 = true;
19715 }
19716 }
19717 {
19718 if (!wxPyCheckForApp()) SWIG_fail;
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19726 {
19727 if (temp6)
19728 delete arg6;
19729 }
19730 return resultobj;
19731 fail:
19732 {
19733 if (temp6)
19734 delete arg6;
19735 }
19736 return NULL;
19737 }
19738
19739
19740 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19741 PyObject *resultobj;
19742 wxPyScrolledWindow *result;
19743 char *kwnames[] = {
19744 NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19748 {
19749 if (!wxPyCheckForApp()) SWIG_fail;
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19766 PyObject *arg2 = (PyObject *) 0 ;
19767 PyObject *arg3 = (PyObject *) 0 ;
19768 PyObject * obj0 = 0 ;
19769 PyObject * obj1 = 0 ;
19770 PyObject * obj2 = 0 ;
19771 char *kwnames[] = {
19772 (char *) "self",(char *) "self",(char *) "_class", NULL
19773 };
19774
19775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19777 if (SWIG_arg_fail(1)) SWIG_fail;
19778 arg2 = obj1;
19779 arg3 = obj2;
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 (arg1)->_setCallbackInfo(arg2,arg3);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 Py_INCREF(Py_None); resultobj = Py_None;
19788 return resultobj;
19789 fail:
19790 return NULL;
19791 }
19792
19793
19794 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19797 wxSize *arg2 = 0 ;
19798 wxSize temp2 ;
19799 PyObject * obj0 = 0 ;
19800 PyObject * obj1 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self",(char *) "size", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19807 if (SWIG_arg_fail(1)) SWIG_fail;
19808 {
19809 arg2 = &temp2;
19810 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19811 }
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 (arg1)->SetBestSize((wxSize const &)*arg2);
19815
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 Py_INCREF(Py_None); resultobj = Py_None;
19820 return resultobj;
19821 fail:
19822 return NULL;
19823 }
19824
19825
19826 static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19827 PyObject *resultobj;
19828 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19829 wxDC *arg2 = (wxDC *) 0 ;
19830 bool result;
19831 PyObject * obj0 = 0 ;
19832 PyObject * obj1 = 0 ;
19833 char *kwnames[] = {
19834 (char *) "self",(char *) "dc", NULL
19835 };
19836
19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19839 if (SWIG_arg_fail(1)) SWIG_fail;
19840 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19841 if (SWIG_arg_fail(2)) SWIG_fail;
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 result = (bool)(arg1)->DoEraseBackground(arg2);
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 {
19850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19851 }
19852 return resultobj;
19853 fail:
19854 return NULL;
19855 }
19856
19857
19858 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19859 PyObject *resultobj;
19860 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19861 int arg2 ;
19862 int arg3 ;
19863 int arg4 ;
19864 int arg5 ;
19865 PyObject * obj0 = 0 ;
19866 PyObject * obj1 = 0 ;
19867 PyObject * obj2 = 0 ;
19868 PyObject * obj3 = 0 ;
19869 PyObject * obj4 = 0 ;
19870 char *kwnames[] = {
19871 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19872 };
19873
19874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19876 if (SWIG_arg_fail(1)) SWIG_fail;
19877 {
19878 arg2 = (int)(SWIG_As_int(obj1));
19879 if (SWIG_arg_fail(2)) SWIG_fail;
19880 }
19881 {
19882 arg3 = (int)(SWIG_As_int(obj2));
19883 if (SWIG_arg_fail(3)) SWIG_fail;
19884 }
19885 {
19886 arg4 = (int)(SWIG_As_int(obj3));
19887 if (SWIG_arg_fail(4)) SWIG_fail;
19888 }
19889 {
19890 arg5 = (int)(SWIG_As_int(obj4));
19891 if (SWIG_arg_fail(5)) SWIG_fail;
19892 }
19893 {
19894 PyThreadState* __tstate = wxPyBeginAllowThreads();
19895 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19896
19897 wxPyEndAllowThreads(__tstate);
19898 if (PyErr_Occurred()) SWIG_fail;
19899 }
19900 Py_INCREF(Py_None); resultobj = Py_None;
19901 return resultobj;
19902 fail:
19903 return NULL;
19904 }
19905
19906
19907 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19908 PyObject *resultobj;
19909 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19910 int arg2 ;
19911 int arg3 ;
19912 int arg4 ;
19913 int arg5 ;
19914 int arg6 = (int) wxSIZE_AUTO ;
19915 PyObject * obj0 = 0 ;
19916 PyObject * obj1 = 0 ;
19917 PyObject * obj2 = 0 ;
19918 PyObject * obj3 = 0 ;
19919 PyObject * obj4 = 0 ;
19920 PyObject * obj5 = 0 ;
19921 char *kwnames[] = {
19922 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19923 };
19924
19925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail;
19928 {
19929 arg2 = (int)(SWIG_As_int(obj1));
19930 if (SWIG_arg_fail(2)) SWIG_fail;
19931 }
19932 {
19933 arg3 = (int)(SWIG_As_int(obj2));
19934 if (SWIG_arg_fail(3)) SWIG_fail;
19935 }
19936 {
19937 arg4 = (int)(SWIG_As_int(obj3));
19938 if (SWIG_arg_fail(4)) SWIG_fail;
19939 }
19940 {
19941 arg5 = (int)(SWIG_As_int(obj4));
19942 if (SWIG_arg_fail(5)) SWIG_fail;
19943 }
19944 if (obj5) {
19945 {
19946 arg6 = (int)(SWIG_As_int(obj5));
19947 if (SWIG_arg_fail(6)) SWIG_fail;
19948 }
19949 }
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 Py_INCREF(Py_None); resultobj = Py_None;
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19967 int arg2 ;
19968 int arg3 ;
19969 PyObject * obj0 = 0 ;
19970 PyObject * obj1 = 0 ;
19971 PyObject * obj2 = 0 ;
19972 char *kwnames[] = {
19973 (char *) "self",(char *) "width",(char *) "height", NULL
19974 };
19975
19976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19978 if (SWIG_arg_fail(1)) SWIG_fail;
19979 {
19980 arg2 = (int)(SWIG_As_int(obj1));
19981 if (SWIG_arg_fail(2)) SWIG_fail;
19982 }
19983 {
19984 arg3 = (int)(SWIG_As_int(obj2));
19985 if (SWIG_arg_fail(3)) SWIG_fail;
19986 }
19987 {
19988 PyThreadState* __tstate = wxPyBeginAllowThreads();
19989 (arg1)->base_DoSetClientSize(arg2,arg3);
19990
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 Py_INCREF(Py_None); resultobj = Py_None;
19995 return resultobj;
19996 fail:
19997 return NULL;
19998 }
19999
20000
20001 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20002 PyObject *resultobj;
20003 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20004 int arg2 ;
20005 int arg3 ;
20006 PyObject * obj0 = 0 ;
20007 PyObject * obj1 = 0 ;
20008 PyObject * obj2 = 0 ;
20009 char *kwnames[] = {
20010 (char *) "self",(char *) "x",(char *) "y", NULL
20011 };
20012
20013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20015 if (SWIG_arg_fail(1)) SWIG_fail;
20016 {
20017 arg2 = (int)(SWIG_As_int(obj1));
20018 if (SWIG_arg_fail(2)) SWIG_fail;
20019 }
20020 {
20021 arg3 = (int)(SWIG_As_int(obj2));
20022 if (SWIG_arg_fail(3)) SWIG_fail;
20023 }
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 (arg1)->base_DoSetVirtualSize(arg2,arg3);
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 Py_INCREF(Py_None); resultobj = Py_None;
20032 return resultobj;
20033 fail:
20034 return NULL;
20035 }
20036
20037
20038 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
20039 PyObject *resultobj;
20040 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20041 int *arg2 = (int *) 0 ;
20042 int *arg3 = (int *) 0 ;
20043 int temp2 ;
20044 int res2 = 0 ;
20045 int temp3 ;
20046 int res3 = 0 ;
20047 PyObject * obj0 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self", NULL
20050 };
20051
20052 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20053 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
20055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20056 if (SWIG_arg_fail(1)) SWIG_fail;
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 Py_INCREF(Py_None); resultobj = Py_None;
20065 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20066 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20067 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20068 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20069 return resultobj;
20070 fail:
20071 return NULL;
20072 }
20073
20074
20075 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
20076 PyObject *resultobj;
20077 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20078 int *arg2 = (int *) 0 ;
20079 int *arg3 = (int *) 0 ;
20080 int temp2 ;
20081 int res2 = 0 ;
20082 int temp3 ;
20083 int res3 = 0 ;
20084 PyObject * obj0 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self", NULL
20087 };
20088
20089 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20090 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
20092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20093 if (SWIG_arg_fail(1)) SWIG_fail;
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 Py_INCREF(Py_None); resultobj = Py_None;
20102 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20103 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20104 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20105 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20106 return resultobj;
20107 fail:
20108 return NULL;
20109 }
20110
20111
20112 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20113 PyObject *resultobj;
20114 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20115 int *arg2 = (int *) 0 ;
20116 int *arg3 = (int *) 0 ;
20117 int temp2 ;
20118 int res2 = 0 ;
20119 int temp3 ;
20120 int res3 = 0 ;
20121 PyObject * obj0 = 0 ;
20122 char *kwnames[] = {
20123 (char *) "self", NULL
20124 };
20125
20126 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20127 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
20129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20130 if (SWIG_arg_fail(1)) SWIG_fail;
20131 {
20132 PyThreadState* __tstate = wxPyBeginAllowThreads();
20133 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
20134
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
20138 Py_INCREF(Py_None); resultobj = Py_None;
20139 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20140 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20141 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20142 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20143 return resultobj;
20144 fail:
20145 return NULL;
20146 }
20147
20148
20149 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20150 PyObject *resultobj;
20151 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20152 wxSize result;
20153 PyObject * obj0 = 0 ;
20154 char *kwnames[] = {
20155 (char *) "self", NULL
20156 };
20157
20158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
20159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20160 if (SWIG_arg_fail(1)) SWIG_fail;
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
20164
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 {
20169 wxSize * resultptr;
20170 resultptr = new wxSize((wxSize &)(result));
20171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20172 }
20173 return resultobj;
20174 fail:
20175 return NULL;
20176 }
20177
20178
20179 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj;
20181 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20182 wxSize result;
20183 PyObject * obj0 = 0 ;
20184 char *kwnames[] = {
20185 (char *) "self", NULL
20186 };
20187
20188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
20189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20190 if (SWIG_arg_fail(1)) SWIG_fail;
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 {
20199 wxSize * resultptr;
20200 resultptr = new wxSize((wxSize &)(result));
20201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20202 }
20203 return resultobj;
20204 fail:
20205 return NULL;
20206 }
20207
20208
20209 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20210 PyObject *resultobj;
20211 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20212 PyObject * obj0 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "self", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
20218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20219 if (SWIG_arg_fail(1)) SWIG_fail;
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 (arg1)->base_InitDialog();
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 Py_INCREF(Py_None); resultobj = Py_None;
20228 return resultobj;
20229 fail:
20230 return NULL;
20231 }
20232
20233
20234 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj;
20236 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20237 bool result;
20238 PyObject * obj0 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
20244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail;
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 result = (bool)(arg1)->base_TransferDataToWindow();
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 {
20254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20255 }
20256 return resultobj;
20257 fail:
20258 return NULL;
20259 }
20260
20261
20262 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20265 bool result;
20266 PyObject * obj0 = 0 ;
20267 char *kwnames[] = {
20268 (char *) "self", NULL
20269 };
20270
20271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
20272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20273 if (SWIG_arg_fail(1)) SWIG_fail;
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 result = (bool)(arg1)->base_TransferDataFromWindow();
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 {
20282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20283 }
20284 return resultobj;
20285 fail:
20286 return NULL;
20287 }
20288
20289
20290 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20293 bool result;
20294 PyObject * obj0 = 0 ;
20295 char *kwnames[] = {
20296 (char *) "self", NULL
20297 };
20298
20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
20300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20301 if (SWIG_arg_fail(1)) SWIG_fail;
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 result = (bool)(arg1)->base_Validate();
20305
20306 wxPyEndAllowThreads(__tstate);
20307 if (PyErr_Occurred()) SWIG_fail;
20308 }
20309 {
20310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20311 }
20312 return resultobj;
20313 fail:
20314 return NULL;
20315 }
20316
20317
20318 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
20319 PyObject *resultobj;
20320 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20321 bool result;
20322 PyObject * obj0 = 0 ;
20323 char *kwnames[] = {
20324 (char *) "self", NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
20328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20329 if (SWIG_arg_fail(1)) SWIG_fail;
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 {
20338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20339 }
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20349 bool result;
20350 PyObject * obj0 = 0 ;
20351 char *kwnames[] = {
20352 (char *) "self", NULL
20353 };
20354
20355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20357 if (SWIG_arg_fail(1)) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 {
20366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20367 }
20368 return resultobj;
20369 fail:
20370 return NULL;
20371 }
20372
20373
20374 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20375 PyObject *resultobj;
20376 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20377 wxSize result;
20378 PyObject * obj0 = 0 ;
20379 char *kwnames[] = {
20380 (char *) "self", NULL
20381 };
20382
20383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
20384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20385 if (SWIG_arg_fail(1)) SWIG_fail;
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
20388 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
20393 {
20394 wxSize * resultptr;
20395 resultptr = new wxSize((wxSize &)(result));
20396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20397 }
20398 return resultobj;
20399 fail:
20400 return NULL;
20401 }
20402
20403
20404 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20405 PyObject *resultobj;
20406 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20407 wxWindow *arg2 = (wxWindow *) 0 ;
20408 PyObject * obj0 = 0 ;
20409 PyObject * obj1 = 0 ;
20410 char *kwnames[] = {
20411 (char *) "self",(char *) "child", NULL
20412 };
20413
20414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
20415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20416 if (SWIG_arg_fail(1)) SWIG_fail;
20417 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20418 if (SWIG_arg_fail(2)) SWIG_fail;
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 (arg1)->base_AddChild(arg2);
20422
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 Py_INCREF(Py_None); resultobj = Py_None;
20427 return resultobj;
20428 fail:
20429 return NULL;
20430 }
20431
20432
20433 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20434 PyObject *resultobj;
20435 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20436 wxWindow *arg2 = (wxWindow *) 0 ;
20437 PyObject * obj0 = 0 ;
20438 PyObject * obj1 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self",(char *) "child", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail;
20446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20447 if (SWIG_arg_fail(2)) SWIG_fail;
20448 {
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 (arg1)->base_RemoveChild(arg2);
20451
20452 wxPyEndAllowThreads(__tstate);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 }
20455 Py_INCREF(Py_None); resultobj = Py_None;
20456 return resultobj;
20457 fail:
20458 return NULL;
20459 }
20460
20461
20462 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20463 PyObject *resultobj;
20464 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20465 bool result;
20466 PyObject * obj0 = 0 ;
20467 char *kwnames[] = {
20468 (char *) "self", NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail;
20474 {
20475 PyThreadState* __tstate = wxPyBeginAllowThreads();
20476 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20477
20478 wxPyEndAllowThreads(__tstate);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 }
20481 {
20482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20483 }
20484 return resultobj;
20485 fail:
20486 return NULL;
20487 }
20488
20489
20490 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj;
20492 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20493 wxVisualAttributes result;
20494 PyObject * obj0 = 0 ;
20495 char *kwnames[] = {
20496 (char *) "self", NULL
20497 };
20498
20499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20501 if (SWIG_arg_fail(1)) SWIG_fail;
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 result = (arg1)->base_GetDefaultAttributes();
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 {
20510 wxVisualAttributes * resultptr;
20511 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
20512 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20513 }
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20523 PyObject * obj0 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
20529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail;
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 (arg1)->base_OnInternalIdle();
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 Py_INCREF(Py_None); resultobj = Py_None;
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20546 PyObject *obj;
20547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20548 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20549 Py_INCREF(obj);
20550 return Py_BuildValue((char *)"");
20551 }
20552 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20553 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20554 return 1;
20555 }
20556
20557
20558 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20559 PyObject *pyobj;
20560
20561 {
20562 #if wxUSE_UNICODE
20563 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20564 #else
20565 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20566 #endif
20567 }
20568 return pyobj;
20569 }
20570
20571
20572 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20573 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20574 return 1;
20575 }
20576
20577
20578 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20579 PyObject *pyobj;
20580
20581 {
20582 #if wxUSE_UNICODE
20583 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20584 #else
20585 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20586 #endif
20587 }
20588 return pyobj;
20589 }
20590
20591
20592 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20593 PyObject *resultobj;
20594 wxPrintData *result;
20595
20596 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 result = (wxPrintData *)new wxPrintData();
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20612 PyObject *resultobj;
20613 wxPrintData *arg1 = 0 ;
20614 wxPrintData *result;
20615 PyObject * obj0 = 0 ;
20616
20617 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20618 {
20619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20620 if (SWIG_arg_fail(1)) SWIG_fail;
20621 if (arg1 == NULL) {
20622 SWIG_null_ref("wxPrintData");
20623 }
20624 if (SWIG_arg_fail(1)) SWIG_fail;
20625 }
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20629
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20634 return resultobj;
20635 fail:
20636 return NULL;
20637 }
20638
20639
20640 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20641 int argc;
20642 PyObject *argv[2];
20643 int ii;
20644
20645 argc = PyObject_Length(args);
20646 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20647 argv[ii] = PyTuple_GetItem(args,ii);
20648 }
20649 if (argc == 0) {
20650 return _wrap_new_PrintData__SWIG_0(self,args);
20651 }
20652 if (argc == 1) {
20653 int _v;
20654 {
20655 void *ptr = 0;
20656 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20657 _v = 0;
20658 PyErr_Clear();
20659 } else {
20660 _v = (ptr != 0);
20661 }
20662 }
20663 if (_v) {
20664 return _wrap_new_PrintData__SWIG_1(self,args);
20665 }
20666 }
20667
20668 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20669 return NULL;
20670 }
20671
20672
20673 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj;
20675 wxPrintData *arg1 = (wxPrintData *) 0 ;
20676 PyObject * obj0 = 0 ;
20677 char *kwnames[] = {
20678 (char *) "self", NULL
20679 };
20680
20681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20683 if (SWIG_arg_fail(1)) SWIG_fail;
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 delete arg1;
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 Py_INCREF(Py_None); resultobj = Py_None;
20692 return resultobj;
20693 fail:
20694 return NULL;
20695 }
20696
20697
20698 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxPrintData *arg1 = (wxPrintData *) 0 ;
20701 int result;
20702 PyObject * obj0 = 0 ;
20703 char *kwnames[] = {
20704 (char *) "self", NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20709 if (SWIG_arg_fail(1)) SWIG_fail;
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 result = (int)(arg1)->GetNoCopies();
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 {
20718 resultobj = SWIG_From_int((int)(result));
20719 }
20720 return resultobj;
20721 fail:
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxPrintData *arg1 = (wxPrintData *) 0 ;
20729 bool result;
20730 PyObject * obj0 = 0 ;
20731 char *kwnames[] = {
20732 (char *) "self", NULL
20733 };
20734
20735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20737 if (SWIG_arg_fail(1)) SWIG_fail;
20738 {
20739 PyThreadState* __tstate = wxPyBeginAllowThreads();
20740 result = (bool)(arg1)->GetCollate();
20741
20742 wxPyEndAllowThreads(__tstate);
20743 if (PyErr_Occurred()) SWIG_fail;
20744 }
20745 {
20746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20747 }
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxPrintData *arg1 = (wxPrintData *) 0 ;
20757 int result;
20758 PyObject * obj0 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "self", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20765 if (SWIG_arg_fail(1)) SWIG_fail;
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 result = (int)(arg1)->GetOrientation();
20769
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 {
20774 resultobj = SWIG_From_int((int)(result));
20775 }
20776 return resultobj;
20777 fail:
20778 return NULL;
20779 }
20780
20781
20782 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20783 PyObject *resultobj;
20784 wxPrintData *arg1 = (wxPrintData *) 0 ;
20785 bool result;
20786 PyObject * obj0 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "self", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail;
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 result = (bool)(arg1)->Ok();
20797
20798 wxPyEndAllowThreads(__tstate);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 {
20802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20803 }
20804 return resultobj;
20805 fail:
20806 return NULL;
20807 }
20808
20809
20810 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20811 PyObject *resultobj;
20812 wxPrintData *arg1 = (wxPrintData *) 0 ;
20813 wxString *result;
20814 PyObject * obj0 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 {
20825 wxString const &_result_ref = (arg1)->GetPrinterName();
20826 result = (wxString *) &_result_ref;
20827 }
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 {
20833 #if wxUSE_UNICODE
20834 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20835 #else
20836 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20837 #endif
20838 }
20839 return resultobj;
20840 fail:
20841 return NULL;
20842 }
20843
20844
20845 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20846 PyObject *resultobj;
20847 wxPrintData *arg1 = (wxPrintData *) 0 ;
20848 bool result;
20849 PyObject * obj0 = 0 ;
20850 char *kwnames[] = {
20851 (char *) "self", NULL
20852 };
20853
20854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20856 if (SWIG_arg_fail(1)) SWIG_fail;
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 result = (bool)(arg1)->GetColour();
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 {
20865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20866 }
20867 return resultobj;
20868 fail:
20869 return NULL;
20870 }
20871
20872
20873 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20874 PyObject *resultobj;
20875 wxPrintData *arg1 = (wxPrintData *) 0 ;
20876 wxDuplexMode result;
20877 PyObject * obj0 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20884 if (SWIG_arg_fail(1)) SWIG_fail;
20885 {
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (wxDuplexMode)(arg1)->GetDuplex();
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 resultobj = SWIG_From_int((result));
20893 return resultobj;
20894 fail:
20895 return NULL;
20896 }
20897
20898
20899 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20900 PyObject *resultobj;
20901 wxPrintData *arg1 = (wxPrintData *) 0 ;
20902 wxPaperSize result;
20903 PyObject * obj0 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20910 if (SWIG_arg_fail(1)) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = (wxPaperSize)(arg1)->GetPaperId();
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = SWIG_From_int((result));
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPrintData *arg1 = (wxPrintData *) 0 ;
20928 wxSize *result;
20929 PyObject * obj0 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20936 if (SWIG_arg_fail(1)) SWIG_fail;
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 {
20940 wxSize const &_result_ref = (arg1)->GetPaperSize();
20941 result = (wxSize *) &_result_ref;
20942 }
20943
20944 wxPyEndAllowThreads(__tstate);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 }
20947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20948 return resultobj;
20949 fail:
20950 return NULL;
20951 }
20952
20953
20954 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 wxPrintData *arg1 = (wxPrintData *) 0 ;
20957 int result;
20958 PyObject * obj0 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
20964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20965 if (SWIG_arg_fail(1)) SWIG_fail;
20966 {
20967 PyThreadState* __tstate = wxPyBeginAllowThreads();
20968 result = (int)(arg1)->GetQuality();
20969
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 {
20974 resultobj = SWIG_From_int((int)(result));
20975 }
20976 return resultobj;
20977 fail:
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxPrintData *arg1 = (wxPrintData *) 0 ;
20985 wxPrintBin result;
20986 PyObject * obj0 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "self", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
20992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail;
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 result = (wxPrintBin)(arg1)->GetBin();
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 resultobj = SWIG_From_int((result));
21002 return resultobj;
21003 fail:
21004 return NULL;
21005 }
21006
21007
21008 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21009 PyObject *resultobj;
21010 wxPrintData *arg1 = (wxPrintData *) 0 ;
21011 wxPrintMode result;
21012 PyObject * obj0 = 0 ;
21013 char *kwnames[] = {
21014 (char *) "self", NULL
21015 };
21016
21017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
21018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21019 if (SWIG_arg_fail(1)) SWIG_fail;
21020 {
21021 PyThreadState* __tstate = wxPyBeginAllowThreads();
21022 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
21023
21024 wxPyEndAllowThreads(__tstate);
21025 if (PyErr_Occurred()) SWIG_fail;
21026 }
21027 resultobj = SWIG_From_int((result));
21028 return resultobj;
21029 fail:
21030 return NULL;
21031 }
21032
21033
21034 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21035 PyObject *resultobj;
21036 wxPrintData *arg1 = (wxPrintData *) 0 ;
21037 int arg2 ;
21038 PyObject * obj0 = 0 ;
21039 PyObject * obj1 = 0 ;
21040 char *kwnames[] = {
21041 (char *) "self",(char *) "v", NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21046 if (SWIG_arg_fail(1)) SWIG_fail;
21047 {
21048 arg2 = (int)(SWIG_As_int(obj1));
21049 if (SWIG_arg_fail(2)) SWIG_fail;
21050 }
21051 {
21052 PyThreadState* __tstate = wxPyBeginAllowThreads();
21053 (arg1)->SetNoCopies(arg2);
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 Py_INCREF(Py_None); resultobj = Py_None;
21059 return resultobj;
21060 fail:
21061 return NULL;
21062 }
21063
21064
21065 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21066 PyObject *resultobj;
21067 wxPrintData *arg1 = (wxPrintData *) 0 ;
21068 bool arg2 ;
21069 PyObject * obj0 = 0 ;
21070 PyObject * obj1 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "self",(char *) "flag", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21077 if (SWIG_arg_fail(1)) SWIG_fail;
21078 {
21079 arg2 = (bool)(SWIG_As_bool(obj1));
21080 if (SWIG_arg_fail(2)) SWIG_fail;
21081 }
21082 {
21083 PyThreadState* __tstate = wxPyBeginAllowThreads();
21084 (arg1)->SetCollate(arg2);
21085
21086 wxPyEndAllowThreads(__tstate);
21087 if (PyErr_Occurred()) SWIG_fail;
21088 }
21089 Py_INCREF(Py_None); resultobj = Py_None;
21090 return resultobj;
21091 fail:
21092 return NULL;
21093 }
21094
21095
21096 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxPrintData *arg1 = (wxPrintData *) 0 ;
21099 int arg2 ;
21100 PyObject * obj0 = 0 ;
21101 PyObject * obj1 = 0 ;
21102 char *kwnames[] = {
21103 (char *) "self",(char *) "orient", NULL
21104 };
21105
21106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
21107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21108 if (SWIG_arg_fail(1)) SWIG_fail;
21109 {
21110 arg2 = (int)(SWIG_As_int(obj1));
21111 if (SWIG_arg_fail(2)) SWIG_fail;
21112 }
21113 {
21114 PyThreadState* __tstate = wxPyBeginAllowThreads();
21115 (arg1)->SetOrientation(arg2);
21116
21117 wxPyEndAllowThreads(__tstate);
21118 if (PyErr_Occurred()) SWIG_fail;
21119 }
21120 Py_INCREF(Py_None); resultobj = Py_None;
21121 return resultobj;
21122 fail:
21123 return NULL;
21124 }
21125
21126
21127 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
21128 PyObject *resultobj;
21129 wxPrintData *arg1 = (wxPrintData *) 0 ;
21130 wxString *arg2 = 0 ;
21131 bool temp2 = false ;
21132 PyObject * obj0 = 0 ;
21133 PyObject * obj1 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self",(char *) "name", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
21139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21140 if (SWIG_arg_fail(1)) SWIG_fail;
21141 {
21142 arg2 = wxString_in_helper(obj1);
21143 if (arg2 == NULL) SWIG_fail;
21144 temp2 = true;
21145 }
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 (arg1)->SetPrinterName((wxString const &)*arg2);
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 Py_INCREF(Py_None); resultobj = Py_None;
21154 {
21155 if (temp2)
21156 delete arg2;
21157 }
21158 return resultobj;
21159 fail:
21160 {
21161 if (temp2)
21162 delete arg2;
21163 }
21164 return NULL;
21165 }
21166
21167
21168 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
21169 PyObject *resultobj;
21170 wxPrintData *arg1 = (wxPrintData *) 0 ;
21171 bool arg2 ;
21172 PyObject * obj0 = 0 ;
21173 PyObject * obj1 = 0 ;
21174 char *kwnames[] = {
21175 (char *) "self",(char *) "colour", NULL
21176 };
21177
21178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
21179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21180 if (SWIG_arg_fail(1)) SWIG_fail;
21181 {
21182 arg2 = (bool)(SWIG_As_bool(obj1));
21183 if (SWIG_arg_fail(2)) SWIG_fail;
21184 }
21185 {
21186 PyThreadState* __tstate = wxPyBeginAllowThreads();
21187 (arg1)->SetColour(arg2);
21188
21189 wxPyEndAllowThreads(__tstate);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
21192 Py_INCREF(Py_None); resultobj = Py_None;
21193 return resultobj;
21194 fail:
21195 return NULL;
21196 }
21197
21198
21199 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
21200 PyObject *resultobj;
21201 wxPrintData *arg1 = (wxPrintData *) 0 ;
21202 wxDuplexMode arg2 ;
21203 PyObject * obj0 = 0 ;
21204 PyObject * obj1 = 0 ;
21205 char *kwnames[] = {
21206 (char *) "self",(char *) "duplex", NULL
21207 };
21208
21209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
21210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21211 if (SWIG_arg_fail(1)) SWIG_fail;
21212 {
21213 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
21214 if (SWIG_arg_fail(2)) SWIG_fail;
21215 }
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 (arg1)->SetDuplex((wxDuplexMode )arg2);
21219
21220 wxPyEndAllowThreads(__tstate);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 }
21223 Py_INCREF(Py_None); resultobj = Py_None;
21224 return resultobj;
21225 fail:
21226 return NULL;
21227 }
21228
21229
21230 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
21231 PyObject *resultobj;
21232 wxPrintData *arg1 = (wxPrintData *) 0 ;
21233 wxPaperSize arg2 ;
21234 PyObject * obj0 = 0 ;
21235 PyObject * obj1 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "self",(char *) "sizeId", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
21241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21242 if (SWIG_arg_fail(1)) SWIG_fail;
21243 {
21244 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
21245 if (SWIG_arg_fail(2)) SWIG_fail;
21246 }
21247 {
21248 PyThreadState* __tstate = wxPyBeginAllowThreads();
21249 (arg1)->SetPaperId((wxPaperSize )arg2);
21250
21251 wxPyEndAllowThreads(__tstate);
21252 if (PyErr_Occurred()) SWIG_fail;
21253 }
21254 Py_INCREF(Py_None); resultobj = Py_None;
21255 return resultobj;
21256 fail:
21257 return NULL;
21258 }
21259
21260
21261 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj;
21263 wxPrintData *arg1 = (wxPrintData *) 0 ;
21264 wxSize *arg2 = 0 ;
21265 wxSize temp2 ;
21266 PyObject * obj0 = 0 ;
21267 PyObject * obj1 = 0 ;
21268 char *kwnames[] = {
21269 (char *) "self",(char *) "sz", NULL
21270 };
21271
21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
21273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21274 if (SWIG_arg_fail(1)) SWIG_fail;
21275 {
21276 arg2 = &temp2;
21277 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21278 }
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 (arg1)->SetPaperSize((wxSize const &)*arg2);
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 Py_INCREF(Py_None); resultobj = Py_None;
21287 return resultobj;
21288 fail:
21289 return NULL;
21290 }
21291
21292
21293 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxPrintData *arg1 = (wxPrintData *) 0 ;
21296 int arg2 ;
21297 PyObject * obj0 = 0 ;
21298 PyObject * obj1 = 0 ;
21299 char *kwnames[] = {
21300 (char *) "self",(char *) "quality", NULL
21301 };
21302
21303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
21304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21305 if (SWIG_arg_fail(1)) SWIG_fail;
21306 {
21307 arg2 = (int)(SWIG_As_int(obj1));
21308 if (SWIG_arg_fail(2)) SWIG_fail;
21309 }
21310 {
21311 PyThreadState* __tstate = wxPyBeginAllowThreads();
21312 (arg1)->SetQuality(arg2);
21313
21314 wxPyEndAllowThreads(__tstate);
21315 if (PyErr_Occurred()) SWIG_fail;
21316 }
21317 Py_INCREF(Py_None); resultobj = Py_None;
21318 return resultobj;
21319 fail:
21320 return NULL;
21321 }
21322
21323
21324 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21325 PyObject *resultobj;
21326 wxPrintData *arg1 = (wxPrintData *) 0 ;
21327 wxPrintBin arg2 ;
21328 PyObject * obj0 = 0 ;
21329 PyObject * obj1 = 0 ;
21330 char *kwnames[] = {
21331 (char *) "self",(char *) "bin", NULL
21332 };
21333
21334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
21335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21336 if (SWIG_arg_fail(1)) SWIG_fail;
21337 {
21338 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
21339 if (SWIG_arg_fail(2)) SWIG_fail;
21340 }
21341 {
21342 PyThreadState* __tstate = wxPyBeginAllowThreads();
21343 (arg1)->SetBin((wxPrintBin )arg2);
21344
21345 wxPyEndAllowThreads(__tstate);
21346 if (PyErr_Occurred()) SWIG_fail;
21347 }
21348 Py_INCREF(Py_None); resultobj = Py_None;
21349 return resultobj;
21350 fail:
21351 return NULL;
21352 }
21353
21354
21355 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21356 PyObject *resultobj;
21357 wxPrintData *arg1 = (wxPrintData *) 0 ;
21358 wxPrintMode arg2 ;
21359 PyObject * obj0 = 0 ;
21360 PyObject * obj1 = 0 ;
21361 char *kwnames[] = {
21362 (char *) "self",(char *) "printMode", NULL
21363 };
21364
21365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21367 if (SWIG_arg_fail(1)) SWIG_fail;
21368 {
21369 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21370 if (SWIG_arg_fail(2)) SWIG_fail;
21371 }
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 (arg1)->SetPrintMode((wxPrintMode )arg2);
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 Py_INCREF(Py_None); resultobj = Py_None;
21380 return resultobj;
21381 fail:
21382 return NULL;
21383 }
21384
21385
21386 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21387 PyObject *resultobj;
21388 wxPrintData *arg1 = (wxPrintData *) 0 ;
21389 wxString result;
21390 PyObject * obj0 = 0 ;
21391 char *kwnames[] = {
21392 (char *) "self", NULL
21393 };
21394
21395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21397 if (SWIG_arg_fail(1)) SWIG_fail;
21398 {
21399 PyThreadState* __tstate = wxPyBeginAllowThreads();
21400 result = ((wxPrintData const *)arg1)->GetFilename();
21401
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 {
21406 #if wxUSE_UNICODE
21407 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21408 #else
21409 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21410 #endif
21411 }
21412 return resultobj;
21413 fail:
21414 return NULL;
21415 }
21416
21417
21418 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21419 PyObject *resultobj;
21420 wxPrintData *arg1 = (wxPrintData *) 0 ;
21421 wxString *arg2 = 0 ;
21422 bool temp2 = false ;
21423 PyObject * obj0 = 0 ;
21424 PyObject * obj1 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self",(char *) "filename", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail;
21432 {
21433 arg2 = wxString_in_helper(obj1);
21434 if (arg2 == NULL) SWIG_fail;
21435 temp2 = true;
21436 }
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 (arg1)->SetFilename((wxString const &)*arg2);
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 Py_INCREF(Py_None); resultobj = Py_None;
21445 {
21446 if (temp2)
21447 delete arg2;
21448 }
21449 return resultobj;
21450 fail:
21451 {
21452 if (temp2)
21453 delete arg2;
21454 }
21455 return NULL;
21456 }
21457
21458
21459 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21460 PyObject *resultobj;
21461 wxPrintData *arg1 = (wxPrintData *) 0 ;
21462 PyObject *result;
21463 PyObject * obj0 = 0 ;
21464 char *kwnames[] = {
21465 (char *) "self", NULL
21466 };
21467
21468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21470 if (SWIG_arg_fail(1)) SWIG_fail;
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 resultobj = result;
21479 return resultobj;
21480 fail:
21481 return NULL;
21482 }
21483
21484
21485 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj;
21487 wxPrintData *arg1 = (wxPrintData *) 0 ;
21488 PyObject *arg2 = (PyObject *) 0 ;
21489 PyObject * obj0 = 0 ;
21490 PyObject * obj1 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self",(char *) "data", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21497 if (SWIG_arg_fail(1)) SWIG_fail;
21498 arg2 = obj1;
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 wxPrintData_SetPrivData(arg1,arg2);
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 Py_INCREF(Py_None); resultobj = Py_None;
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj;
21515 wxPrintData *arg1 = (wxPrintData *) 0 ;
21516 wxString *result;
21517 PyObject * obj0 = 0 ;
21518 char *kwnames[] = {
21519 (char *) "self", NULL
21520 };
21521
21522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
21523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21524 if (SWIG_arg_fail(1)) SWIG_fail;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 {
21528 wxString const &_result_ref = (arg1)->GetPrinterCommand();
21529 result = (wxString *) &_result_ref;
21530 }
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 {
21536 #if wxUSE_UNICODE
21537 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21538 #else
21539 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21540 #endif
21541 }
21542 return resultobj;
21543 fail:
21544 return NULL;
21545 }
21546
21547
21548 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21549 PyObject *resultobj;
21550 wxPrintData *arg1 = (wxPrintData *) 0 ;
21551 wxString *result;
21552 PyObject * obj0 = 0 ;
21553 char *kwnames[] = {
21554 (char *) "self", NULL
21555 };
21556
21557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
21558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21559 if (SWIG_arg_fail(1)) SWIG_fail;
21560 {
21561 PyThreadState* __tstate = wxPyBeginAllowThreads();
21562 {
21563 wxString const &_result_ref = (arg1)->GetPrinterOptions();
21564 result = (wxString *) &_result_ref;
21565 }
21566
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 {
21571 #if wxUSE_UNICODE
21572 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21573 #else
21574 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21575 #endif
21576 }
21577 return resultobj;
21578 fail:
21579 return NULL;
21580 }
21581
21582
21583 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21584 PyObject *resultobj;
21585 wxPrintData *arg1 = (wxPrintData *) 0 ;
21586 wxString *result;
21587 PyObject * obj0 = 0 ;
21588 char *kwnames[] = {
21589 (char *) "self", NULL
21590 };
21591
21592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
21593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21594 if (SWIG_arg_fail(1)) SWIG_fail;
21595 {
21596 PyThreadState* __tstate = wxPyBeginAllowThreads();
21597 {
21598 wxString const &_result_ref = (arg1)->GetPreviewCommand();
21599 result = (wxString *) &_result_ref;
21600 }
21601
21602 wxPyEndAllowThreads(__tstate);
21603 if (PyErr_Occurred()) SWIG_fail;
21604 }
21605 {
21606 #if wxUSE_UNICODE
21607 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21608 #else
21609 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21610 #endif
21611 }
21612 return resultobj;
21613 fail:
21614 return NULL;
21615 }
21616
21617
21618 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21619 PyObject *resultobj;
21620 wxPrintData *arg1 = (wxPrintData *) 0 ;
21621 wxString *result;
21622 PyObject * obj0 = 0 ;
21623 char *kwnames[] = {
21624 (char *) "self", NULL
21625 };
21626
21627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
21628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21629 if (SWIG_arg_fail(1)) SWIG_fail;
21630 {
21631 PyThreadState* __tstate = wxPyBeginAllowThreads();
21632 {
21633 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21634 result = (wxString *) &_result_ref;
21635 }
21636
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
21640 {
21641 #if wxUSE_UNICODE
21642 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21643 #else
21644 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21645 #endif
21646 }
21647 return resultobj;
21648 fail:
21649 return NULL;
21650 }
21651
21652
21653 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj;
21655 wxPrintData *arg1 = (wxPrintData *) 0 ;
21656 double result;
21657 PyObject * obj0 = 0 ;
21658 char *kwnames[] = {
21659 (char *) "self", NULL
21660 };
21661
21662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
21663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21664 if (SWIG_arg_fail(1)) SWIG_fail;
21665 {
21666 PyThreadState* __tstate = wxPyBeginAllowThreads();
21667 result = (double)(arg1)->GetPrinterScaleX();
21668
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
21672 {
21673 resultobj = SWIG_From_double((double)(result));
21674 }
21675 return resultobj;
21676 fail:
21677 return NULL;
21678 }
21679
21680
21681 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj;
21683 wxPrintData *arg1 = (wxPrintData *) 0 ;
21684 double result;
21685 PyObject * obj0 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "self", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
21691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21692 if (SWIG_arg_fail(1)) SWIG_fail;
21693 {
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 result = (double)(arg1)->GetPrinterScaleY();
21696
21697 wxPyEndAllowThreads(__tstate);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 }
21700 {
21701 resultobj = SWIG_From_double((double)(result));
21702 }
21703 return resultobj;
21704 fail:
21705 return NULL;
21706 }
21707
21708
21709 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21710 PyObject *resultobj;
21711 wxPrintData *arg1 = (wxPrintData *) 0 ;
21712 long result;
21713 PyObject * obj0 = 0 ;
21714 char *kwnames[] = {
21715 (char *) "self", NULL
21716 };
21717
21718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
21719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21720 if (SWIG_arg_fail(1)) SWIG_fail;
21721 {
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 result = (long)(arg1)->GetPrinterTranslateX();
21724
21725 wxPyEndAllowThreads(__tstate);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 {
21729 resultobj = SWIG_From_long((long)(result));
21730 }
21731 return resultobj;
21732 fail:
21733 return NULL;
21734 }
21735
21736
21737 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21738 PyObject *resultobj;
21739 wxPrintData *arg1 = (wxPrintData *) 0 ;
21740 long result;
21741 PyObject * obj0 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "self", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
21747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21748 if (SWIG_arg_fail(1)) SWIG_fail;
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 result = (long)(arg1)->GetPrinterTranslateY();
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 {
21757 resultobj = SWIG_From_long((long)(result));
21758 }
21759 return resultobj;
21760 fail:
21761 return NULL;
21762 }
21763
21764
21765 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21766 PyObject *resultobj;
21767 wxPrintData *arg1 = (wxPrintData *) 0 ;
21768 wxString *arg2 = 0 ;
21769 bool temp2 = false ;
21770 PyObject * obj0 = 0 ;
21771 PyObject * obj1 = 0 ;
21772 char *kwnames[] = {
21773 (char *) "self",(char *) "command", NULL
21774 };
21775
21776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
21777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21778 if (SWIG_arg_fail(1)) SWIG_fail;
21779 {
21780 arg2 = wxString_in_helper(obj1);
21781 if (arg2 == NULL) SWIG_fail;
21782 temp2 = true;
21783 }
21784 {
21785 PyThreadState* __tstate = wxPyBeginAllowThreads();
21786 (arg1)->SetPrinterCommand((wxString const &)*arg2);
21787
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 Py_INCREF(Py_None); resultobj = Py_None;
21792 {
21793 if (temp2)
21794 delete arg2;
21795 }
21796 return resultobj;
21797 fail:
21798 {
21799 if (temp2)
21800 delete arg2;
21801 }
21802 return NULL;
21803 }
21804
21805
21806 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21807 PyObject *resultobj;
21808 wxPrintData *arg1 = (wxPrintData *) 0 ;
21809 wxString *arg2 = 0 ;
21810 bool temp2 = false ;
21811 PyObject * obj0 = 0 ;
21812 PyObject * obj1 = 0 ;
21813 char *kwnames[] = {
21814 (char *) "self",(char *) "options", NULL
21815 };
21816
21817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
21818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21819 if (SWIG_arg_fail(1)) SWIG_fail;
21820 {
21821 arg2 = wxString_in_helper(obj1);
21822 if (arg2 == NULL) SWIG_fail;
21823 temp2 = true;
21824 }
21825 {
21826 PyThreadState* __tstate = wxPyBeginAllowThreads();
21827 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21828
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 Py_INCREF(Py_None); resultobj = Py_None;
21833 {
21834 if (temp2)
21835 delete arg2;
21836 }
21837 return resultobj;
21838 fail:
21839 {
21840 if (temp2)
21841 delete arg2;
21842 }
21843 return NULL;
21844 }
21845
21846
21847 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxPrintData *arg1 = (wxPrintData *) 0 ;
21850 wxString *arg2 = 0 ;
21851 bool temp2 = false ;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "command", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",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 = wxString_in_helper(obj1);
21863 if (arg2 == NULL) SWIG_fail;
21864 temp2 = true;
21865 }
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 Py_INCREF(Py_None); resultobj = Py_None;
21874 {
21875 if (temp2)
21876 delete arg2;
21877 }
21878 return resultobj;
21879 fail:
21880 {
21881 if (temp2)
21882 delete arg2;
21883 }
21884 return NULL;
21885 }
21886
21887
21888 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxPrintData *arg1 = (wxPrintData *) 0 ;
21891 wxString *arg2 = 0 ;
21892 bool temp2 = false ;
21893 PyObject * obj0 = 0 ;
21894 PyObject * obj1 = 0 ;
21895 char *kwnames[] = {
21896 (char *) "self",(char *) "path", NULL
21897 };
21898
21899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
21900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21901 if (SWIG_arg_fail(1)) SWIG_fail;
21902 {
21903 arg2 = wxString_in_helper(obj1);
21904 if (arg2 == NULL) SWIG_fail;
21905 temp2 = true;
21906 }
21907 {
21908 PyThreadState* __tstate = wxPyBeginAllowThreads();
21909 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 Py_INCREF(Py_None); resultobj = Py_None;
21915 {
21916 if (temp2)
21917 delete arg2;
21918 }
21919 return resultobj;
21920 fail:
21921 {
21922 if (temp2)
21923 delete arg2;
21924 }
21925 return NULL;
21926 }
21927
21928
21929 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21930 PyObject *resultobj;
21931 wxPrintData *arg1 = (wxPrintData *) 0 ;
21932 double arg2 ;
21933 PyObject * obj0 = 0 ;
21934 PyObject * obj1 = 0 ;
21935 char *kwnames[] = {
21936 (char *) "self",(char *) "x", NULL
21937 };
21938
21939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
21940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21941 if (SWIG_arg_fail(1)) SWIG_fail;
21942 {
21943 arg2 = (double)(SWIG_As_double(obj1));
21944 if (SWIG_arg_fail(2)) SWIG_fail;
21945 }
21946 {
21947 PyThreadState* __tstate = wxPyBeginAllowThreads();
21948 (arg1)->SetPrinterScaleX(arg2);
21949
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 Py_INCREF(Py_None); resultobj = Py_None;
21954 return resultobj;
21955 fail:
21956 return NULL;
21957 }
21958
21959
21960 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21961 PyObject *resultobj;
21962 wxPrintData *arg1 = (wxPrintData *) 0 ;
21963 double arg2 ;
21964 PyObject * obj0 = 0 ;
21965 PyObject * obj1 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self",(char *) "y", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
21971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21972 if (SWIG_arg_fail(1)) SWIG_fail;
21973 {
21974 arg2 = (double)(SWIG_As_double(obj1));
21975 if (SWIG_arg_fail(2)) SWIG_fail;
21976 }
21977 {
21978 PyThreadState* __tstate = wxPyBeginAllowThreads();
21979 (arg1)->SetPrinterScaleY(arg2);
21980
21981 wxPyEndAllowThreads(__tstate);
21982 if (PyErr_Occurred()) SWIG_fail;
21983 }
21984 Py_INCREF(Py_None); resultobj = Py_None;
21985 return resultobj;
21986 fail:
21987 return NULL;
21988 }
21989
21990
21991 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21992 PyObject *resultobj;
21993 wxPrintData *arg1 = (wxPrintData *) 0 ;
21994 double arg2 ;
21995 double arg3 ;
21996 PyObject * obj0 = 0 ;
21997 PyObject * obj1 = 0 ;
21998 PyObject * obj2 = 0 ;
21999 char *kwnames[] = {
22000 (char *) "self",(char *) "x",(char *) "y", NULL
22001 };
22002
22003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
22004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22005 if (SWIG_arg_fail(1)) SWIG_fail;
22006 {
22007 arg2 = (double)(SWIG_As_double(obj1));
22008 if (SWIG_arg_fail(2)) SWIG_fail;
22009 }
22010 {
22011 arg3 = (double)(SWIG_As_double(obj2));
22012 if (SWIG_arg_fail(3)) SWIG_fail;
22013 }
22014 {
22015 PyThreadState* __tstate = wxPyBeginAllowThreads();
22016 (arg1)->SetPrinterScaling(arg2,arg3);
22017
22018 wxPyEndAllowThreads(__tstate);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 }
22021 Py_INCREF(Py_None); resultobj = Py_None;
22022 return resultobj;
22023 fail:
22024 return NULL;
22025 }
22026
22027
22028 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
22029 PyObject *resultobj;
22030 wxPrintData *arg1 = (wxPrintData *) 0 ;
22031 long arg2 ;
22032 PyObject * obj0 = 0 ;
22033 PyObject * obj1 = 0 ;
22034 char *kwnames[] = {
22035 (char *) "self",(char *) "x", NULL
22036 };
22037
22038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
22039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail;
22041 {
22042 arg2 = (long)(SWIG_As_long(obj1));
22043 if (SWIG_arg_fail(2)) SWIG_fail;
22044 }
22045 {
22046 PyThreadState* __tstate = wxPyBeginAllowThreads();
22047 (arg1)->SetPrinterTranslateX(arg2);
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 Py_INCREF(Py_None); resultobj = Py_None;
22053 return resultobj;
22054 fail:
22055 return NULL;
22056 }
22057
22058
22059 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
22060 PyObject *resultobj;
22061 wxPrintData *arg1 = (wxPrintData *) 0 ;
22062 long arg2 ;
22063 PyObject * obj0 = 0 ;
22064 PyObject * obj1 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self",(char *) "y", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
22070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail;
22072 {
22073 arg2 = (long)(SWIG_As_long(obj1));
22074 if (SWIG_arg_fail(2)) SWIG_fail;
22075 }
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 (arg1)->SetPrinterTranslateY(arg2);
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 Py_INCREF(Py_None); resultobj = Py_None;
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj;
22092 wxPrintData *arg1 = (wxPrintData *) 0 ;
22093 long arg2 ;
22094 long arg3 ;
22095 PyObject * obj0 = 0 ;
22096 PyObject * obj1 = 0 ;
22097 PyObject * obj2 = 0 ;
22098 char *kwnames[] = {
22099 (char *) "self",(char *) "x",(char *) "y", NULL
22100 };
22101
22102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
22103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22104 if (SWIG_arg_fail(1)) SWIG_fail;
22105 {
22106 arg2 = (long)(SWIG_As_long(obj1));
22107 if (SWIG_arg_fail(2)) SWIG_fail;
22108 }
22109 {
22110 arg3 = (long)(SWIG_As_long(obj2));
22111 if (SWIG_arg_fail(3)) SWIG_fail;
22112 }
22113 {
22114 PyThreadState* __tstate = wxPyBeginAllowThreads();
22115 (arg1)->SetPrinterTranslation(arg2,arg3);
22116
22117 wxPyEndAllowThreads(__tstate);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 }
22120 Py_INCREF(Py_None); resultobj = Py_None;
22121 return resultobj;
22122 fail:
22123 return NULL;
22124 }
22125
22126
22127 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
22128 PyObject *obj;
22129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22130 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
22131 Py_INCREF(obj);
22132 return Py_BuildValue((char *)"");
22133 }
22134 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
22135 PyObject *resultobj;
22136 wxPageSetupDialogData *result;
22137
22138 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
22147 return resultobj;
22148 fail:
22149 return NULL;
22150 }
22151
22152
22153 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
22154 PyObject *resultobj;
22155 wxPageSetupDialogData *arg1 = 0 ;
22156 wxPageSetupDialogData *result;
22157 PyObject * obj0 = 0 ;
22158
22159 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
22160 {
22161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22162 if (SWIG_arg_fail(1)) SWIG_fail;
22163 if (arg1 == NULL) {
22164 SWIG_null_ref("wxPageSetupDialogData");
22165 }
22166 if (SWIG_arg_fail(1)) SWIG_fail;
22167 }
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
22175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
22176 return resultobj;
22177 fail:
22178 return NULL;
22179 }
22180
22181
22182 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
22183 PyObject *resultobj;
22184 wxPrintData *arg1 = 0 ;
22185 wxPageSetupDialogData *result;
22186 PyObject * obj0 = 0 ;
22187
22188 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
22189 {
22190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22191 if (SWIG_arg_fail(1)) SWIG_fail;
22192 if (arg1 == NULL) {
22193 SWIG_null_ref("wxPrintData");
22194 }
22195 if (SWIG_arg_fail(1)) SWIG_fail;
22196 }
22197 {
22198 PyThreadState* __tstate = wxPyBeginAllowThreads();
22199 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
22200
22201 wxPyEndAllowThreads(__tstate);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
22204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
22205 return resultobj;
22206 fail:
22207 return NULL;
22208 }
22209
22210
22211 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
22212 int argc;
22213 PyObject *argv[2];
22214 int ii;
22215
22216 argc = PyObject_Length(args);
22217 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22218 argv[ii] = PyTuple_GetItem(args,ii);
22219 }
22220 if (argc == 0) {
22221 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
22222 }
22223 if (argc == 1) {
22224 int _v;
22225 {
22226 void *ptr = 0;
22227 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
22228 _v = 0;
22229 PyErr_Clear();
22230 } else {
22231 _v = (ptr != 0);
22232 }
22233 }
22234 if (_v) {
22235 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
22236 }
22237 }
22238 if (argc == 1) {
22239 int _v;
22240 {
22241 void *ptr = 0;
22242 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22243 _v = 0;
22244 PyErr_Clear();
22245 } else {
22246 _v = (ptr != 0);
22247 }
22248 }
22249 if (_v) {
22250 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
22251 }
22252 }
22253
22254 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
22255 return NULL;
22256 }
22257
22258
22259 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22260 PyObject *resultobj;
22261 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22262 PyObject * obj0 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
22268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22269 if (SWIG_arg_fail(1)) SWIG_fail;
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 delete arg1;
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 Py_INCREF(Py_None); resultobj = Py_None;
22278 return resultobj;
22279 fail:
22280 return NULL;
22281 }
22282
22283
22284 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22285 PyObject *resultobj;
22286 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22287 bool arg2 ;
22288 PyObject * obj0 = 0 ;
22289 PyObject * obj1 = 0 ;
22290 char *kwnames[] = {
22291 (char *) "self",(char *) "flag", NULL
22292 };
22293
22294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
22295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail;
22297 {
22298 arg2 = (bool)(SWIG_As_bool(obj1));
22299 if (SWIG_arg_fail(2)) SWIG_fail;
22300 }
22301 {
22302 PyThreadState* __tstate = wxPyBeginAllowThreads();
22303 (arg1)->EnableHelp(arg2);
22304
22305 wxPyEndAllowThreads(__tstate);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
22308 Py_INCREF(Py_None); resultobj = Py_None;
22309 return resultobj;
22310 fail:
22311 return NULL;
22312 }
22313
22314
22315 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22316 PyObject *resultobj;
22317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22318 bool arg2 ;
22319 PyObject * obj0 = 0 ;
22320 PyObject * obj1 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self",(char *) "flag", NULL
22323 };
22324
22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
22326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail;
22328 {
22329 arg2 = (bool)(SWIG_As_bool(obj1));
22330 if (SWIG_arg_fail(2)) SWIG_fail;
22331 }
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 (arg1)->EnableMargins(arg2);
22335
22336 wxPyEndAllowThreads(__tstate);
22337 if (PyErr_Occurred()) SWIG_fail;
22338 }
22339 Py_INCREF(Py_None); resultobj = Py_None;
22340 return resultobj;
22341 fail:
22342 return NULL;
22343 }
22344
22345
22346 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22347 PyObject *resultobj;
22348 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22349 bool arg2 ;
22350 PyObject * obj0 = 0 ;
22351 PyObject * obj1 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self",(char *) "flag", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
22357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22358 if (SWIG_arg_fail(1)) SWIG_fail;
22359 {
22360 arg2 = (bool)(SWIG_As_bool(obj1));
22361 if (SWIG_arg_fail(2)) SWIG_fail;
22362 }
22363 {
22364 PyThreadState* __tstate = wxPyBeginAllowThreads();
22365 (arg1)->EnableOrientation(arg2);
22366
22367 wxPyEndAllowThreads(__tstate);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 }
22370 Py_INCREF(Py_None); resultobj = Py_None;
22371 return resultobj;
22372 fail:
22373 return NULL;
22374 }
22375
22376
22377 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22378 PyObject *resultobj;
22379 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22380 bool arg2 ;
22381 PyObject * obj0 = 0 ;
22382 PyObject * obj1 = 0 ;
22383 char *kwnames[] = {
22384 (char *) "self",(char *) "flag", NULL
22385 };
22386
22387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
22388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22389 if (SWIG_arg_fail(1)) SWIG_fail;
22390 {
22391 arg2 = (bool)(SWIG_As_bool(obj1));
22392 if (SWIG_arg_fail(2)) SWIG_fail;
22393 }
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 (arg1)->EnablePaper(arg2);
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 Py_INCREF(Py_None); resultobj = Py_None;
22402 return resultobj;
22403 fail:
22404 return NULL;
22405 }
22406
22407
22408 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj;
22410 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22411 bool arg2 ;
22412 PyObject * obj0 = 0 ;
22413 PyObject * obj1 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "self",(char *) "flag", NULL
22416 };
22417
22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
22419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22420 if (SWIG_arg_fail(1)) SWIG_fail;
22421 {
22422 arg2 = (bool)(SWIG_As_bool(obj1));
22423 if (SWIG_arg_fail(2)) SWIG_fail;
22424 }
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 (arg1)->EnablePrinter(arg2);
22428
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 Py_INCREF(Py_None); resultobj = Py_None;
22433 return resultobj;
22434 fail:
22435 return NULL;
22436 }
22437
22438
22439 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22440 PyObject *resultobj;
22441 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22442 bool result;
22443 PyObject * obj0 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
22449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22450 if (SWIG_arg_fail(1)) SWIG_fail;
22451 {
22452 PyThreadState* __tstate = wxPyBeginAllowThreads();
22453 result = (bool)(arg1)->GetDefaultMinMargins();
22454
22455 wxPyEndAllowThreads(__tstate);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 }
22458 {
22459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22460 }
22461 return resultobj;
22462 fail:
22463 return NULL;
22464 }
22465
22466
22467 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22468 PyObject *resultobj;
22469 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22470 bool result;
22471 PyObject * obj0 = 0 ;
22472 char *kwnames[] = {
22473 (char *) "self", NULL
22474 };
22475
22476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
22477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22478 if (SWIG_arg_fail(1)) SWIG_fail;
22479 {
22480 PyThreadState* __tstate = wxPyBeginAllowThreads();
22481 result = (bool)(arg1)->GetEnableMargins();
22482
22483 wxPyEndAllowThreads(__tstate);
22484 if (PyErr_Occurred()) SWIG_fail;
22485 }
22486 {
22487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22488 }
22489 return resultobj;
22490 fail:
22491 return NULL;
22492 }
22493
22494
22495 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22496 PyObject *resultobj;
22497 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22498 bool result;
22499 PyObject * obj0 = 0 ;
22500 char *kwnames[] = {
22501 (char *) "self", NULL
22502 };
22503
22504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
22505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22506 if (SWIG_arg_fail(1)) SWIG_fail;
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 result = (bool)(arg1)->GetEnableOrientation();
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 {
22515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22516 }
22517 return resultobj;
22518 fail:
22519 return NULL;
22520 }
22521
22522
22523 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22524 PyObject *resultobj;
22525 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22526 bool result;
22527 PyObject * obj0 = 0 ;
22528 char *kwnames[] = {
22529 (char *) "self", NULL
22530 };
22531
22532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22534 if (SWIG_arg_fail(1)) SWIG_fail;
22535 {
22536 PyThreadState* __tstate = wxPyBeginAllowThreads();
22537 result = (bool)(arg1)->GetEnablePaper();
22538
22539 wxPyEndAllowThreads(__tstate);
22540 if (PyErr_Occurred()) SWIG_fail;
22541 }
22542 {
22543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22544 }
22545 return resultobj;
22546 fail:
22547 return NULL;
22548 }
22549
22550
22551 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22552 PyObject *resultobj;
22553 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22554 bool result;
22555 PyObject * obj0 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22562 if (SWIG_arg_fail(1)) SWIG_fail;
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 result = (bool)(arg1)->GetEnablePrinter();
22566
22567 wxPyEndAllowThreads(__tstate);
22568 if (PyErr_Occurred()) SWIG_fail;
22569 }
22570 {
22571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22572 }
22573 return resultobj;
22574 fail:
22575 return NULL;
22576 }
22577
22578
22579 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22580 PyObject *resultobj;
22581 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22582 bool result;
22583 PyObject * obj0 = 0 ;
22584 char *kwnames[] = {
22585 (char *) "self", NULL
22586 };
22587
22588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22590 if (SWIG_arg_fail(1)) SWIG_fail;
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 result = (bool)(arg1)->GetEnableHelp();
22594
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
22598 {
22599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22600 }
22601 return resultobj;
22602 fail:
22603 return NULL;
22604 }
22605
22606
22607 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22608 PyObject *resultobj;
22609 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22610 bool result;
22611 PyObject * obj0 = 0 ;
22612 char *kwnames[] = {
22613 (char *) "self", NULL
22614 };
22615
22616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22618 if (SWIG_arg_fail(1)) SWIG_fail;
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 result = (bool)(arg1)->GetDefaultInfo();
22622
22623 wxPyEndAllowThreads(__tstate);
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 {
22627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22628 }
22629 return resultobj;
22630 fail:
22631 return NULL;
22632 }
22633
22634
22635 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22636 PyObject *resultobj;
22637 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22638 wxPoint result;
22639 PyObject * obj0 = 0 ;
22640 char *kwnames[] = {
22641 (char *) "self", NULL
22642 };
22643
22644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22646 if (SWIG_arg_fail(1)) SWIG_fail;
22647 {
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 result = (arg1)->GetMarginTopLeft();
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 {
22655 wxPoint * resultptr;
22656 resultptr = new wxPoint((wxPoint &)(result));
22657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22658 }
22659 return resultobj;
22660 fail:
22661 return NULL;
22662 }
22663
22664
22665 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22666 PyObject *resultobj;
22667 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22668 wxPoint result;
22669 PyObject * obj0 = 0 ;
22670 char *kwnames[] = {
22671 (char *) "self", NULL
22672 };
22673
22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail;
22677 {
22678 PyThreadState* __tstate = wxPyBeginAllowThreads();
22679 result = (arg1)->GetMarginBottomRight();
22680
22681 wxPyEndAllowThreads(__tstate);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 {
22685 wxPoint * resultptr;
22686 resultptr = new wxPoint((wxPoint &)(result));
22687 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22688 }
22689 return resultobj;
22690 fail:
22691 return NULL;
22692 }
22693
22694
22695 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj;
22697 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22698 wxPoint result;
22699 PyObject * obj0 = 0 ;
22700 char *kwnames[] = {
22701 (char *) "self", NULL
22702 };
22703
22704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail;
22707 {
22708 PyThreadState* __tstate = wxPyBeginAllowThreads();
22709 result = (arg1)->GetMinMarginTopLeft();
22710
22711 wxPyEndAllowThreads(__tstate);
22712 if (PyErr_Occurred()) SWIG_fail;
22713 }
22714 {
22715 wxPoint * resultptr;
22716 resultptr = new wxPoint((wxPoint &)(result));
22717 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22718 }
22719 return resultobj;
22720 fail:
22721 return NULL;
22722 }
22723
22724
22725 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22726 PyObject *resultobj;
22727 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22728 wxPoint result;
22729 PyObject * obj0 = 0 ;
22730 char *kwnames[] = {
22731 (char *) "self", NULL
22732 };
22733
22734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail;
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 result = (arg1)->GetMinMarginBottomRight();
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 {
22745 wxPoint * resultptr;
22746 resultptr = new wxPoint((wxPoint &)(result));
22747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22748 }
22749 return resultobj;
22750 fail:
22751 return NULL;
22752 }
22753
22754
22755 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22756 PyObject *resultobj;
22757 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22758 wxPaperSize result;
22759 PyObject * obj0 = 0 ;
22760 char *kwnames[] = {
22761 (char *) "self", NULL
22762 };
22763
22764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22766 if (SWIG_arg_fail(1)) SWIG_fail;
22767 {
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 result = (wxPaperSize)(arg1)->GetPaperId();
22770
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 resultobj = SWIG_From_int((result));
22775 return resultobj;
22776 fail:
22777 return NULL;
22778 }
22779
22780
22781 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22782 PyObject *resultobj;
22783 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22784 wxSize result;
22785 PyObject * obj0 = 0 ;
22786 char *kwnames[] = {
22787 (char *) "self", NULL
22788 };
22789
22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22792 if (SWIG_arg_fail(1)) SWIG_fail;
22793 {
22794 PyThreadState* __tstate = wxPyBeginAllowThreads();
22795 result = (arg1)->GetPaperSize();
22796
22797 wxPyEndAllowThreads(__tstate);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 {
22801 wxSize * resultptr;
22802 resultptr = new wxSize((wxSize &)(result));
22803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22804 }
22805 return resultobj;
22806 fail:
22807 return NULL;
22808 }
22809
22810
22811 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22812 PyObject *resultobj;
22813 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22814 wxPrintData *result;
22815 PyObject * obj0 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self", NULL
22818 };
22819
22820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22822 if (SWIG_arg_fail(1)) SWIG_fail;
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 {
22826 wxPrintData &_result_ref = (arg1)->GetPrintData();
22827 result = (wxPrintData *) &_result_ref;
22828 }
22829
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj;
22842 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22843 bool result;
22844 PyObject * obj0 = 0 ;
22845 char *kwnames[] = {
22846 (char *) "self", NULL
22847 };
22848
22849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22851 if (SWIG_arg_fail(1)) SWIG_fail;
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 result = (bool)(arg1)->Ok();
22855
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 {
22860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22861 }
22862 return resultobj;
22863 fail:
22864 return NULL;
22865 }
22866
22867
22868 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22869 PyObject *resultobj;
22870 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22871 bool arg2 ;
22872 PyObject * obj0 = 0 ;
22873 PyObject * obj1 = 0 ;
22874 char *kwnames[] = {
22875 (char *) "self",(char *) "flag", NULL
22876 };
22877
22878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22880 if (SWIG_arg_fail(1)) SWIG_fail;
22881 {
22882 arg2 = (bool)(SWIG_As_bool(obj1));
22883 if (SWIG_arg_fail(2)) SWIG_fail;
22884 }
22885 {
22886 PyThreadState* __tstate = wxPyBeginAllowThreads();
22887 (arg1)->SetDefaultInfo(arg2);
22888
22889 wxPyEndAllowThreads(__tstate);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
22892 Py_INCREF(Py_None); resultobj = Py_None;
22893 return resultobj;
22894 fail:
22895 return NULL;
22896 }
22897
22898
22899 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22900 PyObject *resultobj;
22901 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22902 bool arg2 ;
22903 PyObject * obj0 = 0 ;
22904 PyObject * obj1 = 0 ;
22905 char *kwnames[] = {
22906 (char *) "self",(char *) "flag", NULL
22907 };
22908
22909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22911 if (SWIG_arg_fail(1)) SWIG_fail;
22912 {
22913 arg2 = (bool)(SWIG_As_bool(obj1));
22914 if (SWIG_arg_fail(2)) SWIG_fail;
22915 }
22916 {
22917 PyThreadState* __tstate = wxPyBeginAllowThreads();
22918 (arg1)->SetDefaultMinMargins(arg2);
22919
22920 wxPyEndAllowThreads(__tstate);
22921 if (PyErr_Occurred()) SWIG_fail;
22922 }
22923 Py_INCREF(Py_None); resultobj = Py_None;
22924 return resultobj;
22925 fail:
22926 return NULL;
22927 }
22928
22929
22930 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22931 PyObject *resultobj;
22932 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22933 wxPoint *arg2 = 0 ;
22934 wxPoint temp2 ;
22935 PyObject * obj0 = 0 ;
22936 PyObject * obj1 = 0 ;
22937 char *kwnames[] = {
22938 (char *) "self",(char *) "pt", NULL
22939 };
22940
22941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22943 if (SWIG_arg_fail(1)) SWIG_fail;
22944 {
22945 arg2 = &temp2;
22946 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22947 }
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
22955 Py_INCREF(Py_None); resultobj = Py_None;
22956 return resultobj;
22957 fail:
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22965 wxPoint *arg2 = 0 ;
22966 wxPoint temp2 ;
22967 PyObject * obj0 = 0 ;
22968 PyObject * obj1 = 0 ;
22969 char *kwnames[] = {
22970 (char *) "self",(char *) "pt", NULL
22971 };
22972
22973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22975 if (SWIG_arg_fail(1)) SWIG_fail;
22976 {
22977 arg2 = &temp2;
22978 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22979 }
22980 {
22981 PyThreadState* __tstate = wxPyBeginAllowThreads();
22982 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22983
22984 wxPyEndAllowThreads(__tstate);
22985 if (PyErr_Occurred()) SWIG_fail;
22986 }
22987 Py_INCREF(Py_None); resultobj = Py_None;
22988 return resultobj;
22989 fail:
22990 return NULL;
22991 }
22992
22993
22994 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22995 PyObject *resultobj;
22996 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22997 wxPoint *arg2 = 0 ;
22998 wxPoint temp2 ;
22999 PyObject * obj0 = 0 ;
23000 PyObject * obj1 = 0 ;
23001 char *kwnames[] = {
23002 (char *) "self",(char *) "pt", NULL
23003 };
23004
23005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
23006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23007 if (SWIG_arg_fail(1)) SWIG_fail;
23008 {
23009 arg2 = &temp2;
23010 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23011 }
23012 {
23013 PyThreadState* __tstate = wxPyBeginAllowThreads();
23014 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
23015
23016 wxPyEndAllowThreads(__tstate);
23017 if (PyErr_Occurred()) SWIG_fail;
23018 }
23019 Py_INCREF(Py_None); resultobj = Py_None;
23020 return resultobj;
23021 fail:
23022 return NULL;
23023 }
23024
23025
23026 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
23027 PyObject *resultobj;
23028 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23029 wxPoint *arg2 = 0 ;
23030 wxPoint temp2 ;
23031 PyObject * obj0 = 0 ;
23032 PyObject * obj1 = 0 ;
23033 char *kwnames[] = {
23034 (char *) "self",(char *) "pt", NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
23038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail;
23040 {
23041 arg2 = &temp2;
23042 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23043 }
23044 {
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
23047
23048 wxPyEndAllowThreads(__tstate);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 Py_INCREF(Py_None); resultobj = Py_None;
23052 return resultobj;
23053 fail:
23054 return NULL;
23055 }
23056
23057
23058 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
23059 PyObject *resultobj;
23060 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23061 wxPaperSize arg2 ;
23062 PyObject * obj0 = 0 ;
23063 PyObject * obj1 = 0 ;
23064 char *kwnames[] = {
23065 (char *) "self",(char *) "id", NULL
23066 };
23067
23068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
23069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23070 if (SWIG_arg_fail(1)) SWIG_fail;
23071 {
23072 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
23073 if (SWIG_arg_fail(2)) SWIG_fail;
23074 }
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 (arg1)->SetPaperId((wxPaperSize )arg2);
23078
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 Py_INCREF(Py_None); resultobj = Py_None;
23083 return resultobj;
23084 fail:
23085 return NULL;
23086 }
23087
23088
23089 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
23090 PyObject *resultobj;
23091 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23092 wxSize *arg2 = 0 ;
23093 wxSize temp2 ;
23094 PyObject * obj0 = 0 ;
23095 PyObject * obj1 = 0 ;
23096 char *kwnames[] = {
23097 (char *) "self",(char *) "size", NULL
23098 };
23099
23100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
23101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23102 if (SWIG_arg_fail(1)) SWIG_fail;
23103 {
23104 arg2 = &temp2;
23105 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23106 }
23107 {
23108 PyThreadState* __tstate = wxPyBeginAllowThreads();
23109 (arg1)->SetPaperSize((wxSize const &)*arg2);
23110
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 Py_INCREF(Py_None); resultobj = Py_None;
23115 return resultobj;
23116 fail:
23117 return NULL;
23118 }
23119
23120
23121 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23122 PyObject *resultobj;
23123 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23124 wxPrintData *arg2 = 0 ;
23125 PyObject * obj0 = 0 ;
23126 PyObject * obj1 = 0 ;
23127 char *kwnames[] = {
23128 (char *) "self",(char *) "printData", NULL
23129 };
23130
23131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
23132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23133 if (SWIG_arg_fail(1)) SWIG_fail;
23134 {
23135 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23136 if (SWIG_arg_fail(2)) SWIG_fail;
23137 if (arg2 == NULL) {
23138 SWIG_null_ref("wxPrintData");
23139 }
23140 if (SWIG_arg_fail(2)) SWIG_fail;
23141 }
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23145
23146 wxPyEndAllowThreads(__tstate);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 Py_INCREF(Py_None); resultobj = Py_None;
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
23157 PyObject *resultobj;
23158 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23159 PyObject * obj0 = 0 ;
23160 char *kwnames[] = {
23161 (char *) "self", NULL
23162 };
23163
23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
23165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23166 if (SWIG_arg_fail(1)) SWIG_fail;
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 (arg1)->CalculateIdFromPaperSize();
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 Py_INCREF(Py_None); resultobj = Py_None;
23175 return resultobj;
23176 fail:
23177 return NULL;
23178 }
23179
23180
23181 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj;
23183 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23184 PyObject * obj0 = 0 ;
23185 char *kwnames[] = {
23186 (char *) "self", NULL
23187 };
23188
23189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
23190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23191 if (SWIG_arg_fail(1)) SWIG_fail;
23192 {
23193 PyThreadState* __tstate = wxPyBeginAllowThreads();
23194 (arg1)->CalculatePaperSizeFromId();
23195
23196 wxPyEndAllowThreads(__tstate);
23197 if (PyErr_Occurred()) SWIG_fail;
23198 }
23199 Py_INCREF(Py_None); resultobj = Py_None;
23200 return resultobj;
23201 fail:
23202 return NULL;
23203 }
23204
23205
23206 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
23207 PyObject *obj;
23208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23209 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
23210 Py_INCREF(obj);
23211 return Py_BuildValue((char *)"");
23212 }
23213 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23214 PyObject *resultobj;
23215 wxWindow *arg1 = (wxWindow *) 0 ;
23216 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
23217 wxPageSetupDialog *result;
23218 PyObject * obj0 = 0 ;
23219 PyObject * obj1 = 0 ;
23220 char *kwnames[] = {
23221 (char *) "parent",(char *) "data", NULL
23222 };
23223
23224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23226 if (SWIG_arg_fail(1)) SWIG_fail;
23227 if (obj1) {
23228 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23229 if (SWIG_arg_fail(2)) SWIG_fail;
23230 }
23231 {
23232 if (!wxPyCheckForApp()) SWIG_fail;
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
23235
23236 wxPyEndAllowThreads(__tstate);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 }
23239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
23240 return resultobj;
23241 fail:
23242 return NULL;
23243 }
23244
23245
23246 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
23247 PyObject *resultobj;
23248 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23249 wxPageSetupDialogData *result;
23250 PyObject * obj0 = 0 ;
23251 char *kwnames[] = {
23252 (char *) "self", NULL
23253 };
23254
23255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
23256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23257 if (SWIG_arg_fail(1)) SWIG_fail;
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 {
23261 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
23262 result = (wxPageSetupDialogData *) &_result_ref;
23263 }
23264
23265 wxPyEndAllowThreads(__tstate);
23266 if (PyErr_Occurred()) SWIG_fail;
23267 }
23268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23269 return resultobj;
23270 fail:
23271 return NULL;
23272 }
23273
23274
23275 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23276 PyObject *resultobj;
23277 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23278 wxPageSetupDialogData *result;
23279 PyObject * obj0 = 0 ;
23280 char *kwnames[] = {
23281 (char *) "self", NULL
23282 };
23283
23284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
23285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23286 if (SWIG_arg_fail(1)) SWIG_fail;
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 {
23290 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
23291 result = (wxPageSetupDialogData *) &_result_ref;
23292 }
23293
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23298 return resultobj;
23299 fail:
23300 return NULL;
23301 }
23302
23303
23304 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23305 PyObject *resultobj;
23306 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23307 int result;
23308 PyObject * obj0 = 0 ;
23309 char *kwnames[] = {
23310 (char *) "self", NULL
23311 };
23312
23313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
23314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23315 if (SWIG_arg_fail(1)) SWIG_fail;
23316 {
23317 PyThreadState* __tstate = wxPyBeginAllowThreads();
23318 result = (int)(arg1)->ShowModal();
23319
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 {
23324 resultobj = SWIG_From_int((int)(result));
23325 }
23326 return resultobj;
23327 fail:
23328 return NULL;
23329 }
23330
23331
23332 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
23333 PyObject *obj;
23334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23335 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
23336 Py_INCREF(obj);
23337 return Py_BuildValue((char *)"");
23338 }
23339 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
23340 PyObject *resultobj;
23341 wxPrintDialogData *result;
23342
23343 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
23344 {
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 result = (wxPrintDialogData *)new wxPrintDialogData();
23347
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23352 return resultobj;
23353 fail:
23354 return NULL;
23355 }
23356
23357
23358 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
23359 PyObject *resultobj;
23360 wxPrintData *arg1 = 0 ;
23361 wxPrintDialogData *result;
23362 PyObject * obj0 = 0 ;
23363
23364 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23365 {
23366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23367 if (SWIG_arg_fail(1)) SWIG_fail;
23368 if (arg1 == NULL) {
23369 SWIG_null_ref("wxPrintData");
23370 }
23371 if (SWIG_arg_fail(1)) SWIG_fail;
23372 }
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23381 return resultobj;
23382 fail:
23383 return NULL;
23384 }
23385
23386
23387 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
23388 PyObject *resultobj;
23389 wxPrintDialogData *arg1 = 0 ;
23390 wxPrintDialogData *result;
23391 PyObject * obj0 = 0 ;
23392
23393 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23394 {
23395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23396 if (SWIG_arg_fail(1)) SWIG_fail;
23397 if (arg1 == NULL) {
23398 SWIG_null_ref("wxPrintDialogData");
23399 }
23400 if (SWIG_arg_fail(1)) SWIG_fail;
23401 }
23402 {
23403 PyThreadState* __tstate = wxPyBeginAllowThreads();
23404 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23405
23406 wxPyEndAllowThreads(__tstate);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 }
23409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23410 return resultobj;
23411 fail:
23412 return NULL;
23413 }
23414
23415
23416 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23417 int argc;
23418 PyObject *argv[2];
23419 int ii;
23420
23421 argc = PyObject_Length(args);
23422 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23423 argv[ii] = PyTuple_GetItem(args,ii);
23424 }
23425 if (argc == 0) {
23426 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23427 }
23428 if (argc == 1) {
23429 int _v;
23430 {
23431 void *ptr = 0;
23432 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23433 _v = 0;
23434 PyErr_Clear();
23435 } else {
23436 _v = (ptr != 0);
23437 }
23438 }
23439 if (_v) {
23440 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23441 }
23442 }
23443 if (argc == 1) {
23444 int _v;
23445 {
23446 void *ptr = 0;
23447 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23448 _v = 0;
23449 PyErr_Clear();
23450 } else {
23451 _v = (ptr != 0);
23452 }
23453 }
23454 if (_v) {
23455 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23456 }
23457 }
23458
23459 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
23460 return NULL;
23461 }
23462
23463
23464 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23465 PyObject *resultobj;
23466 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23467 PyObject * obj0 = 0 ;
23468 char *kwnames[] = {
23469 (char *) "self", NULL
23470 };
23471
23472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
23473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23474 if (SWIG_arg_fail(1)) SWIG_fail;
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
23477 delete arg1;
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 Py_INCREF(Py_None); resultobj = Py_None;
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23490 PyObject *resultobj;
23491 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23492 int result;
23493 PyObject * obj0 = 0 ;
23494 char *kwnames[] = {
23495 (char *) "self", NULL
23496 };
23497
23498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
23499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23500 if (SWIG_arg_fail(1)) SWIG_fail;
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 {
23509 resultobj = SWIG_From_int((int)(result));
23510 }
23511 return resultobj;
23512 fail:
23513 return NULL;
23514 }
23515
23516
23517 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23518 PyObject *resultobj;
23519 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23520 int result;
23521 PyObject * obj0 = 0 ;
23522 char *kwnames[] = {
23523 (char *) "self", NULL
23524 };
23525
23526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
23527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23528 if (SWIG_arg_fail(1)) SWIG_fail;
23529 {
23530 PyThreadState* __tstate = wxPyBeginAllowThreads();
23531 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23532
23533 wxPyEndAllowThreads(__tstate);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 {
23537 resultobj = SWIG_From_int((int)(result));
23538 }
23539 return resultobj;
23540 fail:
23541 return NULL;
23542 }
23543
23544
23545 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23546 PyObject *resultobj;
23547 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23548 int result;
23549 PyObject * obj0 = 0 ;
23550 char *kwnames[] = {
23551 (char *) "self", NULL
23552 };
23553
23554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23556 if (SWIG_arg_fail(1)) SWIG_fail;
23557 {
23558 PyThreadState* __tstate = wxPyBeginAllowThreads();
23559 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23560
23561 wxPyEndAllowThreads(__tstate);
23562 if (PyErr_Occurred()) SWIG_fail;
23563 }
23564 {
23565 resultobj = SWIG_From_int((int)(result));
23566 }
23567 return resultobj;
23568 fail:
23569 return NULL;
23570 }
23571
23572
23573 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23574 PyObject *resultobj;
23575 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23576 int result;
23577 PyObject * obj0 = 0 ;
23578 char *kwnames[] = {
23579 (char *) "self", NULL
23580 };
23581
23582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23584 if (SWIG_arg_fail(1)) SWIG_fail;
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 {
23593 resultobj = SWIG_From_int((int)(result));
23594 }
23595 return resultobj;
23596 fail:
23597 return NULL;
23598 }
23599
23600
23601 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23602 PyObject *resultobj;
23603 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23604 int result;
23605 PyObject * obj0 = 0 ;
23606 char *kwnames[] = {
23607 (char *) "self", NULL
23608 };
23609
23610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23612 if (SWIG_arg_fail(1)) SWIG_fail;
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23616
23617 wxPyEndAllowThreads(__tstate);
23618 if (PyErr_Occurred()) SWIG_fail;
23619 }
23620 {
23621 resultobj = SWIG_From_int((int)(result));
23622 }
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj;
23631 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23632 bool result;
23633 PyObject * obj0 = 0 ;
23634 char *kwnames[] = {
23635 (char *) "self", NULL
23636 };
23637
23638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23640 if (SWIG_arg_fail(1)) SWIG_fail;
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23644
23645 wxPyEndAllowThreads(__tstate);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 }
23648 {
23649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23650 }
23651 return resultobj;
23652 fail:
23653 return NULL;
23654 }
23655
23656
23657 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj;
23659 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23660 bool result;
23661 PyObject * obj0 = 0 ;
23662 char *kwnames[] = {
23663 (char *) "self", NULL
23664 };
23665
23666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23668 if (SWIG_arg_fail(1)) SWIG_fail;
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23672
23673 wxPyEndAllowThreads(__tstate);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 }
23676 {
23677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23678 }
23679 return resultobj;
23680 fail:
23681 return NULL;
23682 }
23683
23684
23685 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23686 PyObject *resultobj;
23687 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23688 bool result;
23689 PyObject * obj0 = 0 ;
23690 char *kwnames[] = {
23691 (char *) "self", NULL
23692 };
23693
23694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23696 if (SWIG_arg_fail(1)) SWIG_fail;
23697 {
23698 PyThreadState* __tstate = wxPyBeginAllowThreads();
23699 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23700
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 {
23705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23706 }
23707 return resultobj;
23708 fail:
23709 return NULL;
23710 }
23711
23712
23713 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23714 PyObject *resultobj;
23715 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23716 bool result;
23717 PyObject * obj0 = 0 ;
23718 char *kwnames[] = {
23719 (char *) "self", NULL
23720 };
23721
23722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23724 if (SWIG_arg_fail(1)) SWIG_fail;
23725 {
23726 PyThreadState* __tstate = wxPyBeginAllowThreads();
23727 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23728
23729 wxPyEndAllowThreads(__tstate);
23730 if (PyErr_Occurred()) SWIG_fail;
23731 }
23732 {
23733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23734 }
23735 return resultobj;
23736 fail:
23737 return NULL;
23738 }
23739
23740
23741 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23742 PyObject *resultobj;
23743 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23744 bool result;
23745 PyObject * obj0 = 0 ;
23746 char *kwnames[] = {
23747 (char *) "self", NULL
23748 };
23749
23750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
23751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23752 if (SWIG_arg_fail(1)) SWIG_fail;
23753 {
23754 PyThreadState* __tstate = wxPyBeginAllowThreads();
23755 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23756
23757 wxPyEndAllowThreads(__tstate);
23758 if (PyErr_Occurred()) SWIG_fail;
23759 }
23760 {
23761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23762 }
23763 return resultobj;
23764 fail:
23765 return NULL;
23766 }
23767
23768
23769 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23770 PyObject *resultobj;
23771 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23772 bool arg2 ;
23773 PyObject * obj0 = 0 ;
23774 PyObject * obj1 = 0 ;
23775 char *kwnames[] = {
23776 (char *) "self",(char *) "flag", NULL
23777 };
23778
23779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23781 if (SWIG_arg_fail(1)) SWIG_fail;
23782 {
23783 arg2 = (bool)(SWIG_As_bool(obj1));
23784 if (SWIG_arg_fail(2)) SWIG_fail;
23785 }
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 (arg1)->SetSetupDialog(arg2);
23789
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 Py_INCREF(Py_None); resultobj = Py_None;
23794 return resultobj;
23795 fail:
23796 return NULL;
23797 }
23798
23799
23800 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23801 PyObject *resultobj;
23802 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23803 int arg2 ;
23804 PyObject * obj0 = 0 ;
23805 PyObject * obj1 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "self",(char *) "v", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23812 if (SWIG_arg_fail(1)) SWIG_fail;
23813 {
23814 arg2 = (int)(SWIG_As_int(obj1));
23815 if (SWIG_arg_fail(2)) SWIG_fail;
23816 }
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 (arg1)->SetFromPage(arg2);
23820
23821 wxPyEndAllowThreads(__tstate);
23822 if (PyErr_Occurred()) SWIG_fail;
23823 }
23824 Py_INCREF(Py_None); resultobj = Py_None;
23825 return resultobj;
23826 fail:
23827 return NULL;
23828 }
23829
23830
23831 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23832 PyObject *resultobj;
23833 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23834 int arg2 ;
23835 PyObject * obj0 = 0 ;
23836 PyObject * obj1 = 0 ;
23837 char *kwnames[] = {
23838 (char *) "self",(char *) "v", NULL
23839 };
23840
23841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23843 if (SWIG_arg_fail(1)) SWIG_fail;
23844 {
23845 arg2 = (int)(SWIG_As_int(obj1));
23846 if (SWIG_arg_fail(2)) SWIG_fail;
23847 }
23848 {
23849 PyThreadState* __tstate = wxPyBeginAllowThreads();
23850 (arg1)->SetToPage(arg2);
23851
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 Py_INCREF(Py_None); resultobj = Py_None;
23856 return resultobj;
23857 fail:
23858 return NULL;
23859 }
23860
23861
23862 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj;
23864 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23865 int arg2 ;
23866 PyObject * obj0 = 0 ;
23867 PyObject * obj1 = 0 ;
23868 char *kwnames[] = {
23869 (char *) "self",(char *) "v", NULL
23870 };
23871
23872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23874 if (SWIG_arg_fail(1)) SWIG_fail;
23875 {
23876 arg2 = (int)(SWIG_As_int(obj1));
23877 if (SWIG_arg_fail(2)) SWIG_fail;
23878 }
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 (arg1)->SetMinPage(arg2);
23882
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 Py_INCREF(Py_None); resultobj = Py_None;
23887 return resultobj;
23888 fail:
23889 return NULL;
23890 }
23891
23892
23893 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23894 PyObject *resultobj;
23895 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23896 int arg2 ;
23897 PyObject * obj0 = 0 ;
23898 PyObject * obj1 = 0 ;
23899 char *kwnames[] = {
23900 (char *) "self",(char *) "v", NULL
23901 };
23902
23903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23905 if (SWIG_arg_fail(1)) SWIG_fail;
23906 {
23907 arg2 = (int)(SWIG_As_int(obj1));
23908 if (SWIG_arg_fail(2)) SWIG_fail;
23909 }
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 (arg1)->SetMaxPage(arg2);
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 Py_INCREF(Py_None); resultobj = Py_None;
23918 return resultobj;
23919 fail:
23920 return NULL;
23921 }
23922
23923
23924 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23925 PyObject *resultobj;
23926 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23927 int arg2 ;
23928 PyObject * obj0 = 0 ;
23929 PyObject * obj1 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self",(char *) "v", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23936 if (SWIG_arg_fail(1)) SWIG_fail;
23937 {
23938 arg2 = (int)(SWIG_As_int(obj1));
23939 if (SWIG_arg_fail(2)) SWIG_fail;
23940 }
23941 {
23942 PyThreadState* __tstate = wxPyBeginAllowThreads();
23943 (arg1)->SetNoCopies(arg2);
23944
23945 wxPyEndAllowThreads(__tstate);
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
23948 Py_INCREF(Py_None); resultobj = Py_None;
23949 return resultobj;
23950 fail:
23951 return NULL;
23952 }
23953
23954
23955 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23956 PyObject *resultobj;
23957 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23958 bool arg2 ;
23959 PyObject * obj0 = 0 ;
23960 PyObject * obj1 = 0 ;
23961 char *kwnames[] = {
23962 (char *) "self",(char *) "flag", NULL
23963 };
23964
23965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23967 if (SWIG_arg_fail(1)) SWIG_fail;
23968 {
23969 arg2 = (bool)(SWIG_As_bool(obj1));
23970 if (SWIG_arg_fail(2)) SWIG_fail;
23971 }
23972 {
23973 PyThreadState* __tstate = wxPyBeginAllowThreads();
23974 (arg1)->SetAllPages(arg2);
23975
23976 wxPyEndAllowThreads(__tstate);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 }
23979 Py_INCREF(Py_None); resultobj = Py_None;
23980 return resultobj;
23981 fail:
23982 return NULL;
23983 }
23984
23985
23986 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23987 PyObject *resultobj;
23988 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23989 bool arg2 ;
23990 PyObject * obj0 = 0 ;
23991 PyObject * obj1 = 0 ;
23992 char *kwnames[] = {
23993 (char *) "self",(char *) "flag", NULL
23994 };
23995
23996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23998 if (SWIG_arg_fail(1)) SWIG_fail;
23999 {
24000 arg2 = (bool)(SWIG_As_bool(obj1));
24001 if (SWIG_arg_fail(2)) SWIG_fail;
24002 }
24003 {
24004 PyThreadState* __tstate = wxPyBeginAllowThreads();
24005 (arg1)->SetSelection(arg2);
24006
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 Py_INCREF(Py_None); resultobj = Py_None;
24011 return resultobj;
24012 fail:
24013 return NULL;
24014 }
24015
24016
24017 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
24018 PyObject *resultobj;
24019 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24020 bool arg2 ;
24021 PyObject * obj0 = 0 ;
24022 PyObject * obj1 = 0 ;
24023 char *kwnames[] = {
24024 (char *) "self",(char *) "flag", NULL
24025 };
24026
24027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
24028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24029 if (SWIG_arg_fail(1)) SWIG_fail;
24030 {
24031 arg2 = (bool)(SWIG_As_bool(obj1));
24032 if (SWIG_arg_fail(2)) SWIG_fail;
24033 }
24034 {
24035 PyThreadState* __tstate = wxPyBeginAllowThreads();
24036 (arg1)->SetCollate(arg2);
24037
24038 wxPyEndAllowThreads(__tstate);
24039 if (PyErr_Occurred()) SWIG_fail;
24040 }
24041 Py_INCREF(Py_None); resultobj = Py_None;
24042 return resultobj;
24043 fail:
24044 return NULL;
24045 }
24046
24047
24048 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
24049 PyObject *resultobj;
24050 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24051 bool arg2 ;
24052 PyObject * obj0 = 0 ;
24053 PyObject * obj1 = 0 ;
24054 char *kwnames[] = {
24055 (char *) "self",(char *) "flag", NULL
24056 };
24057
24058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
24059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24060 if (SWIG_arg_fail(1)) SWIG_fail;
24061 {
24062 arg2 = (bool)(SWIG_As_bool(obj1));
24063 if (SWIG_arg_fail(2)) SWIG_fail;
24064 }
24065 {
24066 PyThreadState* __tstate = wxPyBeginAllowThreads();
24067 (arg1)->SetPrintToFile(arg2);
24068
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 Py_INCREF(Py_None); resultobj = Py_None;
24073 return resultobj;
24074 fail:
24075 return NULL;
24076 }
24077
24078
24079 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
24080 PyObject *resultobj;
24081 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24082 bool arg2 ;
24083 PyObject * obj0 = 0 ;
24084 PyObject * obj1 = 0 ;
24085 char *kwnames[] = {
24086 (char *) "self",(char *) "flag", NULL
24087 };
24088
24089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
24090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24091 if (SWIG_arg_fail(1)) SWIG_fail;
24092 {
24093 arg2 = (bool)(SWIG_As_bool(obj1));
24094 if (SWIG_arg_fail(2)) SWIG_fail;
24095 }
24096 {
24097 PyThreadState* __tstate = wxPyBeginAllowThreads();
24098 (arg1)->EnablePrintToFile(arg2);
24099
24100 wxPyEndAllowThreads(__tstate);
24101 if (PyErr_Occurred()) SWIG_fail;
24102 }
24103 Py_INCREF(Py_None); resultobj = Py_None;
24104 return resultobj;
24105 fail:
24106 return NULL;
24107 }
24108
24109
24110 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
24111 PyObject *resultobj;
24112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24113 bool arg2 ;
24114 PyObject * obj0 = 0 ;
24115 PyObject * obj1 = 0 ;
24116 char *kwnames[] = {
24117 (char *) "self",(char *) "flag", NULL
24118 };
24119
24120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
24121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24122 if (SWIG_arg_fail(1)) SWIG_fail;
24123 {
24124 arg2 = (bool)(SWIG_As_bool(obj1));
24125 if (SWIG_arg_fail(2)) SWIG_fail;
24126 }
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 (arg1)->EnableSelection(arg2);
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 Py_INCREF(Py_None); resultobj = Py_None;
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24144 bool arg2 ;
24145 PyObject * obj0 = 0 ;
24146 PyObject * obj1 = 0 ;
24147 char *kwnames[] = {
24148 (char *) "self",(char *) "flag", NULL
24149 };
24150
24151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
24152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24153 if (SWIG_arg_fail(1)) SWIG_fail;
24154 {
24155 arg2 = (bool)(SWIG_As_bool(obj1));
24156 if (SWIG_arg_fail(2)) SWIG_fail;
24157 }
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 (arg1)->EnablePageNumbers(arg2);
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 Py_INCREF(Py_None); resultobj = Py_None;
24166 return resultobj;
24167 fail:
24168 return NULL;
24169 }
24170
24171
24172 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
24173 PyObject *resultobj;
24174 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24175 bool arg2 ;
24176 PyObject * obj0 = 0 ;
24177 PyObject * obj1 = 0 ;
24178 char *kwnames[] = {
24179 (char *) "self",(char *) "flag", NULL
24180 };
24181
24182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
24183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24184 if (SWIG_arg_fail(1)) SWIG_fail;
24185 {
24186 arg2 = (bool)(SWIG_As_bool(obj1));
24187 if (SWIG_arg_fail(2)) SWIG_fail;
24188 }
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 (arg1)->EnableHelp(arg2);
24192
24193 wxPyEndAllowThreads(__tstate);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 Py_INCREF(Py_None); resultobj = Py_None;
24197 return resultobj;
24198 fail:
24199 return NULL;
24200 }
24201
24202
24203 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
24204 PyObject *resultobj;
24205 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24206 bool result;
24207 PyObject * obj0 = 0 ;
24208 char *kwnames[] = {
24209 (char *) "self", NULL
24210 };
24211
24212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
24213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24214 if (SWIG_arg_fail(1)) SWIG_fail;
24215 {
24216 PyThreadState* __tstate = wxPyBeginAllowThreads();
24217 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
24218
24219 wxPyEndAllowThreads(__tstate);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 }
24222 {
24223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24224 }
24225 return resultobj;
24226 fail:
24227 return NULL;
24228 }
24229
24230
24231 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
24232 PyObject *resultobj;
24233 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24234 bool result;
24235 PyObject * obj0 = 0 ;
24236 char *kwnames[] = {
24237 (char *) "self", NULL
24238 };
24239
24240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
24241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24242 if (SWIG_arg_fail(1)) SWIG_fail;
24243 {
24244 PyThreadState* __tstate = wxPyBeginAllowThreads();
24245 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
24246
24247 wxPyEndAllowThreads(__tstate);
24248 if (PyErr_Occurred()) SWIG_fail;
24249 }
24250 {
24251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24252 }
24253 return resultobj;
24254 fail:
24255 return NULL;
24256 }
24257
24258
24259 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
24260 PyObject *resultobj;
24261 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24262 bool result;
24263 PyObject * obj0 = 0 ;
24264 char *kwnames[] = {
24265 (char *) "self", NULL
24266 };
24267
24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
24269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24270 if (SWIG_arg_fail(1)) SWIG_fail;
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 {
24279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24280 }
24281 return resultobj;
24282 fail:
24283 return NULL;
24284 }
24285
24286
24287 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj;
24289 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24290 bool result;
24291 PyObject * obj0 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
24297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24298 if (SWIG_arg_fail(1)) SWIG_fail;
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
24302
24303 wxPyEndAllowThreads(__tstate);
24304 if (PyErr_Occurred()) SWIG_fail;
24305 }
24306 {
24307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24308 }
24309 return resultobj;
24310 fail:
24311 return NULL;
24312 }
24313
24314
24315 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24316 PyObject *resultobj;
24317 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24318 bool result;
24319 PyObject * obj0 = 0 ;
24320 char *kwnames[] = {
24321 (char *) "self", NULL
24322 };
24323
24324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
24325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24326 if (SWIG_arg_fail(1)) SWIG_fail;
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 {
24335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24336 }
24337 return resultobj;
24338 fail:
24339 return NULL;
24340 }
24341
24342
24343 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24346 wxPrintData *result;
24347 PyObject * obj0 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
24353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24354 if (SWIG_arg_fail(1)) SWIG_fail;
24355 {
24356 PyThreadState* __tstate = wxPyBeginAllowThreads();
24357 {
24358 wxPrintData &_result_ref = (arg1)->GetPrintData();
24359 result = (wxPrintData *) &_result_ref;
24360 }
24361
24362 wxPyEndAllowThreads(__tstate);
24363 if (PyErr_Occurred()) SWIG_fail;
24364 }
24365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24366 return resultobj;
24367 fail:
24368 return NULL;
24369 }
24370
24371
24372 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24373 PyObject *resultobj;
24374 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24375 wxPrintData *arg2 = 0 ;
24376 PyObject * obj0 = 0 ;
24377 PyObject * obj1 = 0 ;
24378 char *kwnames[] = {
24379 (char *) "self",(char *) "printData", NULL
24380 };
24381
24382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
24383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24384 if (SWIG_arg_fail(1)) SWIG_fail;
24385 {
24386 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24387 if (SWIG_arg_fail(2)) SWIG_fail;
24388 if (arg2 == NULL) {
24389 SWIG_null_ref("wxPrintData");
24390 }
24391 if (SWIG_arg_fail(2)) SWIG_fail;
24392 }
24393 {
24394 PyThreadState* __tstate = wxPyBeginAllowThreads();
24395 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24396
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 Py_INCREF(Py_None); resultobj = Py_None;
24401 return resultobj;
24402 fail:
24403 return NULL;
24404 }
24405
24406
24407 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
24408 PyObject *obj;
24409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24410 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24411 Py_INCREF(obj);
24412 return Py_BuildValue((char *)"");
24413 }
24414 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj;
24416 wxWindow *arg1 = (wxWindow *) 0 ;
24417 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24418 wxPrintDialog *result;
24419 PyObject * obj0 = 0 ;
24420 PyObject * obj1 = 0 ;
24421 char *kwnames[] = {
24422 (char *) "parent",(char *) "data", NULL
24423 };
24424
24425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24427 if (SWIG_arg_fail(1)) SWIG_fail;
24428 if (obj1) {
24429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24430 if (SWIG_arg_fail(2)) SWIG_fail;
24431 }
24432 {
24433 if (!wxPyCheckForApp()) SWIG_fail;
24434 PyThreadState* __tstate = wxPyBeginAllowThreads();
24435 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24436
24437 wxPyEndAllowThreads(__tstate);
24438 if (PyErr_Occurred()) SWIG_fail;
24439 }
24440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24441 return resultobj;
24442 fail:
24443 return NULL;
24444 }
24445
24446
24447 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24448 PyObject *resultobj;
24449 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24450 int result;
24451 PyObject * obj0 = 0 ;
24452 char *kwnames[] = {
24453 (char *) "self", NULL
24454 };
24455
24456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
24457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24458 if (SWIG_arg_fail(1)) SWIG_fail;
24459 {
24460 PyThreadState* __tstate = wxPyBeginAllowThreads();
24461 result = (int)(arg1)->ShowModal();
24462
24463 wxPyEndAllowThreads(__tstate);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
24466 {
24467 resultobj = SWIG_From_int((int)(result));
24468 }
24469 return resultobj;
24470 fail:
24471 return NULL;
24472 }
24473
24474
24475 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24476 PyObject *resultobj;
24477 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24478 wxPrintDialogData *result;
24479 PyObject * obj0 = 0 ;
24480 char *kwnames[] = {
24481 (char *) "self", NULL
24482 };
24483
24484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
24485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24486 if (SWIG_arg_fail(1)) SWIG_fail;
24487 {
24488 PyThreadState* __tstate = wxPyBeginAllowThreads();
24489 {
24490 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24491 result = (wxPrintDialogData *) &_result_ref;
24492 }
24493
24494 wxPyEndAllowThreads(__tstate);
24495 if (PyErr_Occurred()) SWIG_fail;
24496 }
24497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24498 return resultobj;
24499 fail:
24500 return NULL;
24501 }
24502
24503
24504 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24505 PyObject *resultobj;
24506 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24507 wxPrintData *result;
24508 PyObject * obj0 = 0 ;
24509 char *kwnames[] = {
24510 (char *) "self", NULL
24511 };
24512
24513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
24514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail;
24516 {
24517 PyThreadState* __tstate = wxPyBeginAllowThreads();
24518 {
24519 wxPrintData &_result_ref = (arg1)->GetPrintData();
24520 result = (wxPrintData *) &_result_ref;
24521 }
24522
24523 wxPyEndAllowThreads(__tstate);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 }
24526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24527 return resultobj;
24528 fail:
24529 return NULL;
24530 }
24531
24532
24533 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24534 PyObject *resultobj;
24535 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24536 wxDC *result;
24537 PyObject * obj0 = 0 ;
24538 char *kwnames[] = {
24539 (char *) "self", NULL
24540 };
24541
24542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24544 if (SWIG_arg_fail(1)) SWIG_fail;
24545 {
24546 PyThreadState* __tstate = wxPyBeginAllowThreads();
24547 result = (wxDC *)(arg1)->GetPrintDC();
24548
24549 wxPyEndAllowThreads(__tstate);
24550 if (PyErr_Occurred()) SWIG_fail;
24551 }
24552 {
24553 resultobj = wxPyMake_wxObject(result, 1);
24554 }
24555 return resultobj;
24556 fail:
24557 return NULL;
24558 }
24559
24560
24561 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24562 PyObject *obj;
24563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24564 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24565 Py_INCREF(obj);
24566 return Py_BuildValue((char *)"");
24567 }
24568 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24569 PyObject *resultobj;
24570 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24571 wxPrinter *result;
24572 PyObject * obj0 = 0 ;
24573 char *kwnames[] = {
24574 (char *) "data", NULL
24575 };
24576
24577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24578 if (obj0) {
24579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24580 if (SWIG_arg_fail(1)) SWIG_fail;
24581 }
24582 {
24583 if (!wxPyCheckForApp()) SWIG_fail;
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 result = (wxPrinter *)new wxPrinter(arg1);
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24591 return resultobj;
24592 fail:
24593 return NULL;
24594 }
24595
24596
24597 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24598 PyObject *resultobj;
24599 wxPrinter *arg1 = (wxPrinter *) 0 ;
24600 PyObject * obj0 = 0 ;
24601 char *kwnames[] = {
24602 (char *) "self", NULL
24603 };
24604
24605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24607 if (SWIG_arg_fail(1)) SWIG_fail;
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 delete arg1;
24611
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 Py_INCREF(Py_None); resultobj = Py_None;
24616 return resultobj;
24617 fail:
24618 return NULL;
24619 }
24620
24621
24622 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24623 PyObject *resultobj;
24624 wxPrinter *arg1 = (wxPrinter *) 0 ;
24625 wxWindow *arg2 = (wxWindow *) 0 ;
24626 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24627 wxWindow *result;
24628 PyObject * obj0 = 0 ;
24629 PyObject * obj1 = 0 ;
24630 PyObject * obj2 = 0 ;
24631 char *kwnames[] = {
24632 (char *) "self",(char *) "parent",(char *) "printout", NULL
24633 };
24634
24635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24637 if (SWIG_arg_fail(1)) SWIG_fail;
24638 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24639 if (SWIG_arg_fail(2)) SWIG_fail;
24640 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24641 if (SWIG_arg_fail(3)) SWIG_fail;
24642 {
24643 PyThreadState* __tstate = wxPyBeginAllowThreads();
24644 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24645
24646 wxPyEndAllowThreads(__tstate);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 }
24649 {
24650 resultobj = wxPyMake_wxObject(result, 0);
24651 }
24652 return resultobj;
24653 fail:
24654 return NULL;
24655 }
24656
24657
24658 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24659 PyObject *resultobj;
24660 wxPrinter *arg1 = (wxPrinter *) 0 ;
24661 wxWindow *arg2 = (wxWindow *) 0 ;
24662 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24663 wxString *arg4 = 0 ;
24664 bool temp4 = false ;
24665 PyObject * obj0 = 0 ;
24666 PyObject * obj1 = 0 ;
24667 PyObject * obj2 = 0 ;
24668 PyObject * obj3 = 0 ;
24669 char *kwnames[] = {
24670 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24671 };
24672
24673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24675 if (SWIG_arg_fail(1)) SWIG_fail;
24676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24677 if (SWIG_arg_fail(2)) SWIG_fail;
24678 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24679 if (SWIG_arg_fail(3)) SWIG_fail;
24680 {
24681 arg4 = wxString_in_helper(obj3);
24682 if (arg4 == NULL) SWIG_fail;
24683 temp4 = true;
24684 }
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24688
24689 wxPyEndAllowThreads(__tstate);
24690 if (PyErr_Occurred()) SWIG_fail;
24691 }
24692 Py_INCREF(Py_None); resultobj = Py_None;
24693 {
24694 if (temp4)
24695 delete arg4;
24696 }
24697 return resultobj;
24698 fail:
24699 {
24700 if (temp4)
24701 delete arg4;
24702 }
24703 return NULL;
24704 }
24705
24706
24707 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24708 PyObject *resultobj;
24709 wxPrinter *arg1 = (wxPrinter *) 0 ;
24710 wxWindow *arg2 = (wxWindow *) 0 ;
24711 bool result;
24712 PyObject * obj0 = 0 ;
24713 PyObject * obj1 = 0 ;
24714 char *kwnames[] = {
24715 (char *) "self",(char *) "parent", NULL
24716 };
24717
24718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24720 if (SWIG_arg_fail(1)) SWIG_fail;
24721 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24722 if (SWIG_arg_fail(2)) SWIG_fail;
24723 {
24724 PyThreadState* __tstate = wxPyBeginAllowThreads();
24725 result = (bool)(arg1)->Setup(arg2);
24726
24727 wxPyEndAllowThreads(__tstate);
24728 if (PyErr_Occurred()) SWIG_fail;
24729 }
24730 {
24731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24732 }
24733 return resultobj;
24734 fail:
24735 return NULL;
24736 }
24737
24738
24739 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24740 PyObject *resultobj;
24741 wxPrinter *arg1 = (wxPrinter *) 0 ;
24742 wxWindow *arg2 = (wxWindow *) 0 ;
24743 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24744 bool arg4 = (bool) true ;
24745 bool result;
24746 PyObject * obj0 = 0 ;
24747 PyObject * obj1 = 0 ;
24748 PyObject * obj2 = 0 ;
24749 PyObject * obj3 = 0 ;
24750 char *kwnames[] = {
24751 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24752 };
24753
24754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail;
24757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24758 if (SWIG_arg_fail(2)) SWIG_fail;
24759 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24760 if (SWIG_arg_fail(3)) SWIG_fail;
24761 if (obj3) {
24762 {
24763 arg4 = (bool)(SWIG_As_bool(obj3));
24764 if (SWIG_arg_fail(4)) SWIG_fail;
24765 }
24766 }
24767 {
24768 PyThreadState* __tstate = wxPyBeginAllowThreads();
24769 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24770
24771 wxPyEndAllowThreads(__tstate);
24772 if (PyErr_Occurred()) SWIG_fail;
24773 }
24774 {
24775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24776 }
24777 return resultobj;
24778 fail:
24779 return NULL;
24780 }
24781
24782
24783 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24784 PyObject *resultobj;
24785 wxPrinter *arg1 = (wxPrinter *) 0 ;
24786 wxWindow *arg2 = (wxWindow *) 0 ;
24787 wxDC *result;
24788 PyObject * obj0 = 0 ;
24789 PyObject * obj1 = 0 ;
24790 char *kwnames[] = {
24791 (char *) "self",(char *) "parent", NULL
24792 };
24793
24794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24796 if (SWIG_arg_fail(1)) SWIG_fail;
24797 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24798 if (SWIG_arg_fail(2)) SWIG_fail;
24799 {
24800 PyThreadState* __tstate = wxPyBeginAllowThreads();
24801 result = (wxDC *)(arg1)->PrintDialog(arg2);
24802
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 {
24807 resultobj = wxPyMake_wxObject(result, 0);
24808 }
24809 return resultobj;
24810 fail:
24811 return NULL;
24812 }
24813
24814
24815 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24816 PyObject *resultobj;
24817 wxPrinter *arg1 = (wxPrinter *) 0 ;
24818 wxPrintDialogData *result;
24819 PyObject * obj0 = 0 ;
24820 char *kwnames[] = {
24821 (char *) "self", NULL
24822 };
24823
24824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24826 if (SWIG_arg_fail(1)) SWIG_fail;
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
24829 {
24830 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24831 result = (wxPrintDialogData *) &_result_ref;
24832 }
24833
24834 wxPyEndAllowThreads(__tstate);
24835 if (PyErr_Occurred()) SWIG_fail;
24836 }
24837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24838 return resultobj;
24839 fail:
24840 return NULL;
24841 }
24842
24843
24844 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24845 PyObject *resultobj;
24846 wxPrinter *arg1 = (wxPrinter *) 0 ;
24847 bool result;
24848 PyObject * obj0 = 0 ;
24849 char *kwnames[] = {
24850 (char *) "self", NULL
24851 };
24852
24853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24855 if (SWIG_arg_fail(1)) SWIG_fail;
24856 {
24857 PyThreadState* __tstate = wxPyBeginAllowThreads();
24858 result = (bool)(arg1)->GetAbort();
24859
24860 wxPyEndAllowThreads(__tstate);
24861 if (PyErr_Occurred()) SWIG_fail;
24862 }
24863 {
24864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24865 }
24866 return resultobj;
24867 fail:
24868 return NULL;
24869 }
24870
24871
24872 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24873 PyObject *resultobj;
24874 wxPrinterError result;
24875 char *kwnames[] = {
24876 NULL
24877 };
24878
24879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24880 {
24881 PyThreadState* __tstate = wxPyBeginAllowThreads();
24882 result = (wxPrinterError)wxPrinter::GetLastError();
24883
24884 wxPyEndAllowThreads(__tstate);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 }
24887 resultobj = SWIG_From_int((result));
24888 return resultobj;
24889 fail:
24890 return NULL;
24891 }
24892
24893
24894 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24895 PyObject *obj;
24896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24897 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24898 Py_INCREF(obj);
24899 return Py_BuildValue((char *)"");
24900 }
24901 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24902 PyObject *resultobj;
24903 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24904 wxString *arg1 = (wxString *) &arg1_defvalue ;
24905 wxPyPrintout *result;
24906 bool temp1 = false ;
24907 PyObject * obj0 = 0 ;
24908 char *kwnames[] = {
24909 (char *) "title", NULL
24910 };
24911
24912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24913 if (obj0) {
24914 {
24915 arg1 = wxString_in_helper(obj0);
24916 if (arg1 == NULL) SWIG_fail;
24917 temp1 = true;
24918 }
24919 }
24920 {
24921 if (!wxPyCheckForApp()) SWIG_fail;
24922 PyThreadState* __tstate = wxPyBeginAllowThreads();
24923 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24924
24925 wxPyEndAllowThreads(__tstate);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
24928 {
24929 resultobj = wxPyMake_wxObject(result, 1);
24930 }
24931 {
24932 if (temp1)
24933 delete arg1;
24934 }
24935 return resultobj;
24936 fail:
24937 {
24938 if (temp1)
24939 delete arg1;
24940 }
24941 return NULL;
24942 }
24943
24944
24945 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24946 PyObject *resultobj;
24947 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24948 PyObject *arg2 = (PyObject *) 0 ;
24949 PyObject *arg3 = (PyObject *) 0 ;
24950 PyObject * obj0 = 0 ;
24951 PyObject * obj1 = 0 ;
24952 PyObject * obj2 = 0 ;
24953 char *kwnames[] = {
24954 (char *) "self",(char *) "self",(char *) "_class", NULL
24955 };
24956
24957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24959 if (SWIG_arg_fail(1)) SWIG_fail;
24960 arg2 = obj1;
24961 arg3 = obj2;
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 (arg1)->_setCallbackInfo(arg2,arg3);
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 Py_INCREF(Py_None); resultobj = Py_None;
24970 return resultobj;
24971 fail:
24972 return NULL;
24973 }
24974
24975
24976 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24977 PyObject *resultobj;
24978 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24979 wxString result;
24980 PyObject * obj0 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "self", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24987 if (SWIG_arg_fail(1)) SWIG_fail;
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 result = ((wxPyPrintout const *)arg1)->GetTitle();
24991
24992 wxPyEndAllowThreads(__tstate);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 {
24996 #if wxUSE_UNICODE
24997 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24998 #else
24999 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25000 #endif
25001 }
25002 return resultobj;
25003 fail:
25004 return NULL;
25005 }
25006
25007
25008 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
25009 PyObject *resultobj;
25010 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25011 wxDC *result;
25012 PyObject * obj0 = 0 ;
25013 char *kwnames[] = {
25014 (char *) "self", NULL
25015 };
25016
25017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
25018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25019 if (SWIG_arg_fail(1)) SWIG_fail;
25020 {
25021 PyThreadState* __tstate = wxPyBeginAllowThreads();
25022 result = (wxDC *)(arg1)->GetDC();
25023
25024 wxPyEndAllowThreads(__tstate);
25025 if (PyErr_Occurred()) SWIG_fail;
25026 }
25027 {
25028 resultobj = wxPyMake_wxObject(result, 0);
25029 }
25030 return resultobj;
25031 fail:
25032 return NULL;
25033 }
25034
25035
25036 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
25037 PyObject *resultobj;
25038 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25039 wxDC *arg2 = (wxDC *) 0 ;
25040 PyObject * obj0 = 0 ;
25041 PyObject * obj1 = 0 ;
25042 char *kwnames[] = {
25043 (char *) "self",(char *) "dc", NULL
25044 };
25045
25046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
25047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25048 if (SWIG_arg_fail(1)) SWIG_fail;
25049 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
25050 if (SWIG_arg_fail(2)) SWIG_fail;
25051 {
25052 PyThreadState* __tstate = wxPyBeginAllowThreads();
25053 (arg1)->SetDC(arg2);
25054
25055 wxPyEndAllowThreads(__tstate);
25056 if (PyErr_Occurred()) SWIG_fail;
25057 }
25058 Py_INCREF(Py_None); resultobj = Py_None;
25059 return resultobj;
25060 fail:
25061 return NULL;
25062 }
25063
25064
25065 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
25066 PyObject *resultobj;
25067 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25068 int arg2 ;
25069 int arg3 ;
25070 PyObject * obj0 = 0 ;
25071 PyObject * obj1 = 0 ;
25072 PyObject * obj2 = 0 ;
25073 char *kwnames[] = {
25074 (char *) "self",(char *) "w",(char *) "h", NULL
25075 };
25076
25077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
25078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25079 if (SWIG_arg_fail(1)) SWIG_fail;
25080 {
25081 arg2 = (int)(SWIG_As_int(obj1));
25082 if (SWIG_arg_fail(2)) SWIG_fail;
25083 }
25084 {
25085 arg3 = (int)(SWIG_As_int(obj2));
25086 if (SWIG_arg_fail(3)) SWIG_fail;
25087 }
25088 {
25089 PyThreadState* __tstate = wxPyBeginAllowThreads();
25090 (arg1)->SetPageSizePixels(arg2,arg3);
25091
25092 wxPyEndAllowThreads(__tstate);
25093 if (PyErr_Occurred()) SWIG_fail;
25094 }
25095 Py_INCREF(Py_None); resultobj = Py_None;
25096 return resultobj;
25097 fail:
25098 return NULL;
25099 }
25100
25101
25102 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
25103 PyObject *resultobj;
25104 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25105 int *arg2 = (int *) 0 ;
25106 int *arg3 = (int *) 0 ;
25107 int temp2 ;
25108 int res2 = 0 ;
25109 int temp3 ;
25110 int res3 = 0 ;
25111 PyObject * obj0 = 0 ;
25112 char *kwnames[] = {
25113 (char *) "self", NULL
25114 };
25115
25116 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25117 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
25119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25120 if (SWIG_arg_fail(1)) SWIG_fail;
25121 {
25122 PyThreadState* __tstate = wxPyBeginAllowThreads();
25123 (arg1)->GetPageSizePixels(arg2,arg3);
25124
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
25128 Py_INCREF(Py_None); resultobj = Py_None;
25129 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25130 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25131 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25132 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25133 return resultobj;
25134 fail:
25135 return NULL;
25136 }
25137
25138
25139 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
25140 PyObject *resultobj;
25141 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25142 int arg2 ;
25143 int arg3 ;
25144 PyObject * obj0 = 0 ;
25145 PyObject * obj1 = 0 ;
25146 PyObject * obj2 = 0 ;
25147 char *kwnames[] = {
25148 (char *) "self",(char *) "w",(char *) "h", NULL
25149 };
25150
25151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
25152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25153 if (SWIG_arg_fail(1)) SWIG_fail;
25154 {
25155 arg2 = (int)(SWIG_As_int(obj1));
25156 if (SWIG_arg_fail(2)) SWIG_fail;
25157 }
25158 {
25159 arg3 = (int)(SWIG_As_int(obj2));
25160 if (SWIG_arg_fail(3)) SWIG_fail;
25161 }
25162 {
25163 PyThreadState* __tstate = wxPyBeginAllowThreads();
25164 (arg1)->SetPageSizeMM(arg2,arg3);
25165
25166 wxPyEndAllowThreads(__tstate);
25167 if (PyErr_Occurred()) SWIG_fail;
25168 }
25169 Py_INCREF(Py_None); resultobj = Py_None;
25170 return resultobj;
25171 fail:
25172 return NULL;
25173 }
25174
25175
25176 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
25177 PyObject *resultobj;
25178 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25179 int *arg2 = (int *) 0 ;
25180 int *arg3 = (int *) 0 ;
25181 int temp2 ;
25182 int res2 = 0 ;
25183 int temp3 ;
25184 int res3 = 0 ;
25185 PyObject * obj0 = 0 ;
25186 char *kwnames[] = {
25187 (char *) "self", NULL
25188 };
25189
25190 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25191 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
25193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25194 if (SWIG_arg_fail(1)) SWIG_fail;
25195 {
25196 PyThreadState* __tstate = wxPyBeginAllowThreads();
25197 (arg1)->GetPageSizeMM(arg2,arg3);
25198
25199 wxPyEndAllowThreads(__tstate);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 }
25202 Py_INCREF(Py_None); resultobj = Py_None;
25203 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25204 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25205 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25206 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25207 return resultobj;
25208 fail:
25209 return NULL;
25210 }
25211
25212
25213 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
25214 PyObject *resultobj;
25215 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25216 int arg2 ;
25217 int arg3 ;
25218 PyObject * obj0 = 0 ;
25219 PyObject * obj1 = 0 ;
25220 PyObject * obj2 = 0 ;
25221 char *kwnames[] = {
25222 (char *) "self",(char *) "x",(char *) "y", NULL
25223 };
25224
25225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
25226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25227 if (SWIG_arg_fail(1)) SWIG_fail;
25228 {
25229 arg2 = (int)(SWIG_As_int(obj1));
25230 if (SWIG_arg_fail(2)) SWIG_fail;
25231 }
25232 {
25233 arg3 = (int)(SWIG_As_int(obj2));
25234 if (SWIG_arg_fail(3)) SWIG_fail;
25235 }
25236 {
25237 PyThreadState* __tstate = wxPyBeginAllowThreads();
25238 (arg1)->SetPPIScreen(arg2,arg3);
25239
25240 wxPyEndAllowThreads(__tstate);
25241 if (PyErr_Occurred()) SWIG_fail;
25242 }
25243 Py_INCREF(Py_None); resultobj = Py_None;
25244 return resultobj;
25245 fail:
25246 return NULL;
25247 }
25248
25249
25250 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
25251 PyObject *resultobj;
25252 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25253 int *arg2 = (int *) 0 ;
25254 int *arg3 = (int *) 0 ;
25255 int temp2 ;
25256 int res2 = 0 ;
25257 int temp3 ;
25258 int res3 = 0 ;
25259 PyObject * obj0 = 0 ;
25260 char *kwnames[] = {
25261 (char *) "self", NULL
25262 };
25263
25264 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25265 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
25267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25268 if (SWIG_arg_fail(1)) SWIG_fail;
25269 {
25270 PyThreadState* __tstate = wxPyBeginAllowThreads();
25271 (arg1)->GetPPIScreen(arg2,arg3);
25272
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 Py_INCREF(Py_None); resultobj = Py_None;
25277 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25278 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25279 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25280 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25281 return resultobj;
25282 fail:
25283 return NULL;
25284 }
25285
25286
25287 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
25288 PyObject *resultobj;
25289 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25290 int arg2 ;
25291 int arg3 ;
25292 PyObject * obj0 = 0 ;
25293 PyObject * obj1 = 0 ;
25294 PyObject * obj2 = 0 ;
25295 char *kwnames[] = {
25296 (char *) "self",(char *) "x",(char *) "y", NULL
25297 };
25298
25299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
25300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25301 if (SWIG_arg_fail(1)) SWIG_fail;
25302 {
25303 arg2 = (int)(SWIG_As_int(obj1));
25304 if (SWIG_arg_fail(2)) SWIG_fail;
25305 }
25306 {
25307 arg3 = (int)(SWIG_As_int(obj2));
25308 if (SWIG_arg_fail(3)) SWIG_fail;
25309 }
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 (arg1)->SetPPIPrinter(arg2,arg3);
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_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
25325 PyObject *resultobj;
25326 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25327 int *arg2 = (int *) 0 ;
25328 int *arg3 = (int *) 0 ;
25329 int temp2 ;
25330 int res2 = 0 ;
25331 int temp3 ;
25332 int res3 = 0 ;
25333 PyObject * obj0 = 0 ;
25334 char *kwnames[] = {
25335 (char *) "self", NULL
25336 };
25337
25338 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25339 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
25341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25342 if (SWIG_arg_fail(1)) SWIG_fail;
25343 {
25344 PyThreadState* __tstate = wxPyBeginAllowThreads();
25345 (arg1)->GetPPIPrinter(arg2,arg3);
25346
25347 wxPyEndAllowThreads(__tstate);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 }
25350 Py_INCREF(Py_None); resultobj = Py_None;
25351 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25352 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25353 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25354 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25355 return resultobj;
25356 fail:
25357 return NULL;
25358 }
25359
25360
25361 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25362 PyObject *resultobj;
25363 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25364 bool result;
25365 PyObject * obj0 = 0 ;
25366 char *kwnames[] = {
25367 (char *) "self", NULL
25368 };
25369
25370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
25371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25372 if (SWIG_arg_fail(1)) SWIG_fail;
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 result = (bool)(arg1)->IsPreview();
25376
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 {
25381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25382 }
25383 return resultobj;
25384 fail:
25385 return NULL;
25386 }
25387
25388
25389 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25390 PyObject *resultobj;
25391 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25392 bool arg2 ;
25393 PyObject * obj0 = 0 ;
25394 PyObject * obj1 = 0 ;
25395 char *kwnames[] = {
25396 (char *) "self",(char *) "p", NULL
25397 };
25398
25399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
25400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25401 if (SWIG_arg_fail(1)) SWIG_fail;
25402 {
25403 arg2 = (bool)(SWIG_As_bool(obj1));
25404 if (SWIG_arg_fail(2)) SWIG_fail;
25405 }
25406 {
25407 PyThreadState* __tstate = wxPyBeginAllowThreads();
25408 (arg1)->SetIsPreview(arg2);
25409
25410 wxPyEndAllowThreads(__tstate);
25411 if (PyErr_Occurred()) SWIG_fail;
25412 }
25413 Py_INCREF(Py_None); resultobj = Py_None;
25414 return resultobj;
25415 fail:
25416 return NULL;
25417 }
25418
25419
25420 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25421 PyObject *resultobj;
25422 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25423 int arg2 ;
25424 int arg3 ;
25425 bool result;
25426 PyObject * obj0 = 0 ;
25427 PyObject * obj1 = 0 ;
25428 PyObject * obj2 = 0 ;
25429 char *kwnames[] = {
25430 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25431 };
25432
25433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
25434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25435 if (SWIG_arg_fail(1)) SWIG_fail;
25436 {
25437 arg2 = (int)(SWIG_As_int(obj1));
25438 if (SWIG_arg_fail(2)) SWIG_fail;
25439 }
25440 {
25441 arg3 = (int)(SWIG_As_int(obj2));
25442 if (SWIG_arg_fail(3)) SWIG_fail;
25443 }
25444 {
25445 PyThreadState* __tstate = wxPyBeginAllowThreads();
25446 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25447
25448 wxPyEndAllowThreads(__tstate);
25449 if (PyErr_Occurred()) SWIG_fail;
25450 }
25451 {
25452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25453 }
25454 return resultobj;
25455 fail:
25456 return NULL;
25457 }
25458
25459
25460 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25461 PyObject *resultobj;
25462 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25463 PyObject * obj0 = 0 ;
25464 char *kwnames[] = {
25465 (char *) "self", NULL
25466 };
25467
25468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
25469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25470 if (SWIG_arg_fail(1)) SWIG_fail;
25471 {
25472 PyThreadState* __tstate = wxPyBeginAllowThreads();
25473 (arg1)->base_OnEndDocument();
25474
25475 wxPyEndAllowThreads(__tstate);
25476 if (PyErr_Occurred()) SWIG_fail;
25477 }
25478 Py_INCREF(Py_None); resultobj = Py_None;
25479 return resultobj;
25480 fail:
25481 return NULL;
25482 }
25483
25484
25485 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25486 PyObject *resultobj;
25487 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25488 PyObject * obj0 = 0 ;
25489 char *kwnames[] = {
25490 (char *) "self", NULL
25491 };
25492
25493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
25494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25495 if (SWIG_arg_fail(1)) SWIG_fail;
25496 {
25497 PyThreadState* __tstate = wxPyBeginAllowThreads();
25498 (arg1)->base_OnBeginPrinting();
25499
25500 wxPyEndAllowThreads(__tstate);
25501 if (PyErr_Occurred()) SWIG_fail;
25502 }
25503 Py_INCREF(Py_None); resultobj = Py_None;
25504 return resultobj;
25505 fail:
25506 return NULL;
25507 }
25508
25509
25510 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25511 PyObject *resultobj;
25512 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25513 PyObject * obj0 = 0 ;
25514 char *kwnames[] = {
25515 (char *) "self", NULL
25516 };
25517
25518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
25519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25520 if (SWIG_arg_fail(1)) SWIG_fail;
25521 {
25522 PyThreadState* __tstate = wxPyBeginAllowThreads();
25523 (arg1)->base_OnEndPrinting();
25524
25525 wxPyEndAllowThreads(__tstate);
25526 if (PyErr_Occurred()) SWIG_fail;
25527 }
25528 Py_INCREF(Py_None); resultobj = Py_None;
25529 return resultobj;
25530 fail:
25531 return NULL;
25532 }
25533
25534
25535 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25536 PyObject *resultobj;
25537 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25538 PyObject * obj0 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail;
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 (arg1)->base_OnPreparePrinting();
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 Py_INCREF(Py_None); resultobj = Py_None;
25554 return resultobj;
25555 fail:
25556 return NULL;
25557 }
25558
25559
25560 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25561 PyObject *resultobj;
25562 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25563 int arg2 ;
25564 bool result;
25565 PyObject * obj0 = 0 ;
25566 PyObject * obj1 = 0 ;
25567 char *kwnames[] = {
25568 (char *) "self",(char *) "page", NULL
25569 };
25570
25571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25573 if (SWIG_arg_fail(1)) SWIG_fail;
25574 {
25575 arg2 = (int)(SWIG_As_int(obj1));
25576 if (SWIG_arg_fail(2)) SWIG_fail;
25577 }
25578 {
25579 PyThreadState* __tstate = wxPyBeginAllowThreads();
25580 result = (bool)(arg1)->base_HasPage(arg2);
25581
25582 wxPyEndAllowThreads(__tstate);
25583 if (PyErr_Occurred()) SWIG_fail;
25584 }
25585 {
25586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25587 }
25588 return resultobj;
25589 fail:
25590 return NULL;
25591 }
25592
25593
25594 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25595 PyObject *resultobj;
25596 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25597 int *arg2 = (int *) 0 ;
25598 int *arg3 = (int *) 0 ;
25599 int *arg4 = (int *) 0 ;
25600 int *arg5 = (int *) 0 ;
25601 int temp2 ;
25602 int res2 = 0 ;
25603 int temp3 ;
25604 int res3 = 0 ;
25605 int temp4 ;
25606 int res4 = 0 ;
25607 int temp5 ;
25608 int res5 = 0 ;
25609 PyObject * obj0 = 0 ;
25610 char *kwnames[] = {
25611 (char *) "self", NULL
25612 };
25613
25614 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25615 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25616 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25617 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25620 if (SWIG_arg_fail(1)) SWIG_fail;
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 Py_INCREF(Py_None); resultobj = Py_None;
25629 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25630 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25631 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25632 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25633 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25634 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25635 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25636 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25644 PyObject *obj;
25645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25646 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25647 Py_INCREF(obj);
25648 return Py_BuildValue((char *)"");
25649 }
25650 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25651 PyObject *resultobj;
25652 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25653 wxWindow *arg2 = (wxWindow *) 0 ;
25654 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25655 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25656 wxSize const &arg4_defvalue = wxDefaultSize ;
25657 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25658 long arg5 = (long) 0 ;
25659 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25660 wxString *arg6 = (wxString *) &arg6_defvalue ;
25661 wxPreviewCanvas *result;
25662 wxPoint temp3 ;
25663 wxSize temp4 ;
25664 bool temp6 = false ;
25665 PyObject * obj0 = 0 ;
25666 PyObject * obj1 = 0 ;
25667 PyObject * obj2 = 0 ;
25668 PyObject * obj3 = 0 ;
25669 PyObject * obj4 = 0 ;
25670 PyObject * obj5 = 0 ;
25671 char *kwnames[] = {
25672 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25673 };
25674
25675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25677 if (SWIG_arg_fail(1)) SWIG_fail;
25678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25679 if (SWIG_arg_fail(2)) SWIG_fail;
25680 if (obj2) {
25681 {
25682 arg3 = &temp3;
25683 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25684 }
25685 }
25686 if (obj3) {
25687 {
25688 arg4 = &temp4;
25689 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25690 }
25691 }
25692 if (obj4) {
25693 {
25694 arg5 = (long)(SWIG_As_long(obj4));
25695 if (SWIG_arg_fail(5)) SWIG_fail;
25696 }
25697 }
25698 if (obj5) {
25699 {
25700 arg6 = wxString_in_helper(obj5);
25701 if (arg6 == NULL) SWIG_fail;
25702 temp6 = true;
25703 }
25704 }
25705 {
25706 if (!wxPyCheckForApp()) SWIG_fail;
25707 PyThreadState* __tstate = wxPyBeginAllowThreads();
25708 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25709
25710 wxPyEndAllowThreads(__tstate);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 }
25713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25714 {
25715 if (temp6)
25716 delete arg6;
25717 }
25718 return resultobj;
25719 fail:
25720 {
25721 if (temp6)
25722 delete arg6;
25723 }
25724 return NULL;
25725 }
25726
25727
25728 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25729 PyObject *obj;
25730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25731 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25732 Py_INCREF(obj);
25733 return Py_BuildValue((char *)"");
25734 }
25735 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25736 PyObject *resultobj;
25737 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25738 wxFrame *arg2 = (wxFrame *) 0 ;
25739 wxString *arg3 = 0 ;
25740 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25741 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25742 wxSize const &arg5_defvalue = wxDefaultSize ;
25743 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25744 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25745 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25746 wxString *arg7 = (wxString *) &arg7_defvalue ;
25747 wxPreviewFrame *result;
25748 bool temp3 = false ;
25749 wxPoint temp4 ;
25750 wxSize temp5 ;
25751 bool temp7 = false ;
25752 PyObject * obj0 = 0 ;
25753 PyObject * obj1 = 0 ;
25754 PyObject * obj2 = 0 ;
25755 PyObject * obj3 = 0 ;
25756 PyObject * obj4 = 0 ;
25757 PyObject * obj5 = 0 ;
25758 PyObject * obj6 = 0 ;
25759 char *kwnames[] = {
25760 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25761 };
25762
25763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25765 if (SWIG_arg_fail(1)) SWIG_fail;
25766 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25767 if (SWIG_arg_fail(2)) SWIG_fail;
25768 {
25769 arg3 = wxString_in_helper(obj2);
25770 if (arg3 == NULL) SWIG_fail;
25771 temp3 = true;
25772 }
25773 if (obj3) {
25774 {
25775 arg4 = &temp4;
25776 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25777 }
25778 }
25779 if (obj4) {
25780 {
25781 arg5 = &temp5;
25782 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25783 }
25784 }
25785 if (obj5) {
25786 {
25787 arg6 = (long)(SWIG_As_long(obj5));
25788 if (SWIG_arg_fail(6)) SWIG_fail;
25789 }
25790 }
25791 if (obj6) {
25792 {
25793 arg7 = wxString_in_helper(obj6);
25794 if (arg7 == NULL) SWIG_fail;
25795 temp7 = true;
25796 }
25797 }
25798 {
25799 if (!wxPyCheckForApp()) SWIG_fail;
25800 PyThreadState* __tstate = wxPyBeginAllowThreads();
25801 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25802
25803 wxPyEndAllowThreads(__tstate);
25804 if (PyErr_Occurred()) SWIG_fail;
25805 }
25806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25807 {
25808 if (temp3)
25809 delete arg3;
25810 }
25811 {
25812 if (temp7)
25813 delete arg7;
25814 }
25815 return resultobj;
25816 fail:
25817 {
25818 if (temp3)
25819 delete arg3;
25820 }
25821 {
25822 if (temp7)
25823 delete arg7;
25824 }
25825 return NULL;
25826 }
25827
25828
25829 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25830 PyObject *resultobj;
25831 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25832 PyObject * obj0 = 0 ;
25833 char *kwnames[] = {
25834 (char *) "self", NULL
25835 };
25836
25837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25839 if (SWIG_arg_fail(1)) SWIG_fail;
25840 {
25841 PyThreadState* __tstate = wxPyBeginAllowThreads();
25842 (arg1)->Initialize();
25843
25844 wxPyEndAllowThreads(__tstate);
25845 if (PyErr_Occurred()) SWIG_fail;
25846 }
25847 Py_INCREF(Py_None); resultobj = Py_None;
25848 return resultobj;
25849 fail:
25850 return NULL;
25851 }
25852
25853
25854 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25855 PyObject *resultobj;
25856 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25857 PyObject * obj0 = 0 ;
25858 char *kwnames[] = {
25859 (char *) "self", NULL
25860 };
25861
25862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25864 if (SWIG_arg_fail(1)) SWIG_fail;
25865 {
25866 PyThreadState* __tstate = wxPyBeginAllowThreads();
25867 (arg1)->CreateControlBar();
25868
25869 wxPyEndAllowThreads(__tstate);
25870 if (PyErr_Occurred()) SWIG_fail;
25871 }
25872 Py_INCREF(Py_None); resultobj = Py_None;
25873 return resultobj;
25874 fail:
25875 return NULL;
25876 }
25877
25878
25879 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25880 PyObject *resultobj;
25881 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25882 PyObject * obj0 = 0 ;
25883 char *kwnames[] = {
25884 (char *) "self", NULL
25885 };
25886
25887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25889 if (SWIG_arg_fail(1)) SWIG_fail;
25890 {
25891 PyThreadState* __tstate = wxPyBeginAllowThreads();
25892 (arg1)->CreateCanvas();
25893
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 Py_INCREF(Py_None); resultobj = Py_None;
25898 return resultobj;
25899 fail:
25900 return NULL;
25901 }
25902
25903
25904 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25905 PyObject *resultobj;
25906 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25907 wxPreviewControlBar *result;
25908 PyObject * obj0 = 0 ;
25909 char *kwnames[] = {
25910 (char *) "self", NULL
25911 };
25912
25913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25915 if (SWIG_arg_fail(1)) SWIG_fail;
25916 {
25917 PyThreadState* __tstate = wxPyBeginAllowThreads();
25918 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25919
25920 wxPyEndAllowThreads(__tstate);
25921 if (PyErr_Occurred()) SWIG_fail;
25922 }
25923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25924 return resultobj;
25925 fail:
25926 return NULL;
25927 }
25928
25929
25930 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25931 PyObject *obj;
25932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25933 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25934 Py_INCREF(obj);
25935 return Py_BuildValue((char *)"");
25936 }
25937 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25938 PyObject *resultobj;
25939 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25940 long arg2 ;
25941 wxWindow *arg3 = (wxWindow *) 0 ;
25942 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25943 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25944 wxSize const &arg5_defvalue = wxDefaultSize ;
25945 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25946 long arg6 = (long) wxTAB_TRAVERSAL ;
25947 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25948 wxString *arg7 = (wxString *) &arg7_defvalue ;
25949 wxPreviewControlBar *result;
25950 wxPoint temp4 ;
25951 wxSize temp5 ;
25952 bool temp7 = false ;
25953 PyObject * obj0 = 0 ;
25954 PyObject * obj1 = 0 ;
25955 PyObject * obj2 = 0 ;
25956 PyObject * obj3 = 0 ;
25957 PyObject * obj4 = 0 ;
25958 PyObject * obj5 = 0 ;
25959 PyObject * obj6 = 0 ;
25960 char *kwnames[] = {
25961 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25962 };
25963
25964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25966 if (SWIG_arg_fail(1)) SWIG_fail;
25967 {
25968 arg2 = (long)(SWIG_As_long(obj1));
25969 if (SWIG_arg_fail(2)) SWIG_fail;
25970 }
25971 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25972 if (SWIG_arg_fail(3)) SWIG_fail;
25973 if (obj3) {
25974 {
25975 arg4 = &temp4;
25976 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25977 }
25978 }
25979 if (obj4) {
25980 {
25981 arg5 = &temp5;
25982 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25983 }
25984 }
25985 if (obj5) {
25986 {
25987 arg6 = (long)(SWIG_As_long(obj5));
25988 if (SWIG_arg_fail(6)) SWIG_fail;
25989 }
25990 }
25991 if (obj6) {
25992 {
25993 arg7 = wxString_in_helper(obj6);
25994 if (arg7 == NULL) SWIG_fail;
25995 temp7 = true;
25996 }
25997 }
25998 {
25999 if (!wxPyCheckForApp()) SWIG_fail;
26000 PyThreadState* __tstate = wxPyBeginAllowThreads();
26001 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26002
26003 wxPyEndAllowThreads(__tstate);
26004 if (PyErr_Occurred()) SWIG_fail;
26005 }
26006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
26007 {
26008 if (temp7)
26009 delete arg7;
26010 }
26011 return resultobj;
26012 fail:
26013 {
26014 if (temp7)
26015 delete arg7;
26016 }
26017 return NULL;
26018 }
26019
26020
26021 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
26022 PyObject *resultobj;
26023 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26024 int result;
26025 PyObject * obj0 = 0 ;
26026 char *kwnames[] = {
26027 (char *) "self", NULL
26028 };
26029
26030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
26031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26032 if (SWIG_arg_fail(1)) SWIG_fail;
26033 {
26034 PyThreadState* __tstate = wxPyBeginAllowThreads();
26035 result = (int)(arg1)->GetZoomControl();
26036
26037 wxPyEndAllowThreads(__tstate);
26038 if (PyErr_Occurred()) SWIG_fail;
26039 }
26040 {
26041 resultobj = SWIG_From_int((int)(result));
26042 }
26043 return resultobj;
26044 fail:
26045 return NULL;
26046 }
26047
26048
26049 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
26050 PyObject *resultobj;
26051 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26052 int arg2 ;
26053 PyObject * obj0 = 0 ;
26054 PyObject * obj1 = 0 ;
26055 char *kwnames[] = {
26056 (char *) "self",(char *) "zoom", NULL
26057 };
26058
26059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
26060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail;
26062 {
26063 arg2 = (int)(SWIG_As_int(obj1));
26064 if (SWIG_arg_fail(2)) SWIG_fail;
26065 }
26066 {
26067 PyThreadState* __tstate = wxPyBeginAllowThreads();
26068 (arg1)->SetZoomControl(arg2);
26069
26070 wxPyEndAllowThreads(__tstate);
26071 if (PyErr_Occurred()) SWIG_fail;
26072 }
26073 Py_INCREF(Py_None); resultobj = Py_None;
26074 return resultobj;
26075 fail:
26076 return NULL;
26077 }
26078
26079
26080 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
26081 PyObject *resultobj;
26082 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26083 wxPrintPreview *result;
26084 PyObject * obj0 = 0 ;
26085 char *kwnames[] = {
26086 (char *) "self", NULL
26087 };
26088
26089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
26090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26091 if (SWIG_arg_fail(1)) SWIG_fail;
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
26095
26096 wxPyEndAllowThreads(__tstate);
26097 if (PyErr_Occurred()) SWIG_fail;
26098 }
26099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
26100 return resultobj;
26101 fail:
26102 return NULL;
26103 }
26104
26105
26106 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
26107 PyObject *resultobj;
26108 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26109 PyObject * obj0 = 0 ;
26110 char *kwnames[] = {
26111 (char *) "self", NULL
26112 };
26113
26114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
26115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26116 if (SWIG_arg_fail(1)) SWIG_fail;
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 (arg1)->OnNext();
26120
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 Py_INCREF(Py_None); resultobj = Py_None;
26125 return resultobj;
26126 fail:
26127 return NULL;
26128 }
26129
26130
26131 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
26132 PyObject *resultobj;
26133 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26134 PyObject * obj0 = 0 ;
26135 char *kwnames[] = {
26136 (char *) "self", NULL
26137 };
26138
26139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
26140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26141 if (SWIG_arg_fail(1)) SWIG_fail;
26142 {
26143 PyThreadState* __tstate = wxPyBeginAllowThreads();
26144 (arg1)->OnPrevious();
26145
26146 wxPyEndAllowThreads(__tstate);
26147 if (PyErr_Occurred()) SWIG_fail;
26148 }
26149 Py_INCREF(Py_None); resultobj = Py_None;
26150 return resultobj;
26151 fail:
26152 return NULL;
26153 }
26154
26155
26156 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
26157 PyObject *resultobj;
26158 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26159 PyObject * obj0 = 0 ;
26160 char *kwnames[] = {
26161 (char *) "self", NULL
26162 };
26163
26164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
26165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26166 if (SWIG_arg_fail(1)) SWIG_fail;
26167 {
26168 PyThreadState* __tstate = wxPyBeginAllowThreads();
26169 (arg1)->OnFirst();
26170
26171 wxPyEndAllowThreads(__tstate);
26172 if (PyErr_Occurred()) SWIG_fail;
26173 }
26174 Py_INCREF(Py_None); resultobj = Py_None;
26175 return resultobj;
26176 fail:
26177 return NULL;
26178 }
26179
26180
26181 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
26182 PyObject *resultobj;
26183 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26184 PyObject * obj0 = 0 ;
26185 char *kwnames[] = {
26186 (char *) "self", NULL
26187 };
26188
26189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
26190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26191 if (SWIG_arg_fail(1)) SWIG_fail;
26192 {
26193 PyThreadState* __tstate = wxPyBeginAllowThreads();
26194 (arg1)->OnLast();
26195
26196 wxPyEndAllowThreads(__tstate);
26197 if (PyErr_Occurred()) SWIG_fail;
26198 }
26199 Py_INCREF(Py_None); resultobj = Py_None;
26200 return resultobj;
26201 fail:
26202 return NULL;
26203 }
26204
26205
26206 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
26207 PyObject *resultobj;
26208 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26209 PyObject * obj0 = 0 ;
26210 char *kwnames[] = {
26211 (char *) "self", NULL
26212 };
26213
26214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
26215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26216 if (SWIG_arg_fail(1)) SWIG_fail;
26217 {
26218 PyThreadState* __tstate = wxPyBeginAllowThreads();
26219 (arg1)->OnGoto();
26220
26221 wxPyEndAllowThreads(__tstate);
26222 if (PyErr_Occurred()) SWIG_fail;
26223 }
26224 Py_INCREF(Py_None); resultobj = Py_None;
26225 return resultobj;
26226 fail:
26227 return NULL;
26228 }
26229
26230
26231 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
26232 PyObject *obj;
26233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26234 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
26235 Py_INCREF(obj);
26236 return Py_BuildValue((char *)"");
26237 }
26238 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
26239 PyObject *resultobj;
26240 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26241 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26242 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26243 wxPrintPreview *result;
26244 PyObject * obj0 = 0 ;
26245 PyObject * obj1 = 0 ;
26246 PyObject * obj2 = 0 ;
26247
26248 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
26249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26250 if (SWIG_arg_fail(1)) SWIG_fail;
26251 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26252 if (SWIG_arg_fail(2)) SWIG_fail;
26253 if (obj2) {
26254 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26255 if (SWIG_arg_fail(3)) SWIG_fail;
26256 }
26257 {
26258 if (!wxPyCheckForApp()) SWIG_fail;
26259 PyThreadState* __tstate = wxPyBeginAllowThreads();
26260 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26261
26262 wxPyEndAllowThreads(__tstate);
26263 if (PyErr_Occurred()) SWIG_fail;
26264 }
26265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26266 return resultobj;
26267 fail:
26268 return NULL;
26269 }
26270
26271
26272 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
26273 PyObject *resultobj;
26274 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26275 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26276 wxPrintData *arg3 = (wxPrintData *) 0 ;
26277 wxPrintPreview *result;
26278 PyObject * obj0 = 0 ;
26279 PyObject * obj1 = 0 ;
26280 PyObject * obj2 = 0 ;
26281
26282 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
26283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail;
26285 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26286 if (SWIG_arg_fail(2)) SWIG_fail;
26287 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26288 if (SWIG_arg_fail(3)) SWIG_fail;
26289 {
26290 if (!wxPyCheckForApp()) SWIG_fail;
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26293
26294 wxPyEndAllowThreads(__tstate);
26295 if (PyErr_Occurred()) SWIG_fail;
26296 }
26297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26298 return resultobj;
26299 fail:
26300 return NULL;
26301 }
26302
26303
26304 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
26305 int argc;
26306 PyObject *argv[4];
26307 int ii;
26308
26309 argc = PyObject_Length(args);
26310 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26311 argv[ii] = PyTuple_GetItem(args,ii);
26312 }
26313 if ((argc >= 2) && (argc <= 3)) {
26314 int _v;
26315 {
26316 void *ptr;
26317 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26318 _v = 0;
26319 PyErr_Clear();
26320 } else {
26321 _v = 1;
26322 }
26323 }
26324 if (_v) {
26325 {
26326 void *ptr;
26327 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26328 _v = 0;
26329 PyErr_Clear();
26330 } else {
26331 _v = 1;
26332 }
26333 }
26334 if (_v) {
26335 if (argc <= 2) {
26336 return _wrap_new_PrintPreview__SWIG_0(self,args);
26337 }
26338 {
26339 void *ptr;
26340 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26341 _v = 0;
26342 PyErr_Clear();
26343 } else {
26344 _v = 1;
26345 }
26346 }
26347 if (_v) {
26348 return _wrap_new_PrintPreview__SWIG_0(self,args);
26349 }
26350 }
26351 }
26352 }
26353 if (argc == 3) {
26354 int _v;
26355 {
26356 void *ptr;
26357 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26358 _v = 0;
26359 PyErr_Clear();
26360 } else {
26361 _v = 1;
26362 }
26363 }
26364 if (_v) {
26365 {
26366 void *ptr;
26367 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26368 _v = 0;
26369 PyErr_Clear();
26370 } else {
26371 _v = 1;
26372 }
26373 }
26374 if (_v) {
26375 {
26376 void *ptr;
26377 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26378 _v = 0;
26379 PyErr_Clear();
26380 } else {
26381 _v = 1;
26382 }
26383 }
26384 if (_v) {
26385 return _wrap_new_PrintPreview__SWIG_1(self,args);
26386 }
26387 }
26388 }
26389 }
26390
26391 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
26392 return NULL;
26393 }
26394
26395
26396 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26397 PyObject *resultobj;
26398 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26399 int arg2 ;
26400 bool result;
26401 PyObject * obj0 = 0 ;
26402 PyObject * obj1 = 0 ;
26403 char *kwnames[] = {
26404 (char *) "self",(char *) "pageNum", NULL
26405 };
26406
26407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26409 if (SWIG_arg_fail(1)) SWIG_fail;
26410 {
26411 arg2 = (int)(SWIG_As_int(obj1));
26412 if (SWIG_arg_fail(2)) SWIG_fail;
26413 }
26414 {
26415 PyThreadState* __tstate = wxPyBeginAllowThreads();
26416 result = (bool)(arg1)->SetCurrentPage(arg2);
26417
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 {
26422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26423 }
26424 return resultobj;
26425 fail:
26426 return NULL;
26427 }
26428
26429
26430 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26431 PyObject *resultobj;
26432 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26433 int result;
26434 PyObject * obj0 = 0 ;
26435 char *kwnames[] = {
26436 (char *) "self", NULL
26437 };
26438
26439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
26440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26441 if (SWIG_arg_fail(1)) SWIG_fail;
26442 {
26443 PyThreadState* __tstate = wxPyBeginAllowThreads();
26444 result = (int)(arg1)->GetCurrentPage();
26445
26446 wxPyEndAllowThreads(__tstate);
26447 if (PyErr_Occurred()) SWIG_fail;
26448 }
26449 {
26450 resultobj = SWIG_From_int((int)(result));
26451 }
26452 return resultobj;
26453 fail:
26454 return NULL;
26455 }
26456
26457
26458 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26459 PyObject *resultobj;
26460 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26461 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26462 PyObject * obj0 = 0 ;
26463 PyObject * obj1 = 0 ;
26464 char *kwnames[] = {
26465 (char *) "self",(char *) "printout", NULL
26466 };
26467
26468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
26469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26470 if (SWIG_arg_fail(1)) SWIG_fail;
26471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26472 if (SWIG_arg_fail(2)) SWIG_fail;
26473 {
26474 PyThreadState* __tstate = wxPyBeginAllowThreads();
26475 (arg1)->SetPrintout(arg2);
26476
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 Py_INCREF(Py_None); resultobj = Py_None;
26481 return resultobj;
26482 fail:
26483 return NULL;
26484 }
26485
26486
26487 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26488 PyObject *resultobj;
26489 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26490 wxPyPrintout *result;
26491 PyObject * obj0 = 0 ;
26492 char *kwnames[] = {
26493 (char *) "self", NULL
26494 };
26495
26496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
26497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26498 if (SWIG_arg_fail(1)) SWIG_fail;
26499 {
26500 PyThreadState* __tstate = wxPyBeginAllowThreads();
26501 result = (wxPyPrintout *)(arg1)->GetPrintout();
26502
26503 wxPyEndAllowThreads(__tstate);
26504 if (PyErr_Occurred()) SWIG_fail;
26505 }
26506 {
26507 resultobj = wxPyMake_wxObject(result, 0);
26508 }
26509 return resultobj;
26510 fail:
26511 return NULL;
26512 }
26513
26514
26515 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
26516 PyObject *resultobj;
26517 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26518 wxPyPrintout *result;
26519 PyObject * obj0 = 0 ;
26520 char *kwnames[] = {
26521 (char *) "self", NULL
26522 };
26523
26524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
26525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26526 if (SWIG_arg_fail(1)) SWIG_fail;
26527 {
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26530
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
26534 {
26535 resultobj = wxPyMake_wxObject(result, 0);
26536 }
26537 return resultobj;
26538 fail:
26539 return NULL;
26540 }
26541
26542
26543 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26544 PyObject *resultobj;
26545 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26546 wxFrame *arg2 = (wxFrame *) 0 ;
26547 PyObject * obj0 = 0 ;
26548 PyObject * obj1 = 0 ;
26549 char *kwnames[] = {
26550 (char *) "self",(char *) "frame", NULL
26551 };
26552
26553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
26554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26555 if (SWIG_arg_fail(1)) SWIG_fail;
26556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26557 if (SWIG_arg_fail(2)) SWIG_fail;
26558 {
26559 PyThreadState* __tstate = wxPyBeginAllowThreads();
26560 (arg1)->SetFrame(arg2);
26561
26562 wxPyEndAllowThreads(__tstate);
26563 if (PyErr_Occurred()) SWIG_fail;
26564 }
26565 Py_INCREF(Py_None); resultobj = Py_None;
26566 return resultobj;
26567 fail:
26568 return NULL;
26569 }
26570
26571
26572 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26573 PyObject *resultobj;
26574 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26575 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26576 PyObject * obj0 = 0 ;
26577 PyObject * obj1 = 0 ;
26578 char *kwnames[] = {
26579 (char *) "self",(char *) "canvas", NULL
26580 };
26581
26582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26584 if (SWIG_arg_fail(1)) SWIG_fail;
26585 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26586 if (SWIG_arg_fail(2)) SWIG_fail;
26587 {
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 (arg1)->SetCanvas(arg2);
26590
26591 wxPyEndAllowThreads(__tstate);
26592 if (PyErr_Occurred()) SWIG_fail;
26593 }
26594 Py_INCREF(Py_None); resultobj = Py_None;
26595 return resultobj;
26596 fail:
26597 return NULL;
26598 }
26599
26600
26601 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26602 PyObject *resultobj;
26603 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26604 wxFrame *result;
26605 PyObject * obj0 = 0 ;
26606 char *kwnames[] = {
26607 (char *) "self", NULL
26608 };
26609
26610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26612 if (SWIG_arg_fail(1)) SWIG_fail;
26613 {
26614 PyThreadState* __tstate = wxPyBeginAllowThreads();
26615 result = (wxFrame *)(arg1)->GetFrame();
26616
26617 wxPyEndAllowThreads(__tstate);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 }
26620 {
26621 resultobj = wxPyMake_wxObject(result, 0);
26622 }
26623 return resultobj;
26624 fail:
26625 return NULL;
26626 }
26627
26628
26629 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26630 PyObject *resultobj;
26631 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26632 wxPreviewCanvas *result;
26633 PyObject * obj0 = 0 ;
26634 char *kwnames[] = {
26635 (char *) "self", NULL
26636 };
26637
26638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26640 if (SWIG_arg_fail(1)) SWIG_fail;
26641 {
26642 PyThreadState* __tstate = wxPyBeginAllowThreads();
26643 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26644
26645 wxPyEndAllowThreads(__tstate);
26646 if (PyErr_Occurred()) SWIG_fail;
26647 }
26648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26649 return resultobj;
26650 fail:
26651 return NULL;
26652 }
26653
26654
26655 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26656 PyObject *resultobj;
26657 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26658 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26659 wxDC *arg3 = 0 ;
26660 bool result;
26661 PyObject * obj0 = 0 ;
26662 PyObject * obj1 = 0 ;
26663 PyObject * obj2 = 0 ;
26664 char *kwnames[] = {
26665 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26666 };
26667
26668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26670 if (SWIG_arg_fail(1)) SWIG_fail;
26671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26672 if (SWIG_arg_fail(2)) SWIG_fail;
26673 {
26674 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26675 if (SWIG_arg_fail(3)) SWIG_fail;
26676 if (arg3 == NULL) {
26677 SWIG_null_ref("wxDC");
26678 }
26679 if (SWIG_arg_fail(3)) SWIG_fail;
26680 }
26681 {
26682 PyThreadState* __tstate = wxPyBeginAllowThreads();
26683 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26684
26685 wxPyEndAllowThreads(__tstate);
26686 if (PyErr_Occurred()) SWIG_fail;
26687 }
26688 {
26689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26690 }
26691 return resultobj;
26692 fail:
26693 return NULL;
26694 }
26695
26696
26697 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26698 PyObject *resultobj;
26699 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26700 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26701 wxDC *arg3 = 0 ;
26702 bool result;
26703 PyObject * obj0 = 0 ;
26704 PyObject * obj1 = 0 ;
26705 PyObject * obj2 = 0 ;
26706 char *kwnames[] = {
26707 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26708 };
26709
26710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26712 if (SWIG_arg_fail(1)) SWIG_fail;
26713 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26714 if (SWIG_arg_fail(2)) SWIG_fail;
26715 {
26716 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26717 if (SWIG_arg_fail(3)) SWIG_fail;
26718 if (arg3 == NULL) {
26719 SWIG_null_ref("wxDC");
26720 }
26721 if (SWIG_arg_fail(3)) SWIG_fail;
26722 }
26723 {
26724 PyThreadState* __tstate = wxPyBeginAllowThreads();
26725 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26726
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
26730 {
26731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26732 }
26733 return resultobj;
26734 fail:
26735 return NULL;
26736 }
26737
26738
26739 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26740 PyObject *resultobj;
26741 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26742 int arg2 ;
26743 bool result;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 char *kwnames[] = {
26747 (char *) "self",(char *) "pageNum", NULL
26748 };
26749
26750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26752 if (SWIG_arg_fail(1)) SWIG_fail;
26753 {
26754 arg2 = (int)(SWIG_As_int(obj1));
26755 if (SWIG_arg_fail(2)) SWIG_fail;
26756 }
26757 {
26758 PyThreadState* __tstate = wxPyBeginAllowThreads();
26759 result = (bool)(arg1)->RenderPage(arg2);
26760
26761 wxPyEndAllowThreads(__tstate);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 }
26764 {
26765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26766 }
26767 return resultobj;
26768 fail:
26769 return NULL;
26770 }
26771
26772
26773 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26774 PyObject *resultobj;
26775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26776 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26777 PyObject * obj0 = 0 ;
26778 PyObject * obj1 = 0 ;
26779 char *kwnames[] = {
26780 (char *) "self",(char *) "canvas", NULL
26781 };
26782
26783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26785 if (SWIG_arg_fail(1)) SWIG_fail;
26786 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26787 if (SWIG_arg_fail(2)) SWIG_fail;
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 (arg1)->AdjustScrollbars(arg2);
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 Py_INCREF(Py_None); resultobj = Py_None;
26796 return resultobj;
26797 fail:
26798 return NULL;
26799 }
26800
26801
26802 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26803 PyObject *resultobj;
26804 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26805 wxPrintDialogData *result;
26806 PyObject * obj0 = 0 ;
26807 char *kwnames[] = {
26808 (char *) "self", NULL
26809 };
26810
26811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26813 if (SWIG_arg_fail(1)) SWIG_fail;
26814 {
26815 PyThreadState* __tstate = wxPyBeginAllowThreads();
26816 {
26817 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26818 result = (wxPrintDialogData *) &_result_ref;
26819 }
26820
26821 wxPyEndAllowThreads(__tstate);
26822 if (PyErr_Occurred()) SWIG_fail;
26823 }
26824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26825 return resultobj;
26826 fail:
26827 return NULL;
26828 }
26829
26830
26831 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26832 PyObject *resultobj;
26833 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26834 int arg2 ;
26835 PyObject * obj0 = 0 ;
26836 PyObject * obj1 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "self",(char *) "percent", NULL
26839 };
26840
26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26843 if (SWIG_arg_fail(1)) SWIG_fail;
26844 {
26845 arg2 = (int)(SWIG_As_int(obj1));
26846 if (SWIG_arg_fail(2)) SWIG_fail;
26847 }
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 (arg1)->SetZoom(arg2);
26851
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
26855 Py_INCREF(Py_None); resultobj = Py_None;
26856 return resultobj;
26857 fail:
26858 return NULL;
26859 }
26860
26861
26862 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26863 PyObject *resultobj;
26864 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26865 int result;
26866 PyObject * obj0 = 0 ;
26867 char *kwnames[] = {
26868 (char *) "self", NULL
26869 };
26870
26871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26873 if (SWIG_arg_fail(1)) SWIG_fail;
26874 {
26875 PyThreadState* __tstate = wxPyBeginAllowThreads();
26876 result = (int)(arg1)->GetZoom();
26877
26878 wxPyEndAllowThreads(__tstate);
26879 if (PyErr_Occurred()) SWIG_fail;
26880 }
26881 {
26882 resultobj = SWIG_From_int((int)(result));
26883 }
26884 return resultobj;
26885 fail:
26886 return NULL;
26887 }
26888
26889
26890 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26891 PyObject *resultobj;
26892 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26893 int result;
26894 PyObject * obj0 = 0 ;
26895 char *kwnames[] = {
26896 (char *) "self", NULL
26897 };
26898
26899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26901 if (SWIG_arg_fail(1)) SWIG_fail;
26902 {
26903 PyThreadState* __tstate = wxPyBeginAllowThreads();
26904 result = (int)(arg1)->GetMaxPage();
26905
26906 wxPyEndAllowThreads(__tstate);
26907 if (PyErr_Occurred()) SWIG_fail;
26908 }
26909 {
26910 resultobj = SWIG_From_int((int)(result));
26911 }
26912 return resultobj;
26913 fail:
26914 return NULL;
26915 }
26916
26917
26918 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26919 PyObject *resultobj;
26920 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26921 int result;
26922 PyObject * obj0 = 0 ;
26923 char *kwnames[] = {
26924 (char *) "self", NULL
26925 };
26926
26927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26929 if (SWIG_arg_fail(1)) SWIG_fail;
26930 {
26931 PyThreadState* __tstate = wxPyBeginAllowThreads();
26932 result = (int)(arg1)->GetMinPage();
26933
26934 wxPyEndAllowThreads(__tstate);
26935 if (PyErr_Occurred()) SWIG_fail;
26936 }
26937 {
26938 resultobj = SWIG_From_int((int)(result));
26939 }
26940 return resultobj;
26941 fail:
26942 return NULL;
26943 }
26944
26945
26946 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26947 PyObject *resultobj;
26948 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26949 bool result;
26950 PyObject * obj0 = 0 ;
26951 char *kwnames[] = {
26952 (char *) "self", NULL
26953 };
26954
26955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26957 if (SWIG_arg_fail(1)) SWIG_fail;
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 result = (bool)(arg1)->Ok();
26961
26962 wxPyEndAllowThreads(__tstate);
26963 if (PyErr_Occurred()) SWIG_fail;
26964 }
26965 {
26966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26967 }
26968 return resultobj;
26969 fail:
26970 return NULL;
26971 }
26972
26973
26974 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26975 PyObject *resultobj;
26976 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26977 bool arg2 ;
26978 PyObject * obj0 = 0 ;
26979 PyObject * obj1 = 0 ;
26980 char *kwnames[] = {
26981 (char *) "self",(char *) "ok", NULL
26982 };
26983
26984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26986 if (SWIG_arg_fail(1)) SWIG_fail;
26987 {
26988 arg2 = (bool)(SWIG_As_bool(obj1));
26989 if (SWIG_arg_fail(2)) SWIG_fail;
26990 }
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 (arg1)->SetOk(arg2);
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 Py_INCREF(Py_None); resultobj = Py_None;
26999 return resultobj;
27000 fail:
27001 return NULL;
27002 }
27003
27004
27005 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
27006 PyObject *resultobj;
27007 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27008 bool arg2 ;
27009 bool result;
27010 PyObject * obj0 = 0 ;
27011 PyObject * obj1 = 0 ;
27012 char *kwnames[] = {
27013 (char *) "self",(char *) "interactive", NULL
27014 };
27015
27016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
27017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27018 if (SWIG_arg_fail(1)) SWIG_fail;
27019 {
27020 arg2 = (bool)(SWIG_As_bool(obj1));
27021 if (SWIG_arg_fail(2)) SWIG_fail;
27022 }
27023 {
27024 PyThreadState* __tstate = wxPyBeginAllowThreads();
27025 result = (bool)(arg1)->Print(arg2);
27026
27027 wxPyEndAllowThreads(__tstate);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 }
27030 {
27031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27032 }
27033 return resultobj;
27034 fail:
27035 return NULL;
27036 }
27037
27038
27039 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
27040 PyObject *resultobj;
27041 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27042 PyObject * obj0 = 0 ;
27043 char *kwnames[] = {
27044 (char *) "self", NULL
27045 };
27046
27047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
27048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27049 if (SWIG_arg_fail(1)) SWIG_fail;
27050 {
27051 PyThreadState* __tstate = wxPyBeginAllowThreads();
27052 (arg1)->DetermineScaling();
27053
27054 wxPyEndAllowThreads(__tstate);
27055 if (PyErr_Occurred()) SWIG_fail;
27056 }
27057 Py_INCREF(Py_None); resultobj = Py_None;
27058 return resultobj;
27059 fail:
27060 return NULL;
27061 }
27062
27063
27064 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
27065 PyObject *obj;
27066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27067 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
27068 Py_INCREF(obj);
27069 return Py_BuildValue((char *)"");
27070 }
27071 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
27072 PyObject *resultobj;
27073 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27074 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
27075 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
27076 wxPyPrintPreview *result;
27077 PyObject * obj0 = 0 ;
27078 PyObject * obj1 = 0 ;
27079 PyObject * obj2 = 0 ;
27080
27081 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
27082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
27083 if (SWIG_arg_fail(1)) SWIG_fail;
27084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
27085 if (SWIG_arg_fail(2)) SWIG_fail;
27086 if (obj2) {
27087 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
27088 if (SWIG_arg_fail(3)) SWIG_fail;
27089 }
27090 {
27091 if (!wxPyCheckForApp()) SWIG_fail;
27092 PyThreadState* __tstate = wxPyBeginAllowThreads();
27093 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
27094
27095 wxPyEndAllowThreads(__tstate);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 }
27098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
27099 return resultobj;
27100 fail:
27101 return NULL;
27102 }
27103
27104
27105 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
27106 PyObject *resultobj;
27107 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27108 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
27109 wxPrintData *arg3 = (wxPrintData *) 0 ;
27110 wxPyPrintPreview *result;
27111 PyObject * obj0 = 0 ;
27112 PyObject * obj1 = 0 ;
27113 PyObject * obj2 = 0 ;
27114
27115 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
27116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
27117 if (SWIG_arg_fail(1)) SWIG_fail;
27118 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
27119 if (SWIG_arg_fail(2)) SWIG_fail;
27120 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
27121 if (SWIG_arg_fail(3)) SWIG_fail;
27122 {
27123 if (!wxPyCheckForApp()) SWIG_fail;
27124 PyThreadState* __tstate = wxPyBeginAllowThreads();
27125 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
27126
27127 wxPyEndAllowThreads(__tstate);
27128 if (PyErr_Occurred()) SWIG_fail;
27129 }
27130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
27131 return resultobj;
27132 fail:
27133 return NULL;
27134 }
27135
27136
27137 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
27138 int argc;
27139 PyObject *argv[4];
27140 int ii;
27141
27142 argc = PyObject_Length(args);
27143 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
27144 argv[ii] = PyTuple_GetItem(args,ii);
27145 }
27146 if ((argc >= 2) && (argc <= 3)) {
27147 int _v;
27148 {
27149 void *ptr;
27150 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27151 _v = 0;
27152 PyErr_Clear();
27153 } else {
27154 _v = 1;
27155 }
27156 }
27157 if (_v) {
27158 {
27159 void *ptr;
27160 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27161 _v = 0;
27162 PyErr_Clear();
27163 } else {
27164 _v = 1;
27165 }
27166 }
27167 if (_v) {
27168 if (argc <= 2) {
27169 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
27170 }
27171 {
27172 void *ptr;
27173 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
27174 _v = 0;
27175 PyErr_Clear();
27176 } else {
27177 _v = 1;
27178 }
27179 }
27180 if (_v) {
27181 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
27182 }
27183 }
27184 }
27185 }
27186 if (argc == 3) {
27187 int _v;
27188 {
27189 void *ptr;
27190 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27191 _v = 0;
27192 PyErr_Clear();
27193 } else {
27194 _v = 1;
27195 }
27196 }
27197 if (_v) {
27198 {
27199 void *ptr;
27200 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27201 _v = 0;
27202 PyErr_Clear();
27203 } else {
27204 _v = 1;
27205 }
27206 }
27207 if (_v) {
27208 {
27209 void *ptr;
27210 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
27211 _v = 0;
27212 PyErr_Clear();
27213 } else {
27214 _v = 1;
27215 }
27216 }
27217 if (_v) {
27218 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
27219 }
27220 }
27221 }
27222 }
27223
27224 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
27225 return NULL;
27226 }
27227
27228
27229 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27230 PyObject *resultobj;
27231 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27232 PyObject *arg2 = (PyObject *) 0 ;
27233 PyObject *arg3 = (PyObject *) 0 ;
27234 PyObject * obj0 = 0 ;
27235 PyObject * obj1 = 0 ;
27236 PyObject * obj2 = 0 ;
27237 char *kwnames[] = {
27238 (char *) "self",(char *) "self",(char *) "_class", NULL
27239 };
27240
27241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27243 if (SWIG_arg_fail(1)) SWIG_fail;
27244 arg2 = obj1;
27245 arg3 = obj2;
27246 {
27247 PyThreadState* __tstate = wxPyBeginAllowThreads();
27248 (arg1)->_setCallbackInfo(arg2,arg3);
27249
27250 wxPyEndAllowThreads(__tstate);
27251 if (PyErr_Occurred()) SWIG_fail;
27252 }
27253 Py_INCREF(Py_None); resultobj = Py_None;
27254 return resultobj;
27255 fail:
27256 return NULL;
27257 }
27258
27259
27260 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
27261 PyObject *resultobj;
27262 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27263 int arg2 ;
27264 bool result;
27265 PyObject * obj0 = 0 ;
27266 PyObject * obj1 = 0 ;
27267 char *kwnames[] = {
27268 (char *) "self",(char *) "pageNum", NULL
27269 };
27270
27271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
27272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27273 if (SWIG_arg_fail(1)) SWIG_fail;
27274 {
27275 arg2 = (int)(SWIG_As_int(obj1));
27276 if (SWIG_arg_fail(2)) SWIG_fail;
27277 }
27278 {
27279 PyThreadState* __tstate = wxPyBeginAllowThreads();
27280 result = (bool)(arg1)->base_SetCurrentPage(arg2);
27281
27282 wxPyEndAllowThreads(__tstate);
27283 if (PyErr_Occurred()) SWIG_fail;
27284 }
27285 {
27286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27287 }
27288 return resultobj;
27289 fail:
27290 return NULL;
27291 }
27292
27293
27294 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
27295 PyObject *resultobj;
27296 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27297 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27298 wxDC *arg3 = 0 ;
27299 bool result;
27300 PyObject * obj0 = 0 ;
27301 PyObject * obj1 = 0 ;
27302 PyObject * obj2 = 0 ;
27303 char *kwnames[] = {
27304 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27305 };
27306
27307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27309 if (SWIG_arg_fail(1)) SWIG_fail;
27310 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27311 if (SWIG_arg_fail(2)) SWIG_fail;
27312 {
27313 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27314 if (SWIG_arg_fail(3)) SWIG_fail;
27315 if (arg3 == NULL) {
27316 SWIG_null_ref("wxDC");
27317 }
27318 if (SWIG_arg_fail(3)) SWIG_fail;
27319 }
27320 {
27321 PyThreadState* __tstate = wxPyBeginAllowThreads();
27322 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
27323
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 {
27328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27329 }
27330 return resultobj;
27331 fail:
27332 return NULL;
27333 }
27334
27335
27336 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
27337 PyObject *resultobj;
27338 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27339 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27340 wxDC *arg3 = 0 ;
27341 bool result;
27342 PyObject * obj0 = 0 ;
27343 PyObject * obj1 = 0 ;
27344 PyObject * obj2 = 0 ;
27345 char *kwnames[] = {
27346 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27347 };
27348
27349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27351 if (SWIG_arg_fail(1)) SWIG_fail;
27352 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27353 if (SWIG_arg_fail(2)) SWIG_fail;
27354 {
27355 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27356 if (SWIG_arg_fail(3)) SWIG_fail;
27357 if (arg3 == NULL) {
27358 SWIG_null_ref("wxDC");
27359 }
27360 if (SWIG_arg_fail(3)) SWIG_fail;
27361 }
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
27365
27366 wxPyEndAllowThreads(__tstate);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 {
27370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27371 }
27372 return resultobj;
27373 fail:
27374 return NULL;
27375 }
27376
27377
27378 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
27379 PyObject *resultobj;
27380 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27381 int arg2 ;
27382 bool result;
27383 PyObject * obj0 = 0 ;
27384 PyObject * obj1 = 0 ;
27385 char *kwnames[] = {
27386 (char *) "self",(char *) "pageNum", NULL
27387 };
27388
27389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
27390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27391 if (SWIG_arg_fail(1)) SWIG_fail;
27392 {
27393 arg2 = (int)(SWIG_As_int(obj1));
27394 if (SWIG_arg_fail(2)) SWIG_fail;
27395 }
27396 {
27397 PyThreadState* __tstate = wxPyBeginAllowThreads();
27398 result = (bool)(arg1)->base_RenderPage(arg2);
27399
27400 wxPyEndAllowThreads(__tstate);
27401 if (PyErr_Occurred()) SWIG_fail;
27402 }
27403 {
27404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27405 }
27406 return resultobj;
27407 fail:
27408 return NULL;
27409 }
27410
27411
27412 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
27413 PyObject *resultobj;
27414 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27415 int arg2 ;
27416 PyObject * obj0 = 0 ;
27417 PyObject * obj1 = 0 ;
27418 char *kwnames[] = {
27419 (char *) "self",(char *) "percent", NULL
27420 };
27421
27422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
27423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27424 if (SWIG_arg_fail(1)) SWIG_fail;
27425 {
27426 arg2 = (int)(SWIG_As_int(obj1));
27427 if (SWIG_arg_fail(2)) SWIG_fail;
27428 }
27429 {
27430 PyThreadState* __tstate = wxPyBeginAllowThreads();
27431 (arg1)->base_SetZoom(arg2);
27432
27433 wxPyEndAllowThreads(__tstate);
27434 if (PyErr_Occurred()) SWIG_fail;
27435 }
27436 Py_INCREF(Py_None); resultobj = Py_None;
27437 return resultobj;
27438 fail:
27439 return NULL;
27440 }
27441
27442
27443 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
27444 PyObject *resultobj;
27445 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27446 bool arg2 ;
27447 bool result;
27448 PyObject * obj0 = 0 ;
27449 PyObject * obj1 = 0 ;
27450 char *kwnames[] = {
27451 (char *) "self",(char *) "interactive", NULL
27452 };
27453
27454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
27455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27456 if (SWIG_arg_fail(1)) SWIG_fail;
27457 {
27458 arg2 = (bool)(SWIG_As_bool(obj1));
27459 if (SWIG_arg_fail(2)) SWIG_fail;
27460 }
27461 {
27462 PyThreadState* __tstate = wxPyBeginAllowThreads();
27463 result = (bool)(arg1)->base_Print(arg2);
27464
27465 wxPyEndAllowThreads(__tstate);
27466 if (PyErr_Occurred()) SWIG_fail;
27467 }
27468 {
27469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27470 }
27471 return resultobj;
27472 fail:
27473 return NULL;
27474 }
27475
27476
27477 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
27478 PyObject *resultobj;
27479 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27480 PyObject * obj0 = 0 ;
27481 char *kwnames[] = {
27482 (char *) "self", NULL
27483 };
27484
27485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
27486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27487 if (SWIG_arg_fail(1)) SWIG_fail;
27488 {
27489 PyThreadState* __tstate = wxPyBeginAllowThreads();
27490 (arg1)->base_DetermineScaling();
27491
27492 wxPyEndAllowThreads(__tstate);
27493 if (PyErr_Occurred()) SWIG_fail;
27494 }
27495 Py_INCREF(Py_None); resultobj = Py_None;
27496 return resultobj;
27497 fail:
27498 return NULL;
27499 }
27500
27501
27502 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
27503 PyObject *obj;
27504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27505 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27506 Py_INCREF(obj);
27507 return Py_BuildValue((char *)"");
27508 }
27509 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
27510 PyObject *resultobj;
27511 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27512 wxFrame *arg2 = (wxFrame *) 0 ;
27513 wxString *arg3 = 0 ;
27514 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27515 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27516 wxSize const &arg5_defvalue = wxDefaultSize ;
27517 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27518 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27519 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27520 wxString *arg7 = (wxString *) &arg7_defvalue ;
27521 wxPyPreviewFrame *result;
27522 bool temp3 = false ;
27523 wxPoint temp4 ;
27524 wxSize temp5 ;
27525 bool temp7 = false ;
27526 PyObject * obj0 = 0 ;
27527 PyObject * obj1 = 0 ;
27528 PyObject * obj2 = 0 ;
27529 PyObject * obj3 = 0 ;
27530 PyObject * obj4 = 0 ;
27531 PyObject * obj5 = 0 ;
27532 PyObject * obj6 = 0 ;
27533 char *kwnames[] = {
27534 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27535 };
27536
27537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27539 if (SWIG_arg_fail(1)) SWIG_fail;
27540 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27541 if (SWIG_arg_fail(2)) SWIG_fail;
27542 {
27543 arg3 = wxString_in_helper(obj2);
27544 if (arg3 == NULL) SWIG_fail;
27545 temp3 = true;
27546 }
27547 if (obj3) {
27548 {
27549 arg4 = &temp4;
27550 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27551 }
27552 }
27553 if (obj4) {
27554 {
27555 arg5 = &temp5;
27556 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27557 }
27558 }
27559 if (obj5) {
27560 {
27561 arg6 = (long)(SWIG_As_long(obj5));
27562 if (SWIG_arg_fail(6)) SWIG_fail;
27563 }
27564 }
27565 if (obj6) {
27566 {
27567 arg7 = wxString_in_helper(obj6);
27568 if (arg7 == NULL) SWIG_fail;
27569 temp7 = true;
27570 }
27571 }
27572 {
27573 if (!wxPyCheckForApp()) SWIG_fail;
27574 PyThreadState* __tstate = wxPyBeginAllowThreads();
27575 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27576
27577 wxPyEndAllowThreads(__tstate);
27578 if (PyErr_Occurred()) SWIG_fail;
27579 }
27580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27581 {
27582 if (temp3)
27583 delete arg3;
27584 }
27585 {
27586 if (temp7)
27587 delete arg7;
27588 }
27589 return resultobj;
27590 fail:
27591 {
27592 if (temp3)
27593 delete arg3;
27594 }
27595 {
27596 if (temp7)
27597 delete arg7;
27598 }
27599 return NULL;
27600 }
27601
27602
27603 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27604 PyObject *resultobj;
27605 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27606 PyObject *arg2 = (PyObject *) 0 ;
27607 PyObject *arg3 = (PyObject *) 0 ;
27608 PyObject * obj0 = 0 ;
27609 PyObject * obj1 = 0 ;
27610 PyObject * obj2 = 0 ;
27611 char *kwnames[] = {
27612 (char *) "self",(char *) "self",(char *) "_class", NULL
27613 };
27614
27615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27617 if (SWIG_arg_fail(1)) SWIG_fail;
27618 arg2 = obj1;
27619 arg3 = obj2;
27620 {
27621 PyThreadState* __tstate = wxPyBeginAllowThreads();
27622 (arg1)->_setCallbackInfo(arg2,arg3);
27623
27624 wxPyEndAllowThreads(__tstate);
27625 if (PyErr_Occurred()) SWIG_fail;
27626 }
27627 Py_INCREF(Py_None); resultobj = Py_None;
27628 return resultobj;
27629 fail:
27630 return NULL;
27631 }
27632
27633
27634 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27635 PyObject *resultobj;
27636 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27637 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27638 PyObject * obj0 = 0 ;
27639 PyObject * obj1 = 0 ;
27640 char *kwnames[] = {
27641 (char *) "self",(char *) "canvas", NULL
27642 };
27643
27644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27646 if (SWIG_arg_fail(1)) SWIG_fail;
27647 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27648 if (SWIG_arg_fail(2)) SWIG_fail;
27649 {
27650 PyThreadState* __tstate = wxPyBeginAllowThreads();
27651 (arg1)->SetPreviewCanvas(arg2);
27652
27653 wxPyEndAllowThreads(__tstate);
27654 if (PyErr_Occurred()) SWIG_fail;
27655 }
27656 Py_INCREF(Py_None); resultobj = Py_None;
27657 return resultobj;
27658 fail:
27659 return NULL;
27660 }
27661
27662
27663 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27664 PyObject *resultobj;
27665 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27666 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27667 PyObject * obj0 = 0 ;
27668 PyObject * obj1 = 0 ;
27669 char *kwnames[] = {
27670 (char *) "self",(char *) "bar", NULL
27671 };
27672
27673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27675 if (SWIG_arg_fail(1)) SWIG_fail;
27676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27677 if (SWIG_arg_fail(2)) SWIG_fail;
27678 {
27679 PyThreadState* __tstate = wxPyBeginAllowThreads();
27680 (arg1)->SetControlBar(arg2);
27681
27682 wxPyEndAllowThreads(__tstate);
27683 if (PyErr_Occurred()) SWIG_fail;
27684 }
27685 Py_INCREF(Py_None); resultobj = Py_None;
27686 return resultobj;
27687 fail:
27688 return NULL;
27689 }
27690
27691
27692 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27693 PyObject *resultobj;
27694 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27695 PyObject * obj0 = 0 ;
27696 char *kwnames[] = {
27697 (char *) "self", NULL
27698 };
27699
27700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27702 if (SWIG_arg_fail(1)) SWIG_fail;
27703 {
27704 PyThreadState* __tstate = wxPyBeginAllowThreads();
27705 (arg1)->base_Initialize();
27706
27707 wxPyEndAllowThreads(__tstate);
27708 if (PyErr_Occurred()) SWIG_fail;
27709 }
27710 Py_INCREF(Py_None); resultobj = Py_None;
27711 return resultobj;
27712 fail:
27713 return NULL;
27714 }
27715
27716
27717 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27718 PyObject *resultobj;
27719 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27720 PyObject * obj0 = 0 ;
27721 char *kwnames[] = {
27722 (char *) "self", NULL
27723 };
27724
27725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27727 if (SWIG_arg_fail(1)) SWIG_fail;
27728 {
27729 PyThreadState* __tstate = wxPyBeginAllowThreads();
27730 (arg1)->base_CreateCanvas();
27731
27732 wxPyEndAllowThreads(__tstate);
27733 if (PyErr_Occurred()) SWIG_fail;
27734 }
27735 Py_INCREF(Py_None); resultobj = Py_None;
27736 return resultobj;
27737 fail:
27738 return NULL;
27739 }
27740
27741
27742 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27743 PyObject *resultobj;
27744 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27745 PyObject * obj0 = 0 ;
27746 char *kwnames[] = {
27747 (char *) "self", NULL
27748 };
27749
27750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27752 if (SWIG_arg_fail(1)) SWIG_fail;
27753 {
27754 PyThreadState* __tstate = wxPyBeginAllowThreads();
27755 (arg1)->base_CreateControlBar();
27756
27757 wxPyEndAllowThreads(__tstate);
27758 if (PyErr_Occurred()) SWIG_fail;
27759 }
27760 Py_INCREF(Py_None); resultobj = Py_None;
27761 return resultobj;
27762 fail:
27763 return NULL;
27764 }
27765
27766
27767 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27768 PyObject *obj;
27769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27770 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27771 Py_INCREF(obj);
27772 return Py_BuildValue((char *)"");
27773 }
27774 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27775 PyObject *resultobj;
27776 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27777 long arg2 ;
27778 wxWindow *arg3 = (wxWindow *) 0 ;
27779 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27780 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27781 wxSize const &arg5_defvalue = wxDefaultSize ;
27782 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27783 long arg6 = (long) 0 ;
27784 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27785 wxString *arg7 = (wxString *) &arg7_defvalue ;
27786 wxPyPreviewControlBar *result;
27787 wxPoint temp4 ;
27788 wxSize temp5 ;
27789 bool temp7 = false ;
27790 PyObject * obj0 = 0 ;
27791 PyObject * obj1 = 0 ;
27792 PyObject * obj2 = 0 ;
27793 PyObject * obj3 = 0 ;
27794 PyObject * obj4 = 0 ;
27795 PyObject * obj5 = 0 ;
27796 PyObject * obj6 = 0 ;
27797 char *kwnames[] = {
27798 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27799 };
27800
27801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27803 if (SWIG_arg_fail(1)) SWIG_fail;
27804 {
27805 arg2 = (long)(SWIG_As_long(obj1));
27806 if (SWIG_arg_fail(2)) SWIG_fail;
27807 }
27808 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27809 if (SWIG_arg_fail(3)) SWIG_fail;
27810 if (obj3) {
27811 {
27812 arg4 = &temp4;
27813 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27814 }
27815 }
27816 if (obj4) {
27817 {
27818 arg5 = &temp5;
27819 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27820 }
27821 }
27822 if (obj5) {
27823 {
27824 arg6 = (long)(SWIG_As_long(obj5));
27825 if (SWIG_arg_fail(6)) SWIG_fail;
27826 }
27827 }
27828 if (obj6) {
27829 {
27830 arg7 = wxString_in_helper(obj6);
27831 if (arg7 == NULL) SWIG_fail;
27832 temp7 = true;
27833 }
27834 }
27835 {
27836 if (!wxPyCheckForApp()) SWIG_fail;
27837 PyThreadState* __tstate = wxPyBeginAllowThreads();
27838 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27839
27840 wxPyEndAllowThreads(__tstate);
27841 if (PyErr_Occurred()) SWIG_fail;
27842 }
27843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27844 {
27845 if (temp7)
27846 delete arg7;
27847 }
27848 return resultobj;
27849 fail:
27850 {
27851 if (temp7)
27852 delete arg7;
27853 }
27854 return NULL;
27855 }
27856
27857
27858 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27859 PyObject *resultobj;
27860 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27861 PyObject *arg2 = (PyObject *) 0 ;
27862 PyObject *arg3 = (PyObject *) 0 ;
27863 PyObject * obj0 = 0 ;
27864 PyObject * obj1 = 0 ;
27865 PyObject * obj2 = 0 ;
27866 char *kwnames[] = {
27867 (char *) "self",(char *) "self",(char *) "_class", NULL
27868 };
27869
27870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27872 if (SWIG_arg_fail(1)) SWIG_fail;
27873 arg2 = obj1;
27874 arg3 = obj2;
27875 {
27876 PyThreadState* __tstate = wxPyBeginAllowThreads();
27877 (arg1)->_setCallbackInfo(arg2,arg3);
27878
27879 wxPyEndAllowThreads(__tstate);
27880 if (PyErr_Occurred()) SWIG_fail;
27881 }
27882 Py_INCREF(Py_None); resultobj = Py_None;
27883 return resultobj;
27884 fail:
27885 return NULL;
27886 }
27887
27888
27889 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27890 PyObject *resultobj;
27891 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27892 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27893 PyObject * obj0 = 0 ;
27894 PyObject * obj1 = 0 ;
27895 char *kwnames[] = {
27896 (char *) "self",(char *) "preview", NULL
27897 };
27898
27899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27901 if (SWIG_arg_fail(1)) SWIG_fail;
27902 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27903 if (SWIG_arg_fail(2)) SWIG_fail;
27904 {
27905 PyThreadState* __tstate = wxPyBeginAllowThreads();
27906 (arg1)->SetPrintPreview(arg2);
27907
27908 wxPyEndAllowThreads(__tstate);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 }
27911 Py_INCREF(Py_None); resultobj = Py_None;
27912 return resultobj;
27913 fail:
27914 return NULL;
27915 }
27916
27917
27918 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27919 PyObject *resultobj;
27920 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27921 PyObject * obj0 = 0 ;
27922 char *kwnames[] = {
27923 (char *) "self", NULL
27924 };
27925
27926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27928 if (SWIG_arg_fail(1)) SWIG_fail;
27929 {
27930 PyThreadState* __tstate = wxPyBeginAllowThreads();
27931 (arg1)->base_CreateButtons();
27932
27933 wxPyEndAllowThreads(__tstate);
27934 if (PyErr_Occurred()) SWIG_fail;
27935 }
27936 Py_INCREF(Py_None); resultobj = Py_None;
27937 return resultobj;
27938 fail:
27939 return NULL;
27940 }
27941
27942
27943 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27944 PyObject *resultobj;
27945 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27946 int arg2 ;
27947 PyObject * obj0 = 0 ;
27948 PyObject * obj1 = 0 ;
27949 char *kwnames[] = {
27950 (char *) "self",(char *) "zoom", NULL
27951 };
27952
27953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27955 if (SWIG_arg_fail(1)) SWIG_fail;
27956 {
27957 arg2 = (int)(SWIG_As_int(obj1));
27958 if (SWIG_arg_fail(2)) SWIG_fail;
27959 }
27960 {
27961 PyThreadState* __tstate = wxPyBeginAllowThreads();
27962 (arg1)->base_SetZoomControl(arg2);
27963
27964 wxPyEndAllowThreads(__tstate);
27965 if (PyErr_Occurred()) SWIG_fail;
27966 }
27967 Py_INCREF(Py_None); resultobj = Py_None;
27968 return resultobj;
27969 fail:
27970 return NULL;
27971 }
27972
27973
27974 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27975 PyObject *obj;
27976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27977 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27978 Py_INCREF(obj);
27979 return Py_BuildValue((char *)"");
27980 }
27981 static PyMethodDef SwigMethods[] = {
27982 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27990 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
28005 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
28006 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
28015 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
28033 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
28057 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
28070 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
28074 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
28078 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
28083 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
28100 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
28130 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
28137 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
28160 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
28168 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
28180 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
28186 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
28195 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
28201 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
28206 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
28212 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
28216 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
28236 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
28262 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
28270 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
28275 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
28279 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28280 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
28281 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28282 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28287 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28289 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
28290 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
28293 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28294 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28295 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28298 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28299 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
28300 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28309 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28310 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28314 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
28316 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
28317 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
28318 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28320 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28321 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
28322 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28323 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28324 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28325 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28326 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
28327 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28328 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28329 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28330 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
28331 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28332 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
28333 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28334 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28335 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28336 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28337 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28338 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28339 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28340 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28341 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28342 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28343 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28344 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28345 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28346 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
28347 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28348 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
28349 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28350 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
28351 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
28352 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28353 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
28354 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28355 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
28356 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
28357 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
28358 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28359 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28360 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28361 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28362 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28363 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28364 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28365 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28366 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
28367 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28368 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28369 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28370 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28371 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28372 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28373 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28374 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28375 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
28376 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28377 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28378 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28379 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
28380 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
28381 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
28382 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28383 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28384 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28385 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
28386 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28387 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28388 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28389 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28390 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28391 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28392 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28393 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28394 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28395 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28396 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28397 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28398 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28399 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28400 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28401 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28402 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28403 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28404 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28405 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28406 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28407 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28408 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28409 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28410 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28411 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28412 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28413 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28414 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28415 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28416 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28417 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28418 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28419 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28420 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28421 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28422 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28423 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28424 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28425 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28426 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28427 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28428 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28429 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28430 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28431 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28432 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28433 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28434 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28435 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28436 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28437 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28438 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28439 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28440 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28441 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28442 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28443 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28444 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28445 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28446 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28447 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28448 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28449 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28450 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28451 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28452 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28453 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28454 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28455 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28456 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28457 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28458 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28459 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28460 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28461 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28462 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28463 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28464 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28465 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28466 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28467 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28468 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28469 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28470 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28471 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28472 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28473 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28474 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28475 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28476 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28477 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28478 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28479 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28480 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28481 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28482 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28483 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28484 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28485 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28486 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28487 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28488 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28489 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28490 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28491 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28492 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28493 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28494 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28495 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28496 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28497 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28498 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28499 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28500 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28501 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28502 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28503 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28504 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28505 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28506 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28507 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28508 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28509 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28510 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28511 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28512 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28513 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28514 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28515 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28516 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28517 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28518 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28519 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28520 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28521 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28522 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28523 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28524 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28525 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28526 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28527 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28528 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28529 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28530 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28531 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28532 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28533 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28534 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28535 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28536 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28537 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28538 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28539 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28540 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28541 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28542 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28543 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28544 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28545 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28546 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28547 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28548 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28549 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28550 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28551 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28552 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28553 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28554 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28555 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28556 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28557 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28558 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28559 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28560 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28561 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28562 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28563 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28564 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28565 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28566 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28567 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28568 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28569 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28570 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28571 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28572 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28573 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28574 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28575 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28576 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28577 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28578 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28579 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28580 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28581 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28582 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28583 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28584 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28585 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28586 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28587 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28588 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28589 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28590 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28591 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28592 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28593 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28594 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28595 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28596 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28597 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28598 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28599 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28600 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28601 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28602 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28603 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28604 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28605 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28606 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28607 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28608 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28609 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28610 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28611 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28612 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28613 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28614 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28615 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28616 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28617 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28618 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28619 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28620 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28621 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28622 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28623 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28624 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28625 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28626 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28627 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28628 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28629 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28630 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28631 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28632 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28633 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28634 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28635 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28636 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28637 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28638 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28639 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28640 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28641 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28642 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28643 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28644 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28645 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28646 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28647 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28648 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28649 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28650 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28651 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28652 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28653 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28654 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28655 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28656 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28657 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28658 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28659 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28660 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28661 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28662 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28663 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28664 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28665 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28666 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28667 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28668 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28669 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28670 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28671 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28672 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28673 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28674 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28675 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28676 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28677 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28678 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28679 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28680 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28681 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28682 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28683 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28684 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28685 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28686 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28687 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28688 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28689 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28690 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28691 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28692 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28693 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28694 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28695 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28696 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28697 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28698 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28699 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28700 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28701 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28702 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28703 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28704 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28705 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28706 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28707 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28708 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28709 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28710 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28711 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28712 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28713 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28714 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28715 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28716 { NULL, NULL, 0, NULL }
28717 };
28718
28719
28720 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28721
28722 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28723 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28724 }
28725 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28726 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28727 }
28728 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28729 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28730 }
28731 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28732 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28733 }
28734 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28735 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28736 }
28737 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28738 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28739 }
28740 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28741 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28742 }
28743 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28744 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28745 }
28746 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28747 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28748 }
28749 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28750 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28751 }
28752 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28753 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28754 }
28755 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28756 return (void *)((wxEvent *) ((wxPyEvent *) x));
28757 }
28758 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28759 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28760 }
28761 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28762 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28763 }
28764 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28765 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28766 }
28767 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28768 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28769 }
28770 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28771 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28772 }
28773 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28774 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28775 }
28776 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28777 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28778 }
28779 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28780 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28781 }
28782 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28783 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28784 }
28785 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28786 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28787 }
28788 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28789 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28790 }
28791 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28792 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28793 }
28794 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28795 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28796 }
28797 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28798 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28799 }
28800 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28801 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28802 }
28803 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28804 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28805 }
28806 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28807 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28808 }
28809 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28810 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28811 }
28812 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28813 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28814 }
28815 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28816 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28817 }
28818 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28819 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28820 }
28821 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28822 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28823 }
28824 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28825 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28826 }
28827 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28828 return (void *)((wxEvent *) ((wxShowEvent *) x));
28829 }
28830 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28831 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28832 }
28833 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28834 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28835 }
28836 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28837 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28838 }
28839 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28840 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28841 }
28842 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28843 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28844 }
28845 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28846 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28847 }
28848 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28849 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28850 }
28851 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28852 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28853 }
28854 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28855 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28856 }
28857 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28858 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28859 }
28860 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28861 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28862 }
28863 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28864 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28865 }
28866 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28867 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28868 }
28869 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28870 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28871 }
28872 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28873 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28874 }
28875 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28876 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28877 }
28878 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28879 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28880 }
28881 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28882 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28883 }
28884 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28885 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28886 }
28887 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28888 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28889 }
28890 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28891 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28892 }
28893 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28894 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28895 }
28896 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28897 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28898 }
28899 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28901 }
28902 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28903 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28904 }
28905 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28906 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28907 }
28908 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28909 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28910 }
28911 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28912 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28913 }
28914 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28915 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28916 }
28917 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28918 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28919 }
28920 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28921 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28922 }
28923 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28924 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28925 }
28926 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28927 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28928 }
28929 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28930 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28931 }
28932 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28933 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28934 }
28935 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28936 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28937 }
28938 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28939 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28940 }
28941 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28942 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28943 }
28944 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28945 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28946 }
28947 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28948 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28949 }
28950 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28951 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28952 }
28953 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28954 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28955 }
28956 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28957 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28958 }
28959 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28960 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28961 }
28962 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28964 }
28965 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28966 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28967 }
28968 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28969 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28970 }
28971 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28972 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28973 }
28974 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28975 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28976 }
28977 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28978 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28979 }
28980 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28981 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28982 }
28983 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28984 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28985 }
28986 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28987 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28988 }
28989 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28990 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28991 }
28992 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28993 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28994 }
28995 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28996 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28997 }
28998 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28999 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29000 }
29001 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
29002 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29003 }
29004 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
29005 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
29006 }
29007 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
29008 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
29009 }
29010 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
29011 return (void *)((wxFrame *) ((wxProgressDialog *) x));
29012 }
29013 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
29014 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
29015 }
29016 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
29017 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29018 }
29019 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
29020 return (void *)((wxFrame *) ((wxMiniFrame *) x));
29021 }
29022 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
29023 return (void *)((wxFrame *) ((wxSplashScreen *) x));
29024 }
29025 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
29026 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
29027 }
29028 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29029 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29030 }
29031 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
29032 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
29033 }
29034 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
29035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29036 }
29037 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
29038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29039 }
29040 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29041 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29042 }
29043 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29044 return (void *)((wxObject *) ((wxSizerItem *) x));
29045 }
29046 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29047 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29048 }
29049 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29050 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29051 }
29052 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29053 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29054 }
29055 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29056 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29057 }
29058 static void *_p_wxSizerTo_p_wxObject(void *x) {
29059 return (void *)((wxObject *) ((wxSizer *) x));
29060 }
29061 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29062 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29063 }
29064 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29065 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29066 }
29067 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
29068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
29069 }
29070 static void *_p_wxEventTo_p_wxObject(void *x) {
29071 return (void *)((wxObject *) ((wxEvent *) x));
29072 }
29073 static void *_p_wxFontDataTo_p_wxObject(void *x) {
29074 return (void *)((wxObject *) ((wxFontData *) x));
29075 }
29076 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
29077 return (void *)((wxObject *) ((wxPrintData *) x));
29078 }
29079 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29080 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29081 }
29082 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29083 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29084 }
29085 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29086 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29087 }
29088 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
29089 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
29090 }
29091 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
29092 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
29093 }
29094 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
29095 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
29096 }
29097 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29098 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29099 }
29100 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29101 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29102 }
29103 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29104 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29105 }
29106 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29107 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29108 }
29109 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29110 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29111 }
29112 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29113 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29114 }
29115 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
29116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29117 }
29118 static void *_p_wxControlTo_p_wxObject(void *x) {
29119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29120 }
29121 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29122 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29123 }
29124 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
29125 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
29126 }
29127 static void *_p_wxFSFileTo_p_wxObject(void *x) {
29128 return (void *)((wxObject *) ((wxFSFile *) x));
29129 }
29130 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
29131 return (void *)((wxObject *) ((wxFindReplaceData *) x));
29132 }
29133 static void *_p_wxPySizerTo_p_wxObject(void *x) {
29134 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29135 }
29136 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
29137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29138 }
29139 static void *_p_wxColourDataTo_p_wxObject(void *x) {
29140 return (void *)((wxObject *) ((wxColourData *) x));
29141 }
29142 static void *_p_wxPyEventTo_p_wxObject(void *x) {
29143 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29144 }
29145 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29146 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29147 }
29148 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
29149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
29150 }
29151 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
29152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29153 }
29154 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
29155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29156 }
29157 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
29158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29159 }
29160 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
29161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29162 }
29163 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
29164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29165 }
29166 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
29167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29168 }
29169 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
29170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29171 }
29172 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
29173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29174 }
29175 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
29176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29177 }
29178 static void *_p_wxShowEventTo_p_wxObject(void *x) {
29179 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29180 }
29181 static void *_p_wxPrinterTo_p_wxObject(void *x) {
29182 return (void *)((wxObject *) ((wxPrinter *) x));
29183 }
29184 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29185 return (void *)((wxObject *) ((wxMenuItem *) x));
29186 }
29187 static void *_p_wxDateEventTo_p_wxObject(void *x) {
29188 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
29189 }
29190 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29191 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29192 }
29193 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29195 }
29196 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29197 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29198 }
29199 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29200 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29201 }
29202 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29203 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29204 }
29205 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29206 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29207 }
29208 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29209 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29210 }
29211 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29212 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29213 }
29214 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29215 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29216 }
29217 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29218 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29219 }
29220 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29221 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29222 }
29223 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29224 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29225 }
29226 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29227 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29228 }
29229 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29230 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29231 }
29232 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29233 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29234 }
29235 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29236 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29237 }
29238 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29239 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29240 }
29241 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29242 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29243 }
29244 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29245 return (void *)((wxObject *) ((wxImageHandler *) x));
29246 }
29247 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29248 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29249 }
29250 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29251 return (void *)((wxObject *) ((wxEvtHandler *) x));
29252 }
29253 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
29254 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
29255 }
29256 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
29257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29258 }
29259 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
29260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29261 }
29262 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
29263 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
29264 }
29265 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29266 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29267 }
29268 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
29269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29270 }
29271 static void *_p_wxImageTo_p_wxObject(void *x) {
29272 return (void *)((wxObject *) ((wxImage *) x));
29273 }
29274 static void *_p_wxFrameTo_p_wxObject(void *x) {
29275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
29276 }
29277 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
29278 return (void *)((wxObject *) ((wxPyPrintout *) x));
29279 }
29280 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29281 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29282 }
29283 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
29284 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
29285 }
29286 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
29287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
29288 }
29289 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
29290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29291 }
29292 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29293 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29294 }
29295 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29296 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29297 }
29298 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29299 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29300 }
29301 static void *_p_wxWindowTo_p_wxObject(void *x) {
29302 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29303 }
29304 static void *_p_wxMenuTo_p_wxObject(void *x) {
29305 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29306 }
29307 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29309 }
29310 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
29311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
29312 }
29313 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
29314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
29315 }
29316 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
29317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
29318 }
29319 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
29320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
29321 }
29322 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
29323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
29324 }
29325 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
29326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
29327 }
29328 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
29329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
29330 }
29331 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
29332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29333 }
29334 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
29335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29336 }
29337 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
29338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
29339 }
29340 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
29341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
29342 }
29343 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
29344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29345 }
29346 static void *_p_wxSashEventTo_p_wxObject(void *x) {
29347 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
29348 }
29349 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
29350 return (void *)((wxObject *) ((wxPrintPreview *) x));
29351 }
29352 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
29353 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
29354 }
29355 static void *_p_wxPanelTo_p_wxObject(void *x) {
29356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
29357 }
29358 static void *_p_wxDialogTo_p_wxObject(void *x) {
29359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
29360 }
29361 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
29362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29363 }
29364 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
29365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29366 }
29367 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
29368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29369 }
29370 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
29371 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
29372 }
29373 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
29374 return (void *)((wxObject *) ((wxPrintDialog *) x));
29375 }
29376 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29377 return (void *)((wxObject *) ((wxFileSystem *) x));
29378 }
29379 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29381 }
29382 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29383 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29384 }
29385 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29386 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29387 }
29388 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29389 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29390 }
29391 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29392 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29393 }
29394 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29395 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29396 }
29397 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29399 }
29400 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29401 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29402 }
29403 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29405 }
29406 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29408 }
29409 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29410 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29411 }
29412 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29413 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29414 }
29415 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29416 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29417 }
29418 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29420 }
29421 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29422 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29423 }
29424 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29425 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29426 }
29427 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29428 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29429 }
29430 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29431 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29432 }
29433 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29434 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29435 }
29436 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29437 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29438 }
29439 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29440 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29441 }
29442 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29443 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29444 }
29445 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29446 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29447 }
29448 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29449 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29450 }
29451 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29452 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29453 }
29454 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29455 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29456 }
29457 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29458 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29459 }
29460 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29461 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29462 }
29463 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29464 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29465 }
29466 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29467 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29468 }
29469 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29470 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29471 }
29472 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29473 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29474 }
29475 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29476 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29477 }
29478 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29479 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29480 }
29481 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29482 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29483 }
29484 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29485 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29486 }
29487 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29488 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29489 }
29490 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29491 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29492 }
29493 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29494 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29495 }
29496 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29497 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29498 }
29499 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29500 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29501 }
29502 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29503 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29504 }
29505 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29506 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29507 }
29508 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29509 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29510 }
29511 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29512 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29513 }
29514 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29515 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29516 }
29517 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29518 return (void *)((wxWindow *) ((wxMenuBar *) x));
29519 }
29520 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29521 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29522 }
29523 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29524 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29525 }
29526 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29527 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29528 }
29529 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29530 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29531 }
29532 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29533 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29534 }
29535 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29536 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29537 }
29538 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29540 }
29541 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29543 }
29544 static void *_p_wxPanelTo_p_wxWindow(void *x) {
29545 return (void *)((wxWindow *) ((wxPanel *) x));
29546 }
29547 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29548 return (void *)((wxWindow *) ((wxStatusBar *) x));
29549 }
29550 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29551 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29552 }
29553 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29554 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29555 }
29556 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29557 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29558 }
29559 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29560 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29561 }
29562 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29563 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29564 }
29565 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29566 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29567 }
29568 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29569 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29570 }
29571 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29572 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29573 }
29574 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29575 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29576 }
29577 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29578 return (void *)((wxWindow *) ((wxSashWindow *) x));
29579 }
29580 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29581 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29582 }
29583 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29584 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29585 }
29586 static void *_p_wxControlTo_p_wxWindow(void *x) {
29587 return (void *)((wxWindow *) ((wxControl *) x));
29588 }
29589 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29590 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29591 }
29592 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29593 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29594 }
29595 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29596 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29597 }
29598 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29599 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29600 }
29601 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29602 return (void *)((wxWindow *) ((wxPyWindow *) x));
29603 }
29604 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29605 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29606 }
29607 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29608 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29609 }
29610 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29611 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29612 }
29613 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29614 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29615 }
29616 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29617 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29618 }
29619 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29620 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29621 }
29622 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29623 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29624 }
29625 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29626 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29627 }
29628 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29629 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29630 }
29631 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29632 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29633 }
29634 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29635 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29636 }
29637 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29638 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29639 }
29640 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29641 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29642 }
29643 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29644 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29645 }
29646 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29647 return (void *)((wxDialog *) ((wxColourDialog *) x));
29648 }
29649 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29650 return (void *)((wxDialog *) ((wxDirDialog *) x));
29651 }
29652 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29653 return (void *)((wxDialog *) ((wxFontDialog *) x));
29654 }
29655 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29656 return (void *)((wxDialog *) ((wxFileDialog *) x));
29657 }
29658 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29659 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29660 }
29661 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29662 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29663 }
29664 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29665 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29666 }
29667 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29668 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29669 }
29670 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29671 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29672 }
29673 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29674 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29675 }
29676 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29677 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29678 }
29679 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29680 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29681 }
29682 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29683 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29684 }
29685 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29686 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29687 }
29688 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29689 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29690 }
29691 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29692 return (void *)((wxPanel *) ((wxPyPanel *) x));
29693 }
29694 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29695 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29696 }
29697 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29698 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29699 }
29700 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29701 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29702 }
29703 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29704 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29705 }
29706 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29707 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29708 }
29709 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29710 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29711 }
29712 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29713 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29714 }
29715 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29716 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29717 }
29718 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29719 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29720 }
29721 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29722 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29723 }
29724 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29725 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29726 }
29727 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29728 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29729 }
29730 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29731 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29732 }
29733 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29734 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29735 }
29736 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29737 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29738 }
29739 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29740 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29741 }
29742 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}};
29743 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}};
29744 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}};
29745 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}};
29746 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}};
29747 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}};
29748 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}};
29749 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}};
29750 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}};
29751 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}};
29752 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}};
29753 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}};
29754 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}};
29755 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}};
29756 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}};
29757 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}};
29758 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}};
29759 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}};
29760 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}};
29761 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}};
29762 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}};
29763 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}};
29764 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}};
29765 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}};
29766 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}};
29767 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}};
29768 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}};
29769 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}};
29770 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}};
29771 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}};
29772 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}};
29773 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}};
29774 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}};
29775 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}};
29776 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}};
29777 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}};
29778 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}};
29779 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}};
29780 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}};
29781 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}};
29782 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}};
29783 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}};
29784 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}};
29785 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}};
29786 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}};
29787 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}};
29788 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}};
29789 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}};
29790 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}};
29791 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}};
29792 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}};
29793 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}};
29794 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}};
29795 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}};
29796 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}};
29797 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}};
29798 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}};
29799 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}};
29800 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}};
29801 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}};
29802 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}};
29803 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}};
29804 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}};
29805 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}};
29806 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}};
29807 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}};
29808 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}};
29809 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}};
29810 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}};
29811 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}};
29812 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}};
29813 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}};
29814 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}};
29815 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}};
29816 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}};
29817 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}};
29818 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}};
29819 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}};
29820 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}};
29821 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}};
29822 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}};
29823 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}};
29824 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}};
29825 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}};
29826 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}};
29827 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}};
29828 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}};
29829 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}};
29830 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}};
29831 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}};
29832 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}};
29833 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}};
29834 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}};
29835 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}};
29836 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}};
29837 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}};
29838 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}};
29839
29840 static swig_type_info *swig_types_initial[] = {
29841 _swigt__p_wxQueryLayoutInfoEvent,
29842 _swigt__p_wxPreviewFrame,
29843 _swigt__p_wxPyPreviewFrame,
29844 _swigt__p_wxPyPanel,
29845 _swigt__p_wxMenu,
29846 _swigt__p_wxFontData,
29847 _swigt__p_wxEvent,
29848 _swigt__p_wxPrintData,
29849 _swigt__p_wxTaskBarIcon,
29850 _swigt__p_wxPyTaskBarIcon,
29851 _swigt__p_wxIconBundle,
29852 _swigt__p_wxLayoutAlgorithm,
29853 _swigt__p_wxFindDialogEvent,
29854 _swigt__p_wxPreviewCanvas,
29855 _swigt__p_wxFont,
29856 _swigt__p_wxSplitterEvent,
29857 _swigt__p_wxRegion,
29858 _swigt__ptrdiff_t,
29859 _swigt__std__ptrdiff_t,
29860 _swigt__p_wxFindReplaceData,
29861 _swigt__p_int,
29862 _swigt__p_wxSize,
29863 _swigt__p_wxDC,
29864 _swigt__p_wxIcon,
29865 _swigt__p_wxVisualAttributes,
29866 _swigt__p_wxMDIChildFrame,
29867 _swigt__p_wxColourData,
29868 _swigt__p_wxNotifyEvent,
29869 _swigt__p_wxPyWindow,
29870 _swigt__p_form_ops_t,
29871 _swigt__p_wxSplashScreen,
29872 _swigt__p_wxPasswordEntryDialog,
29873 _swigt__p_wxSingleChoiceDialog,
29874 _swigt__p_wxMultiChoiceDialog,
29875 _swigt__p_wxFileDialog,
29876 _swigt__p_wxTextEntryDialog,
29877 _swigt__p_wxMessageDialog,
29878 _swigt__p_wxProgressDialog,
29879 _swigt__p_wxFindReplaceDialog,
29880 _swigt__p_wxPrinter,
29881 _swigt__p_wxArrayInt,
29882 _swigt__p_wxDuplexMode,
29883 _swigt__p_wxEvtHandler,
29884 _swigt__p_wxCalculateLayoutEvent,
29885 _swigt__p_wxPyHtmlListBox,
29886 _swigt__p_wxPyVListBox,
29887 _swigt__p_wxRect,
29888 _swigt__p_wxStdDialogButtonSizer,
29889 _swigt__p_char,
29890 _swigt__p_wxMiniFrame,
29891 _swigt__p_wxFrame,
29892 _swigt__p_wxPyPrintout,
29893 _swigt__p_wxTaskBarIconEvent,
29894 _swigt__p_wxScrollWinEvent,
29895 _swigt__p_wxPaperSize,
29896 _swigt__p_wxStatusBar,
29897 _swigt__p_wxMDIParentFrame,
29898 _swigt__p_wxPoint,
29899 _swigt__p_wxObject,
29900 _swigt__p_unsigned_long,
29901 _swigt__p_wxTipWindow,
29902 _swigt__p_wxSashLayoutWindow,
29903 _swigt__p_wxSplitterWindow,
29904 _swigt__p_wxSplashScreenWindow,
29905 _swigt__p_wxPyVScrolledWindow,
29906 _swigt__p_wxPyPopupTransientWindow,
29907 _swigt__p_wxPopupWindow,
29908 _swigt__p_wxSashWindow,
29909 _swigt__p_wxTopLevelWindow,
29910 _swigt__p_wxWindow,
29911 _swigt__p_wxScrolledWindow,
29912 _swigt__p_wxMenuBar,
29913 _swigt__p_wxMDIClientWindow,
29914 _swigt__p_wxPyScrolledWindow,
29915 _swigt__p_wxPrintPreview,
29916 _swigt__p_wxSashEvent,
29917 _swigt__p_wxString,
29918 _swigt__p_wxPyPrintPreview,
29919 _swigt__p_wxDirDialog,
29920 _swigt__p_wxColourDialog,
29921 _swigt__p_wxDialog,
29922 _swigt__p_wxPanel,
29923 _swigt__p_wxFontDialog,
29924 _swigt__p_wxPageSetupDialog,
29925 _swigt__p_wxPrintDialog,
29926 _swigt__p_wxFileSystem,
29927 _swigt__p_wxBitmap,
29928 _swigt__unsigned_int,
29929 _swigt__p_unsigned_int,
29930 _swigt__p_unsigned_char,
29931 _swigt__p_wxCommandEvent,
29932 _swigt__p_wxPreviewControlBar,
29933 _swigt__p_wxPyPreviewControlBar,
29934 _swigt__p_wxColour,
29935 _swigt__p_wxToolBar,
29936 _swigt__p_wxPageSetupDialogData,
29937 _swigt__p_wxPrintDialogData,
29938 0
29939 };
29940
29941
29942 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29943
29944 static swig_const_info swig_const_table[] = {
29945 {0, 0, 0, 0.0, 0, 0}};
29946
29947 #ifdef __cplusplus
29948 }
29949 #endif
29950
29951
29952 #ifdef __cplusplus
29953 extern "C" {
29954 #endif
29955
29956 /* Python-specific SWIG API */
29957 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29958 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29959 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29960
29961 /* -----------------------------------------------------------------------------
29962 * global variable support code.
29963 * ----------------------------------------------------------------------------- */
29964
29965 typedef struct swig_globalvar {
29966 char *name; /* Name of global variable */
29967 PyObject *(*get_attr)(); /* Return the current value */
29968 int (*set_attr)(PyObject *); /* Set the value */
29969 struct swig_globalvar *next;
29970 } swig_globalvar;
29971
29972 typedef struct swig_varlinkobject {
29973 PyObject_HEAD
29974 swig_globalvar *vars;
29975 } swig_varlinkobject;
29976
29977 static PyObject *
29978 swig_varlink_repr(swig_varlinkobject *v) {
29979 v = v;
29980 return PyString_FromString("<Swig global variables>");
29981 }
29982
29983 static int
29984 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29985 swig_globalvar *var;
29986 flags = flags;
29987 fprintf(fp,"Swig global variables { ");
29988 for (var = v->vars; var; var=var->next) {
29989 fprintf(fp,"%s", var->name);
29990 if (var->next) fprintf(fp,", ");
29991 }
29992 fprintf(fp," }\n");
29993 return 0;
29994 }
29995
29996 static PyObject *
29997 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29998 swig_globalvar *var = v->vars;
29999 while (var) {
30000 if (strcmp(var->name,n) == 0) {
30001 return (*var->get_attr)();
30002 }
30003 var = var->next;
30004 }
30005 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30006 return NULL;
30007 }
30008
30009 static int
30010 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
30011 swig_globalvar *var = v->vars;
30012 while (var) {
30013 if (strcmp(var->name,n) == 0) {
30014 return (*var->set_attr)(p);
30015 }
30016 var = var->next;
30017 }
30018 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30019 return 1;
30020 }
30021
30022 static PyTypeObject varlinktype = {
30023 PyObject_HEAD_INIT(0)
30024 0, /* Number of items in variable part (ob_size) */
30025 (char *)"swigvarlink", /* Type name (tp_name) */
30026 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
30027 0, /* Itemsize (tp_itemsize) */
30028 0, /* Deallocator (tp_dealloc) */
30029 (printfunc) swig_varlink_print, /* Print (tp_print) */
30030 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
30031 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
30032 0, /* tp_compare */
30033 (reprfunc) swig_varlink_repr, /* tp_repr */
30034 0, /* tp_as_number */
30035 0, /* tp_as_sequence */
30036 0, /* tp_as_mapping */
30037 0, /* tp_hash */
30038 0, /* tp_call */
30039 0, /* tp_str */
30040 0, /* tp_getattro */
30041 0, /* tp_setattro */
30042 0, /* tp_as_buffer */
30043 0, /* tp_flags */
30044 0, /* tp_doc */
30045 #if PY_VERSION_HEX >= 0x02000000
30046 0, /* tp_traverse */
30047 0, /* tp_clear */
30048 #endif
30049 #if PY_VERSION_HEX >= 0x02010000
30050 0, /* tp_richcompare */
30051 0, /* tp_weaklistoffset */
30052 #endif
30053 #if PY_VERSION_HEX >= 0x02020000
30054 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30055 #endif
30056 #if PY_VERSION_HEX >= 0x02030000
30057 0, /* tp_del */
30058 #endif
30059 #ifdef COUNT_ALLOCS
30060 0,0,0,0 /* tp_alloc -> tp_next */
30061 #endif
30062 };
30063
30064 /* Create a variable linking object for use later */
30065 static PyObject *
30066 SWIG_Python_newvarlink(void) {
30067 swig_varlinkobject *result = 0;
30068 result = PyMem_NEW(swig_varlinkobject,1);
30069 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
30070 result->ob_type = &varlinktype;
30071 result->vars = 0;
30072 result->ob_refcnt = 0;
30073 Py_XINCREF((PyObject *) result);
30074 return ((PyObject*) result);
30075 }
30076
30077 static void
30078 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
30079 swig_varlinkobject *v;
30080 swig_globalvar *gv;
30081 v= (swig_varlinkobject *) p;
30082 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
30083 gv->name = (char *) malloc(strlen(name)+1);
30084 strcpy(gv->name,name);
30085 gv->get_attr = get_attr;
30086 gv->set_attr = set_attr;
30087 gv->next = v->vars;
30088 v->vars = gv;
30089 }
30090
30091 /* -----------------------------------------------------------------------------
30092 * constants/methods manipulation
30093 * ----------------------------------------------------------------------------- */
30094
30095 /* Install Constants */
30096 static void
30097 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30098 PyObject *obj = 0;
30099 size_t i;
30100 for (i = 0; constants[i].type; i++) {
30101 switch(constants[i].type) {
30102 case SWIG_PY_INT:
30103 obj = PyInt_FromLong(constants[i].lvalue);
30104 break;
30105 case SWIG_PY_FLOAT:
30106 obj = PyFloat_FromDouble(constants[i].dvalue);
30107 break;
30108 case SWIG_PY_STRING:
30109 if (constants[i].pvalue) {
30110 obj = PyString_FromString((char *) constants[i].pvalue);
30111 } else {
30112 Py_INCREF(Py_None);
30113 obj = Py_None;
30114 }
30115 break;
30116 case SWIG_PY_POINTER:
30117 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30118 break;
30119 case SWIG_PY_BINARY:
30120 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30121 break;
30122 default:
30123 obj = 0;
30124 break;
30125 }
30126 if (obj) {
30127 PyDict_SetItemString(d,constants[i].name,obj);
30128 Py_DECREF(obj);
30129 }
30130 }
30131 }
30132
30133 /* -----------------------------------------------------------------------------*/
30134 /* Fix SwigMethods to carry the callback ptrs when needed */
30135 /* -----------------------------------------------------------------------------*/
30136
30137 static void
30138 SWIG_Python_FixMethods(PyMethodDef *methods,
30139 swig_const_info *const_table,
30140 swig_type_info **types,
30141 swig_type_info **types_initial) {
30142 size_t i;
30143 for (i = 0; methods[i].ml_name; ++i) {
30144 char *c = methods[i].ml_doc;
30145 if (c && (c = strstr(c, "swig_ptr: "))) {
30146 int j;
30147 swig_const_info *ci = 0;
30148 char *name = c + 10;
30149 for (j = 0; const_table[j].type; j++) {
30150 if (strncmp(const_table[j].name, name,
30151 strlen(const_table[j].name)) == 0) {
30152 ci = &(const_table[j]);
30153 break;
30154 }
30155 }
30156 if (ci) {
30157 size_t shift = (ci->ptype) - types;
30158 swig_type_info *ty = types_initial[shift];
30159 size_t ldoc = (c - methods[i].ml_doc);
30160 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30161 char *ndoc = (char*)malloc(ldoc + lptr + 10);
30162 char *buff = ndoc;
30163 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
30164 strncpy(buff, methods[i].ml_doc, ldoc);
30165 buff += ldoc;
30166 strncpy(buff, "swig_ptr: ", 10);
30167 buff += 10;
30168 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30169 methods[i].ml_doc = ndoc;
30170 }
30171 }
30172 }
30173 }
30174
30175 /* -----------------------------------------------------------------------------*
30176 * Initialize type list
30177 * -----------------------------------------------------------------------------*/
30178
30179 #if PY_MAJOR_VERSION < 2
30180 /* PyModule_AddObject function was introduced in Python 2.0. The following function
30181 is copied out of Python/modsupport.c in python version 2.3.4 */
30182 static int
30183 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
30184 {
30185 PyObject *dict;
30186 if (!PyModule_Check(m)) {
30187 PyErr_SetString(PyExc_TypeError,
30188 "PyModule_AddObject() needs module as first arg");
30189 return -1;
30190 }
30191 if (!o) {
30192 PyErr_SetString(PyExc_TypeError,
30193 "PyModule_AddObject() needs non-NULL value");
30194 return -1;
30195 }
30196
30197 dict = PyModule_GetDict(m);
30198 if (dict == NULL) {
30199 /* Internal error -- modules must have a dict! */
30200 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
30201 PyModule_GetName(m));
30202 return -1;
30203 }
30204 if (PyDict_SetItemString(dict, name, o))
30205 return -1;
30206 Py_DECREF(o);
30207 return 0;
30208 }
30209 #endif
30210
30211 static swig_type_info **
30212 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
30213 static PyMethodDef swig_empty_runtime_method_table[] = {
30214 {
30215 NULL, NULL, 0, NULL
30216 }
30217 };/* Sentinel */
30218
30219 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
30220 swig_empty_runtime_method_table);
30221 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
30222 if (pointer && module) {
30223 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
30224 }
30225 return type_list_handle;
30226 }
30227
30228 static swig_type_info **
30229 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
30230 swig_type_info **type_pointer;
30231
30232 /* first check if module already created */
30233 type_pointer = SWIG_Python_GetTypeListHandle();
30234 if (type_pointer) {
30235 return type_pointer;
30236 } else {
30237 /* create a new module and variable */
30238 return SWIG_Python_SetTypeListHandle(type_list_handle);
30239 }
30240 }
30241
30242 #ifdef __cplusplus
30243 }
30244 #endif
30245
30246 /* -----------------------------------------------------------------------------*
30247 * Partial Init method
30248 * -----------------------------------------------------------------------------*/
30249
30250 #ifdef SWIG_LINK_RUNTIME
30251 #ifdef __cplusplus
30252 extern "C"
30253 #endif
30254 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
30255 #endif
30256
30257 #ifdef __cplusplus
30258 extern "C"
30259 #endif
30260 SWIGEXPORT(void) SWIG_init(void) {
30261 static PyObject *SWIG_globals = 0;
30262 static int typeinit = 0;
30263 PyObject *m, *d;
30264 int i;
30265 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30266
30267 /* Fix SwigMethods to carry the callback ptrs when needed */
30268 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
30269
30270 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30271 d = PyModule_GetDict(m);
30272
30273 if (!typeinit) {
30274 #ifdef SWIG_LINK_RUNTIME
30275 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
30276 #else
30277 # ifndef SWIG_STATIC_RUNTIME
30278 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
30279 # endif
30280 #endif
30281 for (i = 0; swig_types_initial[i]; i++) {
30282 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30283 }
30284 typeinit = 1;
30285 }
30286 SWIG_InstallConstants(d,swig_const_table);
30287
30288 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30289 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30290 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30291 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30292 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30293 {
30294 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
30295 }
30296 {
30297 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
30298 }
30299 {
30300 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
30301 }
30302 {
30303 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
30304 }
30305 {
30306 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
30307 }
30308 {
30309 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
30310 }
30311 {
30312 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
30313 }
30314 {
30315 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
30316 }
30317 {
30318 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
30319 }
30320 {
30321 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
30322 }
30323 {
30324 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
30325 }
30326 {
30327 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
30328 }
30329 {
30330 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
30331 }
30332 {
30333 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
30334 }
30335 {
30336 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
30337 }
30338 {
30339 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
30340 }
30341 {
30342 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
30343 }
30344 {
30345 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
30346 }
30347 {
30348 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
30349 }
30350 {
30351 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
30352 }
30353 {
30354 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
30355 }
30356 {
30357 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
30358 }
30359 {
30360 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL)));
30361 }
30362 {
30363 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL)));
30364 }
30365 {
30366 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
30367 }
30368 {
30369 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
30370 }
30371 {
30372 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
30373 }
30374 {
30375 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
30376 }
30377 {
30378 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
30379 }
30380 {
30381 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
30382 }
30383 {
30384 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
30385 }
30386 {
30387 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
30388 }
30389 {
30390 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
30391 }
30392 {
30393 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
30394 }
30395 {
30396 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
30397 }
30398 {
30399 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
30400 }
30401 {
30402 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
30403 }
30404 {
30405 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
30406 }
30407 {
30408 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
30409 }
30410 {
30411 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
30412 }
30413 {
30414 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
30415 }
30416 {
30417 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
30418 }
30419 {
30420 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
30421 }
30422 {
30423 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
30424 }
30425 {
30426 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
30427 }
30428 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
30429 {
30430 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
30431 }
30432 {
30433 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
30434 }
30435 {
30436 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
30437 }
30438 {
30439 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
30440 }
30441 {
30442 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30443 }
30444 {
30445 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30446 }
30447 {
30448 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30449 }
30450 {
30451 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30452 }
30453 {
30454 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30455 }
30456 {
30457 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30458 }
30459 {
30460 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30461 }
30462 {
30463 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30464 }
30465 {
30466 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30467 }
30468 {
30469 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30470 }
30471 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30472 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30473 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30474 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30475 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30476 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30477 {
30478 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30479 }
30480 {
30481 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30482 }
30483 {
30484 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30485 }
30486 {
30487 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30488 }
30489 {
30490 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30491 }
30492 {
30493 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30494 }
30495 {
30496 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30497 }
30498 {
30499 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30500 }
30501 {
30502 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30503 }
30504 {
30505 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30506 }
30507 {
30508 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30509 }
30510 {
30511 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30512 }
30513 {
30514 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30515 }
30516 {
30517 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30518 }
30519 {
30520 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30521 }
30522 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30523 {
30524 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30525 }
30526 {
30527 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30528 }
30529 {
30530 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30531 }
30532 {
30533 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30534 }
30535 {
30536 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30537 }
30538 {
30539 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30540 }
30541 {
30542 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30543 }
30544 {
30545 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30546 }
30547 {
30548 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30549 }
30550 {
30551 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30552 }
30553 {
30554 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30555 }
30556 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30557 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30558 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30559
30560 // Map renamed classes back to their common name for OOR
30561 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30562 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30563 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30564
30565 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30566 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30567 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30568 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30569 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30570 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30571 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30572 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30573 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30574 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30575 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30576 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30577 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30578 {
30579 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30580 }
30581 {
30582 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30583 }
30584 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30585 {
30586 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30587 }
30588 {
30589 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30590 }
30591 {
30592 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30593 }
30594 {
30595 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30596 }
30597 {
30598 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30599 }
30600 {
30601 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30602 }
30603 {
30604 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30605 }
30606 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30607 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30608 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30609 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30610 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30611 {
30612 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30613 }
30614 {
30615 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30616 }
30617 {
30618 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30619 }
30620 {
30621 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30622 }
30623 {
30624 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30625 }
30626 {
30627 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30628 }
30629 {
30630 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30631 }
30632 {
30633 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30634 }
30635 {
30636 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30637 }
30638 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30639 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30640 {
30641 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30642 }
30643 {
30644 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30645 }
30646 {
30647 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30648 }
30649 {
30650 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30651 }
30652 {
30653 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30654 }
30655 {
30656 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30657 }
30658 {
30659 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30660 }
30661 {
30662 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30663 }
30664 {
30665 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30666 }
30667 {
30668 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30669 }
30670 {
30671 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30672 }
30673 {
30674 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30675 }
30676 {
30677 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30678 }
30679 {
30680 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30681 }
30682 {
30683 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30684 }
30685 {
30686 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30687 }
30688 {
30689 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30690 }
30691 {
30692 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30693 }
30694 {
30695 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30696 }
30697 {
30698 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30699 }
30700 {
30701 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30702 }
30703 {
30704 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30705 }
30706 {
30707 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30708 }
30709 {
30710 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30711 }
30712 {
30713 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30714 }
30715 {
30716 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30717 }
30718 {
30719 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30720 }
30721 {
30722 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30723 }
30724 {
30725 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30726 }
30727 {
30728 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30729 }
30730 {
30731 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30732 }
30733 {
30734 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30735 }
30736 {
30737 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30738 }
30739 {
30740 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30741 }
30742 {
30743 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30744 }
30745 {
30746 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30747 }
30748 {
30749 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30750 }
30751 {
30752 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30753 }
30754 {
30755 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30756 }
30757
30758 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30759
30760 }
30761