]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/gtk/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
... / ...
CommitLineData
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
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
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; }
24private:
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
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef 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*/
111SWIGRUNTIME int
112SWIG_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*/
125SWIGRUNTIME int
126SWIG_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*/
143SWIGRUNTIME swig_type_info *
144SWIG_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*/
194SWIGRUNTIME swig_type_info *
195SWIG_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*/
222SWIGRUNTIMEINLINE void *
223SWIG_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*/
230SWIGRUNTIME swig_type_info *
231SWIG_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*/
244SWIGRUNTIMEINLINE const char *
245SWIG_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*/
253SWIGRUNTIME const char *
254SWIG_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*/
273SWIGRUNTIME swig_type_info *
274SWIG_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*/
287SWIGRUNTIME void
288SWIG_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*/
310SWIGRUNTIME char *
311SWIG_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*/
327SWIGRUNTIME const char *
328SWIG_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*/
358SWIGRUNTIME void
359SWIG_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*/
379SWIGRUNTIME char *
380SWIG_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
390SWIGRUNTIME const char *
391SWIG_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
403SWIGRUNTIME char *
404SWIG_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
418SWIGRUNTIME const char *
419SWIG_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
462extern "C" {
463#endif
464
465
466/*************************************************************************/
467
468
469/* The static type info list */
470
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
480
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
486
487/* Set the clientdata field for a type */
488static void
489SWIG_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*/
498static void
499SWIG_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
512extern "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 */
560typedef 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
621extern "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
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_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
658SWIGRUNTIME PyObject *
659PySwigObject_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
666SWIGRUNTIME PyObject *
667PySwigObject_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
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678}
679
680SWIGRUNTIME PyObject *
681PySwigObject_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
692SWIGRUNTIME PyObject *
693PySwigObject_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
700SWIGRUNTIME int
701PySwigObject_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
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
715{
716 PyObject_DEL(self);
717}
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_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
805SWIGRUNTIME PyObject *
806PySwigObject_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
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
820
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
826
827SWIGRUNTIMEINLINE int
828PySwigObject_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
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
843
844SWIGRUNTIME int
845PySwigPacked_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
858SWIGRUNTIME PyObject *
859PySwigPacked_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
869SWIGRUNTIME PyObject *
870PySwigPacked_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
880SWIGRUNTIME int
881PySwigPacked_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
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_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
959SWIGRUNTIME PyObject *
960PySwigPacked_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
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_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
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_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
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
1049
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
1059
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
1084
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
1087{
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
1097
1098
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
1155
1156type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
1195
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
1209
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334#ifdef __cplusplus
1335}
1336#endif
1337
1338
1339/* -------- TYPES TABLE (BEGIN) -------- */
1340
1341#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344#define SWIGTYPE_p_wxPyPanel swig_types[3]
1345#define SWIGTYPE_p_wxMenu swig_types[4]
1346#define SWIGTYPE_p_wxFontData swig_types[5]
1347#define SWIGTYPE_p_wxEvent swig_types[6]
1348#define SWIGTYPE_p_wxPrintData swig_types[7]
1349#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351#define SWIGTYPE_p_wxIconBundle swig_types[10]
1352#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355#define SWIGTYPE_p_wxFont swig_types[14]
1356#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357#define SWIGTYPE_p_wxRegion swig_types[16]
1358#define SWIGTYPE_ptrdiff_t swig_types[17]
1359#define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360#define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361#define SWIGTYPE_p_int swig_types[20]
1362#define SWIGTYPE_p_wxSize swig_types[21]
1363#define SWIGTYPE_p_wxDC swig_types[22]
1364#define SWIGTYPE_p_wxIcon swig_types[23]
1365#define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366#define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367#define SWIGTYPE_p_wxColourData swig_types[26]
1368#define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369#define SWIGTYPE_p_wxPyWindow swig_types[28]
1370#define SWIGTYPE_p_form_ops_t swig_types[29]
1371#define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375#define SWIGTYPE_p_wxFileDialog swig_types[34]
1376#define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377#define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378#define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380#define SWIGTYPE_p_wxPrinter swig_types[39]
1381#define SWIGTYPE_p_wxArrayInt swig_types[40]
1382#define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383#define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385#define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386#define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387#define SWIGTYPE_p_wxRect swig_types[46]
1388#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389#define SWIGTYPE_p_char swig_types[48]
1390#define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391#define SWIGTYPE_p_wxFrame swig_types[50]
1392#define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394#define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395#define SWIGTYPE_p_wxPaperSize swig_types[54]
1396#define SWIGTYPE_p_wxStatusBar swig_types[55]
1397#define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398#define SWIGTYPE_p_wxPoint swig_types[57]
1399#define SWIGTYPE_p_wxObject swig_types[58]
1400#define SWIGTYPE_p_unsigned_long swig_types[59]
1401#define SWIGTYPE_p_wxTipWindow swig_types[60]
1402#define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1403#define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1404#define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1405#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1406#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1407#define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408#define SWIGTYPE_p_wxSashWindow swig_types[67]
1409#define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410#define SWIGTYPE_p_wxWindow swig_types[69]
1411#define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412#define SWIGTYPE_p_wxMenuBar swig_types[71]
1413#define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414#define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415#define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416#define SWIGTYPE_p_wxSashEvent swig_types[75]
1417#define SWIGTYPE_p_wxString swig_types[76]
1418#define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419#define SWIGTYPE_p_wxDirDialog swig_types[78]
1420#define SWIGTYPE_p_wxColourDialog swig_types[79]
1421#define SWIGTYPE_p_wxDialog swig_types[80]
1422#define SWIGTYPE_p_wxPanel swig_types[81]
1423#define SWIGTYPE_p_wxFontDialog swig_types[82]
1424#define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425#define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426#define SWIGTYPE_p_wxFileSystem swig_types[85]
1427#define SWIGTYPE_p_wxBitmap swig_types[86]
1428#define SWIGTYPE_unsigned_int swig_types[87]
1429#define SWIGTYPE_p_unsigned_int swig_types[88]
1430#define SWIGTYPE_p_unsigned_char swig_types[89]
1431#define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432#define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434#define SWIGTYPE_p_wxColour swig_types[93]
1435#define SWIGTYPE_p_wxToolBar swig_types[94]
1436#define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437#define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438static swig_type_info *swig_types[98];
1439
1440/* -------- TYPES TABLE (END) -------- */
1441
1442
1443/*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446#define SWIG_init init_windows_
1447
1448#define SWIG_name "_windows_"
1449
1450#include "wx/wxPython/wxPython.h"
1451#include "wx/wxPython/pyclasses.h"
1452
1453
1454 static const wxString wxPyEmptyString(wxEmptyString);
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456
1457
1458
1459#include <limits.h>
1460
1461
1462SWIGINTERN int
1463 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1464 const char *errmsg)
1465{
1466 if (value < min_value) {
1467 if (errmsg) {
1468 PyErr_Format(PyExc_OverflowError,
1469 "value %ld is less than '%s' minimum %ld",
1470 value, errmsg, min_value);
1471 }
1472 return 0;
1473 } else if (value > max_value) {
1474 if (errmsg) {
1475 PyErr_Format(PyExc_OverflowError,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value, errmsg, max_value);
1478 }
1479 return 0;
1480 }
1481 return 1;
1482}
1483
1484
1485SWIGINTERN int
1486SWIG_AsVal_long(PyObject* obj, long* val)
1487{
1488 if (PyNumber_Check(obj)) {
1489 if (val) *val = PyInt_AsLong(obj);
1490 return 1;
1491 }
1492 else {
1493 SWIG_type_error("number", obj);
1494 }
1495 return 0;
1496}
1497
1498
1499#if INT_MAX != LONG_MAX
1500SWIGINTERN int
1501 SWIG_AsVal_int(PyObject *obj, int *val)
1502{
1503 const char* errmsg = val ? "int" : (char*)0;
1504 long v;
1505 if (SWIG_AsVal_long(obj, &v)) {
1506 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1507 if (val) *val = (int)(v);
1508 return 1;
1509 } else {
1510 return 0;
1511 }
1512 } else {
1513 PyErr_Clear();
1514 }
1515 if (val) {
1516 SWIG_type_error(errmsg, obj);
1517 }
1518 return 0;
1519}
1520#else
1521SWIGINTERNSHORT int
1522 SWIG_AsVal_int(PyObject *obj, int *val)
1523{
1524 return SWIG_AsVal_long(obj,(long*)val);
1525}
1526#endif
1527
1528
1529SWIGINTERNSHORT int
1530SWIG_As_int(PyObject* obj)
1531{
1532 int v;
1533 if (!SWIG_AsVal_int(obj, &v)) {
1534 /*
1535 this is needed to make valgrind/purify happier.
1536 */
1537 memset((void*)&v, 0, sizeof(int));
1538 }
1539 return v;
1540}
1541
1542
1543SWIGINTERNSHORT long
1544SWIG_As_long(PyObject* obj)
1545{
1546 long v;
1547 if (!SWIG_AsVal_long(obj, &v)) {
1548 /*
1549 this is needed to make valgrind/purify happier.
1550 */
1551 memset((void*)&v, 0, sizeof(long));
1552 }
1553 return v;
1554}
1555
1556
1557SWIGINTERNSHORT int
1558SWIG_Check_int(PyObject* obj)
1559{
1560 return SWIG_AsVal_int(obj, (int*)0);
1561}
1562
1563
1564SWIGINTERNSHORT int
1565SWIG_Check_long(PyObject* obj)
1566{
1567 return SWIG_AsVal_long(obj, (long*)0);
1568}
1569
1570
1571SWIGINTERN int
1572 SWIG_AsVal_bool(PyObject *obj, bool *val)
1573{
1574 if (obj == Py_True) {
1575 if (val) *val = true;
1576 return 1;
1577 }
1578 if (obj == Py_False) {
1579 if (val) *val = false;
1580 return 1;
1581 }
1582 int res = 0;
1583 if (SWIG_AsVal_int(obj, &res)) {
1584 if (val) *val = res ? true : false;
1585 return 1;
1586 } else {
1587 PyErr_Clear();
1588 }
1589 if (val) {
1590 SWIG_type_error("bool", obj);
1591 }
1592 return 0;
1593}
1594
1595
1596SWIGINTERNSHORT bool
1597SWIG_As_bool(PyObject* obj)
1598{
1599 bool v;
1600 if (!SWIG_AsVal_bool(obj, &v)) {
1601 /*
1602 this is needed to make valgrind/purify happier.
1603 */
1604 memset((void*)&v, 0, sizeof(bool));
1605 }
1606 return v;
1607}
1608
1609
1610SWIGINTERNSHORT int
1611SWIG_Check_bool(PyObject* obj)
1612{
1613 return SWIG_AsVal_bool(obj, (bool*)0);
1614}
1615
1616
1617 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1618#define SWIG_From_int PyInt_FromLong
1619/*@@*/
1620
1621
1622 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1623 PyObject* o2;
1624 PyObject* o3;
1625
1626 if (!target) {
1627 target = o;
1628 } else if (target == Py_None) {
1629 Py_DECREF(Py_None);
1630 target = o;
1631 } else {
1632 if (!PyTuple_Check(target)) {
1633 o2 = target;
1634 target = PyTuple_New(1);
1635 PyTuple_SetItem(target, 0, o2);
1636 }
1637 o3 = PyTuple_New(1);
1638 PyTuple_SetItem(o3, 0, o);
1639
1640 o2 = target;
1641 target = PySequence_Concat(o2, o3);
1642 Py_DECREF(o2);
1643 Py_DECREF(o3);
1644 }
1645 return target;
1646 }
1647
1648
1649
1650SWIGINTERN int
1651SWIG_AsVal_double(PyObject *obj, double* val)
1652{
1653 if (PyNumber_Check(obj)) {
1654 if (val) *val = PyFloat_AsDouble(obj);
1655 return 1;
1656 }
1657 else {
1658 SWIG_type_error("number", obj);
1659 }
1660 return 0;
1661}
1662
1663
1664SWIGINTERNSHORT double
1665SWIG_As_double(PyObject* obj)
1666{
1667 double v;
1668 if (!SWIG_AsVal_double(obj, &v)) {
1669 /*
1670 this is needed to make valgrind/purify happier.
1671 */
1672 memset((void*)&v, 0, sizeof(double));
1673 }
1674 return v;
1675}
1676
1677
1678SWIGINTERNSHORT int
1679SWIG_Check_double(PyObject* obj)
1680{
1681 return SWIG_AsVal_double(obj, (double*)0);
1682}
1683
1684
1685 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1686#define SWIG_From_double PyFloat_FromDouble
1687/*@@*/
1688
1689 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1690 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1691 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1692 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1693static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1694static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1695
1696 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1697#define SWIG_From_long PyInt_FromLong
1698/*@@*/
1699
1700
1701
1702static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1703 wxRect r;
1704 self->GetFieldRect(i, r);
1705 return r;
1706 }
1707 static const wxString wxPySplitterNameStr(wxT("splitter"));
1708 static const wxString wxPySashNameStr(wxT("sashWindow"));
1709 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1710
1711#include <wx/popupwin.h>
1712
1713
1714class wxPyPopupTransientWindow : public wxPopupTransientWindow
1715{
1716public:
1717 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1718 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1719 : wxPopupTransientWindow(parent, style) {}
1720
1721 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1722 DEC_PYCALLBACK__(OnDismiss);
1723 DEC_PYCALLBACK_BOOL_(CanDismiss);
1724 PYPRIVATE;
1725};
1726
1727
1728IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1729IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1730IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1731
1732
1733#include <wx/tipwin.h>
1734
1735static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1736 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1737 }
1738
1739#include <wx/tipwin.h>
1740
1741
1742#include <wx/vscroll.h>
1743
1744
1745class wxPyVScrolledWindow : public wxVScrolledWindow
1746{
1747 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1748public:
1749 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1750
1751 wxPyVScrolledWindow(wxWindow *parent,
1752 wxWindowID id = wxID_ANY,
1753 const wxPoint& pos = wxDefaultPosition,
1754 const wxSize& size = wxDefaultSize,
1755 long style = 0,
1756 const wxString& name = wxPyPanelNameStr)
1757 : wxVScrolledWindow(parent, id, pos, size, style, name)
1758 {}
1759
1760 // Overridable virtuals
1761
1762 // this function must be overridden in the derived class and it should
1763 // return the height of the given line in pixels
1764 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1765
1766
1767 // this function doesn't have to be overridden but it may be useful to do
1768 // it if calculating the lines heights is a relatively expensive operation
1769 // as it gives the user code a possibility to calculate several of them at
1770 // once
1771 //
1772 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1773 // shouldn't rely on the latter being called for all lines in the interval
1774 // specified here. It is also possible that OnGetLineHeight() will be
1775 // called for the lines outside of this interval, so this is really just a
1776 // hint, not a promise.
1777 //
1778 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1779 // usual
1780 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1781
1782
1783 // when the number of lines changes, we try to estimate the total height
1784 // of all lines which is a rather expensive operation in terms of lines
1785 // access, so if the user code may estimate the average height
1786 // better/faster than we do, it should override this function to implement
1787 // its own logic
1788 //
1789 // this function should return the best guess for the total height it may
1790 // make
1791 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1792
1793
1794 // Also expose some other interesting protected methods
1795
1796
1797 // find the index of the line we need to show at the top of the window such
1798 // that the last (fully or partially) visible line is the given one
1799 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1800 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1801
1802 // get the total height of the lines between lineMin (inclusive) and
1803 // lineMax (exclusive)
1804 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1805 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1806
1807
1808 PYPRIVATE;
1809};
1810
1811IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1812
1813IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1814IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1815IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1816
1817
1818SWIGINTERN int
1819SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1820{
1821 long v = 0;
1822 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1823 SWIG_type_error("unsigned number", obj);
1824 }
1825 else if (val)
1826 *val = (unsigned long)v;
1827 return 1;
1828}
1829
1830
1831SWIGINTERNSHORT unsigned long
1832SWIG_As_unsigned_SS_long(PyObject* obj)
1833{
1834 unsigned long v;
1835 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1836 /*
1837 this is needed to make valgrind/purify happier.
1838 */
1839 memset((void*)&v, 0, sizeof(unsigned long));
1840 }
1841 return v;
1842}
1843
1844
1845SWIGINTERNSHORT int
1846SWIG_Check_unsigned_SS_long(PyObject* obj)
1847{
1848 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1849}
1850
1851
1852SWIGINTERNSHORT PyObject*
1853 SWIG_From_unsigned_SS_long(unsigned long value)
1854{
1855 return (value > LONG_MAX) ?
1856 PyLong_FromUnsignedLong(value)
1857 : PyInt_FromLong((long)(value));
1858}
1859
1860
1861#include <wx/vlbox.h>
1862
1863 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1864
1865class wxPyVListBox : public wxVListBox
1866{
1867 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1868public:
1869 wxPyVListBox() : wxVListBox() {}
1870
1871 wxPyVListBox(wxWindow *parent,
1872 wxWindowID id = wxID_ANY,
1873 const wxPoint& pos = wxDefaultPosition,
1874 const wxSize& size = wxDefaultSize,
1875 long style = 0,
1876 const wxString& name = wxPyVListBoxNameStr)
1877 : wxVListBox(parent, id, pos, size, style, name)
1878 {}
1879
1880 // Overridable virtuals
1881
1882 // the derived class must implement this function to actually draw the item
1883 // with the given index on the provided DC
1884 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1885 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1886
1887
1888 // the derived class must implement this method to return the height of the
1889 // specified item
1890 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1892
1893
1894 // this method may be used to draw separators between the lines; note that
1895 // the rectangle may be modified, typically to deflate it a bit before
1896 // passing to OnDrawItem()
1897 //
1898 // the base class version doesn't do anything
1899 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1900 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1901
1902
1903 // this method is used to draw the items background and, maybe, a border
1904 // around it
1905 //
1906 // the base class version implements a reasonable default behaviour which
1907 // consists in drawing the selected item with the standard background
1908 // colour and drawing a border around the item if it is either selected or
1909 // current
1910 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1911 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1912
1913
1914 PYPRIVATE;
1915};
1916
1917IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1918
1919IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1920IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1921IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1922IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1923
1924
1925static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
1926 unsigned long cookie = 0;
1927 int selected = self->GetFirstSelected(cookie);
1928 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1929 PyObject* tup = PyTuple_New(2);
1930 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1931 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1932 wxPyEndBlockThreads(blocked);
1933 return tup;
1934 }
1935static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
1936 int selected = self->GetNextSelected(cookie);
1937 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1938 PyObject* tup = PyTuple_New(2);
1939 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1940 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1941 wxPyEndBlockThreads(blocked);
1942 return tup;
1943 }
1944
1945#include <wx/htmllbox.h>
1946
1947
1948class wxPyHtmlListBox : public wxHtmlListBox
1949{
1950 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1951public:
1952 wxPyHtmlListBox() : wxHtmlListBox() {}
1953
1954 wxPyHtmlListBox(wxWindow *parent,
1955 wxWindowID id = wxID_ANY,
1956 const wxPoint& pos = wxDefaultPosition,
1957 const wxSize& size = wxDefaultSize,
1958 long style = 0,
1959 const wxString& name = wxPyVListBoxNameStr)
1960 : wxHtmlListBox(parent, id, pos, size, style, name)
1961 {}
1962
1963 // Overridable virtuals
1964
1965 // this method must be implemented in the derived class and should return
1966 // the body (i.e. without <html>) of the HTML for the given item
1967 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1968
1969 // this function may be overridden to decorate HTML returned by OnGetItem()
1970 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1971
1972// TODO:
1973// // this method allows to customize the selection appearance: it may be used
1974// // to specify the colour of the text which normally has the given colour
1975// // colFg when it is inside the selection
1976// //
1977// // by default, the original colour is not used at all and all text has the
1978// // same (default for this system) colour inside selection
1979// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1980
1981// // this is the same as GetSelectedTextColour() but allows to customize the
1982// // background colour -- this is even more rarely used as you can change it
1983// // globally using SetSelectionBackground()
1984// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1985
1986
1987 PYPRIVATE;
1988};
1989
1990
1991IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1992
1993IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1994IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1995
1996
1997
1998
1999
2000#ifndef wxHAS_TASK_BAR_ICON
2001// implement dummy classes for platforms that don't have it
2002
2003class wxTaskBarIcon : public wxEvtHandler
2004{
2005public:
2006 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2007};
2008
2009
2010class wxTaskBarIconEvent : public wxEvent
2011{
2012public:
2013 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2014 { wxPyRaiseNotImplemented(); }
2015 virtual wxEvent* Clone() const { return NULL; }
2016 bool IsOk() const { return false; }
2017 bool IsIconInstalled() const { return false; }
2018 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2019 bool RemoveIcon() { return false; }
2020 bool PopupMenu(wxMenu *menu) { return false; }
2021};
2022
2023enum {
2024 wxEVT_TASKBAR_MOVE = 0,
2025 wxEVT_TASKBAR_LEFT_DOWN = 0,
2026 wxEVT_TASKBAR_LEFT_UP = 0,
2027 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2028 wxEVT_TASKBAR_RIGHT_UP = 0,
2029 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2030 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2031};
2032
2033
2034#else
2035// Otherwise make a class that can virtualize CreatePopupMenu
2036class wxPyTaskBarIcon : public wxTaskBarIcon
2037{
2038 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2039public:
2040 wxPyTaskBarIcon() : wxTaskBarIcon()
2041 {}
2042
2043 wxMenu* CreatePopupMenu() {
2044 wxMenu *rval = NULL;
2045 bool found;
2046 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2047 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2048 PyObject* ro;
2049 wxMenu* ptr;
2050 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2051 if (ro) {
2052 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2053 rval = ptr;
2054 Py_DECREF(ro);
2055 }
2056 }
2057 wxPyEndBlockThreads(blocked);
2058 if (! found)
2059 rval = wxTaskBarIcon::CreatePopupMenu();
2060 return rval;
2061 }
2062
2063 PYPRIVATE;
2064};
2065
2066IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2067
2068#endif
2069
2070static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2071 self->RemoveIcon();
2072 delete self;
2073 }
2074 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2075 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2076 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2077 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2078 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2079 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
2080static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2081 wxArrayString arr;
2082 self->GetFilenames(arr);
2083 return wxArrayString2PyList_helper(arr);
2084 }
2085static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2086 wxArrayString arr;
2087 self->GetPaths(arr);
2088 return wxArrayString2PyList_helper(arr);
2089 }
2090static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2091 return wxArrayInt2PyList_helper(self->GetSelections());
2092 }
2093static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
2094 return new wxSingleChoiceDialog(parent, message, caption,
2095 choices, choices_array, NULL, style, pos);
2096 }
2097 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2098
2099#include <wx/mdi.h>
2100
2101 // C++ version of Python aware wxWindow
2102class wxPyWindow : public wxWindow
2103{
2104 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2105public:
2106 wxPyWindow() : wxWindow() {}
2107 wxPyWindow(wxWindow* parent, const wxWindowID id,
2108 const wxPoint& pos = wxDefaultPosition,
2109 const wxSize& size = wxDefaultSize,
2110 long style = 0,
2111 const wxString& name = wxPyPanelNameStr)
2112 : wxWindow(parent, id, pos, size, style, name) {}
2113
2114 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2115
2116 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2117 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2118 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2119 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2120
2121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2124
2125 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2126 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2127
2128 DEC_PYCALLBACK__(InitDialog);
2129 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2130 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2131 DEC_PYCALLBACK_BOOL_(Validate);
2132
2133 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2134 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2135 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2136
2137 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2138 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2139
2140 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2141 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2142
2143 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2144
2145 PYPRIVATE;
2146};
2147
2148IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2149
2150IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2151IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2152IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2153IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2154
2155IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2156IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2157IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2158
2159IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2160IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2161
2162IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2163IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2164IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2165IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2166
2167IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2168IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2169IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2170
2171IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2172IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2173
2174IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
2175IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2176
2177IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2178
2179 // C++ version of Python aware wxPanel
2180class wxPyPanel : public wxPanel
2181{
2182 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2183public:
2184 wxPyPanel() : wxPanel() {}
2185 wxPyPanel(wxWindow* parent, const wxWindowID id,
2186 const wxPoint& pos = wxDefaultPosition,
2187 const wxSize& size = wxDefaultSize,
2188 long style = 0,
2189 const wxString& name = wxPyPanelNameStr)
2190 : wxPanel(parent, id, pos, size, style, name) {}
2191
2192 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2193
2194
2195 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2196 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2197 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2198 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2199
2200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2203
2204 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2205 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2206
2207 DEC_PYCALLBACK__(InitDialog);
2208 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2209 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2210 DEC_PYCALLBACK_BOOL_(Validate);
2211
2212 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2213 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2214 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2215
2216 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2217 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2218
2219 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2220 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2221
2222 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2223
2224 PYPRIVATE;
2225};
2226
2227IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2228
2229IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2230IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2231IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2232IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2233
2234IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2235IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2236IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2237
2238IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2239IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2240
2241IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2242IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2243IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2244IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2245
2246IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2247IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2248IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2249
2250IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2251IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2252
2253IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2254IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2255
2256IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2257
2258 // C++ version of Python aware wxScrolledWindow
2259class wxPyScrolledWindow : public wxScrolledWindow
2260{
2261 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2262public:
2263 wxPyScrolledWindow() : wxScrolledWindow() {}
2264 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2265 const wxPoint& pos = wxDefaultPosition,
2266 const wxSize& size = wxDefaultSize,
2267 long style = 0,
2268 const wxString& name = wxPyPanelNameStr)
2269 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2270
2271 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
2272
2273 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2274 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2275 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2276 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2277
2278 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2279 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2280 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2281
2282 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2283 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2284
2285 DEC_PYCALLBACK__(InitDialog);
2286 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2287 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2288 DEC_PYCALLBACK_BOOL_(Validate);
2289
2290 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2291 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2292 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2293
2294 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2295 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2296
2297 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2298 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2299
2300 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2301
2302 PYPRIVATE;
2303};
2304
2305IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2306
2307IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2308IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2309IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2310IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2311
2312IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2313IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2314IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2315
2316IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2317IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2318
2319IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2320IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2321IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2322IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2323
2324IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2325IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2326IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2327
2328IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2329IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2330
2331IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2332IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2333
2334IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2335
2336
2337#include "wx/wxPython/printfw.h"
2338
2339
2340 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2341 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2342static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2343 PyObject* data;
2344 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2345 data = PyString_FromStringAndSize(self->GetPrivData(),
2346 self->GetPrivDataLen());
2347 wxPyEndBlockThreads(blocked);
2348 return data;
2349 }
2350static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2351 if (! PyString_Check(data)) {
2352 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2353 "Expected string object"));
2354 return /* NULL */ ;
2355 }
2356
2357 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2358 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2359 wxPyEndBlockThreads(blocked);
2360 }
2361
2362
2363IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2364
2365// Since this one would be tough and ugly to do with the Macros...
2366void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2367 bool hadErr = false;
2368 bool found;
2369
2370 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2371 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2372 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2373 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2374 PyObject* val;
2375
2376 val = PyTuple_GetItem(result, 0);
2377 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2378 else hadErr = true;
2379
2380 val = PyTuple_GetItem(result, 1);
2381 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2382 else hadErr = true;
2383
2384 val = PyTuple_GetItem(result, 2);
2385 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2386 else hadErr = true;
2387
2388 val = PyTuple_GetItem(result, 3);
2389 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2390 else hadErr = true;
2391 }
2392 else
2393 hadErr = true;
2394
2395 if (hadErr) {
2396 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2397 PyErr_Print();
2398 }
2399 Py_DECREF(result);
2400 }
2401 wxPyEndBlockThreads(blocked);
2402 if (! found)
2403 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2404}
2405
2406void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2407 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2408}
2409
2410
2411IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2412IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2413IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2414IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2415IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2416IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2417IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2418
2419
2420
2421
2422
2423#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2424 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2425 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2426
2427
2428#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2429 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2430 bool rval=false; \
2431 bool found; \
2432 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2433 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2434 PyObject* win = wxPyMake_wxObject(a,false); \
2435 PyObject* dc = wxPyMake_wxObject(&b,false); \
2436 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2437 Py_DECREF(win); \
2438 Py_DECREF(dc); \
2439 } \
2440 wxPyEndBlockThreads(blocked); \
2441 if (! found) \
2442 rval = PCLASS::CBNAME(a, b); \
2443 return rval; \
2444 } \
2445 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2446 return PCLASS::CBNAME(a, b); \
2447 }
2448
2449
2450
2451
2452class wxPyPrintPreview : public wxPrintPreview
2453{
2454 DECLARE_CLASS(wxPyPrintPreview)
2455public:
2456 wxPyPrintPreview(wxPyPrintout* printout,
2457 wxPyPrintout* printoutForPrinting,
2458 wxPrintDialogData* data=NULL)
2459 : wxPrintPreview(printout, printoutForPrinting, data)
2460 {}
2461 wxPyPrintPreview(wxPyPrintout* printout,
2462 wxPyPrintout* printoutForPrinting,
2463 wxPrintData* data=NULL)
2464 : wxPrintPreview(printout, printoutForPrinting, data)
2465 {}
2466
2467 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2468 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2469 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2470 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2471 DEC_PYCALLBACK_VOID_INT(SetZoom);
2472 DEC_PYCALLBACK_BOOL_BOOL(Print);
2473 DEC_PYCALLBACK_VOID_(DetermineScaling);
2474
2475 PYPRIVATE;
2476};
2477
2478// Stupid renamed classes... Fix this in 2.5...
2479#if defined(__WXMSW__)
2480IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2481#elif defined(__WXMAC__)
2482IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2483#else
2484IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2485#endif
2486
2487IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2488IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2489IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2490IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2491IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2492IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2493IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2494
2495
2496class wxPyPreviewFrame : public wxPreviewFrame
2497{
2498 DECLARE_CLASS(wxPyPreviewFrame);
2499public:
2500 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2501 const wxString& title,
2502 const wxPoint& pos = wxDefaultPosition,
2503 const wxSize& size = wxDefaultSize,
2504 long style = wxDEFAULT_FRAME_STYLE,
2505 const wxString& name = wxPyFrameNameStr)
2506 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2507 {}
2508
2509 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2510 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2511
2512 DEC_PYCALLBACK_VOID_(Initialize);
2513 DEC_PYCALLBACK_VOID_(CreateCanvas);
2514 DEC_PYCALLBACK_VOID_(CreateControlBar);
2515
2516 PYPRIVATE;
2517};
2518
2519IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2520
2521IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2522IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2523IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2524
2525
2526class wxPyPreviewControlBar : public wxPreviewControlBar
2527{
2528 DECLARE_CLASS(wxPyPreviewControlBar);
2529public:
2530 wxPyPreviewControlBar(wxPrintPreview *preview,
2531 long buttons,
2532 wxWindow *parent,
2533 const wxPoint& pos = wxDefaultPosition,
2534 const wxSize& size = wxDefaultSize,
2535 long style = 0,
2536 const wxString& name = wxPyPanelNameStr)
2537 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2538 {}
2539
2540 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2541
2542 DEC_PYCALLBACK_VOID_(CreateButtons);
2543 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2544
2545 PYPRIVATE;
2546};
2547
2548IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2549IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2550IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2551
2552#ifdef __cplusplus
2553extern "C" {
2554#endif
2555static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2556 PyObject *resultobj;
2557 wxWindow *arg1 = (wxWindow *) 0 ;
2558 int arg2 = (int) (int)-1 ;
2559 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2560 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2561 wxSize const &arg4_defvalue = wxDefaultSize ;
2562 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2563 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2564 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2565 wxString *arg6 = (wxString *) &arg6_defvalue ;
2566 wxPanel *result;
2567 wxPoint temp3 ;
2568 wxSize temp4 ;
2569 bool temp6 = false ;
2570 PyObject * obj0 = 0 ;
2571 PyObject * obj1 = 0 ;
2572 PyObject * obj2 = 0 ;
2573 PyObject * obj3 = 0 ;
2574 PyObject * obj4 = 0 ;
2575 PyObject * obj5 = 0 ;
2576 char *kwnames[] = {
2577 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2578 };
2579
2580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2582 if (SWIG_arg_fail(1)) SWIG_fail;
2583 if (obj1) {
2584 {
2585 arg2 = (int const)(SWIG_As_int(obj1));
2586 if (SWIG_arg_fail(2)) SWIG_fail;
2587 }
2588 }
2589 if (obj2) {
2590 {
2591 arg3 = &temp3;
2592 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2593 }
2594 }
2595 if (obj3) {
2596 {
2597 arg4 = &temp4;
2598 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2599 }
2600 }
2601 if (obj4) {
2602 {
2603 arg5 = (long)(SWIG_As_long(obj4));
2604 if (SWIG_arg_fail(5)) SWIG_fail;
2605 }
2606 }
2607 if (obj5) {
2608 {
2609 arg6 = wxString_in_helper(obj5);
2610 if (arg6 == NULL) SWIG_fail;
2611 temp6 = true;
2612 }
2613 }
2614 {
2615 if (!wxPyCheckForApp()) SWIG_fail;
2616 PyThreadState* __tstate = wxPyBeginAllowThreads();
2617 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2618
2619 wxPyEndAllowThreads(__tstate);
2620 if (PyErr_Occurred()) SWIG_fail;
2621 }
2622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2623 {
2624 if (temp6)
2625 delete arg6;
2626 }
2627 return resultobj;
2628 fail:
2629 {
2630 if (temp6)
2631 delete arg6;
2632 }
2633 return NULL;
2634}
2635
2636
2637static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxPanel *result;
2640 char *kwnames[] = {
2641 NULL
2642 };
2643
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2645 {
2646 if (!wxPyCheckForApp()) SWIG_fail;
2647 PyThreadState* __tstate = wxPyBeginAllowThreads();
2648 result = (wxPanel *)new wxPanel();
2649
2650 wxPyEndAllowThreads(__tstate);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 }
2653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2654 return resultobj;
2655 fail:
2656 return NULL;
2657}
2658
2659
2660static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2661 PyObject *resultobj;
2662 wxPanel *arg1 = (wxPanel *) 0 ;
2663 wxWindow *arg2 = (wxWindow *) 0 ;
2664 int arg3 = (int) (int)-1 ;
2665 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2666 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2667 wxSize const &arg5_defvalue = wxDefaultSize ;
2668 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2669 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2670 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2671 wxString *arg7 = (wxString *) &arg7_defvalue ;
2672 bool result;
2673 wxPoint temp4 ;
2674 wxSize temp5 ;
2675 bool temp7 = false ;
2676 PyObject * obj0 = 0 ;
2677 PyObject * obj1 = 0 ;
2678 PyObject * obj2 = 0 ;
2679 PyObject * obj3 = 0 ;
2680 PyObject * obj4 = 0 ;
2681 PyObject * obj5 = 0 ;
2682 PyObject * obj6 = 0 ;
2683 char *kwnames[] = {
2684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2685 };
2686
2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2689 if (SWIG_arg_fail(1)) SWIG_fail;
2690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2691 if (SWIG_arg_fail(2)) SWIG_fail;
2692 if (obj2) {
2693 {
2694 arg3 = (int const)(SWIG_As_int(obj2));
2695 if (SWIG_arg_fail(3)) SWIG_fail;
2696 }
2697 }
2698 if (obj3) {
2699 {
2700 arg4 = &temp4;
2701 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2702 }
2703 }
2704 if (obj4) {
2705 {
2706 arg5 = &temp5;
2707 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2708 }
2709 }
2710 if (obj5) {
2711 {
2712 arg6 = (long)(SWIG_As_long(obj5));
2713 if (SWIG_arg_fail(6)) SWIG_fail;
2714 }
2715 }
2716 if (obj6) {
2717 {
2718 arg7 = wxString_in_helper(obj6);
2719 if (arg7 == NULL) SWIG_fail;
2720 temp7 = true;
2721 }
2722 }
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 {
2731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2732 }
2733 {
2734 if (temp7)
2735 delete arg7;
2736 }
2737 return resultobj;
2738 fail:
2739 {
2740 if (temp7)
2741 delete arg7;
2742 }
2743 return NULL;
2744}
2745
2746
2747static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2748 PyObject *resultobj;
2749 wxPanel *arg1 = (wxPanel *) 0 ;
2750 PyObject * obj0 = 0 ;
2751 char *kwnames[] = {
2752 (char *) "self", NULL
2753 };
2754
2755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2757 if (SWIG_arg_fail(1)) SWIG_fail;
2758 {
2759 PyThreadState* __tstate = wxPyBeginAllowThreads();
2760 (arg1)->InitDialog();
2761
2762 wxPyEndAllowThreads(__tstate);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
2765 Py_INCREF(Py_None); resultobj = Py_None;
2766 return resultobj;
2767 fail:
2768 return NULL;
2769}
2770
2771
2772static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2773 PyObject *resultobj;
2774 wxPanel *arg1 = (wxPanel *) 0 ;
2775 PyObject * obj0 = 0 ;
2776 char *kwnames[] = {
2777 (char *) "self", NULL
2778 };
2779
2780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2782 if (SWIG_arg_fail(1)) SWIG_fail;
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 (arg1)->SetFocus();
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 Py_INCREF(Py_None); resultobj = Py_None;
2791 return resultobj;
2792 fail:
2793 return NULL;
2794}
2795
2796
2797static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2798 PyObject *resultobj;
2799 wxPanel *arg1 = (wxPanel *) 0 ;
2800 PyObject * obj0 = 0 ;
2801 char *kwnames[] = {
2802 (char *) "self", NULL
2803 };
2804
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
2806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2807 if (SWIG_arg_fail(1)) SWIG_fail;
2808 {
2809 PyThreadState* __tstate = wxPyBeginAllowThreads();
2810 (arg1)->SetFocusIgnoringChildren();
2811
2812 wxPyEndAllowThreads(__tstate);
2813 if (PyErr_Occurred()) SWIG_fail;
2814 }
2815 Py_INCREF(Py_None); resultobj = Py_None;
2816 return resultobj;
2817 fail:
2818 return NULL;
2819}
2820
2821
2822static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2823 PyObject *resultobj;
2824 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2825 wxVisualAttributes result;
2826 PyObject * obj0 = 0 ;
2827 char *kwnames[] = {
2828 (char *) "variant", NULL
2829 };
2830
2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2832 if (obj0) {
2833 {
2834 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2835 if (SWIG_arg_fail(1)) SWIG_fail;
2836 }
2837 }
2838 {
2839 if (!wxPyCheckForApp()) SWIG_fail;
2840 PyThreadState* __tstate = wxPyBeginAllowThreads();
2841 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2842
2843 wxPyEndAllowThreads(__tstate);
2844 if (PyErr_Occurred()) SWIG_fail;
2845 }
2846 {
2847 wxVisualAttributes * resultptr;
2848 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2849 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2850 }
2851 return resultobj;
2852 fail:
2853 return NULL;
2854}
2855
2856
2857static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
2858 PyObject *obj;
2859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2860 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2861 Py_INCREF(obj);
2862 return Py_BuildValue((char *)"");
2863}
2864static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 wxWindow *arg1 = (wxWindow *) 0 ;
2867 int arg2 = (int) (int)-1 ;
2868 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2869 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2870 wxSize const &arg4_defvalue = wxDefaultSize ;
2871 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2872 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2873 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2874 wxString *arg6 = (wxString *) &arg6_defvalue ;
2875 wxScrolledWindow *result;
2876 wxPoint temp3 ;
2877 wxSize temp4 ;
2878 bool temp6 = false ;
2879 PyObject * obj0 = 0 ;
2880 PyObject * obj1 = 0 ;
2881 PyObject * obj2 = 0 ;
2882 PyObject * obj3 = 0 ;
2883 PyObject * obj4 = 0 ;
2884 PyObject * obj5 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2891 if (SWIG_arg_fail(1)) SWIG_fail;
2892 if (obj1) {
2893 {
2894 arg2 = (int const)(SWIG_As_int(obj1));
2895 if (SWIG_arg_fail(2)) SWIG_fail;
2896 }
2897 }
2898 if (obj2) {
2899 {
2900 arg3 = &temp3;
2901 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2902 }
2903 }
2904 if (obj3) {
2905 {
2906 arg4 = &temp4;
2907 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2908 }
2909 }
2910 if (obj4) {
2911 {
2912 arg5 = (long)(SWIG_As_long(obj4));
2913 if (SWIG_arg_fail(5)) SWIG_fail;
2914 }
2915 }
2916 if (obj5) {
2917 {
2918 arg6 = wxString_in_helper(obj5);
2919 if (arg6 == NULL) SWIG_fail;
2920 temp6 = true;
2921 }
2922 }
2923 {
2924 if (!wxPyCheckForApp()) SWIG_fail;
2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
2926 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2927
2928 wxPyEndAllowThreads(__tstate);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2932 {
2933 if (temp6)
2934 delete arg6;
2935 }
2936 return resultobj;
2937 fail:
2938 {
2939 if (temp6)
2940 delete arg6;
2941 }
2942 return NULL;
2943}
2944
2945
2946static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2947 PyObject *resultobj;
2948 wxScrolledWindow *result;
2949 char *kwnames[] = {
2950 NULL
2951 };
2952
2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2954 {
2955 if (!wxPyCheckForApp()) SWIG_fail;
2956 PyThreadState* __tstate = wxPyBeginAllowThreads();
2957 result = (wxScrolledWindow *)new wxScrolledWindow();
2958
2959 wxPyEndAllowThreads(__tstate);
2960 if (PyErr_Occurred()) SWIG_fail;
2961 }
2962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2963 return resultobj;
2964 fail:
2965 return NULL;
2966}
2967
2968
2969static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2970 PyObject *resultobj;
2971 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2972 wxWindow *arg2 = (wxWindow *) 0 ;
2973 int arg3 = (int) (int)-1 ;
2974 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2975 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2976 wxSize const &arg5_defvalue = wxDefaultSize ;
2977 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2978 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
2979 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2980 wxString *arg7 = (wxString *) &arg7_defvalue ;
2981 bool result;
2982 wxPoint temp4 ;
2983 wxSize temp5 ;
2984 bool temp7 = false ;
2985 PyObject * obj0 = 0 ;
2986 PyObject * obj1 = 0 ;
2987 PyObject * obj2 = 0 ;
2988 PyObject * obj3 = 0 ;
2989 PyObject * obj4 = 0 ;
2990 PyObject * obj5 = 0 ;
2991 PyObject * obj6 = 0 ;
2992 char *kwnames[] = {
2993 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2994 };
2995
2996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
2998 if (SWIG_arg_fail(1)) SWIG_fail;
2999 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3000 if (SWIG_arg_fail(2)) SWIG_fail;
3001 if (obj2) {
3002 {
3003 arg3 = (int const)(SWIG_As_int(obj2));
3004 if (SWIG_arg_fail(3)) SWIG_fail;
3005 }
3006 }
3007 if (obj3) {
3008 {
3009 arg4 = &temp4;
3010 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3011 }
3012 }
3013 if (obj4) {
3014 {
3015 arg5 = &temp5;
3016 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3017 }
3018 }
3019 if (obj5) {
3020 {
3021 arg6 = (long)(SWIG_As_long(obj5));
3022 if (SWIG_arg_fail(6)) SWIG_fail;
3023 }
3024 }
3025 if (obj6) {
3026 {
3027 arg7 = wxString_in_helper(obj6);
3028 if (arg7 == NULL) SWIG_fail;
3029 temp7 = true;
3030 }
3031 }
3032 {
3033 PyThreadState* __tstate = wxPyBeginAllowThreads();
3034 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3035
3036 wxPyEndAllowThreads(__tstate);
3037 if (PyErr_Occurred()) SWIG_fail;
3038 }
3039 {
3040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3041 }
3042 {
3043 if (temp7)
3044 delete arg7;
3045 }
3046 return resultobj;
3047 fail:
3048 {
3049 if (temp7)
3050 delete arg7;
3051 }
3052 return NULL;
3053}
3054
3055
3056static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3057 PyObject *resultobj;
3058 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3059 int arg2 ;
3060 int arg3 ;
3061 int arg4 ;
3062 int arg5 ;
3063 int arg6 = (int) 0 ;
3064 int arg7 = (int) 0 ;
3065 bool arg8 = (bool) false ;
3066 PyObject * obj0 = 0 ;
3067 PyObject * obj1 = 0 ;
3068 PyObject * obj2 = 0 ;
3069 PyObject * obj3 = 0 ;
3070 PyObject * obj4 = 0 ;
3071 PyObject * obj5 = 0 ;
3072 PyObject * obj6 = 0 ;
3073 PyObject * obj7 = 0 ;
3074 char *kwnames[] = {
3075 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3076 };
3077
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3080 if (SWIG_arg_fail(1)) SWIG_fail;
3081 {
3082 arg2 = (int)(SWIG_As_int(obj1));
3083 if (SWIG_arg_fail(2)) SWIG_fail;
3084 }
3085 {
3086 arg3 = (int)(SWIG_As_int(obj2));
3087 if (SWIG_arg_fail(3)) SWIG_fail;
3088 }
3089 {
3090 arg4 = (int)(SWIG_As_int(obj3));
3091 if (SWIG_arg_fail(4)) SWIG_fail;
3092 }
3093 {
3094 arg5 = (int)(SWIG_As_int(obj4));
3095 if (SWIG_arg_fail(5)) SWIG_fail;
3096 }
3097 if (obj5) {
3098 {
3099 arg6 = (int)(SWIG_As_int(obj5));
3100 if (SWIG_arg_fail(6)) SWIG_fail;
3101 }
3102 }
3103 if (obj6) {
3104 {
3105 arg7 = (int)(SWIG_As_int(obj6));
3106 if (SWIG_arg_fail(7)) SWIG_fail;
3107 }
3108 }
3109 if (obj7) {
3110 {
3111 arg8 = (bool)(SWIG_As_bool(obj7));
3112 if (SWIG_arg_fail(8)) SWIG_fail;
3113 }
3114 }
3115 {
3116 PyThreadState* __tstate = wxPyBeginAllowThreads();
3117 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3118
3119 wxPyEndAllowThreads(__tstate);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
3122 Py_INCREF(Py_None); resultobj = Py_None;
3123 return resultobj;
3124 fail:
3125 return NULL;
3126}
3127
3128
3129static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3130 PyObject *resultobj;
3131 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3132 int arg2 ;
3133 int arg3 ;
3134 PyObject * obj0 = 0 ;
3135 PyObject * obj1 = 0 ;
3136 PyObject * obj2 = 0 ;
3137 char *kwnames[] = {
3138 (char *) "self",(char *) "x",(char *) "y", NULL
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3143 if (SWIG_arg_fail(1)) SWIG_fail;
3144 {
3145 arg2 = (int)(SWIG_As_int(obj1));
3146 if (SWIG_arg_fail(2)) SWIG_fail;
3147 }
3148 {
3149 arg3 = (int)(SWIG_As_int(obj2));
3150 if (SWIG_arg_fail(3)) SWIG_fail;
3151 }
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 (arg1)->Scroll(arg2,arg3);
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 Py_INCREF(Py_None); resultobj = Py_None;
3160 return resultobj;
3161 fail:
3162 return NULL;
3163}
3164
3165
3166static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3169 int arg2 ;
3170 int result;
3171 PyObject * obj0 = 0 ;
3172 PyObject * obj1 = 0 ;
3173 char *kwnames[] = {
3174 (char *) "self",(char *) "orient", NULL
3175 };
3176
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3179 if (SWIG_arg_fail(1)) SWIG_fail;
3180 {
3181 arg2 = (int)(SWIG_As_int(obj1));
3182 if (SWIG_arg_fail(2)) SWIG_fail;
3183 }
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 {
3192 resultobj = SWIG_From_int((int)(result));
3193 }
3194 return resultobj;
3195 fail:
3196 return NULL;
3197}
3198
3199
3200static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3201 PyObject *resultobj;
3202 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3203 int arg2 ;
3204 int arg3 ;
3205 PyObject * obj0 = 0 ;
3206 PyObject * obj1 = 0 ;
3207 PyObject * obj2 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3214 if (SWIG_arg_fail(1)) SWIG_fail;
3215 {
3216 arg2 = (int)(SWIG_As_int(obj1));
3217 if (SWIG_arg_fail(2)) SWIG_fail;
3218 }
3219 {
3220 arg3 = (int)(SWIG_As_int(obj2));
3221 if (SWIG_arg_fail(3)) SWIG_fail;
3222 }
3223 {
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 (arg1)->SetScrollPageSize(arg2,arg3);
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 Py_INCREF(Py_None); resultobj = Py_None;
3231 return resultobj;
3232 fail:
3233 return NULL;
3234}
3235
3236
3237static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3238 PyObject *resultobj;
3239 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3240 int arg2 ;
3241 int arg3 ;
3242 PyObject * obj0 = 0 ;
3243 PyObject * obj1 = 0 ;
3244 PyObject * obj2 = 0 ;
3245 char *kwnames[] = {
3246 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3247 };
3248
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3251 if (SWIG_arg_fail(1)) SWIG_fail;
3252 {
3253 arg2 = (int)(SWIG_As_int(obj1));
3254 if (SWIG_arg_fail(2)) SWIG_fail;
3255 }
3256 {
3257 arg3 = (int)(SWIG_As_int(obj2));
3258 if (SWIG_arg_fail(3)) SWIG_fail;
3259 }
3260 {
3261 PyThreadState* __tstate = wxPyBeginAllowThreads();
3262 (arg1)->SetScrollRate(arg2,arg3);
3263
3264 wxPyEndAllowThreads(__tstate);
3265 if (PyErr_Occurred()) SWIG_fail;
3266 }
3267 Py_INCREF(Py_None); resultobj = Py_None;
3268 return resultobj;
3269 fail:
3270 return NULL;
3271}
3272
3273
3274static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3275 PyObject *resultobj;
3276 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3277 int *arg2 = (int *) 0 ;
3278 int *arg3 = (int *) 0 ;
3279 int temp2 ;
3280 int res2 = 0 ;
3281 int temp3 ;
3282 int res3 = 0 ;
3283 PyObject * obj0 = 0 ;
3284 char *kwnames[] = {
3285 (char *) "self", NULL
3286 };
3287
3288 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3289 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
3295 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3296
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 }
3300 Py_INCREF(Py_None); resultobj = Py_None;
3301 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3302 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3303 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3304 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3305 return resultobj;
3306 fail:
3307 return NULL;
3308}
3309
3310
3311static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3312 PyObject *resultobj;
3313 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3314 bool arg2 ;
3315 bool arg3 ;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 PyObject * obj2 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3321 };
3322
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3325 if (SWIG_arg_fail(1)) SWIG_fail;
3326 {
3327 arg2 = (bool)(SWIG_As_bool(obj1));
3328 if (SWIG_arg_fail(2)) SWIG_fail;
3329 }
3330 {
3331 arg3 = (bool)(SWIG_As_bool(obj2));
3332 if (SWIG_arg_fail(3)) SWIG_fail;
3333 }
3334 {
3335 PyThreadState* __tstate = wxPyBeginAllowThreads();
3336 (arg1)->EnableScrolling(arg2,arg3);
3337
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 Py_INCREF(Py_None); resultobj = Py_None;
3342 return resultobj;
3343 fail:
3344 return NULL;
3345}
3346
3347
3348static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3349 PyObject *resultobj;
3350 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3351 int *arg2 = (int *) 0 ;
3352 int *arg3 = (int *) 0 ;
3353 int temp2 ;
3354 int res2 = 0 ;
3355 int temp3 ;
3356 int res3 = 0 ;
3357 PyObject * obj0 = 0 ;
3358 char *kwnames[] = {
3359 (char *) "self", NULL
3360 };
3361
3362 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3363 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3370
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 Py_INCREF(Py_None); resultobj = Py_None;
3375 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3376 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3377 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3378 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3379 return resultobj;
3380 fail:
3381 return NULL;
3382}
3383
3384
3385static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3386 PyObject *resultobj;
3387 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3388 double arg2 ;
3389 double arg3 ;
3390 PyObject * obj0 = 0 ;
3391 PyObject * obj1 = 0 ;
3392 PyObject * obj2 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "self",(char *) "xs",(char *) "ys", NULL
3395 };
3396
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3399 if (SWIG_arg_fail(1)) SWIG_fail;
3400 {
3401 arg2 = (double)(SWIG_As_double(obj1));
3402 if (SWIG_arg_fail(2)) SWIG_fail;
3403 }
3404 {
3405 arg3 = (double)(SWIG_As_double(obj2));
3406 if (SWIG_arg_fail(3)) SWIG_fail;
3407 }
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 (arg1)->SetScale(arg2,arg3);
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
3415 Py_INCREF(Py_None); resultobj = Py_None;
3416 return resultobj;
3417 fail:
3418 return NULL;
3419}
3420
3421
3422static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3423 PyObject *resultobj;
3424 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3425 double result;
3426 PyObject * obj0 = 0 ;
3427 char *kwnames[] = {
3428 (char *) "self", NULL
3429 };
3430
3431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3433 if (SWIG_arg_fail(1)) SWIG_fail;
3434 {
3435 PyThreadState* __tstate = wxPyBeginAllowThreads();
3436 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3437
3438 wxPyEndAllowThreads(__tstate);
3439 if (PyErr_Occurred()) SWIG_fail;
3440 }
3441 {
3442 resultobj = SWIG_From_double((double)(result));
3443 }
3444 return resultobj;
3445 fail:
3446 return NULL;
3447}
3448
3449
3450static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3451 PyObject *resultobj;
3452 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3453 double result;
3454 PyObject * obj0 = 0 ;
3455 char *kwnames[] = {
3456 (char *) "self", NULL
3457 };
3458
3459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3461 if (SWIG_arg_fail(1)) SWIG_fail;
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 {
3470 resultobj = SWIG_From_double((double)(result));
3471 }
3472 return resultobj;
3473 fail:
3474 return NULL;
3475}
3476
3477
3478static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3479 PyObject *resultobj;
3480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3481 wxPoint *arg2 = 0 ;
3482 wxPoint result;
3483 wxPoint temp2 ;
3484 PyObject * obj0 = 0 ;
3485 PyObject * obj1 = 0 ;
3486
3487 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3489 if (SWIG_arg_fail(1)) SWIG_fail;
3490 {
3491 arg2 = &temp2;
3492 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3493 }
3494 {
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3497
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
3501 {
3502 wxPoint * resultptr;
3503 resultptr = new wxPoint((wxPoint &)(result));
3504 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3505 }
3506 return resultobj;
3507 fail:
3508 return NULL;
3509}
3510
3511
3512static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3513 PyObject *resultobj;
3514 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3515 int arg2 ;
3516 int arg3 ;
3517 int *arg4 = (int *) 0 ;
3518 int *arg5 = (int *) 0 ;
3519 int temp4 ;
3520 int res4 = 0 ;
3521 int temp5 ;
3522 int res5 = 0 ;
3523 PyObject * obj0 = 0 ;
3524 PyObject * obj1 = 0 ;
3525 PyObject * obj2 = 0 ;
3526
3527 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3528 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3529 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3531 if (SWIG_arg_fail(1)) SWIG_fail;
3532 {
3533 arg2 = (int)(SWIG_As_int(obj1));
3534 if (SWIG_arg_fail(2)) SWIG_fail;
3535 }
3536 {
3537 arg3 = (int)(SWIG_As_int(obj2));
3538 if (SWIG_arg_fail(3)) SWIG_fail;
3539 }
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 Py_INCREF(Py_None); resultobj = Py_None;
3548 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3549 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3550 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3551 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3552 return resultobj;
3553 fail:
3554 return NULL;
3555}
3556
3557
3558static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3559 int argc;
3560 PyObject *argv[4];
3561 int ii;
3562
3563 argc = PyObject_Length(args);
3564 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3565 argv[ii] = PyTuple_GetItem(args,ii);
3566 }
3567 if (argc == 2) {
3568 int _v;
3569 {
3570 void *ptr;
3571 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3572 _v = 0;
3573 PyErr_Clear();
3574 } else {
3575 _v = 1;
3576 }
3577 }
3578 if (_v) {
3579 {
3580 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3581 }
3582 if (_v) {
3583 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3584 }
3585 }
3586 }
3587 if (argc == 3) {
3588 int _v;
3589 {
3590 void *ptr;
3591 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3592 _v = 0;
3593 PyErr_Clear();
3594 } else {
3595 _v = 1;
3596 }
3597 }
3598 if (_v) {
3599 _v = SWIG_Check_int(argv[1]);
3600 if (_v) {
3601 _v = SWIG_Check_int(argv[2]);
3602 if (_v) {
3603 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3604 }
3605 }
3606 }
3607 }
3608
3609 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3610 return NULL;
3611}
3612
3613
3614static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3615 PyObject *resultobj;
3616 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3617 wxPoint *arg2 = 0 ;
3618 wxPoint result;
3619 wxPoint temp2 ;
3620 PyObject * obj0 = 0 ;
3621 PyObject * obj1 = 0 ;
3622
3623 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3625 if (SWIG_arg_fail(1)) SWIG_fail;
3626 {
3627 arg2 = &temp2;
3628 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3629 }
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 {
3638 wxPoint * resultptr;
3639 resultptr = new wxPoint((wxPoint &)(result));
3640 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3641 }
3642 return resultobj;
3643 fail:
3644 return NULL;
3645}
3646
3647
3648static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3649 PyObject *resultobj;
3650 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3651 int arg2 ;
3652 int arg3 ;
3653 int *arg4 = (int *) 0 ;
3654 int *arg5 = (int *) 0 ;
3655 int temp4 ;
3656 int res4 = 0 ;
3657 int temp5 ;
3658 int res5 = 0 ;
3659 PyObject * obj0 = 0 ;
3660 PyObject * obj1 = 0 ;
3661 PyObject * obj2 = 0 ;
3662
3663 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3664 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3665 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3667 if (SWIG_arg_fail(1)) SWIG_fail;
3668 {
3669 arg2 = (int)(SWIG_As_int(obj1));
3670 if (SWIG_arg_fail(2)) SWIG_fail;
3671 }
3672 {
3673 arg3 = (int)(SWIG_As_int(obj2));
3674 if (SWIG_arg_fail(3)) SWIG_fail;
3675 }
3676 {
3677 PyThreadState* __tstate = wxPyBeginAllowThreads();
3678 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3679
3680 wxPyEndAllowThreads(__tstate);
3681 if (PyErr_Occurred()) SWIG_fail;
3682 }
3683 Py_INCREF(Py_None); resultobj = Py_None;
3684 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3685 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3686 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3687 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3688 return resultobj;
3689 fail:
3690 return NULL;
3691}
3692
3693
3694static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3695 int argc;
3696 PyObject *argv[4];
3697 int ii;
3698
3699 argc = PyObject_Length(args);
3700 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3701 argv[ii] = PyTuple_GetItem(args,ii);
3702 }
3703 if (argc == 2) {
3704 int _v;
3705 {
3706 void *ptr;
3707 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3708 _v = 0;
3709 PyErr_Clear();
3710 } else {
3711 _v = 1;
3712 }
3713 }
3714 if (_v) {
3715 {
3716 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3717 }
3718 if (_v) {
3719 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3720 }
3721 }
3722 }
3723 if (argc == 3) {
3724 int _v;
3725 {
3726 void *ptr;
3727 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3728 _v = 0;
3729 PyErr_Clear();
3730 } else {
3731 _v = 1;
3732 }
3733 }
3734 if (_v) {
3735 _v = SWIG_Check_int(argv[1]);
3736 if (_v) {
3737 _v = SWIG_Check_int(argv[2]);
3738 if (_v) {
3739 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3740 }
3741 }
3742 }
3743 }
3744
3745 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3746 return NULL;
3747}
3748
3749
3750static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3753 PyObject * obj0 = 0 ;
3754 char *kwnames[] = {
3755 (char *) "self", NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3760 if (SWIG_arg_fail(1)) SWIG_fail;
3761 {
3762 PyThreadState* __tstate = wxPyBeginAllowThreads();
3763 (arg1)->AdjustScrollbars();
3764
3765 wxPyEndAllowThreads(__tstate);
3766 if (PyErr_Occurred()) SWIG_fail;
3767 }
3768 Py_INCREF(Py_None); resultobj = Py_None;
3769 return resultobj;
3770 fail:
3771 return NULL;
3772}
3773
3774
3775static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3776 PyObject *resultobj;
3777 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3778 wxScrollWinEvent *arg2 = 0 ;
3779 int result;
3780 PyObject * obj0 = 0 ;
3781 PyObject * obj1 = 0 ;
3782 char *kwnames[] = {
3783 (char *) "self",(char *) "event", NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3788 if (SWIG_arg_fail(1)) SWIG_fail;
3789 {
3790 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3791 if (SWIG_arg_fail(2)) SWIG_fail;
3792 if (arg2 == NULL) {
3793 SWIG_null_ref("wxScrollWinEvent");
3794 }
3795 if (SWIG_arg_fail(2)) SWIG_fail;
3796 }
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 result = (int)(arg1)->CalcScrollInc(*arg2);
3800
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 {
3805 resultobj = SWIG_From_int((int)(result));
3806 }
3807 return resultobj;
3808 fail:
3809 return NULL;
3810}
3811
3812
3813static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3816 wxWindow *arg2 = (wxWindow *) 0 ;
3817 PyObject * obj0 = 0 ;
3818 PyObject * obj1 = 0 ;
3819 char *kwnames[] = {
3820 (char *) "self",(char *) "target", NULL
3821 };
3822
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
3824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3825 if (SWIG_arg_fail(1)) SWIG_fail;
3826 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3827 if (SWIG_arg_fail(2)) SWIG_fail;
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 (arg1)->SetTargetWindow(arg2);
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 Py_INCREF(Py_None); resultobj = Py_None;
3836 return resultobj;
3837 fail:
3838 return NULL;
3839}
3840
3841
3842static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3843 PyObject *resultobj;
3844 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3845 wxWindow *result;
3846 PyObject * obj0 = 0 ;
3847 char *kwnames[] = {
3848 (char *) "self", NULL
3849 };
3850
3851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
3852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3853 if (SWIG_arg_fail(1)) SWIG_fail;
3854 {
3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
3856 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3857
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
3861 {
3862 resultobj = wxPyMake_wxObject(result, 0);
3863 }
3864 return resultobj;
3865 fail:
3866 return NULL;
3867}
3868
3869
3870static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
3871 PyObject *resultobj;
3872 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3873 wxDC *arg2 = 0 ;
3874 PyObject * obj0 = 0 ;
3875 PyObject * obj1 = 0 ;
3876 char *kwnames[] = {
3877 (char *) "self",(char *) "dc", NULL
3878 };
3879
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
3881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail;
3883 {
3884 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3885 if (SWIG_arg_fail(2)) SWIG_fail;
3886 if (arg2 == NULL) {
3887 SWIG_null_ref("wxDC");
3888 }
3889 if (SWIG_arg_fail(2)) SWIG_fail;
3890 }
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 (arg1)->DoPrepareDC(*arg2);
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 Py_INCREF(Py_None); resultobj = Py_None;
3899 return resultobj;
3900 fail:
3901 return NULL;
3902}
3903
3904
3905static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3906 PyObject *resultobj;
3907 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3908 wxVisualAttributes result;
3909 PyObject * obj0 = 0 ;
3910 char *kwnames[] = {
3911 (char *) "variant", NULL
3912 };
3913
3914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3915 if (obj0) {
3916 {
3917 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3918 if (SWIG_arg_fail(1)) SWIG_fail;
3919 }
3920 }
3921 {
3922 if (!wxPyCheckForApp()) SWIG_fail;
3923 PyThreadState* __tstate = wxPyBeginAllowThreads();
3924 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3925
3926 wxPyEndAllowThreads(__tstate);
3927 if (PyErr_Occurred()) SWIG_fail;
3928 }
3929 {
3930 wxVisualAttributes * resultptr;
3931 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3932 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3933 }
3934 return resultobj;
3935 fail:
3936 return NULL;
3937}
3938
3939
3940static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
3941 PyObject *obj;
3942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3943 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3944 Py_INCREF(obj);
3945 return Py_BuildValue((char *)"");
3946}
3947static int _wrap_FrameNameStr_set(PyObject *) {
3948 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3949 return 1;
3950}
3951
3952
3953static PyObject *_wrap_FrameNameStr_get(void) {
3954 PyObject *pyobj;
3955
3956 {
3957#if wxUSE_UNICODE
3958 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3959#else
3960 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3961#endif
3962 }
3963 return pyobj;
3964}
3965
3966
3967static int _wrap_DialogNameStr_set(PyObject *) {
3968 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
3969 return 1;
3970}
3971
3972
3973static PyObject *_wrap_DialogNameStr_get(void) {
3974 PyObject *pyobj;
3975
3976 {
3977#if wxUSE_UNICODE
3978 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
3979#else
3980 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
3981#endif
3982 }
3983 return pyobj;
3984}
3985
3986
3987static int _wrap_StatusLineNameStr_set(PyObject *) {
3988 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
3989 return 1;
3990}
3991
3992
3993static PyObject *_wrap_StatusLineNameStr_get(void) {
3994 PyObject *pyobj;
3995
3996 {
3997#if wxUSE_UNICODE
3998 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
3999#else
4000 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4001#endif
4002 }
4003 return pyobj;
4004}
4005
4006
4007static int _wrap_ToolBarNameStr_set(PyObject *) {
4008 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4009 return 1;
4010}
4011
4012
4013static PyObject *_wrap_ToolBarNameStr_get(void) {
4014 PyObject *pyobj;
4015
4016 {
4017#if wxUSE_UNICODE
4018 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4019#else
4020 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4021#endif
4022 }
4023 return pyobj;
4024}
4025
4026
4027static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4028 PyObject *resultobj;
4029 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4030 bool arg2 = (bool) true ;
4031 PyObject * obj0 = 0 ;
4032 PyObject * obj1 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "self",(char *) "maximize", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4039 if (SWIG_arg_fail(1)) SWIG_fail;
4040 if (obj1) {
4041 {
4042 arg2 = (bool)(SWIG_As_bool(obj1));
4043 if (SWIG_arg_fail(2)) SWIG_fail;
4044 }
4045 }
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 (arg1)->Maximize(arg2);
4049
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 Py_INCREF(Py_None); resultobj = Py_None;
4054 return resultobj;
4055 fail:
4056 return NULL;
4057}
4058
4059
4060static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4061 PyObject *resultobj;
4062 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4063 PyObject * obj0 = 0 ;
4064 char *kwnames[] = {
4065 (char *) "self", NULL
4066 };
4067
4068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4070 if (SWIG_arg_fail(1)) SWIG_fail;
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 (arg1)->Restore();
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 Py_INCREF(Py_None); resultobj = Py_None;
4079 return resultobj;
4080 fail:
4081 return NULL;
4082}
4083
4084
4085static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4086 PyObject *resultobj;
4087 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4088 bool arg2 = (bool) true ;
4089 PyObject * obj0 = 0 ;
4090 PyObject * obj1 = 0 ;
4091 char *kwnames[] = {
4092 (char *) "self",(char *) "iconize", NULL
4093 };
4094
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4097 if (SWIG_arg_fail(1)) SWIG_fail;
4098 if (obj1) {
4099 {
4100 arg2 = (bool)(SWIG_As_bool(obj1));
4101 if (SWIG_arg_fail(2)) SWIG_fail;
4102 }
4103 }
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 (arg1)->Iconize(arg2);
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 Py_INCREF(Py_None); resultobj = Py_None;
4112 return resultobj;
4113 fail:
4114 return NULL;
4115}
4116
4117
4118static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4119 PyObject *resultobj;
4120 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4121 bool result;
4122 PyObject * obj0 = 0 ;
4123 char *kwnames[] = {
4124 (char *) "self", NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4129 if (SWIG_arg_fail(1)) SWIG_fail;
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 {
4138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4139 }
4140 return resultobj;
4141 fail:
4142 return NULL;
4143}
4144
4145
4146static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj;
4148 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4149 bool result;
4150 PyObject * obj0 = 0 ;
4151 char *kwnames[] = {
4152 (char *) "self", NULL
4153 };
4154
4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4157 if (SWIG_arg_fail(1)) SWIG_fail;
4158 {
4159 PyThreadState* __tstate = wxPyBeginAllowThreads();
4160 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 {
4166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4167 }
4168 return resultobj;
4169 fail:
4170 return NULL;
4171}
4172
4173
4174static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4175 PyObject *resultobj;
4176 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4177 wxIcon result;
4178 PyObject * obj0 = 0 ;
4179 char *kwnames[] = {
4180 (char *) "self", NULL
4181 };
4182
4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4185 if (SWIG_arg_fail(1)) SWIG_fail;
4186 {
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4189
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
4193 {
4194 wxIcon * resultptr;
4195 resultptr = new wxIcon((wxIcon &)(result));
4196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4197 }
4198 return resultobj;
4199 fail:
4200 return NULL;
4201}
4202
4203
4204static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4205 PyObject *resultobj;
4206 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4207 wxIcon *arg2 = 0 ;
4208 PyObject * obj0 = 0 ;
4209 PyObject * obj1 = 0 ;
4210 char *kwnames[] = {
4211 (char *) "self",(char *) "icon", NULL
4212 };
4213
4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4216 if (SWIG_arg_fail(1)) SWIG_fail;
4217 {
4218 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4219 if (SWIG_arg_fail(2)) SWIG_fail;
4220 if (arg2 == NULL) {
4221 SWIG_null_ref("wxIcon");
4222 }
4223 if (SWIG_arg_fail(2)) SWIG_fail;
4224 }
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 (arg1)->SetIcon((wxIcon const &)*arg2);
4228
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 Py_INCREF(Py_None); resultobj = Py_None;
4233 return resultobj;
4234 fail:
4235 return NULL;
4236}
4237
4238
4239static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4240 PyObject *resultobj;
4241 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4242 wxIconBundle *arg2 = 0 ;
4243 PyObject * obj0 = 0 ;
4244 PyObject * obj1 = 0 ;
4245 char *kwnames[] = {
4246 (char *) "self",(char *) "icons", NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4251 if (SWIG_arg_fail(1)) SWIG_fail;
4252 {
4253 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4254 if (SWIG_arg_fail(2)) SWIG_fail;
4255 if (arg2 == NULL) {
4256 SWIG_null_ref("wxIconBundle");
4257 }
4258 if (SWIG_arg_fail(2)) SWIG_fail;
4259 }
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 Py_INCREF(Py_None); resultobj = Py_None;
4268 return resultobj;
4269 fail:
4270 return NULL;
4271}
4272
4273
4274static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4275 PyObject *resultobj;
4276 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4277 bool arg2 ;
4278 long arg3 = (long) wxFULLSCREEN_ALL ;
4279 bool result;
4280 PyObject * obj0 = 0 ;
4281 PyObject * obj1 = 0 ;
4282 PyObject * obj2 = 0 ;
4283 char *kwnames[] = {
4284 (char *) "self",(char *) "show",(char *) "style", NULL
4285 };
4286
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4289 if (SWIG_arg_fail(1)) SWIG_fail;
4290 {
4291 arg2 = (bool)(SWIG_As_bool(obj1));
4292 if (SWIG_arg_fail(2)) SWIG_fail;
4293 }
4294 if (obj2) {
4295 {
4296 arg3 = (long)(SWIG_As_long(obj2));
4297 if (SWIG_arg_fail(3)) SWIG_fail;
4298 }
4299 }
4300 {
4301 PyThreadState* __tstate = wxPyBeginAllowThreads();
4302 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4303
4304 wxPyEndAllowThreads(__tstate);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
4307 {
4308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4309 }
4310 return resultobj;
4311 fail:
4312 return NULL;
4313}
4314
4315
4316static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4317 PyObject *resultobj;
4318 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4319 bool result;
4320 PyObject * obj0 = 0 ;
4321 char *kwnames[] = {
4322 (char *) "self", NULL
4323 };
4324
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4327 if (SWIG_arg_fail(1)) SWIG_fail;
4328 {
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4331
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 {
4336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4337 }
4338 return resultobj;
4339 fail:
4340 return NULL;
4341}
4342
4343
4344static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj;
4346 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4347 wxString *arg2 = 0 ;
4348 bool temp2 = false ;
4349 PyObject * obj0 = 0 ;
4350 PyObject * obj1 = 0 ;
4351 char *kwnames[] = {
4352 (char *) "self",(char *) "title", NULL
4353 };
4354
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4357 if (SWIG_arg_fail(1)) SWIG_fail;
4358 {
4359 arg2 = wxString_in_helper(obj1);
4360 if (arg2 == NULL) SWIG_fail;
4361 temp2 = true;
4362 }
4363 {
4364 PyThreadState* __tstate = wxPyBeginAllowThreads();
4365 (arg1)->SetTitle((wxString const &)*arg2);
4366
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 Py_INCREF(Py_None); resultobj = Py_None;
4371 {
4372 if (temp2)
4373 delete arg2;
4374 }
4375 return resultobj;
4376 fail:
4377 {
4378 if (temp2)
4379 delete arg2;
4380 }
4381 return NULL;
4382}
4383
4384
4385static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4386 PyObject *resultobj;
4387 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4388 wxString result;
4389 PyObject * obj0 = 0 ;
4390 char *kwnames[] = {
4391 (char *) "self", NULL
4392 };
4393
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4396 if (SWIG_arg_fail(1)) SWIG_fail;
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4400
4401 wxPyEndAllowThreads(__tstate);
4402 if (PyErr_Occurred()) SWIG_fail;
4403 }
4404 {
4405#if wxUSE_UNICODE
4406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4407#else
4408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4409#endif
4410 }
4411 return resultobj;
4412 fail:
4413 return NULL;
4414}
4415
4416
4417static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4420 wxRegion *arg2 = 0 ;
4421 bool result;
4422 PyObject * obj0 = 0 ;
4423 PyObject * obj1 = 0 ;
4424 char *kwnames[] = {
4425 (char *) "self",(char *) "region", NULL
4426 };
4427
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4433 if (SWIG_arg_fail(2)) SWIG_fail;
4434 if (arg2 == NULL) {
4435 SWIG_null_ref("wxRegion");
4436 }
4437 if (SWIG_arg_fail(2)) SWIG_fail;
4438 }
4439 {
4440 PyThreadState* __tstate = wxPyBeginAllowThreads();
4441 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4442
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 {
4447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4448 }
4449 return resultobj;
4450 fail:
4451 return NULL;
4452}
4453
4454
4455static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4456 PyObject *resultobj;
4457 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4458 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4459 PyObject * obj0 = 0 ;
4460 PyObject * obj1 = 0 ;
4461 char *kwnames[] = {
4462 (char *) "self",(char *) "flags", NULL
4463 };
4464
4465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4467 if (SWIG_arg_fail(1)) SWIG_fail;
4468 if (obj1) {
4469 {
4470 arg2 = (int)(SWIG_As_int(obj1));
4471 if (SWIG_arg_fail(2)) SWIG_fail;
4472 }
4473 }
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->RequestUserAttention(arg2);
4477
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 Py_INCREF(Py_None); resultobj = Py_None;
4482 return resultobj;
4483 fail:
4484 return NULL;
4485}
4486
4487
4488static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4491 bool result;
4492 PyObject * obj0 = 0 ;
4493 char *kwnames[] = {
4494 (char *) "self", NULL
4495 };
4496
4497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",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 = (bool)(arg1)->IsActive();
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 {
4508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4509 }
4510 return resultobj;
4511 fail:
4512 return NULL;
4513}
4514
4515
4516static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4519 bool arg2 ;
4520 PyObject * obj0 = 0 ;
4521 PyObject * obj1 = 0 ;
4522 char *kwnames[] = {
4523 (char *) "self",(char *) "on", NULL
4524 };
4525
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail;
4529 {
4530 arg2 = (bool)(SWIG_As_bool(obj1));
4531 if (SWIG_arg_fail(2)) SWIG_fail;
4532 }
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 Py_INCREF(Py_None); resultobj = Py_None;
4541 return resultobj;
4542 fail:
4543 return NULL;
4544}
4545
4546
4547static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4548 PyObject *resultobj;
4549 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4550 bool result;
4551 PyObject * obj0 = 0 ;
4552 char *kwnames[] = {
4553 (char *) "self", NULL
4554 };
4555
4556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4558 if (SWIG_arg_fail(1)) SWIG_fail;
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 {
4567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4568 }
4569 return resultobj;
4570 fail:
4571 return NULL;
4572}
4573
4574
4575static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4576 PyObject *obj;
4577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4578 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4579 Py_INCREF(obj);
4580 return Py_BuildValue((char *)"");
4581}
4582static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4583 PyObject *resultobj;
4584 wxWindow *arg1 = (wxWindow *) 0 ;
4585 int arg2 = (int) (int)-1 ;
4586 wxString const &arg3_defvalue = wxPyEmptyString ;
4587 wxString *arg3 = (wxString *) &arg3_defvalue ;
4588 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4589 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4590 wxSize const &arg5_defvalue = wxDefaultSize ;
4591 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4592 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4593 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4594 wxString *arg7 = (wxString *) &arg7_defvalue ;
4595 wxFrame *result;
4596 bool temp3 = false ;
4597 wxPoint temp4 ;
4598 wxSize temp5 ;
4599 bool temp7 = false ;
4600 PyObject * obj0 = 0 ;
4601 PyObject * obj1 = 0 ;
4602 PyObject * obj2 = 0 ;
4603 PyObject * obj3 = 0 ;
4604 PyObject * obj4 = 0 ;
4605 PyObject * obj5 = 0 ;
4606 PyObject * obj6 = 0 ;
4607 char *kwnames[] = {
4608 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4609 };
4610
4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4613 if (SWIG_arg_fail(1)) SWIG_fail;
4614 if (obj1) {
4615 {
4616 arg2 = (int const)(SWIG_As_int(obj1));
4617 if (SWIG_arg_fail(2)) SWIG_fail;
4618 }
4619 }
4620 if (obj2) {
4621 {
4622 arg3 = wxString_in_helper(obj2);
4623 if (arg3 == NULL) SWIG_fail;
4624 temp3 = true;
4625 }
4626 }
4627 if (obj3) {
4628 {
4629 arg4 = &temp4;
4630 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4631 }
4632 }
4633 if (obj4) {
4634 {
4635 arg5 = &temp5;
4636 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4637 }
4638 }
4639 if (obj5) {
4640 {
4641 arg6 = (long)(SWIG_As_long(obj5));
4642 if (SWIG_arg_fail(6)) SWIG_fail;
4643 }
4644 }
4645 if (obj6) {
4646 {
4647 arg7 = wxString_in_helper(obj6);
4648 if (arg7 == NULL) SWIG_fail;
4649 temp7 = true;
4650 }
4651 }
4652 {
4653 if (!wxPyCheckForApp()) SWIG_fail;
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4661 {
4662 if (temp3)
4663 delete arg3;
4664 }
4665 {
4666 if (temp7)
4667 delete arg7;
4668 }
4669 return resultobj;
4670 fail:
4671 {
4672 if (temp3)
4673 delete arg3;
4674 }
4675 {
4676 if (temp7)
4677 delete arg7;
4678 }
4679 return NULL;
4680}
4681
4682
4683static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj;
4685 wxFrame *result;
4686 char *kwnames[] = {
4687 NULL
4688 };
4689
4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4691 {
4692 if (!wxPyCheckForApp()) SWIG_fail;
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 result = (wxFrame *)new wxFrame();
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4700 return resultobj;
4701 fail:
4702 return NULL;
4703}
4704
4705
4706static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4707 PyObject *resultobj;
4708 wxFrame *arg1 = (wxFrame *) 0 ;
4709 wxWindow *arg2 = (wxWindow *) 0 ;
4710 int arg3 = (int) (int)-1 ;
4711 wxString const &arg4_defvalue = wxPyEmptyString ;
4712 wxString *arg4 = (wxString *) &arg4_defvalue ;
4713 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4714 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4715 wxSize const &arg6_defvalue = wxDefaultSize ;
4716 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4717 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4718 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4719 wxString *arg8 = (wxString *) &arg8_defvalue ;
4720 bool result;
4721 bool temp4 = false ;
4722 wxPoint temp5 ;
4723 wxSize temp6 ;
4724 bool temp8 = false ;
4725 PyObject * obj0 = 0 ;
4726 PyObject * obj1 = 0 ;
4727 PyObject * obj2 = 0 ;
4728 PyObject * obj3 = 0 ;
4729 PyObject * obj4 = 0 ;
4730 PyObject * obj5 = 0 ;
4731 PyObject * obj6 = 0 ;
4732 PyObject * obj7 = 0 ;
4733 char *kwnames[] = {
4734 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4735 };
4736
4737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4739 if (SWIG_arg_fail(1)) SWIG_fail;
4740 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4741 if (SWIG_arg_fail(2)) SWIG_fail;
4742 if (obj2) {
4743 {
4744 arg3 = (int const)(SWIG_As_int(obj2));
4745 if (SWIG_arg_fail(3)) SWIG_fail;
4746 }
4747 }
4748 if (obj3) {
4749 {
4750 arg4 = wxString_in_helper(obj3);
4751 if (arg4 == NULL) SWIG_fail;
4752 temp4 = true;
4753 }
4754 }
4755 if (obj4) {
4756 {
4757 arg5 = &temp5;
4758 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4759 }
4760 }
4761 if (obj5) {
4762 {
4763 arg6 = &temp6;
4764 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4765 }
4766 }
4767 if (obj6) {
4768 {
4769 arg7 = (long)(SWIG_As_long(obj6));
4770 if (SWIG_arg_fail(7)) SWIG_fail;
4771 }
4772 }
4773 if (obj7) {
4774 {
4775 arg8 = wxString_in_helper(obj7);
4776 if (arg8 == NULL) SWIG_fail;
4777 temp8 = true;
4778 }
4779 }
4780 {
4781 PyThreadState* __tstate = wxPyBeginAllowThreads();
4782 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4783
4784 wxPyEndAllowThreads(__tstate);
4785 if (PyErr_Occurred()) SWIG_fail;
4786 }
4787 {
4788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4789 }
4790 {
4791 if (temp4)
4792 delete arg4;
4793 }
4794 {
4795 if (temp8)
4796 delete arg8;
4797 }
4798 return resultobj;
4799 fail:
4800 {
4801 if (temp4)
4802 delete arg4;
4803 }
4804 {
4805 if (temp8)
4806 delete arg8;
4807 }
4808 return NULL;
4809}
4810
4811
4812static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
4813 PyObject *resultobj;
4814 wxFrame *arg1 = (wxFrame *) 0 ;
4815 wxPoint result;
4816 PyObject * obj0 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self", NULL
4819 };
4820
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
4822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4823 if (SWIG_arg_fail(1)) SWIG_fail;
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4827
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
4831 {
4832 wxPoint * resultptr;
4833 resultptr = new wxPoint((wxPoint &)(result));
4834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4835 }
4836 return resultobj;
4837 fail:
4838 return NULL;
4839}
4840
4841
4842static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
4843 PyObject *resultobj;
4844 wxFrame *arg1 = (wxFrame *) 0 ;
4845 PyObject * obj0 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "self", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
4851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4852 if (SWIG_arg_fail(1)) SWIG_fail;
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 (arg1)->SendSizeEvent();
4856
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 Py_INCREF(Py_None); resultobj = Py_None;
4861 return resultobj;
4862 fail:
4863 return NULL;
4864}
4865
4866
4867static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4868 PyObject *resultobj;
4869 wxFrame *arg1 = (wxFrame *) 0 ;
4870 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4871 PyObject * obj0 = 0 ;
4872 PyObject * obj1 = 0 ;
4873 char *kwnames[] = {
4874 (char *) "self",(char *) "menubar", NULL
4875 };
4876
4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
4878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4879 if (SWIG_arg_fail(1)) SWIG_fail;
4880 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4881 if (SWIG_arg_fail(2)) SWIG_fail;
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 (arg1)->SetMenuBar(arg2);
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 Py_INCREF(Py_None); resultobj = Py_None;
4890 return resultobj;
4891 fail:
4892 return NULL;
4893}
4894
4895
4896static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj;
4898 wxFrame *arg1 = (wxFrame *) 0 ;
4899 wxMenuBar *result;
4900 PyObject * obj0 = 0 ;
4901 char *kwnames[] = {
4902 (char *) "self", NULL
4903 };
4904
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
4906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4907 if (SWIG_arg_fail(1)) SWIG_fail;
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 {
4916 resultobj = wxPyMake_wxObject(result, 0);
4917 }
4918 return resultobj;
4919 fail:
4920 return NULL;
4921}
4922
4923
4924static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
4925 PyObject *resultobj;
4926 wxFrame *arg1 = (wxFrame *) 0 ;
4927 int arg2 ;
4928 bool result;
4929 PyObject * obj0 = 0 ;
4930 PyObject * obj1 = 0 ;
4931 char *kwnames[] = {
4932 (char *) "self",(char *) "winid", NULL
4933 };
4934
4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
4936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4937 if (SWIG_arg_fail(1)) SWIG_fail;
4938 {
4939 arg2 = (int)(SWIG_As_int(obj1));
4940 if (SWIG_arg_fail(2)) SWIG_fail;
4941 }
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 result = (bool)(arg1)->ProcessCommand(arg2);
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 {
4950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4951 }
4952 return resultobj;
4953 fail:
4954 return NULL;
4955}
4956
4957
4958static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4959 PyObject *resultobj;
4960 wxFrame *arg1 = (wxFrame *) 0 ;
4961 int arg2 = (int) 1 ;
4962 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
4963 int arg4 = (int) 0 ;
4964 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4965 wxString *arg5 = (wxString *) &arg5_defvalue ;
4966 wxStatusBar *result;
4967 bool temp5 = false ;
4968 PyObject * obj0 = 0 ;
4969 PyObject * obj1 = 0 ;
4970 PyObject * obj2 = 0 ;
4971 PyObject * obj3 = 0 ;
4972 PyObject * obj4 = 0 ;
4973 char *kwnames[] = {
4974 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
4975 };
4976
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4979 if (SWIG_arg_fail(1)) SWIG_fail;
4980 if (obj1) {
4981 {
4982 arg2 = (int)(SWIG_As_int(obj1));
4983 if (SWIG_arg_fail(2)) SWIG_fail;
4984 }
4985 }
4986 if (obj2) {
4987 {
4988 arg3 = (long)(SWIG_As_long(obj2));
4989 if (SWIG_arg_fail(3)) SWIG_fail;
4990 }
4991 }
4992 if (obj3) {
4993 {
4994 arg4 = (int)(SWIG_As_int(obj3));
4995 if (SWIG_arg_fail(4)) SWIG_fail;
4996 }
4997 }
4998 if (obj4) {
4999 {
5000 arg5 = wxString_in_helper(obj4);
5001 if (arg5 == NULL) SWIG_fail;
5002 temp5 = true;
5003 }
5004 }
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5008
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 {
5013 resultobj = wxPyMake_wxObject(result, 0);
5014 }
5015 {
5016 if (temp5)
5017 delete arg5;
5018 }
5019 return resultobj;
5020 fail:
5021 {
5022 if (temp5)
5023 delete arg5;
5024 }
5025 return NULL;
5026}
5027
5028
5029static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj;
5031 wxFrame *arg1 = (wxFrame *) 0 ;
5032 wxStatusBar *result;
5033 PyObject * obj0 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 {
5049 resultobj = wxPyMake_wxObject(result, 0);
5050 }
5051 return resultobj;
5052 fail:
5053 return NULL;
5054}
5055
5056
5057static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5058 PyObject *resultobj;
5059 wxFrame *arg1 = (wxFrame *) 0 ;
5060 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5061 PyObject * obj0 = 0 ;
5062 PyObject * obj1 = 0 ;
5063 char *kwnames[] = {
5064 (char *) "self",(char *) "statBar", NULL
5065 };
5066
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5069 if (SWIG_arg_fail(1)) SWIG_fail;
5070 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5071 if (SWIG_arg_fail(2)) SWIG_fail;
5072 {
5073 PyThreadState* __tstate = wxPyBeginAllowThreads();
5074 (arg1)->SetStatusBar(arg2);
5075
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 Py_INCREF(Py_None); resultobj = Py_None;
5080 return resultobj;
5081 fail:
5082 return NULL;
5083}
5084
5085
5086static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj;
5088 wxFrame *arg1 = (wxFrame *) 0 ;
5089 wxString *arg2 = 0 ;
5090 int arg3 = (int) 0 ;
5091 bool temp2 = false ;
5092 PyObject * obj0 = 0 ;
5093 PyObject * obj1 = 0 ;
5094 PyObject * obj2 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self",(char *) "text",(char *) "number", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail;
5102 {
5103 arg2 = wxString_in_helper(obj1);
5104 if (arg2 == NULL) SWIG_fail;
5105 temp2 = true;
5106 }
5107 if (obj2) {
5108 {
5109 arg3 = (int)(SWIG_As_int(obj2));
5110 if (SWIG_arg_fail(3)) SWIG_fail;
5111 }
5112 }
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 Py_INCREF(Py_None); resultobj = Py_None;
5121 {
5122 if (temp2)
5123 delete arg2;
5124 }
5125 return resultobj;
5126 fail:
5127 {
5128 if (temp2)
5129 delete arg2;
5130 }
5131 return NULL;
5132}
5133
5134
5135static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxFrame *arg1 = (wxFrame *) 0 ;
5138 int arg2 ;
5139 int *arg3 = (int *) 0 ;
5140 PyObject * obj0 = 0 ;
5141 PyObject * obj1 = 0 ;
5142 char *kwnames[] = {
5143 (char *) "self",(char *) "widths", NULL
5144 };
5145
5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5148 if (SWIG_arg_fail(1)) SWIG_fail;
5149 {
5150 arg2 = PyList_Size(obj1);
5151 arg3 = int_LIST_helper(obj1);
5152 if (arg3 == NULL) SWIG_fail;
5153 }
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 Py_INCREF(Py_None); resultobj = Py_None;
5162 {
5163 if (arg3) delete [] arg3;
5164 }
5165 return resultobj;
5166 fail:
5167 {
5168 if (arg3) delete [] arg3;
5169 }
5170 return NULL;
5171}
5172
5173
5174static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj;
5176 wxFrame *arg1 = (wxFrame *) 0 ;
5177 wxString *arg2 = 0 ;
5178 int arg3 = (int) 0 ;
5179 bool temp2 = false ;
5180 PyObject * obj0 = 0 ;
5181 PyObject * obj1 = 0 ;
5182 PyObject * obj2 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self",(char *) "text",(char *) "number", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail;
5190 {
5191 arg2 = wxString_in_helper(obj1);
5192 if (arg2 == NULL) SWIG_fail;
5193 temp2 = true;
5194 }
5195 if (obj2) {
5196 {
5197 arg3 = (int)(SWIG_As_int(obj2));
5198 if (SWIG_arg_fail(3)) SWIG_fail;
5199 }
5200 }
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 Py_INCREF(Py_None); resultobj = Py_None;
5209 {
5210 if (temp2)
5211 delete arg2;
5212 }
5213 return resultobj;
5214 fail:
5215 {
5216 if (temp2)
5217 delete arg2;
5218 }
5219 return NULL;
5220}
5221
5222
5223static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5224 PyObject *resultobj;
5225 wxFrame *arg1 = (wxFrame *) 0 ;
5226 int arg2 = (int) 0 ;
5227 PyObject * obj0 = 0 ;
5228 PyObject * obj1 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self",(char *) "number", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5235 if (SWIG_arg_fail(1)) SWIG_fail;
5236 if (obj1) {
5237 {
5238 arg2 = (int)(SWIG_As_int(obj1));
5239 if (SWIG_arg_fail(2)) SWIG_fail;
5240 }
5241 }
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 (arg1)->PopStatusText(arg2);
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
5249 Py_INCREF(Py_None); resultobj = Py_None;
5250 return resultobj;
5251 fail:
5252 return NULL;
5253}
5254
5255
5256static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5257 PyObject *resultobj;
5258 wxFrame *arg1 = (wxFrame *) 0 ;
5259 int arg2 ;
5260 PyObject * obj0 = 0 ;
5261 PyObject * obj1 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "n", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail;
5269 {
5270 arg2 = (int)(SWIG_As_int(obj1));
5271 if (SWIG_arg_fail(2)) SWIG_fail;
5272 }
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 (arg1)->SetStatusBarPane(arg2);
5276
5277 wxPyEndAllowThreads(__tstate);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 }
5280 Py_INCREF(Py_None); resultobj = Py_None;
5281 return resultobj;
5282 fail:
5283 return NULL;
5284}
5285
5286
5287static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxFrame *arg1 = (wxFrame *) 0 ;
5290 int result;
5291 PyObject * obj0 = 0 ;
5292 char *kwnames[] = {
5293 (char *) "self", NULL
5294 };
5295
5296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5298 if (SWIG_arg_fail(1)) SWIG_fail;
5299 {
5300 PyThreadState* __tstate = wxPyBeginAllowThreads();
5301 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5302
5303 wxPyEndAllowThreads(__tstate);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 }
5306 {
5307 resultobj = SWIG_From_int((int)(result));
5308 }
5309 return resultobj;
5310 fail:
5311 return NULL;
5312}
5313
5314
5315static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5316 PyObject *resultobj;
5317 wxFrame *arg1 = (wxFrame *) 0 ;
5318 long arg2 = (long) -1 ;
5319 int arg3 = (int) -1 ;
5320 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5321 wxString *arg4 = (wxString *) &arg4_defvalue ;
5322 wxToolBar *result;
5323 bool temp4 = false ;
5324 PyObject * obj0 = 0 ;
5325 PyObject * obj1 = 0 ;
5326 PyObject * obj2 = 0 ;
5327 PyObject * obj3 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5334 if (SWIG_arg_fail(1)) SWIG_fail;
5335 if (obj1) {
5336 {
5337 arg2 = (long)(SWIG_As_long(obj1));
5338 if (SWIG_arg_fail(2)) SWIG_fail;
5339 }
5340 }
5341 if (obj2) {
5342 {
5343 arg3 = (int)(SWIG_As_int(obj2));
5344 if (SWIG_arg_fail(3)) SWIG_fail;
5345 }
5346 }
5347 if (obj3) {
5348 {
5349 arg4 = wxString_in_helper(obj3);
5350 if (arg4 == NULL) SWIG_fail;
5351 temp4 = true;
5352 }
5353 }
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 {
5362 resultobj = wxPyMake_wxObject(result, 0);
5363 }
5364 {
5365 if (temp4)
5366 delete arg4;
5367 }
5368 return resultobj;
5369 fail:
5370 {
5371 if (temp4)
5372 delete arg4;
5373 }
5374 return NULL;
5375}
5376
5377
5378static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5379 PyObject *resultobj;
5380 wxFrame *arg1 = (wxFrame *) 0 ;
5381 wxToolBar *result;
5382 PyObject * obj0 = 0 ;
5383 char *kwnames[] = {
5384 (char *) "self", NULL
5385 };
5386
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5389 if (SWIG_arg_fail(1)) SWIG_fail;
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 {
5398 resultobj = wxPyMake_wxObject(result, 0);
5399 }
5400 return resultobj;
5401 fail:
5402 return NULL;
5403}
5404
5405
5406static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5407 PyObject *resultobj;
5408 wxFrame *arg1 = (wxFrame *) 0 ;
5409 wxToolBar *arg2 = (wxToolBar *) 0 ;
5410 PyObject * obj0 = 0 ;
5411 PyObject * obj1 = 0 ;
5412 char *kwnames[] = {
5413 (char *) "self",(char *) "toolbar", NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5418 if (SWIG_arg_fail(1)) SWIG_fail;
5419 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5420 if (SWIG_arg_fail(2)) SWIG_fail;
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 (arg1)->SetToolBar(arg2);
5424
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
5428 Py_INCREF(Py_None); resultobj = Py_None;
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
5435static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxFrame *arg1 = (wxFrame *) 0 ;
5438 wxString *arg2 = 0 ;
5439 bool arg3 ;
5440 bool temp2 = false ;
5441 PyObject * obj0 = 0 ;
5442 PyObject * obj1 = 0 ;
5443 PyObject * obj2 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self",(char *) "text",(char *) "show", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5450 if (SWIG_arg_fail(1)) SWIG_fail;
5451 {
5452 arg2 = wxString_in_helper(obj1);
5453 if (arg2 == NULL) SWIG_fail;
5454 temp2 = true;
5455 }
5456 {
5457 arg3 = (bool)(SWIG_As_bool(obj2));
5458 if (SWIG_arg_fail(3)) SWIG_fail;
5459 }
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 Py_INCREF(Py_None); resultobj = Py_None;
5468 {
5469 if (temp2)
5470 delete arg2;
5471 }
5472 return resultobj;
5473 fail:
5474 {
5475 if (temp2)
5476 delete arg2;
5477 }
5478 return NULL;
5479}
5480
5481
5482static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj;
5484 wxFrame *arg1 = (wxFrame *) 0 ;
5485 wxMenu *arg2 = (wxMenu *) NULL ;
5486 PyObject * obj0 = 0 ;
5487 PyObject * obj1 = 0 ;
5488 char *kwnames[] = {
5489 (char *) "self",(char *) "menu", NULL
5490 };
5491
5492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5494 if (SWIG_arg_fail(1)) SWIG_fail;
5495 if (obj1) {
5496 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5497 if (SWIG_arg_fail(2)) SWIG_fail;
5498 }
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 (arg1)->DoMenuUpdates(arg2);
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 Py_INCREF(Py_None); resultobj = Py_None;
5507 return resultobj;
5508 fail:
5509 return NULL;
5510}
5511
5512
5513static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5514 PyObject *resultobj;
5515 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5516 wxVisualAttributes result;
5517 PyObject * obj0 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "variant", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5523 if (obj0) {
5524 {
5525 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5526 if (SWIG_arg_fail(1)) SWIG_fail;
5527 }
5528 }
5529 {
5530 if (!wxPyCheckForApp()) SWIG_fail;
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 {
5538 wxVisualAttributes * resultptr;
5539 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5541 }
5542 return resultobj;
5543 fail:
5544 return NULL;
5545}
5546
5547
5548static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5549 PyObject *obj;
5550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5551 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5552 Py_INCREF(obj);
5553 return Py_BuildValue((char *)"");
5554}
5555static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5556 PyObject *resultobj;
5557 wxWindow *arg1 = (wxWindow *) 0 ;
5558 int arg2 = (int) (int)-1 ;
5559 wxString const &arg3_defvalue = wxPyEmptyString ;
5560 wxString *arg3 = (wxString *) &arg3_defvalue ;
5561 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5562 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5563 wxSize const &arg5_defvalue = wxDefaultSize ;
5564 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5565 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5566 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5567 wxString *arg7 = (wxString *) &arg7_defvalue ;
5568 wxDialog *result;
5569 bool temp3 = false ;
5570 wxPoint temp4 ;
5571 wxSize temp5 ;
5572 bool temp7 = false ;
5573 PyObject * obj0 = 0 ;
5574 PyObject * obj1 = 0 ;
5575 PyObject * obj2 = 0 ;
5576 PyObject * obj3 = 0 ;
5577 PyObject * obj4 = 0 ;
5578 PyObject * obj5 = 0 ;
5579 PyObject * obj6 = 0 ;
5580 char *kwnames[] = {
5581 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5582 };
5583
5584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5586 if (SWIG_arg_fail(1)) SWIG_fail;
5587 if (obj1) {
5588 {
5589 arg2 = (int const)(SWIG_As_int(obj1));
5590 if (SWIG_arg_fail(2)) SWIG_fail;
5591 }
5592 }
5593 if (obj2) {
5594 {
5595 arg3 = wxString_in_helper(obj2);
5596 if (arg3 == NULL) SWIG_fail;
5597 temp3 = true;
5598 }
5599 }
5600 if (obj3) {
5601 {
5602 arg4 = &temp4;
5603 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5604 }
5605 }
5606 if (obj4) {
5607 {
5608 arg5 = &temp5;
5609 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5610 }
5611 }
5612 if (obj5) {
5613 {
5614 arg6 = (long)(SWIG_As_long(obj5));
5615 if (SWIG_arg_fail(6)) SWIG_fail;
5616 }
5617 }
5618 if (obj6) {
5619 {
5620 arg7 = wxString_in_helper(obj6);
5621 if (arg7 == NULL) SWIG_fail;
5622 temp7 = true;
5623 }
5624 }
5625 {
5626 if (!wxPyCheckForApp()) SWIG_fail;
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5634 {
5635 if (temp3)
5636 delete arg3;
5637 }
5638 {
5639 if (temp7)
5640 delete arg7;
5641 }
5642 return resultobj;
5643 fail:
5644 {
5645 if (temp3)
5646 delete arg3;
5647 }
5648 {
5649 if (temp7)
5650 delete arg7;
5651 }
5652 return NULL;
5653}
5654
5655
5656static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj;
5658 wxDialog *result;
5659 char *kwnames[] = {
5660 NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5664 {
5665 if (!wxPyCheckForApp()) SWIG_fail;
5666 PyThreadState* __tstate = wxPyBeginAllowThreads();
5667 result = (wxDialog *)new wxDialog();
5668
5669 wxPyEndAllowThreads(__tstate);
5670 if (PyErr_Occurred()) SWIG_fail;
5671 }
5672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5673 return resultobj;
5674 fail:
5675 return NULL;
5676}
5677
5678
5679static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5680 PyObject *resultobj;
5681 wxDialog *arg1 = (wxDialog *) 0 ;
5682 wxWindow *arg2 = (wxWindow *) 0 ;
5683 int arg3 = (int) (int)-1 ;
5684 wxString const &arg4_defvalue = wxPyEmptyString ;
5685 wxString *arg4 = (wxString *) &arg4_defvalue ;
5686 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5687 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5688 wxSize const &arg6_defvalue = wxDefaultSize ;
5689 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5690 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5691 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5692 wxString *arg8 = (wxString *) &arg8_defvalue ;
5693 bool result;
5694 bool temp4 = false ;
5695 wxPoint temp5 ;
5696 wxSize temp6 ;
5697 bool temp8 = false ;
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 PyObject * obj2 = 0 ;
5701 PyObject * obj3 = 0 ;
5702 PyObject * obj4 = 0 ;
5703 PyObject * obj5 = 0 ;
5704 PyObject * obj6 = 0 ;
5705 PyObject * obj7 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5712 if (SWIG_arg_fail(1)) SWIG_fail;
5713 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5714 if (SWIG_arg_fail(2)) SWIG_fail;
5715 if (obj2) {
5716 {
5717 arg3 = (int const)(SWIG_As_int(obj2));
5718 if (SWIG_arg_fail(3)) SWIG_fail;
5719 }
5720 }
5721 if (obj3) {
5722 {
5723 arg4 = wxString_in_helper(obj3);
5724 if (arg4 == NULL) SWIG_fail;
5725 temp4 = true;
5726 }
5727 }
5728 if (obj4) {
5729 {
5730 arg5 = &temp5;
5731 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5732 }
5733 }
5734 if (obj5) {
5735 {
5736 arg6 = &temp6;
5737 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5738 }
5739 }
5740 if (obj6) {
5741 {
5742 arg7 = (long)(SWIG_As_long(obj6));
5743 if (SWIG_arg_fail(7)) SWIG_fail;
5744 }
5745 }
5746 if (obj7) {
5747 {
5748 arg8 = wxString_in_helper(obj7);
5749 if (arg8 == NULL) SWIG_fail;
5750 temp8 = true;
5751 }
5752 }
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 }
5760 {
5761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5762 }
5763 {
5764 if (temp4)
5765 delete arg4;
5766 }
5767 {
5768 if (temp8)
5769 delete arg8;
5770 }
5771 return resultobj;
5772 fail:
5773 {
5774 if (temp4)
5775 delete arg4;
5776 }
5777 {
5778 if (temp8)
5779 delete arg8;
5780 }
5781 return NULL;
5782}
5783
5784
5785static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5786 PyObject *resultobj;
5787 wxDialog *arg1 = (wxDialog *) 0 ;
5788 int arg2 ;
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj1 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self",(char *) "returnCode", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5797 if (SWIG_arg_fail(1)) SWIG_fail;
5798 {
5799 arg2 = (int)(SWIG_As_int(obj1));
5800 if (SWIG_arg_fail(2)) SWIG_fail;
5801 }
5802 {
5803 PyThreadState* __tstate = wxPyBeginAllowThreads();
5804 (arg1)->SetReturnCode(arg2);
5805
5806 wxPyEndAllowThreads(__tstate);
5807 if (PyErr_Occurred()) SWIG_fail;
5808 }
5809 Py_INCREF(Py_None); resultobj = Py_None;
5810 return resultobj;
5811 fail:
5812 return NULL;
5813}
5814
5815
5816static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5817 PyObject *resultobj;
5818 wxDialog *arg1 = (wxDialog *) 0 ;
5819 int result;
5820 PyObject * obj0 = 0 ;
5821 char *kwnames[] = {
5822 (char *) "self", NULL
5823 };
5824
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
5826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5827 if (SWIG_arg_fail(1)) SWIG_fail;
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 {
5836 resultobj = SWIG_From_int((int)(result));
5837 }
5838 return resultobj;
5839 fail:
5840 return NULL;
5841}
5842
5843
5844static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj;
5846 wxDialog *arg1 = (wxDialog *) 0 ;
5847 wxString *arg2 = 0 ;
5848 wxSizer *result;
5849 bool temp2 = false ;
5850 PyObject * obj0 = 0 ;
5851 PyObject * obj1 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self",(char *) "message", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
5857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5858 if (SWIG_arg_fail(1)) SWIG_fail;
5859 {
5860 arg2 = wxString_in_helper(obj1);
5861 if (arg2 == NULL) SWIG_fail;
5862 temp2 = true;
5863 }
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 {
5872 resultobj = wxPyMake_wxSizer(result, 0);
5873 }
5874 {
5875 if (temp2)
5876 delete arg2;
5877 }
5878 return resultobj;
5879 fail:
5880 {
5881 if (temp2)
5882 delete arg2;
5883 }
5884 return NULL;
5885}
5886
5887
5888static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5889 PyObject *resultobj;
5890 wxDialog *arg1 = (wxDialog *) 0 ;
5891 long arg2 ;
5892 wxSizer *result;
5893 PyObject * obj0 = 0 ;
5894 PyObject * obj1 = 0 ;
5895 char *kwnames[] = {
5896 (char *) "self",(char *) "flags", NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5901 if (SWIG_arg_fail(1)) SWIG_fail;
5902 {
5903 arg2 = (long)(SWIG_As_long(obj1));
5904 if (SWIG_arg_fail(2)) SWIG_fail;
5905 }
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5909
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 {
5914 resultobj = wxPyMake_wxSizer(result, 0);
5915 }
5916 return resultobj;
5917 fail:
5918 return NULL;
5919}
5920
5921
5922static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj;
5924 wxDialog *arg1 = (wxDialog *) 0 ;
5925 long arg2 ;
5926 wxStdDialogButtonSizer *result;
5927 PyObject * obj0 = 0 ;
5928 PyObject * obj1 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self",(char *) "flags", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5935 if (SWIG_arg_fail(1)) SWIG_fail;
5936 {
5937 arg2 = (long)(SWIG_As_long(obj1));
5938 if (SWIG_arg_fail(2)) SWIG_fail;
5939 }
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5948 return resultobj;
5949 fail:
5950 return NULL;
5951}
5952
5953
5954static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj;
5956 wxDialog *arg1 = (wxDialog *) 0 ;
5957 bool result;
5958 PyObject * obj0 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "self", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
5964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5965 if (SWIG_arg_fail(1)) SWIG_fail;
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = (bool)((wxDialog const *)arg1)->IsModal();
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 {
5974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5975 }
5976 return resultobj;
5977 fail:
5978 return NULL;
5979}
5980
5981
5982static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj;
5984 wxDialog *arg1 = (wxDialog *) 0 ;
5985 int result;
5986 PyObject * obj0 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
5992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5993 if (SWIG_arg_fail(1)) SWIG_fail;
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (int)(arg1)->ShowModal();
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 {
6002 resultobj = SWIG_From_int((int)(result));
6003 }
6004 return resultobj;
6005 fail:
6006 return NULL;
6007}
6008
6009
6010static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxDialog *arg1 = (wxDialog *) 0 ;
6013 int arg2 ;
6014 PyObject * obj0 = 0 ;
6015 PyObject * obj1 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "self",(char *) "retCode", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6022 if (SWIG_arg_fail(1)) SWIG_fail;
6023 {
6024 arg2 = (int)(SWIG_As_int(obj1));
6025 if (SWIG_arg_fail(2)) SWIG_fail;
6026 }
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 (arg1)->EndModal(arg2);
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 Py_INCREF(Py_None); resultobj = Py_None;
6035 return resultobj;
6036 fail:
6037 return NULL;
6038}
6039
6040
6041static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6042 PyObject *resultobj;
6043 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6044 wxVisualAttributes result;
6045 PyObject * obj0 = 0 ;
6046 char *kwnames[] = {
6047 (char *) "variant", NULL
6048 };
6049
6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6051 if (obj0) {
6052 {
6053 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6054 if (SWIG_arg_fail(1)) SWIG_fail;
6055 }
6056 }
6057 {
6058 if (!wxPyCheckForApp()) SWIG_fail;
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 {
6066 wxVisualAttributes * resultptr;
6067 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6069 }
6070 return resultobj;
6071 fail:
6072 return NULL;
6073}
6074
6075
6076static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6077 PyObject *obj;
6078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6079 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6080 Py_INCREF(obj);
6081 return Py_BuildValue((char *)"");
6082}
6083static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxWindow *arg1 = (wxWindow *) 0 ;
6086 int arg2 = (int) (int)-1 ;
6087 wxString const &arg3_defvalue = wxPyEmptyString ;
6088 wxString *arg3 = (wxString *) &arg3_defvalue ;
6089 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6090 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6091 wxSize const &arg5_defvalue = wxDefaultSize ;
6092 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6093 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6094 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6095 wxString *arg7 = (wxString *) &arg7_defvalue ;
6096 wxMiniFrame *result;
6097 bool temp3 = false ;
6098 wxPoint temp4 ;
6099 wxSize temp5 ;
6100 bool temp7 = false ;
6101 PyObject * obj0 = 0 ;
6102 PyObject * obj1 = 0 ;
6103 PyObject * obj2 = 0 ;
6104 PyObject * obj3 = 0 ;
6105 PyObject * obj4 = 0 ;
6106 PyObject * obj5 = 0 ;
6107 PyObject * obj6 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6114 if (SWIG_arg_fail(1)) SWIG_fail;
6115 if (obj1) {
6116 {
6117 arg2 = (int const)(SWIG_As_int(obj1));
6118 if (SWIG_arg_fail(2)) SWIG_fail;
6119 }
6120 }
6121 if (obj2) {
6122 {
6123 arg3 = wxString_in_helper(obj2);
6124 if (arg3 == NULL) SWIG_fail;
6125 temp3 = true;
6126 }
6127 }
6128 if (obj3) {
6129 {
6130 arg4 = &temp4;
6131 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6132 }
6133 }
6134 if (obj4) {
6135 {
6136 arg5 = &temp5;
6137 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6138 }
6139 }
6140 if (obj5) {
6141 {
6142 arg6 = (long)(SWIG_As_long(obj5));
6143 if (SWIG_arg_fail(6)) SWIG_fail;
6144 }
6145 }
6146 if (obj6) {
6147 {
6148 arg7 = wxString_in_helper(obj6);
6149 if (arg7 == NULL) SWIG_fail;
6150 temp7 = true;
6151 }
6152 }
6153 {
6154 if (!wxPyCheckForApp()) SWIG_fail;
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6157
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6162 {
6163 if (temp3)
6164 delete arg3;
6165 }
6166 {
6167 if (temp7)
6168 delete arg7;
6169 }
6170 return resultobj;
6171 fail:
6172 {
6173 if (temp3)
6174 delete arg3;
6175 }
6176 {
6177 if (temp7)
6178 delete arg7;
6179 }
6180 return NULL;
6181}
6182
6183
6184static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6185 PyObject *resultobj;
6186 wxMiniFrame *result;
6187 char *kwnames[] = {
6188 NULL
6189 };
6190
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6192 {
6193 if (!wxPyCheckForApp()) SWIG_fail;
6194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6195 result = (wxMiniFrame *)new wxMiniFrame();
6196
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6201 return resultobj;
6202 fail:
6203 return NULL;
6204}
6205
6206
6207static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj;
6209 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6210 wxWindow *arg2 = (wxWindow *) 0 ;
6211 int arg3 = (int) (int)-1 ;
6212 wxString const &arg4_defvalue = wxPyEmptyString ;
6213 wxString *arg4 = (wxString *) &arg4_defvalue ;
6214 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6215 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6216 wxSize const &arg6_defvalue = wxDefaultSize ;
6217 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6218 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6219 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6220 wxString *arg8 = (wxString *) &arg8_defvalue ;
6221 bool result;
6222 bool temp4 = false ;
6223 wxPoint temp5 ;
6224 wxSize temp6 ;
6225 bool temp8 = false ;
6226 PyObject * obj0 = 0 ;
6227 PyObject * obj1 = 0 ;
6228 PyObject * obj2 = 0 ;
6229 PyObject * obj3 = 0 ;
6230 PyObject * obj4 = 0 ;
6231 PyObject * obj5 = 0 ;
6232 PyObject * obj6 = 0 ;
6233 PyObject * obj7 = 0 ;
6234 char *kwnames[] = {
6235 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6236 };
6237
6238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6240 if (SWIG_arg_fail(1)) SWIG_fail;
6241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6242 if (SWIG_arg_fail(2)) SWIG_fail;
6243 if (obj2) {
6244 {
6245 arg3 = (int const)(SWIG_As_int(obj2));
6246 if (SWIG_arg_fail(3)) SWIG_fail;
6247 }
6248 }
6249 if (obj3) {
6250 {
6251 arg4 = wxString_in_helper(obj3);
6252 if (arg4 == NULL) SWIG_fail;
6253 temp4 = true;
6254 }
6255 }
6256 if (obj4) {
6257 {
6258 arg5 = &temp5;
6259 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6260 }
6261 }
6262 if (obj5) {
6263 {
6264 arg6 = &temp6;
6265 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6266 }
6267 }
6268 if (obj6) {
6269 {
6270 arg7 = (long)(SWIG_As_long(obj6));
6271 if (SWIG_arg_fail(7)) SWIG_fail;
6272 }
6273 }
6274 if (obj7) {
6275 {
6276 arg8 = wxString_in_helper(obj7);
6277 if (arg8 == NULL) SWIG_fail;
6278 temp8 = true;
6279 }
6280 }
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 {
6289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6290 }
6291 {
6292 if (temp4)
6293 delete arg4;
6294 }
6295 {
6296 if (temp8)
6297 delete arg8;
6298 }
6299 return resultobj;
6300 fail:
6301 {
6302 if (temp4)
6303 delete arg4;
6304 }
6305 {
6306 if (temp8)
6307 delete arg8;
6308 }
6309 return NULL;
6310}
6311
6312
6313static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6314 PyObject *obj;
6315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6316 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6317 Py_INCREF(obj);
6318 return Py_BuildValue((char *)"");
6319}
6320static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxBitmap *arg1 = 0 ;
6323 wxWindow *arg2 = (wxWindow *) 0 ;
6324 int arg3 ;
6325 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6326 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6327 wxSize const &arg5_defvalue = wxDefaultSize ;
6328 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6329 long arg6 = (long) wxNO_BORDER ;
6330 wxSplashScreenWindow *result;
6331 wxPoint temp4 ;
6332 wxSize temp5 ;
6333 PyObject * obj0 = 0 ;
6334 PyObject * obj1 = 0 ;
6335 PyObject * obj2 = 0 ;
6336 PyObject * obj3 = 0 ;
6337 PyObject * obj4 = 0 ;
6338 PyObject * obj5 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6344 {
6345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6346 if (SWIG_arg_fail(1)) SWIG_fail;
6347 if (arg1 == NULL) {
6348 SWIG_null_ref("wxBitmap");
6349 }
6350 if (SWIG_arg_fail(1)) SWIG_fail;
6351 }
6352 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6353 if (SWIG_arg_fail(2)) SWIG_fail;
6354 {
6355 arg3 = (int)(SWIG_As_int(obj2));
6356 if (SWIG_arg_fail(3)) SWIG_fail;
6357 }
6358 if (obj3) {
6359 {
6360 arg4 = &temp4;
6361 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6362 }
6363 }
6364 if (obj4) {
6365 {
6366 arg5 = &temp5;
6367 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6368 }
6369 }
6370 if (obj5) {
6371 {
6372 arg6 = (long)(SWIG_As_long(obj5));
6373 if (SWIG_arg_fail(6)) SWIG_fail;
6374 }
6375 }
6376 {
6377 if (!wxPyCheckForApp()) SWIG_fail;
6378 PyThreadState* __tstate = wxPyBeginAllowThreads();
6379 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6380
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6385 return resultobj;
6386 fail:
6387 return NULL;
6388}
6389
6390
6391static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj;
6393 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6394 wxBitmap *arg2 = 0 ;
6395 PyObject * obj0 = 0 ;
6396 PyObject * obj1 = 0 ;
6397 char *kwnames[] = {
6398 (char *) "self",(char *) "bitmap", NULL
6399 };
6400
6401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6403 if (SWIG_arg_fail(1)) SWIG_fail;
6404 {
6405 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6406 if (SWIG_arg_fail(2)) SWIG_fail;
6407 if (arg2 == NULL) {
6408 SWIG_null_ref("wxBitmap");
6409 }
6410 if (SWIG_arg_fail(2)) SWIG_fail;
6411 }
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 Py_INCREF(Py_None); resultobj = Py_None;
6420 return resultobj;
6421 fail:
6422 return NULL;
6423}
6424
6425
6426static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj;
6428 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6429 wxBitmap *result;
6430 PyObject * obj0 = 0 ;
6431 char *kwnames[] = {
6432 (char *) "self", NULL
6433 };
6434
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6437 if (SWIG_arg_fail(1)) SWIG_fail;
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 {
6441 wxBitmap &_result_ref = (arg1)->GetBitmap();
6442 result = (wxBitmap *) &_result_ref;
6443 }
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 {
6449 wxBitmap* resultptr = new wxBitmap(*result);
6450 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6451 }
6452 return resultobj;
6453 fail:
6454 return NULL;
6455}
6456
6457
6458static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6459 PyObject *obj;
6460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6461 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6462 Py_INCREF(obj);
6463 return Py_BuildValue((char *)"");
6464}
6465static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj;
6467 wxBitmap *arg1 = 0 ;
6468 long arg2 ;
6469 int arg3 ;
6470 wxWindow *arg4 = (wxWindow *) 0 ;
6471 int arg5 = (int) -1 ;
6472 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6473 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6474 wxSize const &arg7_defvalue = wxDefaultSize ;
6475 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6476 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6477 wxSplashScreen *result;
6478 wxPoint temp6 ;
6479 wxSize temp7 ;
6480 PyObject * obj0 = 0 ;
6481 PyObject * obj1 = 0 ;
6482 PyObject * obj2 = 0 ;
6483 PyObject * obj3 = 0 ;
6484 PyObject * obj4 = 0 ;
6485 PyObject * obj5 = 0 ;
6486 PyObject * obj6 = 0 ;
6487 PyObject * obj7 = 0 ;
6488 char *kwnames[] = {
6489 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6490 };
6491
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6493 {
6494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6495 if (SWIG_arg_fail(1)) SWIG_fail;
6496 if (arg1 == NULL) {
6497 SWIG_null_ref("wxBitmap");
6498 }
6499 if (SWIG_arg_fail(1)) SWIG_fail;
6500 }
6501 {
6502 arg2 = (long)(SWIG_As_long(obj1));
6503 if (SWIG_arg_fail(2)) SWIG_fail;
6504 }
6505 {
6506 arg3 = (int)(SWIG_As_int(obj2));
6507 if (SWIG_arg_fail(3)) SWIG_fail;
6508 }
6509 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6510 if (SWIG_arg_fail(4)) SWIG_fail;
6511 if (obj4) {
6512 {
6513 arg5 = (int)(SWIG_As_int(obj4));
6514 if (SWIG_arg_fail(5)) SWIG_fail;
6515 }
6516 }
6517 if (obj5) {
6518 {
6519 arg6 = &temp6;
6520 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6521 }
6522 }
6523 if (obj6) {
6524 {
6525 arg7 = &temp7;
6526 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6527 }
6528 }
6529 if (obj7) {
6530 {
6531 arg8 = (long)(SWIG_As_long(obj7));
6532 if (SWIG_arg_fail(8)) SWIG_fail;
6533 }
6534 }
6535 {
6536 if (!wxPyCheckForApp()) SWIG_fail;
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6539
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
6543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6544 return resultobj;
6545 fail:
6546 return NULL;
6547}
6548
6549
6550static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6551 PyObject *resultobj;
6552 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6553 long result;
6554 PyObject * obj0 = 0 ;
6555 char *kwnames[] = {
6556 (char *) "self", NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6561 if (SWIG_arg_fail(1)) SWIG_fail;
6562 {
6563 PyThreadState* __tstate = wxPyBeginAllowThreads();
6564 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6565
6566 wxPyEndAllowThreads(__tstate);
6567 if (PyErr_Occurred()) SWIG_fail;
6568 }
6569 {
6570 resultobj = SWIG_From_long((long)(result));
6571 }
6572 return resultobj;
6573 fail:
6574 return NULL;
6575}
6576
6577
6578static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6579 PyObject *resultobj;
6580 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6581 wxSplashScreenWindow *result;
6582 PyObject * obj0 = 0 ;
6583 char *kwnames[] = {
6584 (char *) "self", NULL
6585 };
6586
6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6589 if (SWIG_arg_fail(1)) SWIG_fail;
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6598 return resultobj;
6599 fail:
6600 return NULL;
6601}
6602
6603
6604static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj;
6606 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6607 int result;
6608 PyObject * obj0 = 0 ;
6609 char *kwnames[] = {
6610 (char *) "self", NULL
6611 };
6612
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6615 if (SWIG_arg_fail(1)) SWIG_fail;
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6619
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 {
6624 resultobj = SWIG_From_int((int)(result));
6625 }
6626 return resultobj;
6627 fail:
6628 return NULL;
6629}
6630
6631
6632static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6633 PyObject *obj;
6634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6635 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6636 Py_INCREF(obj);
6637 return Py_BuildValue((char *)"");
6638}
6639static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6640 PyObject *resultobj;
6641 wxWindow *arg1 = (wxWindow *) 0 ;
6642 int arg2 = (int) -1 ;
6643 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6644 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6645 wxString *arg4 = (wxString *) &arg4_defvalue ;
6646 wxStatusBar *result;
6647 bool temp4 = false ;
6648 PyObject * obj0 = 0 ;
6649 PyObject * obj1 = 0 ;
6650 PyObject * obj2 = 0 ;
6651 PyObject * obj3 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6658 if (SWIG_arg_fail(1)) SWIG_fail;
6659 if (obj1) {
6660 {
6661 arg2 = (int)(SWIG_As_int(obj1));
6662 if (SWIG_arg_fail(2)) SWIG_fail;
6663 }
6664 }
6665 if (obj2) {
6666 {
6667 arg3 = (long)(SWIG_As_long(obj2));
6668 if (SWIG_arg_fail(3)) SWIG_fail;
6669 }
6670 }
6671 if (obj3) {
6672 {
6673 arg4 = wxString_in_helper(obj3);
6674 if (arg4 == NULL) SWIG_fail;
6675 temp4 = true;
6676 }
6677 }
6678 {
6679 if (!wxPyCheckForApp()) SWIG_fail;
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6687 {
6688 if (temp4)
6689 delete arg4;
6690 }
6691 return resultobj;
6692 fail:
6693 {
6694 if (temp4)
6695 delete arg4;
6696 }
6697 return NULL;
6698}
6699
6700
6701static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj;
6703 wxStatusBar *result;
6704 char *kwnames[] = {
6705 NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6709 {
6710 if (!wxPyCheckForApp()) SWIG_fail;
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 result = (wxStatusBar *)new wxStatusBar();
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6718 return resultobj;
6719 fail:
6720 return NULL;
6721}
6722
6723
6724static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj;
6726 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6727 wxWindow *arg2 = (wxWindow *) 0 ;
6728 int arg3 = (int) -1 ;
6729 long arg4 = (long) wxST_SIZEGRIP ;
6730 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6731 wxString *arg5 = (wxString *) &arg5_defvalue ;
6732 bool result;
6733 bool temp5 = false ;
6734 PyObject * obj0 = 0 ;
6735 PyObject * obj1 = 0 ;
6736 PyObject * obj2 = 0 ;
6737 PyObject * obj3 = 0 ;
6738 PyObject * obj4 = 0 ;
6739 char *kwnames[] = {
6740 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6741 };
6742
6743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6745 if (SWIG_arg_fail(1)) SWIG_fail;
6746 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6747 if (SWIG_arg_fail(2)) SWIG_fail;
6748 if (obj2) {
6749 {
6750 arg3 = (int)(SWIG_As_int(obj2));
6751 if (SWIG_arg_fail(3)) SWIG_fail;
6752 }
6753 }
6754 if (obj3) {
6755 {
6756 arg4 = (long)(SWIG_As_long(obj3));
6757 if (SWIG_arg_fail(4)) SWIG_fail;
6758 }
6759 }
6760 if (obj4) {
6761 {
6762 arg5 = wxString_in_helper(obj4);
6763 if (arg5 == NULL) SWIG_fail;
6764 temp5 = true;
6765 }
6766 }
6767 {
6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
6769 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6770
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 {
6775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6776 }
6777 {
6778 if (temp5)
6779 delete arg5;
6780 }
6781 return resultobj;
6782 fail:
6783 {
6784 if (temp5)
6785 delete arg5;
6786 }
6787 return NULL;
6788}
6789
6790
6791static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6792 PyObject *resultobj;
6793 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6794 int arg2 = (int) 1 ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "self",(char *) "number", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
6802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6803 if (SWIG_arg_fail(1)) SWIG_fail;
6804 if (obj1) {
6805 {
6806 arg2 = (int)(SWIG_As_int(obj1));
6807 if (SWIG_arg_fail(2)) SWIG_fail;
6808 }
6809 }
6810 {
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 (arg1)->SetFieldsCount(arg2);
6813
6814 wxPyEndAllowThreads(__tstate);
6815 if (PyErr_Occurred()) SWIG_fail;
6816 }
6817 Py_INCREF(Py_None); resultobj = Py_None;
6818 return resultobj;
6819 fail:
6820 return NULL;
6821}
6822
6823
6824static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6825 PyObject *resultobj;
6826 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6827 int result;
6828 PyObject * obj0 = 0 ;
6829 char *kwnames[] = {
6830 (char *) "self", NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
6834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6835 if (SWIG_arg_fail(1)) SWIG_fail;
6836 {
6837 PyThreadState* __tstate = wxPyBeginAllowThreads();
6838 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6839
6840 wxPyEndAllowThreads(__tstate);
6841 if (PyErr_Occurred()) SWIG_fail;
6842 }
6843 {
6844 resultobj = SWIG_From_int((int)(result));
6845 }
6846 return resultobj;
6847 fail:
6848 return NULL;
6849}
6850
6851
6852static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6855 wxString *arg2 = 0 ;
6856 int arg3 = (int) 0 ;
6857 bool temp2 = false ;
6858 PyObject * obj0 = 0 ;
6859 PyObject * obj1 = 0 ;
6860 PyObject * obj2 = 0 ;
6861 char *kwnames[] = {
6862 (char *) "self",(char *) "text",(char *) "number", NULL
6863 };
6864
6865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6867 if (SWIG_arg_fail(1)) SWIG_fail;
6868 {
6869 arg2 = wxString_in_helper(obj1);
6870 if (arg2 == NULL) SWIG_fail;
6871 temp2 = true;
6872 }
6873 if (obj2) {
6874 {
6875 arg3 = (int)(SWIG_As_int(obj2));
6876 if (SWIG_arg_fail(3)) SWIG_fail;
6877 }
6878 }
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 Py_INCREF(Py_None); resultobj = Py_None;
6887 {
6888 if (temp2)
6889 delete arg2;
6890 }
6891 return resultobj;
6892 fail:
6893 {
6894 if (temp2)
6895 delete arg2;
6896 }
6897 return NULL;
6898}
6899
6900
6901static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6902 PyObject *resultobj;
6903 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6904 int arg2 = (int) 0 ;
6905 wxString result;
6906 PyObject * obj0 = 0 ;
6907 PyObject * obj1 = 0 ;
6908 char *kwnames[] = {
6909 (char *) "self",(char *) "number", NULL
6910 };
6911
6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
6913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6914 if (SWIG_arg_fail(1)) SWIG_fail;
6915 if (obj1) {
6916 {
6917 arg2 = (int)(SWIG_As_int(obj1));
6918 if (SWIG_arg_fail(2)) SWIG_fail;
6919 }
6920 }
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 {
6929#if wxUSE_UNICODE
6930 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6931#else
6932 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6933#endif
6934 }
6935 return resultobj;
6936 fail:
6937 return NULL;
6938}
6939
6940
6941static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6942 PyObject *resultobj;
6943 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6944 wxString *arg2 = 0 ;
6945 int arg3 = (int) 0 ;
6946 bool temp2 = false ;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 PyObject * obj2 = 0 ;
6950 char *kwnames[] = {
6951 (char *) "self",(char *) "text",(char *) "number", NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6956 if (SWIG_arg_fail(1)) SWIG_fail;
6957 {
6958 arg2 = wxString_in_helper(obj1);
6959 if (arg2 == NULL) SWIG_fail;
6960 temp2 = true;
6961 }
6962 if (obj2) {
6963 {
6964 arg3 = (int)(SWIG_As_int(obj2));
6965 if (SWIG_arg_fail(3)) SWIG_fail;
6966 }
6967 }
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 Py_INCREF(Py_None); resultobj = Py_None;
6976 {
6977 if (temp2)
6978 delete arg2;
6979 }
6980 return resultobj;
6981 fail:
6982 {
6983 if (temp2)
6984 delete arg2;
6985 }
6986 return NULL;
6987}
6988
6989
6990static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6991 PyObject *resultobj;
6992 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6993 int arg2 = (int) 0 ;
6994 PyObject * obj0 = 0 ;
6995 PyObject * obj1 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "self",(char *) "number", NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7002 if (SWIG_arg_fail(1)) SWIG_fail;
7003 if (obj1) {
7004 {
7005 arg2 = (int)(SWIG_As_int(obj1));
7006 if (SWIG_arg_fail(2)) SWIG_fail;
7007 }
7008 }
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->PopStatusText(arg2);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 return resultobj;
7018 fail:
7019 return NULL;
7020}
7021
7022
7023static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7026 int arg2 ;
7027 int *arg3 = (int *) 0 ;
7028 PyObject * obj0 = 0 ;
7029 PyObject * obj1 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self",(char *) "widths", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7036 if (SWIG_arg_fail(1)) SWIG_fail;
7037 {
7038 arg2 = PyList_Size(obj1);
7039 arg3 = int_LIST_helper(obj1);
7040 if (arg3 == NULL) SWIG_fail;
7041 }
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 Py_INCREF(Py_None); resultobj = Py_None;
7050 {
7051 if (arg3) delete [] arg3;
7052 }
7053 return resultobj;
7054 fail:
7055 {
7056 if (arg3) delete [] arg3;
7057 }
7058 return NULL;
7059}
7060
7061
7062static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj;
7064 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7065 int arg2 ;
7066 int *arg3 = (int *) 0 ;
7067 PyObject * obj0 = 0 ;
7068 PyObject * obj1 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "self",(char *) "styles", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7075 if (SWIG_arg_fail(1)) SWIG_fail;
7076 {
7077 arg2 = PyList_Size(obj1);
7078 arg3 = int_LIST_helper(obj1);
7079 if (arg3 == NULL) SWIG_fail;
7080 }
7081 {
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7084
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 Py_INCREF(Py_None); resultobj = Py_None;
7089 {
7090 if (arg3) delete [] arg3;
7091 }
7092 return resultobj;
7093 fail:
7094 {
7095 if (arg3) delete [] arg3;
7096 }
7097 return NULL;
7098}
7099
7100
7101static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7102 PyObject *resultobj;
7103 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7104 int arg2 ;
7105 wxRect result;
7106 PyObject * obj0 = 0 ;
7107 PyObject * obj1 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "self",(char *) "i", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7114 if (SWIG_arg_fail(1)) SWIG_fail;
7115 {
7116 arg2 = (int)(SWIG_As_int(obj1));
7117 if (SWIG_arg_fail(2)) SWIG_fail;
7118 }
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 result = wxStatusBar_GetFieldRect(arg1,arg2);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 {
7127 wxRect * resultptr;
7128 resultptr = new wxRect((wxRect &)(result));
7129 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7130 }
7131 return resultobj;
7132 fail:
7133 return NULL;
7134}
7135
7136
7137static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj;
7139 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7140 int arg2 ;
7141 PyObject * obj0 = 0 ;
7142 PyObject * obj1 = 0 ;
7143 char *kwnames[] = {
7144 (char *) "self",(char *) "height", NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7149 if (SWIG_arg_fail(1)) SWIG_fail;
7150 {
7151 arg2 = (int)(SWIG_As_int(obj1));
7152 if (SWIG_arg_fail(2)) SWIG_fail;
7153 }
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 (arg1)->SetMinHeight(arg2);
7157
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 Py_INCREF(Py_None); resultobj = Py_None;
7162 return resultobj;
7163 fail:
7164 return NULL;
7165}
7166
7167
7168static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7169 PyObject *resultobj;
7170 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7171 int result;
7172 PyObject * obj0 = 0 ;
7173 char *kwnames[] = {
7174 (char *) "self", NULL
7175 };
7176
7177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7179 if (SWIG_arg_fail(1)) SWIG_fail;
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7183
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 {
7188 resultobj = SWIG_From_int((int)(result));
7189 }
7190 return resultobj;
7191 fail:
7192 return NULL;
7193}
7194
7195
7196static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7197 PyObject *resultobj;
7198 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7199 int result;
7200 PyObject * obj0 = 0 ;
7201 char *kwnames[] = {
7202 (char *) "self", NULL
7203 };
7204
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7207 if (SWIG_arg_fail(1)) SWIG_fail;
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 {
7216 resultobj = SWIG_From_int((int)(result));
7217 }
7218 return resultobj;
7219 fail:
7220 return NULL;
7221}
7222
7223
7224static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7225 PyObject *resultobj;
7226 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7227 wxVisualAttributes result;
7228 PyObject * obj0 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "variant", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7234 if (obj0) {
7235 {
7236 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7237 if (SWIG_arg_fail(1)) SWIG_fail;
7238 }
7239 }
7240 {
7241 if (!wxPyCheckForApp()) SWIG_fail;
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 {
7249 wxVisualAttributes * resultptr;
7250 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7251 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7252 }
7253 return resultobj;
7254 fail:
7255 return NULL;
7256}
7257
7258
7259static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7260 PyObject *obj;
7261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7262 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7263 Py_INCREF(obj);
7264 return Py_BuildValue((char *)"");
7265}
7266static int _wrap_SplitterNameStr_set(PyObject *) {
7267 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7268 return 1;
7269}
7270
7271
7272static PyObject *_wrap_SplitterNameStr_get(void) {
7273 PyObject *pyobj;
7274
7275 {
7276#if wxUSE_UNICODE
7277 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7278#else
7279 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7280#endif
7281 }
7282 return pyobj;
7283}
7284
7285
7286static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj;
7288 wxWindow *arg1 = (wxWindow *) 0 ;
7289 int arg2 = (int) -1 ;
7290 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7291 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7292 wxSize const &arg4_defvalue = wxDefaultSize ;
7293 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7294 long arg5 = (long) wxSP_3D ;
7295 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7296 wxString *arg6 = (wxString *) &arg6_defvalue ;
7297 wxSplitterWindow *result;
7298 wxPoint temp3 ;
7299 wxSize temp4 ;
7300 bool temp6 = false ;
7301 PyObject * obj0 = 0 ;
7302 PyObject * obj1 = 0 ;
7303 PyObject * obj2 = 0 ;
7304 PyObject * obj3 = 0 ;
7305 PyObject * obj4 = 0 ;
7306 PyObject * obj5 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7313 if (SWIG_arg_fail(1)) SWIG_fail;
7314 if (obj1) {
7315 {
7316 arg2 = (int)(SWIG_As_int(obj1));
7317 if (SWIG_arg_fail(2)) SWIG_fail;
7318 }
7319 }
7320 if (obj2) {
7321 {
7322 arg3 = &temp3;
7323 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7324 }
7325 }
7326 if (obj3) {
7327 {
7328 arg4 = &temp4;
7329 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7330 }
7331 }
7332 if (obj4) {
7333 {
7334 arg5 = (long)(SWIG_As_long(obj4));
7335 if (SWIG_arg_fail(5)) SWIG_fail;
7336 }
7337 }
7338 if (obj5) {
7339 {
7340 arg6 = wxString_in_helper(obj5);
7341 if (arg6 == NULL) SWIG_fail;
7342 temp6 = true;
7343 }
7344 }
7345 {
7346 if (!wxPyCheckForApp()) SWIG_fail;
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7354 {
7355 if (temp6)
7356 delete arg6;
7357 }
7358 return resultobj;
7359 fail:
7360 {
7361 if (temp6)
7362 delete arg6;
7363 }
7364 return NULL;
7365}
7366
7367
7368static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7369 PyObject *resultobj;
7370 wxSplitterWindow *result;
7371 char *kwnames[] = {
7372 NULL
7373 };
7374
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7376 {
7377 if (!wxPyCheckForApp()) SWIG_fail;
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = (wxSplitterWindow *)new wxSplitterWindow();
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7385 return resultobj;
7386 fail:
7387 return NULL;
7388}
7389
7390
7391static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7394 wxWindow *arg2 = (wxWindow *) 0 ;
7395 int arg3 = (int) -1 ;
7396 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7397 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7398 wxSize const &arg5_defvalue = wxDefaultSize ;
7399 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7400 long arg6 = (long) wxSP_3D ;
7401 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7402 wxString *arg7 = (wxString *) &arg7_defvalue ;
7403 bool result;
7404 wxPoint temp4 ;
7405 wxSize temp5 ;
7406 bool temp7 = false ;
7407 PyObject * obj0 = 0 ;
7408 PyObject * obj1 = 0 ;
7409 PyObject * obj2 = 0 ;
7410 PyObject * obj3 = 0 ;
7411 PyObject * obj4 = 0 ;
7412 PyObject * obj5 = 0 ;
7413 PyObject * obj6 = 0 ;
7414 char *kwnames[] = {
7415 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7416 };
7417
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7420 if (SWIG_arg_fail(1)) SWIG_fail;
7421 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7422 if (SWIG_arg_fail(2)) SWIG_fail;
7423 if (obj2) {
7424 {
7425 arg3 = (int)(SWIG_As_int(obj2));
7426 if (SWIG_arg_fail(3)) SWIG_fail;
7427 }
7428 }
7429 if (obj3) {
7430 {
7431 arg4 = &temp4;
7432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7433 }
7434 }
7435 if (obj4) {
7436 {
7437 arg5 = &temp5;
7438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7439 }
7440 }
7441 if (obj5) {
7442 {
7443 arg6 = (long)(SWIG_As_long(obj5));
7444 if (SWIG_arg_fail(6)) SWIG_fail;
7445 }
7446 }
7447 if (obj6) {
7448 {
7449 arg7 = wxString_in_helper(obj6);
7450 if (arg7 == NULL) SWIG_fail;
7451 temp7 = true;
7452 }
7453 }
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 {
7462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7463 }
7464 {
7465 if (temp7)
7466 delete arg7;
7467 }
7468 return resultobj;
7469 fail:
7470 {
7471 if (temp7)
7472 delete arg7;
7473 }
7474 return NULL;
7475}
7476
7477
7478static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7479 PyObject *resultobj;
7480 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7481 wxWindow *result;
7482 PyObject * obj0 = 0 ;
7483 char *kwnames[] = {
7484 (char *) "self", NULL
7485 };
7486
7487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7489 if (SWIG_arg_fail(1)) SWIG_fail;
7490 {
7491 PyThreadState* __tstate = wxPyBeginAllowThreads();
7492 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7493
7494 wxPyEndAllowThreads(__tstate);
7495 if (PyErr_Occurred()) SWIG_fail;
7496 }
7497 {
7498 resultobj = wxPyMake_wxObject(result, 0);
7499 }
7500 return resultobj;
7501 fail:
7502 return NULL;
7503}
7504
7505
7506static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7507 PyObject *resultobj;
7508 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7509 wxWindow *result;
7510 PyObject * obj0 = 0 ;
7511 char *kwnames[] = {
7512 (char *) "self", NULL
7513 };
7514
7515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7517 if (SWIG_arg_fail(1)) SWIG_fail;
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 {
7526 resultobj = wxPyMake_wxObject(result, 0);
7527 }
7528 return resultobj;
7529 fail:
7530 return NULL;
7531}
7532
7533
7534static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7535 PyObject *resultobj;
7536 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7537 int arg2 ;
7538 PyObject * obj0 = 0 ;
7539 PyObject * obj1 = 0 ;
7540 char *kwnames[] = {
7541 (char *) "self",(char *) "mode", NULL
7542 };
7543
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7546 if (SWIG_arg_fail(1)) SWIG_fail;
7547 {
7548 arg2 = (int)(SWIG_As_int(obj1));
7549 if (SWIG_arg_fail(2)) SWIG_fail;
7550 }
7551 {
7552 PyThreadState* __tstate = wxPyBeginAllowThreads();
7553 (arg1)->SetSplitMode(arg2);
7554
7555 wxPyEndAllowThreads(__tstate);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 }
7558 Py_INCREF(Py_None); resultobj = Py_None;
7559 return resultobj;
7560 fail:
7561 return NULL;
7562}
7563
7564
7565static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7566 PyObject *resultobj;
7567 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7568 wxSplitMode result;
7569 PyObject * obj0 = 0 ;
7570 char *kwnames[] = {
7571 (char *) "self", NULL
7572 };
7573
7574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7576 if (SWIG_arg_fail(1)) SWIG_fail;
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 resultobj = SWIG_From_int((result));
7585 return resultobj;
7586 fail:
7587 return NULL;
7588}
7589
7590
7591static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7592 PyObject *resultobj;
7593 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7594 wxWindow *arg2 = (wxWindow *) 0 ;
7595 PyObject * obj0 = 0 ;
7596 PyObject * obj1 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "self",(char *) "window", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7603 if (SWIG_arg_fail(1)) SWIG_fail;
7604 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7605 if (SWIG_arg_fail(2)) SWIG_fail;
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 (arg1)->Initialize(arg2);
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 Py_INCREF(Py_None); resultobj = Py_None;
7614 return resultobj;
7615 fail:
7616 return NULL;
7617}
7618
7619
7620static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7621 PyObject *resultobj;
7622 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7623 wxWindow *arg2 = (wxWindow *) 0 ;
7624 wxWindow *arg3 = (wxWindow *) 0 ;
7625 int arg4 = (int) 0 ;
7626 bool result;
7627 PyObject * obj0 = 0 ;
7628 PyObject * obj1 = 0 ;
7629 PyObject * obj2 = 0 ;
7630 PyObject * obj3 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail;
7638 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7639 if (SWIG_arg_fail(2)) SWIG_fail;
7640 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7641 if (SWIG_arg_fail(3)) SWIG_fail;
7642 if (obj3) {
7643 {
7644 arg4 = (int)(SWIG_As_int(obj3));
7645 if (SWIG_arg_fail(4)) SWIG_fail;
7646 }
7647 }
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) SWIG_fail;
7654 }
7655 {
7656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7657 }
7658 return resultobj;
7659 fail:
7660 return NULL;
7661}
7662
7663
7664static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj;
7666 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7667 wxWindow *arg2 = (wxWindow *) 0 ;
7668 wxWindow *arg3 = (wxWindow *) 0 ;
7669 int arg4 = (int) 0 ;
7670 bool result;
7671 PyObject * obj0 = 0 ;
7672 PyObject * obj1 = 0 ;
7673 PyObject * obj2 = 0 ;
7674 PyObject * obj3 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7681 if (SWIG_arg_fail(1)) SWIG_fail;
7682 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7683 if (SWIG_arg_fail(2)) SWIG_fail;
7684 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7685 if (SWIG_arg_fail(3)) SWIG_fail;
7686 if (obj3) {
7687 {
7688 arg4 = (int)(SWIG_As_int(obj3));
7689 if (SWIG_arg_fail(4)) SWIG_fail;
7690 }
7691 }
7692 {
7693 PyThreadState* __tstate = wxPyBeginAllowThreads();
7694 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7695
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 {
7700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7701 }
7702 return resultobj;
7703 fail:
7704 return NULL;
7705}
7706
7707
7708static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj;
7710 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7711 wxWindow *arg2 = (wxWindow *) NULL ;
7712 bool result;
7713 PyObject * obj0 = 0 ;
7714 PyObject * obj1 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self",(char *) "toRemove", NULL
7717 };
7718
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7721 if (SWIG_arg_fail(1)) SWIG_fail;
7722 if (obj1) {
7723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7724 if (SWIG_arg_fail(2)) SWIG_fail;
7725 }
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 result = (bool)(arg1)->Unsplit(arg2);
7729
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 {
7734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7735 }
7736 return resultobj;
7737 fail:
7738 return NULL;
7739}
7740
7741
7742static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj;
7744 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7745 wxWindow *arg2 = (wxWindow *) 0 ;
7746 wxWindow *arg3 = (wxWindow *) 0 ;
7747 bool result;
7748 PyObject * obj0 = 0 ;
7749 PyObject * obj1 = 0 ;
7750 PyObject * obj2 = 0 ;
7751 char *kwnames[] = {
7752 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7757 if (SWIG_arg_fail(1)) SWIG_fail;
7758 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7759 if (SWIG_arg_fail(2)) SWIG_fail;
7760 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7761 if (SWIG_arg_fail(3)) SWIG_fail;
7762 {
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7765
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 {
7770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7771 }
7772 return resultobj;
7773 fail:
7774 return NULL;
7775}
7776
7777
7778static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7779 PyObject *resultobj;
7780 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7781 PyObject * obj0 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "self", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
7787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7788 if (SWIG_arg_fail(1)) SWIG_fail;
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 (arg1)->UpdateSize();
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 Py_INCREF(Py_None); resultobj = Py_None;
7797 return resultobj;
7798 fail:
7799 return NULL;
7800}
7801
7802
7803static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7806 bool result;
7807 PyObject * obj0 = 0 ;
7808 char *kwnames[] = {
7809 (char *) "self", NULL
7810 };
7811
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
7813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail;
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7818
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 {
7823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7824 }
7825 return resultobj;
7826 fail:
7827 return NULL;
7828}
7829
7830
7831static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7832 PyObject *resultobj;
7833 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7834 int arg2 ;
7835 PyObject * obj0 = 0 ;
7836 PyObject * obj1 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self",(char *) "width", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
7842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7843 if (SWIG_arg_fail(1)) SWIG_fail;
7844 {
7845 arg2 = (int)(SWIG_As_int(obj1));
7846 if (SWIG_arg_fail(2)) SWIG_fail;
7847 }
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 (arg1)->SetSashSize(arg2);
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 Py_INCREF(Py_None); resultobj = Py_None;
7856 return resultobj;
7857 fail:
7858 return NULL;
7859}
7860
7861
7862static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj;
7864 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7865 int arg2 ;
7866 PyObject * obj0 = 0 ;
7867 PyObject * obj1 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self",(char *) "width", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
7873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7874 if (SWIG_arg_fail(1)) SWIG_fail;
7875 {
7876 arg2 = (int)(SWIG_As_int(obj1));
7877 if (SWIG_arg_fail(2)) SWIG_fail;
7878 }
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 (arg1)->SetBorderSize(arg2);
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 Py_INCREF(Py_None); resultobj = Py_None;
7887 return resultobj;
7888 fail:
7889 return NULL;
7890}
7891
7892
7893static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj;
7895 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7896 int result;
7897 PyObject * obj0 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
7903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail;
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 {
7913 resultobj = SWIG_From_int((int)(result));
7914 }
7915 return resultobj;
7916 fail:
7917 return NULL;
7918}
7919
7920
7921static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7922 PyObject *resultobj;
7923 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7924 int result;
7925 PyObject * obj0 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
7931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7932 if (SWIG_arg_fail(1)) SWIG_fail;
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7936
7937 wxPyEndAllowThreads(__tstate);
7938 if (PyErr_Occurred()) SWIG_fail;
7939 }
7940 {
7941 resultobj = SWIG_From_int((int)(result));
7942 }
7943 return resultobj;
7944 fail:
7945 return NULL;
7946}
7947
7948
7949static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7952 int arg2 ;
7953 bool arg3 = (bool) true ;
7954 PyObject * obj0 = 0 ;
7955 PyObject * obj1 = 0 ;
7956 PyObject * obj2 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self",(char *) "position",(char *) "redraw", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7963 if (SWIG_arg_fail(1)) SWIG_fail;
7964 {
7965 arg2 = (int)(SWIG_As_int(obj1));
7966 if (SWIG_arg_fail(2)) SWIG_fail;
7967 }
7968 if (obj2) {
7969 {
7970 arg3 = (bool)(SWIG_As_bool(obj2));
7971 if (SWIG_arg_fail(3)) SWIG_fail;
7972 }
7973 }
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 (arg1)->SetSashPosition(arg2,arg3);
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 Py_INCREF(Py_None); resultobj = Py_None;
7982 return resultobj;
7983 fail:
7984 return NULL;
7985}
7986
7987
7988static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj;
7990 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7991 int result;
7992 PyObject * obj0 = 0 ;
7993 char *kwnames[] = {
7994 (char *) "self", NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
7998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7999 if (SWIG_arg_fail(1)) SWIG_fail;
8000 {
8001 PyThreadState* __tstate = wxPyBeginAllowThreads();
8002 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8003
8004 wxPyEndAllowThreads(__tstate);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 }
8007 {
8008 resultobj = SWIG_From_int((int)(result));
8009 }
8010 return resultobj;
8011 fail:
8012 return NULL;
8013}
8014
8015
8016static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8017 PyObject *resultobj;
8018 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8019 double arg2 ;
8020 PyObject * obj0 = 0 ;
8021 PyObject * obj1 = 0 ;
8022 char *kwnames[] = {
8023 (char *) "self",(char *) "gravity", NULL
8024 };
8025
8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail;
8029 {
8030 arg2 = (double)(SWIG_As_double(obj1));
8031 if (SWIG_arg_fail(2)) SWIG_fail;
8032 }
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 (arg1)->SetSashGravity(arg2);
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 Py_INCREF(Py_None); resultobj = Py_None;
8041 return resultobj;
8042 fail:
8043 return NULL;
8044}
8045
8046
8047static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8048 PyObject *resultobj;
8049 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8050 double result;
8051 PyObject * obj0 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8058 if (SWIG_arg_fail(1)) SWIG_fail;
8059 {
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8062
8063 wxPyEndAllowThreads(__tstate);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 }
8066 {
8067 resultobj = SWIG_From_double((double)(result));
8068 }
8069 return resultobj;
8070 fail:
8071 return NULL;
8072}
8073
8074
8075static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8076 PyObject *resultobj;
8077 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8078 int arg2 ;
8079 PyObject * obj0 = 0 ;
8080 PyObject * obj1 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self",(char *) "min", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail;
8088 {
8089 arg2 = (int)(SWIG_As_int(obj1));
8090 if (SWIG_arg_fail(2)) SWIG_fail;
8091 }
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 (arg1)->SetMinimumPaneSize(arg2);
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 Py_INCREF(Py_None); resultobj = Py_None;
8100 return resultobj;
8101 fail:
8102 return NULL;
8103}
8104
8105
8106static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj;
8108 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8109 int result;
8110 PyObject * obj0 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8117 if (SWIG_arg_fail(1)) SWIG_fail;
8118 {
8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8120 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8121
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 {
8126 resultobj = SWIG_From_int((int)(result));
8127 }
8128 return resultobj;
8129 fail:
8130 return NULL;
8131}
8132
8133
8134static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8135 PyObject *resultobj;
8136 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8137 int arg2 ;
8138 int arg3 ;
8139 int arg4 = (int) 5 ;
8140 bool result;
8141 PyObject * obj0 = 0 ;
8142 PyObject * obj1 = 0 ;
8143 PyObject * obj2 = 0 ;
8144 PyObject * obj3 = 0 ;
8145 char *kwnames[] = {
8146 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8147 };
8148
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8151 if (SWIG_arg_fail(1)) SWIG_fail;
8152 {
8153 arg2 = (int)(SWIG_As_int(obj1));
8154 if (SWIG_arg_fail(2)) SWIG_fail;
8155 }
8156 {
8157 arg3 = (int)(SWIG_As_int(obj2));
8158 if (SWIG_arg_fail(3)) SWIG_fail;
8159 }
8160 if (obj3) {
8161 {
8162 arg4 = (int)(SWIG_As_int(obj3));
8163 if (SWIG_arg_fail(4)) SWIG_fail;
8164 }
8165 }
8166 {
8167 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8169
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 {
8174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8175 }
8176 return resultobj;
8177 fail:
8178 return NULL;
8179}
8180
8181
8182static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8183 PyObject *resultobj;
8184 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8185 PyObject * obj0 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "self", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8192 if (SWIG_arg_fail(1)) SWIG_fail;
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 (arg1)->SizeWindows();
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 Py_INCREF(Py_None); resultobj = Py_None;
8201 return resultobj;
8202 fail:
8203 return NULL;
8204}
8205
8206
8207static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8208 PyObject *resultobj;
8209 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8210 bool arg2 ;
8211 PyObject * obj0 = 0 ;
8212 PyObject * obj1 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "self",(char *) "needUpdating", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8219 if (SWIG_arg_fail(1)) SWIG_fail;
8220 {
8221 arg2 = (bool)(SWIG_As_bool(obj1));
8222 if (SWIG_arg_fail(2)) SWIG_fail;
8223 }
8224 {
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 (arg1)->SetNeedUpdating(arg2);
8227
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 Py_INCREF(Py_None); resultobj = Py_None;
8232 return resultobj;
8233 fail:
8234 return NULL;
8235}
8236
8237
8238static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8239 PyObject *resultobj;
8240 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8241 bool result;
8242 PyObject * obj0 = 0 ;
8243 char *kwnames[] = {
8244 (char *) "self", NULL
8245 };
8246
8247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8249 if (SWIG_arg_fail(1)) SWIG_fail;
8250 {
8251 PyThreadState* __tstate = wxPyBeginAllowThreads();
8252 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8253
8254 wxPyEndAllowThreads(__tstate);
8255 if (PyErr_Occurred()) SWIG_fail;
8256 }
8257 {
8258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8259 }
8260 return resultobj;
8261 fail:
8262 return NULL;
8263}
8264
8265
8266static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8269 wxVisualAttributes result;
8270 PyObject * obj0 = 0 ;
8271 char *kwnames[] = {
8272 (char *) "variant", NULL
8273 };
8274
8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8276 if (obj0) {
8277 {
8278 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8279 if (SWIG_arg_fail(1)) SWIG_fail;
8280 }
8281 }
8282 {
8283 if (!wxPyCheckForApp()) SWIG_fail;
8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
8285 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8286
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
8290 {
8291 wxVisualAttributes * resultptr;
8292 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8294 }
8295 return resultobj;
8296 fail:
8297 return NULL;
8298}
8299
8300
8301static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8302 PyObject *obj;
8303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8304 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8305 Py_INCREF(obj);
8306 return Py_BuildValue((char *)"");
8307}
8308static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8309 PyObject *resultobj;
8310 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8311 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8312 wxSplitterEvent *result;
8313 PyObject * obj0 = 0 ;
8314 PyObject * obj1 = 0 ;
8315 char *kwnames[] = {
8316 (char *) "type",(char *) "splitter", NULL
8317 };
8318
8319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8320 if (obj0) {
8321 {
8322 arg1 = (wxEventType)(SWIG_As_int(obj0));
8323 if (SWIG_arg_fail(1)) SWIG_fail;
8324 }
8325 }
8326 if (obj1) {
8327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8328 if (SWIG_arg_fail(2)) SWIG_fail;
8329 }
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8338 return resultobj;
8339 fail:
8340 return NULL;
8341}
8342
8343
8344static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj;
8346 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8347 int arg2 ;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350 char *kwnames[] = {
8351 (char *) "self",(char *) "pos", NULL
8352 };
8353
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8356 if (SWIG_arg_fail(1)) SWIG_fail;
8357 {
8358 arg2 = (int)(SWIG_As_int(obj1));
8359 if (SWIG_arg_fail(2)) SWIG_fail;
8360 }
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 (arg1)->SetSashPosition(arg2);
8364
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 Py_INCREF(Py_None); resultobj = Py_None;
8369 return resultobj;
8370 fail:
8371 return NULL;
8372}
8373
8374
8375static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8376 PyObject *resultobj;
8377 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8378 int result;
8379 PyObject * obj0 = 0 ;
8380 char *kwnames[] = {
8381 (char *) "self", NULL
8382 };
8383
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8386 if (SWIG_arg_fail(1)) SWIG_fail;
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 {
8395 resultobj = SWIG_From_int((int)(result));
8396 }
8397 return resultobj;
8398 fail:
8399 return NULL;
8400}
8401
8402
8403static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj;
8405 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8406 wxWindow *result;
8407 PyObject * obj0 = 0 ;
8408 char *kwnames[] = {
8409 (char *) "self", NULL
8410 };
8411
8412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8414 if (SWIG_arg_fail(1)) SWIG_fail;
8415 {
8416 PyThreadState* __tstate = wxPyBeginAllowThreads();
8417 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8418
8419 wxPyEndAllowThreads(__tstate);
8420 if (PyErr_Occurred()) SWIG_fail;
8421 }
8422 {
8423 resultobj = wxPyMake_wxObject(result, 0);
8424 }
8425 return resultobj;
8426 fail:
8427 return NULL;
8428}
8429
8430
8431static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8432 PyObject *resultobj;
8433 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8434 int result;
8435 PyObject * obj0 = 0 ;
8436 char *kwnames[] = {
8437 (char *) "self", NULL
8438 };
8439
8440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8442 if (SWIG_arg_fail(1)) SWIG_fail;
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 {
8451 resultobj = SWIG_From_int((int)(result));
8452 }
8453 return resultobj;
8454 fail:
8455 return NULL;
8456}
8457
8458
8459static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8460 PyObject *resultobj;
8461 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8462 int result;
8463 PyObject * obj0 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8470 if (SWIG_arg_fail(1)) SWIG_fail;
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 {
8479 resultobj = SWIG_From_int((int)(result));
8480 }
8481 return resultobj;
8482 fail:
8483 return NULL;
8484}
8485
8486
8487static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8488 PyObject *obj;
8489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8490 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8491 Py_INCREF(obj);
8492 return Py_BuildValue((char *)"");
8493}
8494static int _wrap_SashNameStr_set(PyObject *) {
8495 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8496 return 1;
8497}
8498
8499
8500static PyObject *_wrap_SashNameStr_get(void) {
8501 PyObject *pyobj;
8502
8503 {
8504#if wxUSE_UNICODE
8505 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8506#else
8507 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8508#endif
8509 }
8510 return pyobj;
8511}
8512
8513
8514static int _wrap_SashLayoutNameStr_set(PyObject *) {
8515 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8516 return 1;
8517}
8518
8519
8520static PyObject *_wrap_SashLayoutNameStr_get(void) {
8521 PyObject *pyobj;
8522
8523 {
8524#if wxUSE_UNICODE
8525 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8526#else
8527 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8528#endif
8529 }
8530 return pyobj;
8531}
8532
8533
8534static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxWindow *arg1 = (wxWindow *) 0 ;
8537 int arg2 = (int) -1 ;
8538 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8539 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8540 wxSize const &arg4_defvalue = wxDefaultSize ;
8541 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8542 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8543 wxString const &arg6_defvalue = wxPySashNameStr ;
8544 wxString *arg6 = (wxString *) &arg6_defvalue ;
8545 wxSashWindow *result;
8546 wxPoint temp3 ;
8547 wxSize temp4 ;
8548 bool temp6 = false ;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 PyObject * obj2 = 0 ;
8552 PyObject * obj3 = 0 ;
8553 PyObject * obj4 = 0 ;
8554 PyObject * obj5 = 0 ;
8555 char *kwnames[] = {
8556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8557 };
8558
8559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8561 if (SWIG_arg_fail(1)) SWIG_fail;
8562 if (obj1) {
8563 {
8564 arg2 = (int)(SWIG_As_int(obj1));
8565 if (SWIG_arg_fail(2)) SWIG_fail;
8566 }
8567 }
8568 if (obj2) {
8569 {
8570 arg3 = &temp3;
8571 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8572 }
8573 }
8574 if (obj3) {
8575 {
8576 arg4 = &temp4;
8577 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8578 }
8579 }
8580 if (obj4) {
8581 {
8582 arg5 = (long)(SWIG_As_long(obj4));
8583 if (SWIG_arg_fail(5)) SWIG_fail;
8584 }
8585 }
8586 if (obj5) {
8587 {
8588 arg6 = wxString_in_helper(obj5);
8589 if (arg6 == NULL) SWIG_fail;
8590 temp6 = true;
8591 }
8592 }
8593 {
8594 if (!wxPyCheckForApp()) SWIG_fail;
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8602 {
8603 if (temp6)
8604 delete arg6;
8605 }
8606 return resultobj;
8607 fail:
8608 {
8609 if (temp6)
8610 delete arg6;
8611 }
8612 return NULL;
8613}
8614
8615
8616static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8617 PyObject *resultobj;
8618 wxSashWindow *result;
8619 char *kwnames[] = {
8620 NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8624 {
8625 if (!wxPyCheckForApp()) SWIG_fail;
8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
8627 result = (wxSashWindow *)new wxSashWindow();
8628
8629 wxPyEndAllowThreads(__tstate);
8630 if (PyErr_Occurred()) SWIG_fail;
8631 }
8632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8633 return resultobj;
8634 fail:
8635 return NULL;
8636}
8637
8638
8639static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj;
8641 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8642 wxWindow *arg2 = (wxWindow *) 0 ;
8643 int arg3 = (int) -1 ;
8644 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8645 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8646 wxSize const &arg5_defvalue = wxDefaultSize ;
8647 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8648 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8649 wxString const &arg7_defvalue = wxPySashNameStr ;
8650 wxString *arg7 = (wxString *) &arg7_defvalue ;
8651 bool result;
8652 wxPoint temp4 ;
8653 wxSize temp5 ;
8654 bool temp7 = false ;
8655 PyObject * obj0 = 0 ;
8656 PyObject * obj1 = 0 ;
8657 PyObject * obj2 = 0 ;
8658 PyObject * obj3 = 0 ;
8659 PyObject * obj4 = 0 ;
8660 PyObject * obj5 = 0 ;
8661 PyObject * obj6 = 0 ;
8662 char *kwnames[] = {
8663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8664 };
8665
8666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8668 if (SWIG_arg_fail(1)) SWIG_fail;
8669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8670 if (SWIG_arg_fail(2)) SWIG_fail;
8671 if (obj2) {
8672 {
8673 arg3 = (int)(SWIG_As_int(obj2));
8674 if (SWIG_arg_fail(3)) SWIG_fail;
8675 }
8676 }
8677 if (obj3) {
8678 {
8679 arg4 = &temp4;
8680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8681 }
8682 }
8683 if (obj4) {
8684 {
8685 arg5 = &temp5;
8686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8687 }
8688 }
8689 if (obj5) {
8690 {
8691 arg6 = (long)(SWIG_As_long(obj5));
8692 if (SWIG_arg_fail(6)) SWIG_fail;
8693 }
8694 }
8695 if (obj6) {
8696 {
8697 arg7 = wxString_in_helper(obj6);
8698 if (arg7 == NULL) SWIG_fail;
8699 temp7 = true;
8700 }
8701 }
8702 {
8703 PyThreadState* __tstate = wxPyBeginAllowThreads();
8704 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8705
8706 wxPyEndAllowThreads(__tstate);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 {
8710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8711 }
8712 {
8713 if (temp7)
8714 delete arg7;
8715 }
8716 return resultobj;
8717 fail:
8718 {
8719 if (temp7)
8720 delete arg7;
8721 }
8722 return NULL;
8723}
8724
8725
8726static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8729 wxSashEdgePosition arg2 ;
8730 bool arg3 ;
8731 PyObject * obj0 = 0 ;
8732 PyObject * obj1 = 0 ;
8733 PyObject * obj2 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self",(char *) "edge",(char *) "sash", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8740 if (SWIG_arg_fail(1)) SWIG_fail;
8741 {
8742 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8743 if (SWIG_arg_fail(2)) SWIG_fail;
8744 }
8745 {
8746 arg3 = (bool)(SWIG_As_bool(obj2));
8747 if (SWIG_arg_fail(3)) SWIG_fail;
8748 }
8749 {
8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
8751 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8752
8753 wxPyEndAllowThreads(__tstate);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 Py_INCREF(Py_None); resultobj = Py_None;
8757 return resultobj;
8758 fail:
8759 return NULL;
8760}
8761
8762
8763static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8764 PyObject *resultobj;
8765 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8766 wxSashEdgePosition arg2 ;
8767 bool result;
8768 PyObject * obj0 = 0 ;
8769 PyObject * obj1 = 0 ;
8770 char *kwnames[] = {
8771 (char *) "self",(char *) "edge", NULL
8772 };
8773
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8776 if (SWIG_arg_fail(1)) SWIG_fail;
8777 {
8778 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8779 if (SWIG_arg_fail(2)) SWIG_fail;
8780 }
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 {
8789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8790 }
8791 return resultobj;
8792 fail:
8793 return NULL;
8794}
8795
8796
8797static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj;
8799 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8800 wxSashEdgePosition arg2 ;
8801 bool arg3 ;
8802 PyObject * obj0 = 0 ;
8803 PyObject * obj1 = 0 ;
8804 PyObject * obj2 = 0 ;
8805 char *kwnames[] = {
8806 (char *) "self",(char *) "edge",(char *) "border", NULL
8807 };
8808
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
8810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8811 if (SWIG_arg_fail(1)) SWIG_fail;
8812 {
8813 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8814 if (SWIG_arg_fail(2)) SWIG_fail;
8815 }
8816 {
8817 arg3 = (bool)(SWIG_As_bool(obj2));
8818 if (SWIG_arg_fail(3)) SWIG_fail;
8819 }
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 Py_INCREF(Py_None); resultobj = Py_None;
8828 return resultobj;
8829 fail:
8830 return NULL;
8831}
8832
8833
8834static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8837 wxSashEdgePosition arg2 ;
8838 bool result;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self",(char *) "edge", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
8846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8847 if (SWIG_arg_fail(1)) SWIG_fail;
8848 {
8849 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8850 if (SWIG_arg_fail(2)) SWIG_fail;
8851 }
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 {
8860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8861 }
8862 return resultobj;
8863 fail:
8864 return NULL;
8865}
8866
8867
8868static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
8869 PyObject *resultobj;
8870 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8871 wxSashEdgePosition arg2 ;
8872 int result;
8873 PyObject * obj0 = 0 ;
8874 PyObject * obj1 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "self",(char *) "edge", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
8880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8881 if (SWIG_arg_fail(1)) SWIG_fail;
8882 {
8883 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8884 if (SWIG_arg_fail(2)) SWIG_fail;
8885 }
8886 {
8887 PyThreadState* __tstate = wxPyBeginAllowThreads();
8888 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8889
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 {
8894 resultobj = SWIG_From_int((int)(result));
8895 }
8896 return resultobj;
8897 fail:
8898 return NULL;
8899}
8900
8901
8902static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8903 PyObject *resultobj;
8904 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8905 int arg2 ;
8906 PyObject * obj0 = 0 ;
8907 PyObject * obj1 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self",(char *) "width", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) 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 = (int)(SWIG_As_int(obj1));
8917 if (SWIG_arg_fail(2)) SWIG_fail;
8918 }
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 (arg1)->SetDefaultBorderSize(arg2);
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 Py_INCREF(Py_None); resultobj = Py_None;
8927 return resultobj;
8928 fail:
8929 return NULL;
8930}
8931
8932
8933static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj;
8935 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8936 int result;
8937 PyObject * obj0 = 0 ;
8938 char *kwnames[] = {
8939 (char *) "self", NULL
8940 };
8941
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
8943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8944 if (SWIG_arg_fail(1)) SWIG_fail;
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8948
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
8952 {
8953 resultobj = SWIG_From_int((int)(result));
8954 }
8955 return resultobj;
8956 fail:
8957 return NULL;
8958}
8959
8960
8961static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8962 PyObject *resultobj;
8963 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8964 int arg2 ;
8965 PyObject * obj0 = 0 ;
8966 PyObject * obj1 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self",(char *) "width", NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
8972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8973 if (SWIG_arg_fail(1)) SWIG_fail;
8974 {
8975 arg2 = (int)(SWIG_As_int(obj1));
8976 if (SWIG_arg_fail(2)) SWIG_fail;
8977 }
8978 {
8979 PyThreadState* __tstate = wxPyBeginAllowThreads();
8980 (arg1)->SetExtraBorderSize(arg2);
8981
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 Py_INCREF(Py_None); resultobj = Py_None;
8986 return resultobj;
8987 fail:
8988 return NULL;
8989}
8990
8991
8992static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8993 PyObject *resultobj;
8994 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8995 int result;
8996 PyObject * obj0 = 0 ;
8997 char *kwnames[] = {
8998 (char *) "self", NULL
8999 };
9000
9001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9003 if (SWIG_arg_fail(1)) SWIG_fail;
9004 {
9005 PyThreadState* __tstate = wxPyBeginAllowThreads();
9006 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9007
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 {
9012 resultobj = SWIG_From_int((int)(result));
9013 }
9014 return resultobj;
9015 fail:
9016 return NULL;
9017}
9018
9019
9020static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9021 PyObject *resultobj;
9022 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9023 int arg2 ;
9024 PyObject * obj0 = 0 ;
9025 PyObject * obj1 = 0 ;
9026 char *kwnames[] = {
9027 (char *) "self",(char *) "min", NULL
9028 };
9029
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9032 if (SWIG_arg_fail(1)) SWIG_fail;
9033 {
9034 arg2 = (int)(SWIG_As_int(obj1));
9035 if (SWIG_arg_fail(2)) SWIG_fail;
9036 }
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 (arg1)->SetMinimumSizeX(arg2);
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
9044 Py_INCREF(Py_None); resultobj = Py_None;
9045 return resultobj;
9046 fail:
9047 return NULL;
9048}
9049
9050
9051static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9052 PyObject *resultobj;
9053 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9054 int arg2 ;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj1 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "self",(char *) "min", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9063 if (SWIG_arg_fail(1)) SWIG_fail;
9064 {
9065 arg2 = (int)(SWIG_As_int(obj1));
9066 if (SWIG_arg_fail(2)) SWIG_fail;
9067 }
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 (arg1)->SetMinimumSizeY(arg2);
9071
9072 wxPyEndAllowThreads(__tstate);
9073 if (PyErr_Occurred()) SWIG_fail;
9074 }
9075 Py_INCREF(Py_None); resultobj = Py_None;
9076 return resultobj;
9077 fail:
9078 return NULL;
9079}
9080
9081
9082static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9083 PyObject *resultobj;
9084 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9085 int result;
9086 PyObject * obj0 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9093 if (SWIG_arg_fail(1)) SWIG_fail;
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 {
9102 resultobj = SWIG_From_int((int)(result));
9103 }
9104 return resultobj;
9105 fail:
9106 return NULL;
9107}
9108
9109
9110static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj;
9112 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9113 int result;
9114 PyObject * obj0 = 0 ;
9115 char *kwnames[] = {
9116 (char *) "self", NULL
9117 };
9118
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9121 if (SWIG_arg_fail(1)) SWIG_fail;
9122 {
9123 PyThreadState* __tstate = wxPyBeginAllowThreads();
9124 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9125
9126 wxPyEndAllowThreads(__tstate);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 }
9129 {
9130 resultobj = SWIG_From_int((int)(result));
9131 }
9132 return resultobj;
9133 fail:
9134 return NULL;
9135}
9136
9137
9138static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9139 PyObject *resultobj;
9140 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9141 int arg2 ;
9142 PyObject * obj0 = 0 ;
9143 PyObject * obj1 = 0 ;
9144 char *kwnames[] = {
9145 (char *) "self",(char *) "max", NULL
9146 };
9147
9148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9150 if (SWIG_arg_fail(1)) SWIG_fail;
9151 {
9152 arg2 = (int)(SWIG_As_int(obj1));
9153 if (SWIG_arg_fail(2)) SWIG_fail;
9154 }
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 (arg1)->SetMaximumSizeX(arg2);
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 Py_INCREF(Py_None); resultobj = Py_None;
9163 return resultobj;
9164 fail:
9165 return NULL;
9166}
9167
9168
9169static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9170 PyObject *resultobj;
9171 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9172 int arg2 ;
9173 PyObject * obj0 = 0 ;
9174 PyObject * obj1 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self",(char *) "max", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9181 if (SWIG_arg_fail(1)) SWIG_fail;
9182 {
9183 arg2 = (int)(SWIG_As_int(obj1));
9184 if (SWIG_arg_fail(2)) SWIG_fail;
9185 }
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 (arg1)->SetMaximumSizeY(arg2);
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 Py_INCREF(Py_None); resultobj = Py_None;
9194 return resultobj;
9195 fail:
9196 return NULL;
9197}
9198
9199
9200static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9201 PyObject *resultobj;
9202 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9203 int result;
9204 PyObject * obj0 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9211 if (SWIG_arg_fail(1)) SWIG_fail;
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 {
9220 resultobj = SWIG_From_int((int)(result));
9221 }
9222 return resultobj;
9223 fail:
9224 return NULL;
9225}
9226
9227
9228static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj;
9230 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9231 int result;
9232 PyObject * obj0 = 0 ;
9233 char *kwnames[] = {
9234 (char *) "self", NULL
9235 };
9236
9237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail;
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9243
9244 wxPyEndAllowThreads(__tstate);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 }
9247 {
9248 resultobj = SWIG_From_int((int)(result));
9249 }
9250 return resultobj;
9251 fail:
9252 return NULL;
9253}
9254
9255
9256static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj;
9258 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9259 int arg2 ;
9260 int arg3 ;
9261 int arg4 = (int) 2 ;
9262 wxSashEdgePosition result;
9263 PyObject * obj0 = 0 ;
9264 PyObject * obj1 = 0 ;
9265 PyObject * obj2 = 0 ;
9266 PyObject * obj3 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9273 if (SWIG_arg_fail(1)) SWIG_fail;
9274 {
9275 arg2 = (int)(SWIG_As_int(obj1));
9276 if (SWIG_arg_fail(2)) SWIG_fail;
9277 }
9278 {
9279 arg3 = (int)(SWIG_As_int(obj2));
9280 if (SWIG_arg_fail(3)) SWIG_fail;
9281 }
9282 if (obj3) {
9283 {
9284 arg4 = (int)(SWIG_As_int(obj3));
9285 if (SWIG_arg_fail(4)) SWIG_fail;
9286 }
9287 }
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 resultobj = SWIG_From_int((result));
9296 return resultobj;
9297 fail:
9298 return NULL;
9299}
9300
9301
9302static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9305 PyObject * obj0 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9312 if (SWIG_arg_fail(1)) SWIG_fail;
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 (arg1)->SizeWindows();
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 Py_INCREF(Py_None); resultobj = Py_None;
9321 return resultobj;
9322 fail:
9323 return NULL;
9324}
9325
9326
9327static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9328 PyObject *obj;
9329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9330 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9331 Py_INCREF(obj);
9332 return Py_BuildValue((char *)"");
9333}
9334static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9335 PyObject *resultobj;
9336 int arg1 = (int) 0 ;
9337 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9338 wxSashEvent *result;
9339 PyObject * obj0 = 0 ;
9340 PyObject * obj1 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "id",(char *) "edge", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9346 if (obj0) {
9347 {
9348 arg1 = (int)(SWIG_As_int(obj0));
9349 if (SWIG_arg_fail(1)) SWIG_fail;
9350 }
9351 }
9352 if (obj1) {
9353 {
9354 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9355 if (SWIG_arg_fail(2)) SWIG_fail;
9356 }
9357 }
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9366 return resultobj;
9367 fail:
9368 return NULL;
9369}
9370
9371
9372static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9373 PyObject *resultobj;
9374 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9375 wxSashEdgePosition arg2 ;
9376 PyObject * obj0 = 0 ;
9377 PyObject * obj1 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "self",(char *) "edge", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9384 if (SWIG_arg_fail(1)) SWIG_fail;
9385 {
9386 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9387 if (SWIG_arg_fail(2)) SWIG_fail;
9388 }
9389 {
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9392
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 Py_INCREF(Py_None); resultobj = Py_None;
9397 return resultobj;
9398 fail:
9399 return NULL;
9400}
9401
9402
9403static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9404 PyObject *resultobj;
9405 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9406 wxSashEdgePosition result;
9407 PyObject * obj0 = 0 ;
9408 char *kwnames[] = {
9409 (char *) "self", NULL
9410 };
9411
9412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9414 if (SWIG_arg_fail(1)) SWIG_fail;
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 resultobj = SWIG_From_int((result));
9423 return resultobj;
9424 fail:
9425 return NULL;
9426}
9427
9428
9429static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9430 PyObject *resultobj;
9431 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9432 wxRect *arg2 = 0 ;
9433 wxRect temp2 ;
9434 PyObject * obj0 = 0 ;
9435 PyObject * obj1 = 0 ;
9436 char *kwnames[] = {
9437 (char *) "self",(char *) "rect", NULL
9438 };
9439
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9442 if (SWIG_arg_fail(1)) SWIG_fail;
9443 {
9444 arg2 = &temp2;
9445 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9446 }
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 (arg1)->SetDragRect((wxRect const &)*arg2);
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 Py_INCREF(Py_None); resultobj = Py_None;
9455 return resultobj;
9456 fail:
9457 return NULL;
9458}
9459
9460
9461static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9464 wxRect result;
9465 PyObject * obj0 = 0 ;
9466 char *kwnames[] = {
9467 (char *) "self", NULL
9468 };
9469
9470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9472 if (SWIG_arg_fail(1)) SWIG_fail;
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 result = ((wxSashEvent const *)arg1)->GetDragRect();
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 {
9481 wxRect * resultptr;
9482 resultptr = new wxRect((wxRect &)(result));
9483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9484 }
9485 return resultobj;
9486 fail:
9487 return NULL;
9488}
9489
9490
9491static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9492 PyObject *resultobj;
9493 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9494 wxSashDragStatus arg2 ;
9495 PyObject * obj0 = 0 ;
9496 PyObject * obj1 = 0 ;
9497 char *kwnames[] = {
9498 (char *) "self",(char *) "status", NULL
9499 };
9500
9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9503 if (SWIG_arg_fail(1)) SWIG_fail;
9504 {
9505 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9506 if (SWIG_arg_fail(2)) SWIG_fail;
9507 }
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 Py_INCREF(Py_None); resultobj = Py_None;
9516 return resultobj;
9517 fail:
9518 return NULL;
9519}
9520
9521
9522static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9525 wxSashDragStatus result;
9526 PyObject * obj0 = 0 ;
9527 char *kwnames[] = {
9528 (char *) "self", NULL
9529 };
9530
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9533 if (SWIG_arg_fail(1)) SWIG_fail;
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 resultobj = SWIG_From_int((result));
9542 return resultobj;
9543 fail:
9544 return NULL;
9545}
9546
9547
9548static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9549 PyObject *obj;
9550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9551 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9552 Py_INCREF(obj);
9553 return Py_BuildValue((char *)"");
9554}
9555static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9556 PyObject *resultobj;
9557 int arg1 = (int) 0 ;
9558 wxQueryLayoutInfoEvent *result;
9559 PyObject * obj0 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "id", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9565 if (obj0) {
9566 {
9567 arg1 = (int)(SWIG_As_int(obj0));
9568 if (SWIG_arg_fail(1)) SWIG_fail;
9569 }
9570 }
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9579 return resultobj;
9580 fail:
9581 return NULL;
9582}
9583
9584
9585static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj;
9587 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9588 int arg2 ;
9589 PyObject * obj0 = 0 ;
9590 PyObject * obj1 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self",(char *) "length", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9597 if (SWIG_arg_fail(1)) SWIG_fail;
9598 {
9599 arg2 = (int)(SWIG_As_int(obj1));
9600 if (SWIG_arg_fail(2)) SWIG_fail;
9601 }
9602 {
9603 PyThreadState* __tstate = wxPyBeginAllowThreads();
9604 (arg1)->SetRequestedLength(arg2);
9605
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 Py_INCREF(Py_None); resultobj = Py_None;
9610 return resultobj;
9611 fail:
9612 return NULL;
9613}
9614
9615
9616static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9617 PyObject *resultobj;
9618 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9619 int result;
9620 PyObject * obj0 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "self", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9627 if (SWIG_arg_fail(1)) SWIG_fail;
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 {
9636 resultobj = SWIG_From_int((int)(result));
9637 }
9638 return resultobj;
9639 fail:
9640 return NULL;
9641}
9642
9643
9644static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9645 PyObject *resultobj;
9646 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9647 int arg2 ;
9648 PyObject * obj0 = 0 ;
9649 PyObject * obj1 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self",(char *) "flags", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail;
9657 {
9658 arg2 = (int)(SWIG_As_int(obj1));
9659 if (SWIG_arg_fail(2)) SWIG_fail;
9660 }
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 (arg1)->SetFlags(arg2);
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 Py_INCREF(Py_None); resultobj = Py_None;
9669 return resultobj;
9670 fail:
9671 return NULL;
9672}
9673
9674
9675static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9676 PyObject *resultobj;
9677 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9678 int result;
9679 PyObject * obj0 = 0 ;
9680 char *kwnames[] = {
9681 (char *) "self", NULL
9682 };
9683
9684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9686 if (SWIG_arg_fail(1)) SWIG_fail;
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 {
9695 resultobj = SWIG_From_int((int)(result));
9696 }
9697 return resultobj;
9698 fail:
9699 return NULL;
9700}
9701
9702
9703static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9704 PyObject *resultobj;
9705 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9706 wxSize *arg2 = 0 ;
9707 wxSize temp2 ;
9708 PyObject * obj0 = 0 ;
9709 PyObject * obj1 = 0 ;
9710 char *kwnames[] = {
9711 (char *) "self",(char *) "size", NULL
9712 };
9713
9714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9716 if (SWIG_arg_fail(1)) SWIG_fail;
9717 {
9718 arg2 = &temp2;
9719 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9720 }
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 (arg1)->SetSize((wxSize const &)*arg2);
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 Py_INCREF(Py_None); resultobj = Py_None;
9729 return resultobj;
9730 fail:
9731 return NULL;
9732}
9733
9734
9735static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9736 PyObject *resultobj;
9737 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9738 wxSize result;
9739 PyObject * obj0 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9746 if (SWIG_arg_fail(1)) SWIG_fail;
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 {
9755 wxSize * resultptr;
9756 resultptr = new wxSize((wxSize &)(result));
9757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9758 }
9759 return resultobj;
9760 fail:
9761 return NULL;
9762}
9763
9764
9765static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9768 wxLayoutOrientation arg2 ;
9769 PyObject * obj0 = 0 ;
9770 PyObject * obj1 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self",(char *) "orient", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9777 if (SWIG_arg_fail(1)) SWIG_fail;
9778 {
9779 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9780 if (SWIG_arg_fail(2)) SWIG_fail;
9781 }
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 Py_INCREF(Py_None); resultobj = Py_None;
9790 return resultobj;
9791 fail:
9792 return NULL;
9793}
9794
9795
9796static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9797 PyObject *resultobj;
9798 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9799 wxLayoutOrientation result;
9800 PyObject * obj0 = 0 ;
9801 char *kwnames[] = {
9802 (char *) "self", NULL
9803 };
9804
9805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
9806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail;
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 resultobj = SWIG_From_int((result));
9816 return resultobj;
9817 fail:
9818 return NULL;
9819}
9820
9821
9822static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9825 wxLayoutAlignment arg2 ;
9826 PyObject * obj0 = 0 ;
9827 PyObject * obj1 = 0 ;
9828 char *kwnames[] = {
9829 (char *) "self",(char *) "align", NULL
9830 };
9831
9832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9834 if (SWIG_arg_fail(1)) SWIG_fail;
9835 {
9836 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9837 if (SWIG_arg_fail(2)) SWIG_fail;
9838 }
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 Py_INCREF(Py_None); resultobj = Py_None;
9847 return resultobj;
9848 fail:
9849 return NULL;
9850}
9851
9852
9853static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9856 wxLayoutAlignment result;
9857 PyObject * obj0 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
9863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail;
9865 {
9866 PyThreadState* __tstate = wxPyBeginAllowThreads();
9867 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
9868
9869 wxPyEndAllowThreads(__tstate);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 }
9872 resultobj = SWIG_From_int((result));
9873 return resultobj;
9874 fail:
9875 return NULL;
9876}
9877
9878
9879static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
9880 PyObject *obj;
9881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9882 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9883 Py_INCREF(obj);
9884 return Py_BuildValue((char *)"");
9885}
9886static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9887 PyObject *resultobj;
9888 int arg1 = (int) 0 ;
9889 wxCalculateLayoutEvent *result;
9890 PyObject * obj0 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "id", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9896 if (obj0) {
9897 {
9898 arg1 = (int)(SWIG_As_int(obj0));
9899 if (SWIG_arg_fail(1)) SWIG_fail;
9900 }
9901 }
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9905
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9910 return resultobj;
9911 fail:
9912 return NULL;
9913}
9914
9915
9916static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9919 int arg2 ;
9920 PyObject * obj0 = 0 ;
9921 PyObject * obj1 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self",(char *) "flags", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9928 if (SWIG_arg_fail(1)) SWIG_fail;
9929 {
9930 arg2 = (int)(SWIG_As_int(obj1));
9931 if (SWIG_arg_fail(2)) SWIG_fail;
9932 }
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 (arg1)->SetFlags(arg2);
9936
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 Py_INCREF(Py_None); resultobj = Py_None;
9941 return resultobj;
9942 fail:
9943 return NULL;
9944}
9945
9946
9947static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9950 int result;
9951 PyObject * obj0 = 0 ;
9952 char *kwnames[] = {
9953 (char *) "self", NULL
9954 };
9955
9956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
9957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9958 if (SWIG_arg_fail(1)) SWIG_fail;
9959 {
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
9961 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
9962
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 {
9967 resultobj = SWIG_From_int((int)(result));
9968 }
9969 return resultobj;
9970 fail:
9971 return NULL;
9972}
9973
9974
9975static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj;
9977 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9978 wxRect *arg2 = 0 ;
9979 wxRect temp2 ;
9980 PyObject * obj0 = 0 ;
9981 PyObject * obj1 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "self",(char *) "rect", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
9987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9988 if (SWIG_arg_fail(1)) SWIG_fail;
9989 {
9990 arg2 = &temp2;
9991 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9992 }
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 (arg1)->SetRect((wxRect const &)*arg2);
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 Py_INCREF(Py_None); resultobj = Py_None;
10001 return resultobj;
10002 fail:
10003 return NULL;
10004}
10005
10006
10007static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10010 wxRect result;
10011 PyObject * obj0 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail;
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 {
10027 wxRect * resultptr;
10028 resultptr = new wxRect((wxRect &)(result));
10029 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10030 }
10031 return resultobj;
10032 fail:
10033 return NULL;
10034}
10035
10036
10037static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10038 PyObject *obj;
10039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10040 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10041 Py_INCREF(obj);
10042 return Py_BuildValue((char *)"");
10043}
10044static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10045 PyObject *resultobj;
10046 wxWindow *arg1 = (wxWindow *) 0 ;
10047 int arg2 = (int) -1 ;
10048 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10049 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10050 wxSize const &arg4_defvalue = wxDefaultSize ;
10051 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10052 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10053 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10054 wxString *arg6 = (wxString *) &arg6_defvalue ;
10055 wxSashLayoutWindow *result;
10056 wxPoint temp3 ;
10057 wxSize temp4 ;
10058 bool temp6 = false ;
10059 PyObject * obj0 = 0 ;
10060 PyObject * obj1 = 0 ;
10061 PyObject * obj2 = 0 ;
10062 PyObject * obj3 = 0 ;
10063 PyObject * obj4 = 0 ;
10064 PyObject * obj5 = 0 ;
10065 char *kwnames[] = {
10066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10067 };
10068
10069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10071 if (SWIG_arg_fail(1)) SWIG_fail;
10072 if (obj1) {
10073 {
10074 arg2 = (int)(SWIG_As_int(obj1));
10075 if (SWIG_arg_fail(2)) SWIG_fail;
10076 }
10077 }
10078 if (obj2) {
10079 {
10080 arg3 = &temp3;
10081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10082 }
10083 }
10084 if (obj3) {
10085 {
10086 arg4 = &temp4;
10087 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10088 }
10089 }
10090 if (obj4) {
10091 {
10092 arg5 = (long)(SWIG_As_long(obj4));
10093 if (SWIG_arg_fail(5)) SWIG_fail;
10094 }
10095 }
10096 if (obj5) {
10097 {
10098 arg6 = wxString_in_helper(obj5);
10099 if (arg6 == NULL) SWIG_fail;
10100 temp6 = true;
10101 }
10102 }
10103 {
10104 if (!wxPyCheckForApp()) SWIG_fail;
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10112 {
10113 if (temp6)
10114 delete arg6;
10115 }
10116 return resultobj;
10117 fail:
10118 {
10119 if (temp6)
10120 delete arg6;
10121 }
10122 return NULL;
10123}
10124
10125
10126static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj;
10128 wxSashLayoutWindow *result;
10129 char *kwnames[] = {
10130 NULL
10131 };
10132
10133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10134 {
10135 if (!wxPyCheckForApp()) SWIG_fail;
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10143 return resultobj;
10144 fail:
10145 return NULL;
10146}
10147
10148
10149static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10152 wxWindow *arg2 = (wxWindow *) 0 ;
10153 int arg3 = (int) -1 ;
10154 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10155 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10156 wxSize const &arg5_defvalue = wxDefaultSize ;
10157 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10158 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10159 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10160 wxString *arg7 = (wxString *) &arg7_defvalue ;
10161 bool result;
10162 wxPoint temp4 ;
10163 wxSize temp5 ;
10164 bool temp7 = false ;
10165 PyObject * obj0 = 0 ;
10166 PyObject * obj1 = 0 ;
10167 PyObject * obj2 = 0 ;
10168 PyObject * obj3 = 0 ;
10169 PyObject * obj4 = 0 ;
10170 PyObject * obj5 = 0 ;
10171 PyObject * obj6 = 0 ;
10172 char *kwnames[] = {
10173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10174 };
10175
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10178 if (SWIG_arg_fail(1)) SWIG_fail;
10179 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10180 if (SWIG_arg_fail(2)) SWIG_fail;
10181 if (obj2) {
10182 {
10183 arg3 = (int)(SWIG_As_int(obj2));
10184 if (SWIG_arg_fail(3)) SWIG_fail;
10185 }
10186 }
10187 if (obj3) {
10188 {
10189 arg4 = &temp4;
10190 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10191 }
10192 }
10193 if (obj4) {
10194 {
10195 arg5 = &temp5;
10196 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10197 }
10198 }
10199 if (obj5) {
10200 {
10201 arg6 = (long)(SWIG_As_long(obj5));
10202 if (SWIG_arg_fail(6)) SWIG_fail;
10203 }
10204 }
10205 if (obj6) {
10206 {
10207 arg7 = wxString_in_helper(obj6);
10208 if (arg7 == NULL) SWIG_fail;
10209 temp7 = true;
10210 }
10211 }
10212 {
10213 PyThreadState* __tstate = wxPyBeginAllowThreads();
10214 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10215
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) SWIG_fail;
10218 }
10219 {
10220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10221 }
10222 {
10223 if (temp7)
10224 delete arg7;
10225 }
10226 return resultobj;
10227 fail:
10228 {
10229 if (temp7)
10230 delete arg7;
10231 }
10232 return NULL;
10233}
10234
10235
10236static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10239 wxLayoutAlignment result;
10240 PyObject * obj0 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10247 if (SWIG_arg_fail(1)) SWIG_fail;
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 resultobj = SWIG_From_int((result));
10256 return resultobj;
10257 fail:
10258 return NULL;
10259}
10260
10261
10262static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj;
10264 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10265 wxLayoutOrientation result;
10266 PyObject * obj0 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10273 if (SWIG_arg_fail(1)) SWIG_fail;
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10277
10278 wxPyEndAllowThreads(__tstate);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 resultobj = SWIG_From_int((result));
10282 return resultobj;
10283 fail:
10284 return NULL;
10285}
10286
10287
10288static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10289 PyObject *resultobj;
10290 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10291 wxLayoutAlignment arg2 ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 char *kwnames[] = {
10295 (char *) "self",(char *) "alignment", NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10300 if (SWIG_arg_fail(1)) SWIG_fail;
10301 {
10302 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10303 if (SWIG_arg_fail(2)) SWIG_fail;
10304 }
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 Py_INCREF(Py_None); resultobj = Py_None;
10313 return resultobj;
10314 fail:
10315 return NULL;
10316}
10317
10318
10319static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10320 PyObject *resultobj;
10321 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10322 wxSize *arg2 = 0 ;
10323 wxSize temp2 ;
10324 PyObject * obj0 = 0 ;
10325 PyObject * obj1 = 0 ;
10326 char *kwnames[] = {
10327 (char *) "self",(char *) "size", NULL
10328 };
10329
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10332 if (SWIG_arg_fail(1)) SWIG_fail;
10333 {
10334 arg2 = &temp2;
10335 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10336 }
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 Py_INCREF(Py_None); resultobj = Py_None;
10345 return resultobj;
10346 fail:
10347 return NULL;
10348}
10349
10350
10351static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj;
10353 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10354 wxLayoutOrientation arg2 ;
10355 PyObject * obj0 = 0 ;
10356 PyObject * obj1 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self",(char *) "orientation", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail;
10364 {
10365 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10366 if (SWIG_arg_fail(2)) SWIG_fail;
10367 }
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
10375 Py_INCREF(Py_None); resultobj = Py_None;
10376 return resultobj;
10377 fail:
10378 return NULL;
10379}
10380
10381
10382static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10383 PyObject *obj;
10384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10385 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10386 Py_INCREF(obj);
10387 return Py_BuildValue((char *)"");
10388}
10389static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxLayoutAlgorithm *result;
10392 char *kwnames[] = {
10393 NULL
10394 };
10395
10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10397 {
10398 PyThreadState* __tstate = wxPyBeginAllowThreads();
10399 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10400
10401 wxPyEndAllowThreads(__tstate);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 }
10404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10405 return resultobj;
10406 fail:
10407 return NULL;
10408}
10409
10410
10411static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10412 PyObject *resultobj;
10413 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10414 PyObject * obj0 = 0 ;
10415 char *kwnames[] = {
10416 (char *) "self", NULL
10417 };
10418
10419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10421 if (SWIG_arg_fail(1)) SWIG_fail;
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 delete arg1;
10425
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 Py_INCREF(Py_None); resultobj = Py_None;
10430 return resultobj;
10431 fail:
10432 return NULL;
10433}
10434
10435
10436static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10439 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10440 wxRect *arg3 = (wxRect *) NULL ;
10441 bool result;
10442 PyObject * obj0 = 0 ;
10443 PyObject * obj1 = 0 ;
10444 PyObject * obj2 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "self",(char *) "frame",(char *) "rect", NULL
10447 };
10448
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail;
10452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10453 if (SWIG_arg_fail(2)) SWIG_fail;
10454 if (obj2) {
10455 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10456 if (SWIG_arg_fail(3)) SWIG_fail;
10457 }
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 {
10466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10467 }
10468 return resultobj;
10469 fail:
10470 return NULL;
10471}
10472
10473
10474static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj;
10476 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10477 wxFrame *arg2 = (wxFrame *) 0 ;
10478 wxWindow *arg3 = (wxWindow *) NULL ;
10479 bool result;
10480 PyObject * obj0 = 0 ;
10481 PyObject * obj1 = 0 ;
10482 PyObject * obj2 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10489 if (SWIG_arg_fail(1)) SWIG_fail;
10490 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10491 if (SWIG_arg_fail(2)) SWIG_fail;
10492 if (obj2) {
10493 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10494 if (SWIG_arg_fail(3)) SWIG_fail;
10495 }
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 {
10504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10505 }
10506 return resultobj;
10507 fail:
10508 return NULL;
10509}
10510
10511
10512static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10513 PyObject *resultobj;
10514 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10515 wxWindow *arg2 = (wxWindow *) 0 ;
10516 wxWindow *arg3 = (wxWindow *) NULL ;
10517 bool result;
10518 PyObject * obj0 = 0 ;
10519 PyObject * obj1 = 0 ;
10520 PyObject * obj2 = 0 ;
10521 char *kwnames[] = {
10522 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10527 if (SWIG_arg_fail(1)) SWIG_fail;
10528 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10529 if (SWIG_arg_fail(2)) SWIG_fail;
10530 if (obj2) {
10531 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10532 if (SWIG_arg_fail(3)) SWIG_fail;
10533 }
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 {
10542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10543 }
10544 return resultobj;
10545 fail:
10546 return NULL;
10547}
10548
10549
10550static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10551 PyObject *obj;
10552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10553 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10554 Py_INCREF(obj);
10555 return Py_BuildValue((char *)"");
10556}
10557static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10558 PyObject *resultobj;
10559 wxWindow *arg1 = (wxWindow *) 0 ;
10560 int arg2 = (int) wxBORDER_NONE ;
10561 wxPopupWindow *result;
10562 PyObject * obj0 = 0 ;
10563 PyObject * obj1 = 0 ;
10564 char *kwnames[] = {
10565 (char *) "parent",(char *) "flags", NULL
10566 };
10567
10568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10570 if (SWIG_arg_fail(1)) SWIG_fail;
10571 if (obj1) {
10572 {
10573 arg2 = (int)(SWIG_As_int(obj1));
10574 if (SWIG_arg_fail(2)) SWIG_fail;
10575 }
10576 }
10577 {
10578 if (!wxPyCheckForApp()) SWIG_fail;
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10586 return resultobj;
10587 fail:
10588 return NULL;
10589}
10590
10591
10592static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj;
10594 wxPopupWindow *result;
10595 char *kwnames[] = {
10596 NULL
10597 };
10598
10599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10600 {
10601 if (!wxPyCheckForApp()) SWIG_fail;
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 result = (wxPopupWindow *)new wxPopupWindow();
10604
10605 wxPyEndAllowThreads(__tstate);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 }
10608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10609 return resultobj;
10610 fail:
10611 return NULL;
10612}
10613
10614
10615static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj;
10617 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10618 wxWindow *arg2 = (wxWindow *) 0 ;
10619 int arg3 = (int) wxBORDER_NONE ;
10620 bool result;
10621 PyObject * obj0 = 0 ;
10622 PyObject * obj1 = 0 ;
10623 PyObject * obj2 = 0 ;
10624 char *kwnames[] = {
10625 (char *) "self",(char *) "parent",(char *) "flags", NULL
10626 };
10627
10628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
10629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, 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 {
10635 arg3 = (int)(SWIG_As_int(obj2));
10636 if (SWIG_arg_fail(3)) SWIG_fail;
10637 }
10638 }
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 result = (bool)(arg1)->Create(arg2,arg3);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 {
10647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10648 }
10649 return resultobj;
10650 fail:
10651 return NULL;
10652}
10653
10654
10655static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
10656 PyObject *resultobj;
10657 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10658 wxPoint *arg2 = 0 ;
10659 wxSize *arg3 = 0 ;
10660 wxPoint temp2 ;
10661 wxSize temp3 ;
10662 PyObject * obj0 = 0 ;
10663 PyObject * obj1 = 0 ;
10664 PyObject * obj2 = 0 ;
10665 char *kwnames[] = {
10666 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
10670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10671 if (SWIG_arg_fail(1)) SWIG_fail;
10672 {
10673 arg2 = &temp2;
10674 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10675 }
10676 {
10677 arg3 = &temp3;
10678 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10679 }
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) SWIG_fail;
10686 }
10687 Py_INCREF(Py_None); resultobj = Py_None;
10688 return resultobj;
10689 fail:
10690 return NULL;
10691}
10692
10693
10694static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10695 PyObject *obj;
10696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10697 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10698 Py_INCREF(obj);
10699 return Py_BuildValue((char *)"");
10700}
10701static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj;
10703 wxWindow *arg1 = (wxWindow *) 0 ;
10704 int arg2 = (int) wxBORDER_NONE ;
10705 wxPyPopupTransientWindow *result;
10706 PyObject * obj0 = 0 ;
10707 PyObject * obj1 = 0 ;
10708 char *kwnames[] = {
10709 (char *) "parent",(char *) "style", NULL
10710 };
10711
10712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10714 if (SWIG_arg_fail(1)) SWIG_fail;
10715 if (obj1) {
10716 {
10717 arg2 = (int)(SWIG_As_int(obj1));
10718 if (SWIG_arg_fail(2)) SWIG_fail;
10719 }
10720 }
10721 {
10722 if (!wxPyCheckForApp()) SWIG_fail;
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10725
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10730 return resultobj;
10731 fail:
10732 return NULL;
10733}
10734
10735
10736static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj;
10738 wxPyPopupTransientWindow *result;
10739 char *kwnames[] = {
10740 NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10744 {
10745 if (!wxPyCheckForApp()) SWIG_fail;
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10748
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) SWIG_fail;
10751 }
10752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10753 return resultobj;
10754 fail:
10755 return NULL;
10756}
10757
10758
10759static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10760 PyObject *resultobj;
10761 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10762 PyObject *arg2 = (PyObject *) 0 ;
10763 PyObject *arg3 = (PyObject *) 0 ;
10764 PyObject * obj0 = 0 ;
10765 PyObject * obj1 = 0 ;
10766 PyObject * obj2 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "self",(char *) "_class", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10773 if (SWIG_arg_fail(1)) SWIG_fail;
10774 arg2 = obj1;
10775 arg3 = obj2;
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 (arg1)->_setCallbackInfo(arg2,arg3);
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 Py_INCREF(Py_None); resultobj = Py_None;
10784 return resultobj;
10785 fail:
10786 return NULL;
10787}
10788
10789
10790static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
10791 PyObject *resultobj;
10792 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10793 wxWindow *arg2 = (wxWindow *) NULL ;
10794 PyObject * obj0 = 0 ;
10795 PyObject * obj1 = 0 ;
10796 char *kwnames[] = {
10797 (char *) "self",(char *) "focus", NULL
10798 };
10799
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
10801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10802 if (SWIG_arg_fail(1)) SWIG_fail;
10803 if (obj1) {
10804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10805 if (SWIG_arg_fail(2)) SWIG_fail;
10806 }
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 (arg1)->Popup(arg2);
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 Py_INCREF(Py_None); resultobj = Py_None;
10815 return resultobj;
10816 fail:
10817 return NULL;
10818}
10819
10820
10821static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
10822 PyObject *resultobj;
10823 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10824 PyObject * obj0 = 0 ;
10825 char *kwnames[] = {
10826 (char *) "self", NULL
10827 };
10828
10829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
10830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10831 if (SWIG_arg_fail(1)) SWIG_fail;
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 (arg1)->Dismiss();
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 Py_INCREF(Py_None); resultobj = Py_None;
10840 return resultobj;
10841 fail:
10842 return NULL;
10843}
10844
10845
10846static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10847 PyObject *obj;
10848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10849 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10850 Py_INCREF(obj);
10851 return Py_BuildValue((char *)"");
10852}
10853static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10854 PyObject *resultobj;
10855 wxWindow *arg1 = (wxWindow *) 0 ;
10856 wxString *arg2 = 0 ;
10857 int arg3 = (int) 100 ;
10858 wxRect *arg4 = (wxRect *) NULL ;
10859 wxTipWindow *result;
10860 bool temp2 = false ;
10861 PyObject * obj0 = 0 ;
10862 PyObject * obj1 = 0 ;
10863 PyObject * obj2 = 0 ;
10864 PyObject * obj3 = 0 ;
10865 char *kwnames[] = {
10866 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10867 };
10868
10869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10871 if (SWIG_arg_fail(1)) SWIG_fail;
10872 {
10873 arg2 = wxString_in_helper(obj1);
10874 if (arg2 == NULL) SWIG_fail;
10875 temp2 = true;
10876 }
10877 if (obj2) {
10878 {
10879 arg3 = (int)(SWIG_As_int(obj2));
10880 if (SWIG_arg_fail(3)) SWIG_fail;
10881 }
10882 }
10883 if (obj3) {
10884 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10885 if (SWIG_arg_fail(4)) SWIG_fail;
10886 }
10887 {
10888 if (!wxPyCheckForApp()) SWIG_fail;
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
10890 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10896 {
10897 if (temp2)
10898 delete arg2;
10899 }
10900 return resultobj;
10901 fail:
10902 {
10903 if (temp2)
10904 delete arg2;
10905 }
10906 return NULL;
10907}
10908
10909
10910static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
10911 PyObject *resultobj;
10912 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10913 wxRect *arg2 = 0 ;
10914 wxRect temp2 ;
10915 PyObject * obj0 = 0 ;
10916 PyObject * obj1 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self",(char *) "rectBound", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
10922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10923 if (SWIG_arg_fail(1)) SWIG_fail;
10924 {
10925 arg2 = &temp2;
10926 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10927 }
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 Py_INCREF(Py_None); resultobj = Py_None;
10936 return resultobj;
10937 fail:
10938 return NULL;
10939}
10940
10941
10942static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
10943 PyObject *resultobj;
10944 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10945 PyObject * obj0 = 0 ;
10946 char *kwnames[] = {
10947 (char *) "self", NULL
10948 };
10949
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
10951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10952 if (SWIG_arg_fail(1)) SWIG_fail;
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 (arg1)->Close();
10956
10957 wxPyEndAllowThreads(__tstate);
10958 if (PyErr_Occurred()) SWIG_fail;
10959 }
10960 Py_INCREF(Py_None); resultobj = Py_None;
10961 return resultobj;
10962 fail:
10963 return NULL;
10964}
10965
10966
10967static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
10968 PyObject *obj;
10969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10970 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
10971 Py_INCREF(obj);
10972 return Py_BuildValue((char *)"");
10973}
10974static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj;
10976 wxWindow *arg1 = (wxWindow *) 0 ;
10977 int arg2 = (int) wxID_ANY ;
10978 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10979 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10980 wxSize const &arg4_defvalue = wxDefaultSize ;
10981 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10982 long arg5 = (long) 0 ;
10983 wxString const &arg6_defvalue = wxPyPanelNameStr ;
10984 wxString *arg6 = (wxString *) &arg6_defvalue ;
10985 wxPyVScrolledWindow *result;
10986 wxPoint temp3 ;
10987 wxSize temp4 ;
10988 bool temp6 = false ;
10989 PyObject * obj0 = 0 ;
10990 PyObject * obj1 = 0 ;
10991 PyObject * obj2 = 0 ;
10992 PyObject * obj3 = 0 ;
10993 PyObject * obj4 = 0 ;
10994 PyObject * obj5 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail;
11002 if (obj1) {
11003 {
11004 arg2 = (int)(SWIG_As_int(obj1));
11005 if (SWIG_arg_fail(2)) SWIG_fail;
11006 }
11007 }
11008 if (obj2) {
11009 {
11010 arg3 = &temp3;
11011 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11012 }
11013 }
11014 if (obj3) {
11015 {
11016 arg4 = &temp4;
11017 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11018 }
11019 }
11020 if (obj4) {
11021 {
11022 arg5 = (long)(SWIG_As_long(obj4));
11023 if (SWIG_arg_fail(5)) SWIG_fail;
11024 }
11025 }
11026 if (obj5) {
11027 {
11028 arg6 = wxString_in_helper(obj5);
11029 if (arg6 == NULL) SWIG_fail;
11030 temp6 = true;
11031 }
11032 }
11033 {
11034 if (!wxPyCheckForApp()) SWIG_fail;
11035 PyThreadState* __tstate = wxPyBeginAllowThreads();
11036 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11037
11038 wxPyEndAllowThreads(__tstate);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
11041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11042 {
11043 if (temp6)
11044 delete arg6;
11045 }
11046 return resultobj;
11047 fail:
11048 {
11049 if (temp6)
11050 delete arg6;
11051 }
11052 return NULL;
11053}
11054
11055
11056static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11057 PyObject *resultobj;
11058 wxPyVScrolledWindow *result;
11059 char *kwnames[] = {
11060 NULL
11061 };
11062
11063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11064 {
11065 if (!wxPyCheckForApp()) SWIG_fail;
11066 PyThreadState* __tstate = wxPyBeginAllowThreads();
11067 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11068
11069 wxPyEndAllowThreads(__tstate);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 }
11072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11073 return resultobj;
11074 fail:
11075 return NULL;
11076}
11077
11078
11079static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11080 PyObject *resultobj;
11081 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11082 PyObject *arg2 = (PyObject *) 0 ;
11083 PyObject *arg3 = (PyObject *) 0 ;
11084 PyObject * obj0 = 0 ;
11085 PyObject * obj1 = 0 ;
11086 PyObject * obj2 = 0 ;
11087 char *kwnames[] = {
11088 (char *) "self",(char *) "self",(char *) "_class", NULL
11089 };
11090
11091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11093 if (SWIG_arg_fail(1)) SWIG_fail;
11094 arg2 = obj1;
11095 arg3 = obj2;
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 (arg1)->_setCallbackInfo(arg2,arg3);
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 Py_INCREF(Py_None); resultobj = Py_None;
11104 return resultobj;
11105 fail:
11106 return NULL;
11107}
11108
11109
11110static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj;
11112 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11113 wxWindow *arg2 = (wxWindow *) 0 ;
11114 int arg3 = (int) wxID_ANY ;
11115 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11116 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11117 wxSize const &arg5_defvalue = wxDefaultSize ;
11118 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11119 long arg6 = (long) 0 ;
11120 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11121 wxString *arg7 = (wxString *) &arg7_defvalue ;
11122 bool result;
11123 wxPoint temp4 ;
11124 wxSize temp5 ;
11125 bool temp7 = false ;
11126 PyObject * obj0 = 0 ;
11127 PyObject * obj1 = 0 ;
11128 PyObject * obj2 = 0 ;
11129 PyObject * obj3 = 0 ;
11130 PyObject * obj4 = 0 ;
11131 PyObject * obj5 = 0 ;
11132 PyObject * obj6 = 0 ;
11133 char *kwnames[] = {
11134 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11135 };
11136
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11139 if (SWIG_arg_fail(1)) SWIG_fail;
11140 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11141 if (SWIG_arg_fail(2)) SWIG_fail;
11142 if (obj2) {
11143 {
11144 arg3 = (int)(SWIG_As_int(obj2));
11145 if (SWIG_arg_fail(3)) SWIG_fail;
11146 }
11147 }
11148 if (obj3) {
11149 {
11150 arg4 = &temp4;
11151 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11152 }
11153 }
11154 if (obj4) {
11155 {
11156 arg5 = &temp5;
11157 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11158 }
11159 }
11160 if (obj5) {
11161 {
11162 arg6 = (long)(SWIG_As_long(obj5));
11163 if (SWIG_arg_fail(6)) SWIG_fail;
11164 }
11165 }
11166 if (obj6) {
11167 {
11168 arg7 = wxString_in_helper(obj6);
11169 if (arg7 == NULL) SWIG_fail;
11170 temp7 = true;
11171 }
11172 }
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 {
11181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11182 }
11183 {
11184 if (temp7)
11185 delete arg7;
11186 }
11187 return resultobj;
11188 fail:
11189 {
11190 if (temp7)
11191 delete arg7;
11192 }
11193 return NULL;
11194}
11195
11196
11197static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11198 PyObject *resultobj;
11199 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11200 size_t arg2 ;
11201 PyObject * obj0 = 0 ;
11202 PyObject * obj1 = 0 ;
11203 char *kwnames[] = {
11204 (char *) "self",(char *) "count", NULL
11205 };
11206
11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11209 if (SWIG_arg_fail(1)) SWIG_fail;
11210 {
11211 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11212 if (SWIG_arg_fail(2)) SWIG_fail;
11213 }
11214 {
11215 PyThreadState* __tstate = wxPyBeginAllowThreads();
11216 (arg1)->SetLineCount(arg2);
11217
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 }
11221 Py_INCREF(Py_None); resultobj = Py_None;
11222 return resultobj;
11223 fail:
11224 return NULL;
11225}
11226
11227
11228static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11229 PyObject *resultobj;
11230 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11231 size_t arg2 ;
11232 bool result;
11233 PyObject * obj0 = 0 ;
11234 PyObject * obj1 = 0 ;
11235 char *kwnames[] = {
11236 (char *) "self",(char *) "line", NULL
11237 };
11238
11239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11241 if (SWIG_arg_fail(1)) SWIG_fail;
11242 {
11243 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11244 if (SWIG_arg_fail(2)) SWIG_fail;
11245 }
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 result = (bool)(arg1)->ScrollToLine(arg2);
11249
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) SWIG_fail;
11252 }
11253 {
11254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11255 }
11256 return resultobj;
11257 fail:
11258 return NULL;
11259}
11260
11261
11262static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11263 PyObject *resultobj;
11264 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11265 int arg2 ;
11266 bool result;
11267 PyObject * obj0 = 0 ;
11268 PyObject * obj1 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self",(char *) "lines", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11275 if (SWIG_arg_fail(1)) SWIG_fail;
11276 {
11277 arg2 = (int)(SWIG_As_int(obj1));
11278 if (SWIG_arg_fail(2)) SWIG_fail;
11279 }
11280 {
11281 PyThreadState* __tstate = wxPyBeginAllowThreads();
11282 result = (bool)(arg1)->ScrollLines(arg2);
11283
11284 wxPyEndAllowThreads(__tstate);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 }
11287 {
11288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11289 }
11290 return resultobj;
11291 fail:
11292 return NULL;
11293}
11294
11295
11296static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11297 PyObject *resultobj;
11298 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11299 int arg2 ;
11300 bool result;
11301 PyObject * obj0 = 0 ;
11302 PyObject * obj1 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self",(char *) "pages", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail;
11310 {
11311 arg2 = (int)(SWIG_As_int(obj1));
11312 if (SWIG_arg_fail(2)) SWIG_fail;
11313 }
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 result = (bool)(arg1)->ScrollPages(arg2);
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 {
11322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11323 }
11324 return resultobj;
11325 fail:
11326 return NULL;
11327}
11328
11329
11330static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11331 PyObject *resultobj;
11332 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11333 size_t arg2 ;
11334 PyObject * obj0 = 0 ;
11335 PyObject * obj1 = 0 ;
11336 char *kwnames[] = {
11337 (char *) "self",(char *) "line", NULL
11338 };
11339
11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11342 if (SWIG_arg_fail(1)) SWIG_fail;
11343 {
11344 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11345 if (SWIG_arg_fail(2)) SWIG_fail;
11346 }
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 (arg1)->RefreshLine(arg2);
11350
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 Py_INCREF(Py_None); resultobj = Py_None;
11355 return resultobj;
11356 fail:
11357 return NULL;
11358}
11359
11360
11361static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11362 PyObject *resultobj;
11363 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11364 size_t arg2 ;
11365 size_t arg3 ;
11366 PyObject * obj0 = 0 ;
11367 PyObject * obj1 = 0 ;
11368 PyObject * obj2 = 0 ;
11369 char *kwnames[] = {
11370 (char *) "self",(char *) "from",(char *) "to", NULL
11371 };
11372
11373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11375 if (SWIG_arg_fail(1)) SWIG_fail;
11376 {
11377 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11378 if (SWIG_arg_fail(2)) SWIG_fail;
11379 }
11380 {
11381 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11382 if (SWIG_arg_fail(3)) SWIG_fail;
11383 }
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 (arg1)->RefreshLines(arg2,arg3);
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 Py_INCREF(Py_None); resultobj = Py_None;
11392 return resultobj;
11393 fail:
11394 return NULL;
11395}
11396
11397
11398static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11399 PyObject *resultobj;
11400 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11401 int arg2 ;
11402 int arg3 ;
11403 int result;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 PyObject * obj2 = 0 ;
11407 char *kwnames[] = {
11408 (char *) "self",(char *) "x",(char *) "y", NULL
11409 };
11410
11411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11413 if (SWIG_arg_fail(1)) SWIG_fail;
11414 {
11415 arg2 = (int)(SWIG_As_int(obj1));
11416 if (SWIG_arg_fail(2)) SWIG_fail;
11417 }
11418 {
11419 arg3 = (int)(SWIG_As_int(obj2));
11420 if (SWIG_arg_fail(3)) SWIG_fail;
11421 }
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 {
11430 resultobj = SWIG_From_int((int)(result));
11431 }
11432 return resultobj;
11433 fail:
11434 return NULL;
11435}
11436
11437
11438static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11439 PyObject *resultobj;
11440 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11441 wxPoint *arg2 = 0 ;
11442 int result;
11443 wxPoint temp2 ;
11444 PyObject * obj0 = 0 ;
11445 PyObject * obj1 = 0 ;
11446 char *kwnames[] = {
11447 (char *) "self",(char *) "pt", NULL
11448 };
11449
11450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11452 if (SWIG_arg_fail(1)) SWIG_fail;
11453 {
11454 arg2 = &temp2;
11455 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11456 }
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 {
11465 resultobj = SWIG_From_int((int)(result));
11466 }
11467 return resultobj;
11468 fail:
11469 return NULL;
11470}
11471
11472
11473static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11474 PyObject *resultobj;
11475 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11476 PyObject * obj0 = 0 ;
11477 char *kwnames[] = {
11478 (char *) "self", NULL
11479 };
11480
11481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11483 if (SWIG_arg_fail(1)) SWIG_fail;
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 (arg1)->RefreshAll();
11487
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 Py_INCREF(Py_None); resultobj = Py_None;
11492 return resultobj;
11493 fail:
11494 return NULL;
11495}
11496
11497
11498static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11499 PyObject *resultobj;
11500 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11501 size_t result;
11502 PyObject * obj0 = 0 ;
11503 char *kwnames[] = {
11504 (char *) "self", NULL
11505 };
11506
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail;
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 {
11518 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11519 }
11520 return resultobj;
11521 fail:
11522 return NULL;
11523}
11524
11525
11526static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
11527 PyObject *resultobj;
11528 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11529 size_t result;
11530 PyObject * obj0 = 0 ;
11531 char *kwnames[] = {
11532 (char *) "self", NULL
11533 };
11534
11535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
11536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11537 if (SWIG_arg_fail(1)) SWIG_fail;
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 {
11546 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11547 }
11548 return resultobj;
11549 fail:
11550 return NULL;
11551}
11552
11553
11554static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11555 PyObject *resultobj;
11556 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11557 size_t result;
11558 PyObject * obj0 = 0 ;
11559 char *kwnames[] = {
11560 (char *) "self", NULL
11561 };
11562
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
11564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11565 if (SWIG_arg_fail(1)) SWIG_fail;
11566 {
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
11569
11570 wxPyEndAllowThreads(__tstate);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 {
11574 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11575 }
11576 return resultobj;
11577 fail:
11578 return NULL;
11579}
11580
11581
11582static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj;
11584 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11585 size_t arg2 ;
11586 bool result;
11587 PyObject * obj0 = 0 ;
11588 PyObject * obj1 = 0 ;
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "line", NULL
11591 };
11592
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11595 if (SWIG_arg_fail(1)) SWIG_fail;
11596 {
11597 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11598 if (SWIG_arg_fail(2)) SWIG_fail;
11599 }
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 {
11608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11609 }
11610 return resultobj;
11611 fail:
11612 return NULL;
11613}
11614
11615
11616static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11619 size_t result;
11620 PyObject * obj0 = 0 ;
11621 char *kwnames[] = {
11622 (char *) "self", NULL
11623 };
11624
11625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11627 if (SWIG_arg_fail(1)) SWIG_fail;
11628 {
11629 PyThreadState* __tstate = wxPyBeginAllowThreads();
11630 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11631
11632 wxPyEndAllowThreads(__tstate);
11633 if (PyErr_Occurred()) SWIG_fail;
11634 }
11635 {
11636 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11637 }
11638 return resultobj;
11639 fail:
11640 return NULL;
11641}
11642
11643
11644static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj;
11646 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11647 size_t result;
11648 PyObject * obj0 = 0 ;
11649 char *kwnames[] = {
11650 (char *) "self", NULL
11651 };
11652
11653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11655 if (SWIG_arg_fail(1)) SWIG_fail;
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 {
11664 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11665 }
11666 return resultobj;
11667 fail:
11668 return NULL;
11669}
11670
11671
11672static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11673 PyObject *obj;
11674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11675 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11676 Py_INCREF(obj);
11677 return Py_BuildValue((char *)"");
11678}
11679static int _wrap_VListBoxNameStr_set(PyObject *) {
11680 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11681 return 1;
11682}
11683
11684
11685static PyObject *_wrap_VListBoxNameStr_get(void) {
11686 PyObject *pyobj;
11687
11688 {
11689#if wxUSE_UNICODE
11690 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11691#else
11692 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11693#endif
11694 }
11695 return pyobj;
11696}
11697
11698
11699static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj;
11701 wxWindow *arg1 = (wxWindow *) 0 ;
11702 int arg2 = (int) wxID_ANY ;
11703 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11704 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11705 wxSize const &arg4_defvalue = wxDefaultSize ;
11706 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11707 long arg5 = (long) 0 ;
11708 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11709 wxString *arg6 = (wxString *) &arg6_defvalue ;
11710 wxPyVListBox *result;
11711 wxPoint temp3 ;
11712 wxSize temp4 ;
11713 bool temp6 = false ;
11714 PyObject * obj0 = 0 ;
11715 PyObject * obj1 = 0 ;
11716 PyObject * obj2 = 0 ;
11717 PyObject * obj3 = 0 ;
11718 PyObject * obj4 = 0 ;
11719 PyObject * obj5 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11726 if (SWIG_arg_fail(1)) SWIG_fail;
11727 if (obj1) {
11728 {
11729 arg2 = (int)(SWIG_As_int(obj1));
11730 if (SWIG_arg_fail(2)) SWIG_fail;
11731 }
11732 }
11733 if (obj2) {
11734 {
11735 arg3 = &temp3;
11736 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11737 }
11738 }
11739 if (obj3) {
11740 {
11741 arg4 = &temp4;
11742 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11743 }
11744 }
11745 if (obj4) {
11746 {
11747 arg5 = (long)(SWIG_As_long(obj4));
11748 if (SWIG_arg_fail(5)) SWIG_fail;
11749 }
11750 }
11751 if (obj5) {
11752 {
11753 arg6 = wxString_in_helper(obj5);
11754 if (arg6 == NULL) SWIG_fail;
11755 temp6 = true;
11756 }
11757 }
11758 {
11759 if (!wxPyCheckForApp()) SWIG_fail;
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11767 {
11768 if (temp6)
11769 delete arg6;
11770 }
11771 return resultobj;
11772 fail:
11773 {
11774 if (temp6)
11775 delete arg6;
11776 }
11777 return NULL;
11778}
11779
11780
11781static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11782 PyObject *resultobj;
11783 wxPyVListBox *result;
11784 char *kwnames[] = {
11785 NULL
11786 };
11787
11788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11789 {
11790 if (!wxPyCheckForApp()) SWIG_fail;
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 result = (wxPyVListBox *)new wxPyVListBox();
11793
11794 wxPyEndAllowThreads(__tstate);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
11797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11798 return resultobj;
11799 fail:
11800 return NULL;
11801}
11802
11803
11804static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11805 PyObject *resultobj;
11806 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11807 PyObject *arg2 = (PyObject *) 0 ;
11808 PyObject *arg3 = (PyObject *) 0 ;
11809 PyObject * obj0 = 0 ;
11810 PyObject * obj1 = 0 ;
11811 PyObject * obj2 = 0 ;
11812 char *kwnames[] = {
11813 (char *) "self",(char *) "self",(char *) "_class", NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11818 if (SWIG_arg_fail(1)) SWIG_fail;
11819 arg2 = obj1;
11820 arg3 = obj2;
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 (arg1)->_setCallbackInfo(arg2,arg3);
11824
11825 wxPyEndAllowThreads(__tstate);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
11828 Py_INCREF(Py_None); resultobj = Py_None;
11829 return resultobj;
11830 fail:
11831 return NULL;
11832}
11833
11834
11835static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11836 PyObject *resultobj;
11837 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11838 wxWindow *arg2 = (wxWindow *) 0 ;
11839 int arg3 = (int) wxID_ANY ;
11840 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11841 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11842 wxSize const &arg5_defvalue = wxDefaultSize ;
11843 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11844 long arg6 = (long) 0 ;
11845 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11846 wxString *arg7 = (wxString *) &arg7_defvalue ;
11847 bool result;
11848 wxPoint temp4 ;
11849 wxSize temp5 ;
11850 bool temp7 = false ;
11851 PyObject * obj0 = 0 ;
11852 PyObject * obj1 = 0 ;
11853 PyObject * obj2 = 0 ;
11854 PyObject * obj3 = 0 ;
11855 PyObject * obj4 = 0 ;
11856 PyObject * obj5 = 0 ;
11857 PyObject * obj6 = 0 ;
11858 char *kwnames[] = {
11859 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11860 };
11861
11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11864 if (SWIG_arg_fail(1)) SWIG_fail;
11865 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11866 if (SWIG_arg_fail(2)) SWIG_fail;
11867 if (obj2) {
11868 {
11869 arg3 = (int)(SWIG_As_int(obj2));
11870 if (SWIG_arg_fail(3)) SWIG_fail;
11871 }
11872 }
11873 if (obj3) {
11874 {
11875 arg4 = &temp4;
11876 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11877 }
11878 }
11879 if (obj4) {
11880 {
11881 arg5 = &temp5;
11882 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11883 }
11884 }
11885 if (obj5) {
11886 {
11887 arg6 = (long)(SWIG_As_long(obj5));
11888 if (SWIG_arg_fail(6)) SWIG_fail;
11889 }
11890 }
11891 if (obj6) {
11892 {
11893 arg7 = wxString_in_helper(obj6);
11894 if (arg7 == NULL) SWIG_fail;
11895 temp7 = true;
11896 }
11897 }
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 {
11906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11907 }
11908 {
11909 if (temp7)
11910 delete arg7;
11911 }
11912 return resultobj;
11913 fail:
11914 {
11915 if (temp7)
11916 delete arg7;
11917 }
11918 return NULL;
11919}
11920
11921
11922static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj;
11924 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11925 size_t result;
11926 PyObject * obj0 = 0 ;
11927 char *kwnames[] = {
11928 (char *) "self", NULL
11929 };
11930
11931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
11932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11933 if (SWIG_arg_fail(1)) SWIG_fail;
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 {
11942 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11943 }
11944 return resultobj;
11945 fail:
11946 return NULL;
11947}
11948
11949
11950static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11951 PyObject *resultobj;
11952 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11953 bool result;
11954 PyObject * obj0 = 0 ;
11955 char *kwnames[] = {
11956 (char *) "self", NULL
11957 };
11958
11959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
11960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11961 if (SWIG_arg_fail(1)) SWIG_fail;
11962 {
11963 PyThreadState* __tstate = wxPyBeginAllowThreads();
11964 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11965
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
11969 {
11970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11971 }
11972 return resultobj;
11973 fail:
11974 return NULL;
11975}
11976
11977
11978static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11979 PyObject *resultobj;
11980 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11981 int result;
11982 PyObject * obj0 = 0 ;
11983 char *kwnames[] = {
11984 (char *) "self", NULL
11985 };
11986
11987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
11988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11989 if (SWIG_arg_fail(1)) SWIG_fail;
11990 {
11991 PyThreadState* __tstate = wxPyBeginAllowThreads();
11992 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
11993
11994 wxPyEndAllowThreads(__tstate);
11995 if (PyErr_Occurred()) SWIG_fail;
11996 }
11997 {
11998 resultobj = SWIG_From_int((int)(result));
11999 }
12000 return resultobj;
12001 fail:
12002 return NULL;
12003}
12004
12005
12006static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12007 PyObject *resultobj;
12008 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12009 size_t arg2 ;
12010 bool result;
12011 PyObject * obj0 = 0 ;
12012 PyObject * obj1 = 0 ;
12013 char *kwnames[] = {
12014 (char *) "self",(char *) "item", NULL
12015 };
12016
12017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
12018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail;
12020 {
12021 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12022 if (SWIG_arg_fail(2)) SWIG_fail;
12023 }
12024 {
12025 PyThreadState* __tstate = wxPyBeginAllowThreads();
12026 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12027
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 {
12032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12033 }
12034 return resultobj;
12035 fail:
12036 return NULL;
12037}
12038
12039
12040static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj;
12042 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12043 size_t arg2 ;
12044 bool result;
12045 PyObject * obj0 = 0 ;
12046 PyObject * obj1 = 0 ;
12047 char *kwnames[] = {
12048 (char *) "self",(char *) "item", NULL
12049 };
12050
12051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
12052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12053 if (SWIG_arg_fail(1)) SWIG_fail;
12054 {
12055 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12056 if (SWIG_arg_fail(2)) SWIG_fail;
12057 }
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12061
12062 wxPyEndAllowThreads(__tstate);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
12065 {
12066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12067 }
12068 return resultobj;
12069 fail:
12070 return NULL;
12071}
12072
12073
12074static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj;
12076 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12077 size_t result;
12078 PyObject * obj0 = 0 ;
12079 char *kwnames[] = {
12080 (char *) "self", NULL
12081 };
12082
12083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12085 if (SWIG_arg_fail(1)) SWIG_fail;
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12089
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 {
12094 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12095 }
12096 return resultobj;
12097 fail:
12098 return NULL;
12099}
12100
12101
12102static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12105 PyObject *result;
12106 PyObject * obj0 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12113 if (SWIG_arg_fail(1)) SWIG_fail;
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 resultobj = result;
12122 return resultobj;
12123 fail:
12124 return NULL;
12125}
12126
12127
12128static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj;
12130 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12131 unsigned long arg2 ;
12132 PyObject *result;
12133 PyObject * obj0 = 0 ;
12134 PyObject * obj1 = 0 ;
12135 char *kwnames[] = {
12136 (char *) "self",(char *) "cookie", NULL
12137 };
12138
12139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12141 if (SWIG_arg_fail(1)) SWIG_fail;
12142 {
12143 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12144 if (SWIG_arg_fail(2)) SWIG_fail;
12145 }
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12149
12150 wxPyEndAllowThreads(__tstate);
12151 if (PyErr_Occurred()) SWIG_fail;
12152 }
12153 resultobj = result;
12154 return resultobj;
12155 fail:
12156 return NULL;
12157}
12158
12159
12160static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12161 PyObject *resultobj;
12162 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12163 wxPoint result;
12164 PyObject * obj0 = 0 ;
12165 char *kwnames[] = {
12166 (char *) "self", NULL
12167 };
12168
12169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12171 if (SWIG_arg_fail(1)) SWIG_fail;
12172 {
12173 PyThreadState* __tstate = wxPyBeginAllowThreads();
12174 result = ((wxPyVListBox const *)arg1)->GetMargins();
12175
12176 wxPyEndAllowThreads(__tstate);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 {
12180 wxPoint * resultptr;
12181 resultptr = new wxPoint((wxPoint &)(result));
12182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12183 }
12184 return resultobj;
12185 fail:
12186 return NULL;
12187}
12188
12189
12190static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12193 wxColour *result;
12194 PyObject * obj0 = 0 ;
12195 char *kwnames[] = {
12196 (char *) "self", NULL
12197 };
12198
12199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12201 if (SWIG_arg_fail(1)) SWIG_fail;
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 {
12205 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12206 result = (wxColour *) &_result_ref;
12207 }
12208
12209 wxPyEndAllowThreads(__tstate);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
12212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12213 return resultobj;
12214 fail:
12215 return NULL;
12216}
12217
12218
12219static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12220 PyObject *resultobj;
12221 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12222 size_t arg2 ;
12223 PyObject * obj0 = 0 ;
12224 PyObject * obj1 = 0 ;
12225 char *kwnames[] = {
12226 (char *) "self",(char *) "count", NULL
12227 };
12228
12229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12231 if (SWIG_arg_fail(1)) SWIG_fail;
12232 {
12233 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12234 if (SWIG_arg_fail(2)) SWIG_fail;
12235 }
12236 {
12237 PyThreadState* __tstate = wxPyBeginAllowThreads();
12238 (arg1)->SetItemCount(arg2);
12239
12240 wxPyEndAllowThreads(__tstate);
12241 if (PyErr_Occurred()) SWIG_fail;
12242 }
12243 Py_INCREF(Py_None); resultobj = Py_None;
12244 return resultobj;
12245 fail:
12246 return NULL;
12247}
12248
12249
12250static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12251 PyObject *resultobj;
12252 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12253 PyObject * obj0 = 0 ;
12254 char *kwnames[] = {
12255 (char *) "self", NULL
12256 };
12257
12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12260 if (SWIG_arg_fail(1)) SWIG_fail;
12261 {
12262 PyThreadState* __tstate = wxPyBeginAllowThreads();
12263 (arg1)->Clear();
12264
12265 wxPyEndAllowThreads(__tstate);
12266 if (PyErr_Occurred()) SWIG_fail;
12267 }
12268 Py_INCREF(Py_None); resultobj = Py_None;
12269 return resultobj;
12270 fail:
12271 return NULL;
12272}
12273
12274
12275static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12276 PyObject *resultobj;
12277 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12278 int arg2 ;
12279 PyObject * obj0 = 0 ;
12280 PyObject * obj1 = 0 ;
12281 char *kwnames[] = {
12282 (char *) "self",(char *) "selection", NULL
12283 };
12284
12285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12287 if (SWIG_arg_fail(1)) SWIG_fail;
12288 {
12289 arg2 = (int)(SWIG_As_int(obj1));
12290 if (SWIG_arg_fail(2)) SWIG_fail;
12291 }
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 (arg1)->SetSelection(arg2);
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 Py_INCREF(Py_None); resultobj = Py_None;
12300 return resultobj;
12301 fail:
12302 return NULL;
12303}
12304
12305
12306static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12307 PyObject *resultobj;
12308 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12309 size_t arg2 ;
12310 bool arg3 = (bool) true ;
12311 bool result;
12312 PyObject * obj0 = 0 ;
12313 PyObject * obj1 = 0 ;
12314 PyObject * obj2 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "self",(char *) "item",(char *) "select", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12321 if (SWIG_arg_fail(1)) SWIG_fail;
12322 {
12323 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12324 if (SWIG_arg_fail(2)) SWIG_fail;
12325 }
12326 if (obj2) {
12327 {
12328 arg3 = (bool)(SWIG_As_bool(obj2));
12329 if (SWIG_arg_fail(3)) SWIG_fail;
12330 }
12331 }
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 result = (bool)(arg1)->Select(arg2,arg3);
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
12339 {
12340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12341 }
12342 return resultobj;
12343 fail:
12344 return NULL;
12345}
12346
12347
12348static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj;
12350 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12351 size_t arg2 ;
12352 size_t arg3 ;
12353 bool result;
12354 PyObject * obj0 = 0 ;
12355 PyObject * obj1 = 0 ;
12356 PyObject * obj2 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self",(char *) "from",(char *) "to", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12366 if (SWIG_arg_fail(2)) SWIG_fail;
12367 }
12368 {
12369 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12370 if (SWIG_arg_fail(3)) SWIG_fail;
12371 }
12372 {
12373 PyThreadState* __tstate = wxPyBeginAllowThreads();
12374 result = (bool)(arg1)->SelectRange(arg2,arg3);
12375
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 {
12380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12381 }
12382 return resultobj;
12383 fail:
12384 return NULL;
12385}
12386
12387
12388static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj;
12390 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12391 size_t arg2 ;
12392 PyObject * obj0 = 0 ;
12393 PyObject * obj1 = 0 ;
12394 char *kwnames[] = {
12395 (char *) "self",(char *) "item", NULL
12396 };
12397
12398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12400 if (SWIG_arg_fail(1)) SWIG_fail;
12401 {
12402 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12403 if (SWIG_arg_fail(2)) SWIG_fail;
12404 }
12405 {
12406 PyThreadState* __tstate = wxPyBeginAllowThreads();
12407 (arg1)->Toggle(arg2);
12408
12409 wxPyEndAllowThreads(__tstate);
12410 if (PyErr_Occurred()) SWIG_fail;
12411 }
12412 Py_INCREF(Py_None); resultobj = Py_None;
12413 return resultobj;
12414 fail:
12415 return NULL;
12416}
12417
12418
12419static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12420 PyObject *resultobj;
12421 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12422 bool result;
12423 PyObject * obj0 = 0 ;
12424 char *kwnames[] = {
12425 (char *) "self", NULL
12426 };
12427
12428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12430 if (SWIG_arg_fail(1)) SWIG_fail;
12431 {
12432 PyThreadState* __tstate = wxPyBeginAllowThreads();
12433 result = (bool)(arg1)->SelectAll();
12434
12435 wxPyEndAllowThreads(__tstate);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 {
12439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12440 }
12441 return resultobj;
12442 fail:
12443 return NULL;
12444}
12445
12446
12447static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12448 PyObject *resultobj;
12449 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12450 bool result;
12451 PyObject * obj0 = 0 ;
12452 char *kwnames[] = {
12453 (char *) "self", NULL
12454 };
12455
12456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12458 if (SWIG_arg_fail(1)) SWIG_fail;
12459 {
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 result = (bool)(arg1)->DeselectAll();
12462
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 {
12467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12468 }
12469 return resultobj;
12470 fail:
12471 return NULL;
12472}
12473
12474
12475static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj;
12477 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12478 wxPoint *arg2 = 0 ;
12479 wxPoint temp2 ;
12480 PyObject * obj0 = 0 ;
12481 PyObject * obj1 = 0 ;
12482 char *kwnames[] = {
12483 (char *) "self",(char *) "pt", NULL
12484 };
12485
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12488 if (SWIG_arg_fail(1)) SWIG_fail;
12489 {
12490 arg2 = &temp2;
12491 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12492 }
12493 {
12494 PyThreadState* __tstate = wxPyBeginAllowThreads();
12495 (arg1)->SetMargins((wxPoint const &)*arg2);
12496
12497 wxPyEndAllowThreads(__tstate);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 }
12500 Py_INCREF(Py_None); resultobj = Py_None;
12501 return resultobj;
12502 fail:
12503 return NULL;
12504}
12505
12506
12507static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj;
12509 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12510 int arg2 ;
12511 int arg3 ;
12512 PyObject * obj0 = 0 ;
12513 PyObject * obj1 = 0 ;
12514 PyObject * obj2 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self",(char *) "x",(char *) "y", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12521 if (SWIG_arg_fail(1)) SWIG_fail;
12522 {
12523 arg2 = (int)(SWIG_As_int(obj1));
12524 if (SWIG_arg_fail(2)) SWIG_fail;
12525 }
12526 {
12527 arg3 = (int)(SWIG_As_int(obj2));
12528 if (SWIG_arg_fail(3)) SWIG_fail;
12529 }
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 (arg1)->SetMargins(arg2,arg3);
12533
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 Py_INCREF(Py_None); resultobj = Py_None;
12538 return resultobj;
12539 fail:
12540 return NULL;
12541}
12542
12543
12544static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12545 PyObject *resultobj;
12546 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12547 wxColour *arg2 = 0 ;
12548 wxColour temp2 ;
12549 PyObject * obj0 = 0 ;
12550 PyObject * obj1 = 0 ;
12551 char *kwnames[] = {
12552 (char *) "self",(char *) "col", NULL
12553 };
12554
12555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12557 if (SWIG_arg_fail(1)) SWIG_fail;
12558 {
12559 arg2 = &temp2;
12560 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12561 }
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 Py_INCREF(Py_None); resultobj = Py_None;
12570 return resultobj;
12571 fail:
12572 return NULL;
12573}
12574
12575
12576static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12577 PyObject *obj;
12578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12579 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12580 Py_INCREF(obj);
12581 return Py_BuildValue((char *)"");
12582}
12583static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12584 PyObject *resultobj;
12585 wxWindow *arg1 = (wxWindow *) 0 ;
12586 int arg2 = (int) wxID_ANY ;
12587 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12588 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12589 wxSize const &arg4_defvalue = wxDefaultSize ;
12590 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12591 long arg5 = (long) 0 ;
12592 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12593 wxString *arg6 = (wxString *) &arg6_defvalue ;
12594 wxPyHtmlListBox *result;
12595 wxPoint temp3 ;
12596 wxSize temp4 ;
12597 bool temp6 = false ;
12598 PyObject * obj0 = 0 ;
12599 PyObject * obj1 = 0 ;
12600 PyObject * obj2 = 0 ;
12601 PyObject * obj3 = 0 ;
12602 PyObject * obj4 = 0 ;
12603 PyObject * obj5 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12610 if (SWIG_arg_fail(1)) SWIG_fail;
12611 if (obj1) {
12612 {
12613 arg2 = (int)(SWIG_As_int(obj1));
12614 if (SWIG_arg_fail(2)) SWIG_fail;
12615 }
12616 }
12617 if (obj2) {
12618 {
12619 arg3 = &temp3;
12620 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12621 }
12622 }
12623 if (obj3) {
12624 {
12625 arg4 = &temp4;
12626 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12627 }
12628 }
12629 if (obj4) {
12630 {
12631 arg5 = (long)(SWIG_As_long(obj4));
12632 if (SWIG_arg_fail(5)) SWIG_fail;
12633 }
12634 }
12635 if (obj5) {
12636 {
12637 arg6 = wxString_in_helper(obj5);
12638 if (arg6 == NULL) SWIG_fail;
12639 temp6 = true;
12640 }
12641 }
12642 {
12643 if (!wxPyCheckForApp()) SWIG_fail;
12644 PyThreadState* __tstate = wxPyBeginAllowThreads();
12645 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12646
12647 wxPyEndAllowThreads(__tstate);
12648 if (PyErr_Occurred()) SWIG_fail;
12649 }
12650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12651 {
12652 if (temp6)
12653 delete arg6;
12654 }
12655 return resultobj;
12656 fail:
12657 {
12658 if (temp6)
12659 delete arg6;
12660 }
12661 return NULL;
12662}
12663
12664
12665static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj;
12667 wxPyHtmlListBox *result;
12668 char *kwnames[] = {
12669 NULL
12670 };
12671
12672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12673 {
12674 if (!wxPyCheckForApp()) SWIG_fail;
12675 PyThreadState* __tstate = wxPyBeginAllowThreads();
12676 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12677
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12682 return resultobj;
12683 fail:
12684 return NULL;
12685}
12686
12687
12688static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12689 PyObject *resultobj;
12690 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12691 PyObject *arg2 = (PyObject *) 0 ;
12692 PyObject *arg3 = (PyObject *) 0 ;
12693 PyObject * obj0 = 0 ;
12694 PyObject * obj1 = 0 ;
12695 PyObject * obj2 = 0 ;
12696 char *kwnames[] = {
12697 (char *) "self",(char *) "self",(char *) "_class", NULL
12698 };
12699
12700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12702 if (SWIG_arg_fail(1)) SWIG_fail;
12703 arg2 = obj1;
12704 arg3 = obj2;
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 (arg1)->_setCallbackInfo(arg2,arg3);
12708
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 Py_INCREF(Py_None); resultobj = Py_None;
12713 return resultobj;
12714 fail:
12715 return NULL;
12716}
12717
12718
12719static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj;
12721 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12722 wxWindow *arg2 = (wxWindow *) 0 ;
12723 int arg3 = (int) wxID_ANY ;
12724 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12725 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12726 wxSize const &arg5_defvalue = wxDefaultSize ;
12727 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12728 long arg6 = (long) 0 ;
12729 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12730 wxString *arg7 = (wxString *) &arg7_defvalue ;
12731 bool result;
12732 wxPoint temp4 ;
12733 wxSize temp5 ;
12734 bool temp7 = false ;
12735 PyObject * obj0 = 0 ;
12736 PyObject * obj1 = 0 ;
12737 PyObject * obj2 = 0 ;
12738 PyObject * obj3 = 0 ;
12739 PyObject * obj4 = 0 ;
12740 PyObject * obj5 = 0 ;
12741 PyObject * obj6 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12748 if (SWIG_arg_fail(1)) SWIG_fail;
12749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12750 if (SWIG_arg_fail(2)) SWIG_fail;
12751 if (obj2) {
12752 {
12753 arg3 = (int)(SWIG_As_int(obj2));
12754 if (SWIG_arg_fail(3)) SWIG_fail;
12755 }
12756 }
12757 if (obj3) {
12758 {
12759 arg4 = &temp4;
12760 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12761 }
12762 }
12763 if (obj4) {
12764 {
12765 arg5 = &temp5;
12766 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12767 }
12768 }
12769 if (obj5) {
12770 {
12771 arg6 = (long)(SWIG_As_long(obj5));
12772 if (SWIG_arg_fail(6)) SWIG_fail;
12773 }
12774 }
12775 if (obj6) {
12776 {
12777 arg7 = wxString_in_helper(obj6);
12778 if (arg7 == NULL) SWIG_fail;
12779 temp7 = true;
12780 }
12781 }
12782 {
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12785
12786 wxPyEndAllowThreads(__tstate);
12787 if (PyErr_Occurred()) SWIG_fail;
12788 }
12789 {
12790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12791 }
12792 {
12793 if (temp7)
12794 delete arg7;
12795 }
12796 return resultobj;
12797 fail:
12798 {
12799 if (temp7)
12800 delete arg7;
12801 }
12802 return NULL;
12803}
12804
12805
12806static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12809 PyObject * obj0 = 0 ;
12810 char *kwnames[] = {
12811 (char *) "self", NULL
12812 };
12813
12814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12816 if (SWIG_arg_fail(1)) SWIG_fail;
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 (arg1)->RefreshAll();
12820
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 Py_INCREF(Py_None); resultobj = Py_None;
12825 return resultobj;
12826 fail:
12827 return NULL;
12828}
12829
12830
12831static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12832 PyObject *resultobj;
12833 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12834 size_t arg2 ;
12835 PyObject * obj0 = 0 ;
12836 PyObject * obj1 = 0 ;
12837 char *kwnames[] = {
12838 (char *) "self",(char *) "count", NULL
12839 };
12840
12841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12843 if (SWIG_arg_fail(1)) SWIG_fail;
12844 {
12845 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12846 if (SWIG_arg_fail(2)) SWIG_fail;
12847 }
12848 {
12849 PyThreadState* __tstate = wxPyBeginAllowThreads();
12850 (arg1)->SetItemCount(arg2);
12851
12852 wxPyEndAllowThreads(__tstate);
12853 if (PyErr_Occurred()) SWIG_fail;
12854 }
12855 Py_INCREF(Py_None); resultobj = Py_None;
12856 return resultobj;
12857 fail:
12858 return NULL;
12859}
12860
12861
12862static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12863 PyObject *resultobj;
12864 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12865 wxFileSystem *result;
12866 PyObject * obj0 = 0 ;
12867 char *kwnames[] = {
12868 (char *) "self", NULL
12869 };
12870
12871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12873 if (SWIG_arg_fail(1)) SWIG_fail;
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 {
12877 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12878 result = (wxFileSystem *) &_result_ref;
12879 }
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12885 return resultobj;
12886 fail:
12887 return NULL;
12888}
12889
12890
12891static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12892 PyObject *obj;
12893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12894 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12895 Py_INCREF(obj);
12896 return Py_BuildValue((char *)"");
12897}
12898static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxPyTaskBarIcon *result;
12901 char *kwnames[] = {
12902 NULL
12903 };
12904
12905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12906 {
12907 if (!wxPyCheckForApp()) SWIG_fail;
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
12910
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
12915 return resultobj;
12916 fail:
12917 return NULL;
12918}
12919
12920
12921static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12922 PyObject *resultobj;
12923 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12924 PyObject *arg2 = (PyObject *) 0 ;
12925 PyObject *arg3 = (PyObject *) 0 ;
12926 int arg4 ;
12927 PyObject * obj0 = 0 ;
12928 PyObject * obj1 = 0 ;
12929 PyObject * obj2 = 0 ;
12930 PyObject * obj3 = 0 ;
12931 char *kwnames[] = {
12932 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12933 };
12934
12935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12937 if (SWIG_arg_fail(1)) SWIG_fail;
12938 arg2 = obj1;
12939 arg3 = obj2;
12940 {
12941 arg4 = (int)(SWIG_As_int(obj3));
12942 if (SWIG_arg_fail(4)) SWIG_fail;
12943 }
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 Py_INCREF(Py_None); resultobj = Py_None;
12952 return resultobj;
12953 fail:
12954 return NULL;
12955}
12956
12957
12958static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj;
12960 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12961 PyObject * obj0 = 0 ;
12962 char *kwnames[] = {
12963 (char *) "self", NULL
12964 };
12965
12966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
12967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12968 if (SWIG_arg_fail(1)) SWIG_fail;
12969 {
12970 PyThreadState* __tstate = wxPyBeginAllowThreads();
12971 wxPyTaskBarIcon_Destroy(arg1);
12972
12973 wxPyEndAllowThreads(__tstate);
12974 if (PyErr_Occurred()) SWIG_fail;
12975 }
12976 Py_INCREF(Py_None); resultobj = Py_None;
12977 return resultobj;
12978 fail:
12979 return NULL;
12980}
12981
12982
12983static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
12984 PyObject *resultobj;
12985 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12986 bool result;
12987 PyObject * obj0 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "self", NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
12993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail;
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
12997 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
12998
12999 wxPyEndAllowThreads(__tstate);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 {
13003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13004 }
13005 return resultobj;
13006 fail:
13007 return NULL;
13008}
13009
13010
13011static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
13012 PyObject *resultobj;
13013 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13014 bool result;
13015 PyObject * obj0 = 0 ;
13016 char *kwnames[] = {
13017 (char *) "self", NULL
13018 };
13019
13020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
13021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13022 if (SWIG_arg_fail(1)) SWIG_fail;
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 {
13031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13032 }
13033 return resultobj;
13034 fail:
13035 return NULL;
13036}
13037
13038
13039static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13040 PyObject *resultobj;
13041 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13042 wxIcon *arg2 = 0 ;
13043 wxString const &arg3_defvalue = wxPyEmptyString ;
13044 wxString *arg3 = (wxString *) &arg3_defvalue ;
13045 bool result;
13046 bool temp3 = false ;
13047 PyObject * obj0 = 0 ;
13048 PyObject * obj1 = 0 ;
13049 PyObject * obj2 = 0 ;
13050 char *kwnames[] = {
13051 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13052 };
13053
13054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13056 if (SWIG_arg_fail(1)) SWIG_fail;
13057 {
13058 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13059 if (SWIG_arg_fail(2)) SWIG_fail;
13060 if (arg2 == NULL) {
13061 SWIG_null_ref("wxIcon");
13062 }
13063 if (SWIG_arg_fail(2)) SWIG_fail;
13064 }
13065 if (obj2) {
13066 {
13067 arg3 = wxString_in_helper(obj2);
13068 if (arg3 == NULL) SWIG_fail;
13069 temp3 = true;
13070 }
13071 }
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 {
13080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13081 }
13082 {
13083 if (temp3)
13084 delete arg3;
13085 }
13086 return resultobj;
13087 fail:
13088 {
13089 if (temp3)
13090 delete arg3;
13091 }
13092 return NULL;
13093}
13094
13095
13096static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13097 PyObject *resultobj;
13098 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13099 bool result;
13100 PyObject * obj0 = 0 ;
13101 char *kwnames[] = {
13102 (char *) "self", NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13107 if (SWIG_arg_fail(1)) SWIG_fail;
13108 {
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 result = (bool)(arg1)->RemoveIcon();
13111
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) SWIG_fail;
13114 }
13115 {
13116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13117 }
13118 return resultobj;
13119 fail:
13120 return NULL;
13121}
13122
13123
13124static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13125 PyObject *resultobj;
13126 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13127 wxMenu *arg2 = (wxMenu *) 0 ;
13128 bool result;
13129 PyObject * obj0 = 0 ;
13130 PyObject * obj1 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self",(char *) "menu", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13137 if (SWIG_arg_fail(1)) SWIG_fail;
13138 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13139 if (SWIG_arg_fail(2)) SWIG_fail;
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 result = (bool)(arg1)->PopupMenu(arg2);
13143
13144 wxPyEndAllowThreads(__tstate);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 }
13147 {
13148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13149 }
13150 return resultobj;
13151 fail:
13152 return NULL;
13153}
13154
13155
13156static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13157 PyObject *obj;
13158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13159 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13160 Py_INCREF(obj);
13161 return Py_BuildValue((char *)"");
13162}
13163static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13164 PyObject *resultobj;
13165 wxEventType arg1 ;
13166 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13167 wxTaskBarIconEvent *result;
13168 PyObject * obj0 = 0 ;
13169 PyObject * obj1 = 0 ;
13170 char *kwnames[] = {
13171 (char *) "evtType",(char *) "tbIcon", NULL
13172 };
13173
13174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13175 {
13176 arg1 = (wxEventType)(SWIG_As_int(obj0));
13177 if (SWIG_arg_fail(1)) SWIG_fail;
13178 }
13179 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13180 if (SWIG_arg_fail(2)) SWIG_fail;
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13184
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13189 return resultobj;
13190 fail:
13191 return NULL;
13192}
13193
13194
13195static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13196 PyObject *obj;
13197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13198 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13199 Py_INCREF(obj);
13200 return Py_BuildValue((char *)"");
13201}
13202static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13203 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13204 return 1;
13205}
13206
13207
13208static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13209 PyObject *pyobj;
13210
13211 {
13212#if wxUSE_UNICODE
13213 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13214#else
13215 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13216#endif
13217 }
13218 return pyobj;
13219}
13220
13221
13222static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13223 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13224 return 1;
13225}
13226
13227
13228static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13229 PyObject *pyobj;
13230
13231 {
13232#if wxUSE_UNICODE
13233 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13234#else
13235 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13236#endif
13237 }
13238 return pyobj;
13239}
13240
13241
13242static int _wrap_DirDialogNameStr_set(PyObject *) {
13243 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13244 return 1;
13245}
13246
13247
13248static PyObject *_wrap_DirDialogNameStr_get(void) {
13249 PyObject *pyobj;
13250
13251 {
13252#if wxUSE_UNICODE
13253 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13254#else
13255 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13256#endif
13257 }
13258 return pyobj;
13259}
13260
13261
13262static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13263 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13264 return 1;
13265}
13266
13267
13268static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13269 PyObject *pyobj;
13270
13271 {
13272#if wxUSE_UNICODE
13273 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13274#else
13275 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13276#endif
13277 }
13278 return pyobj;
13279}
13280
13281
13282static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13283 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13284 return 1;
13285}
13286
13287
13288static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13289 PyObject *pyobj;
13290
13291 {
13292#if wxUSE_UNICODE
13293 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13294#else
13295 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13296#endif
13297 }
13298 return pyobj;
13299}
13300
13301
13302static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13303 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13304 return 1;
13305}
13306
13307
13308static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13309 PyObject *pyobj;
13310
13311 {
13312#if wxUSE_UNICODE
13313 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13314#else
13315 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13316#endif
13317 }
13318 return pyobj;
13319}
13320
13321
13322static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj;
13324 wxColourData *result;
13325 char *kwnames[] = {
13326 NULL
13327 };
13328
13329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13330 {
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = (wxColourData *)new wxColourData();
13333
13334 wxPyEndAllowThreads(__tstate);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
13337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13338 return resultobj;
13339 fail:
13340 return NULL;
13341}
13342
13343
13344static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13345 PyObject *resultobj;
13346 wxColourData *arg1 = (wxColourData *) 0 ;
13347 PyObject * obj0 = 0 ;
13348 char *kwnames[] = {
13349 (char *) "self", NULL
13350 };
13351
13352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13354 if (SWIG_arg_fail(1)) SWIG_fail;
13355 {
13356 PyThreadState* __tstate = wxPyBeginAllowThreads();
13357 delete arg1;
13358
13359 wxPyEndAllowThreads(__tstate);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 }
13362 Py_INCREF(Py_None); resultobj = Py_None;
13363 return resultobj;
13364 fail:
13365 return NULL;
13366}
13367
13368
13369static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13370 PyObject *resultobj;
13371 wxColourData *arg1 = (wxColourData *) 0 ;
13372 bool result;
13373 PyObject * obj0 = 0 ;
13374 char *kwnames[] = {
13375 (char *) "self", NULL
13376 };
13377
13378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13380 if (SWIG_arg_fail(1)) SWIG_fail;
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 result = (bool)(arg1)->GetChooseFull();
13384
13385 wxPyEndAllowThreads(__tstate);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 {
13389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13390 }
13391 return resultobj;
13392 fail:
13393 return NULL;
13394}
13395
13396
13397static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13398 PyObject *resultobj;
13399 wxColourData *arg1 = (wxColourData *) 0 ;
13400 wxColour result;
13401 PyObject * obj0 = 0 ;
13402 char *kwnames[] = {
13403 (char *) "self", NULL
13404 };
13405
13406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13408 if (SWIG_arg_fail(1)) SWIG_fail;
13409 {
13410 PyThreadState* __tstate = wxPyBeginAllowThreads();
13411 result = (arg1)->GetColour();
13412
13413 wxPyEndAllowThreads(__tstate);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 }
13416 {
13417 wxColour * resultptr;
13418 resultptr = new wxColour((wxColour &)(result));
13419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13420 }
13421 return resultobj;
13422 fail:
13423 return NULL;
13424}
13425
13426
13427static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13428 PyObject *resultobj;
13429 wxColourData *arg1 = (wxColourData *) 0 ;
13430 int arg2 ;
13431 wxColour result;
13432 PyObject * obj0 = 0 ;
13433 PyObject * obj1 = 0 ;
13434 char *kwnames[] = {
13435 (char *) "self",(char *) "i", NULL
13436 };
13437
13438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13440 if (SWIG_arg_fail(1)) SWIG_fail;
13441 {
13442 arg2 = (int)(SWIG_As_int(obj1));
13443 if (SWIG_arg_fail(2)) SWIG_fail;
13444 }
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 result = (arg1)->GetCustomColour(arg2);
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 {
13453 wxColour * resultptr;
13454 resultptr = new wxColour((wxColour &)(result));
13455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13456 }
13457 return resultobj;
13458 fail:
13459 return NULL;
13460}
13461
13462
13463static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13464 PyObject *resultobj;
13465 wxColourData *arg1 = (wxColourData *) 0 ;
13466 int arg2 ;
13467 PyObject * obj0 = 0 ;
13468 PyObject * obj1 = 0 ;
13469 char *kwnames[] = {
13470 (char *) "self",(char *) "flag", NULL
13471 };
13472
13473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13475 if (SWIG_arg_fail(1)) SWIG_fail;
13476 {
13477 arg2 = (int)(SWIG_As_int(obj1));
13478 if (SWIG_arg_fail(2)) SWIG_fail;
13479 }
13480 {
13481 PyThreadState* __tstate = wxPyBeginAllowThreads();
13482 (arg1)->SetChooseFull(arg2);
13483
13484 wxPyEndAllowThreads(__tstate);
13485 if (PyErr_Occurred()) SWIG_fail;
13486 }
13487 Py_INCREF(Py_None); resultobj = Py_None;
13488 return resultobj;
13489 fail:
13490 return NULL;
13491}
13492
13493
13494static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13495 PyObject *resultobj;
13496 wxColourData *arg1 = (wxColourData *) 0 ;
13497 wxColour *arg2 = 0 ;
13498 wxColour temp2 ;
13499 PyObject * obj0 = 0 ;
13500 PyObject * obj1 = 0 ;
13501 char *kwnames[] = {
13502 (char *) "self",(char *) "colour", NULL
13503 };
13504
13505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13507 if (SWIG_arg_fail(1)) SWIG_fail;
13508 {
13509 arg2 = &temp2;
13510 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13511 }
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 (arg1)->SetColour((wxColour const &)*arg2);
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 Py_INCREF(Py_None); resultobj = Py_None;
13520 return resultobj;
13521 fail:
13522 return NULL;
13523}
13524
13525
13526static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxColourData *arg1 = (wxColourData *) 0 ;
13529 int arg2 ;
13530 wxColour *arg3 = 0 ;
13531 wxColour temp3 ;
13532 PyObject * obj0 = 0 ;
13533 PyObject * obj1 = 0 ;
13534 PyObject * obj2 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self",(char *) "i",(char *) "colour", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13541 if (SWIG_arg_fail(1)) SWIG_fail;
13542 {
13543 arg2 = (int)(SWIG_As_int(obj1));
13544 if (SWIG_arg_fail(2)) SWIG_fail;
13545 }
13546 {
13547 arg3 = &temp3;
13548 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13549 }
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 Py_INCREF(Py_None); resultobj = Py_None;
13558 return resultobj;
13559 fail:
13560 return NULL;
13561}
13562
13563
13564static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13565 PyObject *obj;
13566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13567 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13568 Py_INCREF(obj);
13569 return Py_BuildValue((char *)"");
13570}
13571static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13572 PyObject *resultobj;
13573 wxWindow *arg1 = (wxWindow *) 0 ;
13574 wxColourData *arg2 = (wxColourData *) NULL ;
13575 wxColourDialog *result;
13576 PyObject * obj0 = 0 ;
13577 PyObject * obj1 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "parent",(char *) "data", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13584 if (SWIG_arg_fail(1)) SWIG_fail;
13585 if (obj1) {
13586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13587 if (SWIG_arg_fail(2)) SWIG_fail;
13588 }
13589 {
13590 if (!wxPyCheckForApp()) SWIG_fail;
13591 PyThreadState* __tstate = wxPyBeginAllowThreads();
13592 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13593
13594 wxPyEndAllowThreads(__tstate);
13595 if (PyErr_Occurred()) SWIG_fail;
13596 }
13597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13598 return resultobj;
13599 fail:
13600 return NULL;
13601}
13602
13603
13604static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13605 PyObject *resultobj;
13606 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13607 wxColourData *result;
13608 PyObject * obj0 = 0 ;
13609 char *kwnames[] = {
13610 (char *) "self", NULL
13611 };
13612
13613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13615 if (SWIG_arg_fail(1)) SWIG_fail;
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 {
13619 wxColourData &_result_ref = (arg1)->GetColourData();
13620 result = (wxColourData *) &_result_ref;
13621 }
13622
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13627 return resultobj;
13628 fail:
13629 return NULL;
13630}
13631
13632
13633static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13634 PyObject *obj;
13635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13636 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13637 Py_INCREF(obj);
13638 return Py_BuildValue((char *)"");
13639}
13640static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13641 PyObject *resultobj;
13642 wxWindow *arg1 = (wxWindow *) 0 ;
13643 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13644 wxString *arg2 = (wxString *) &arg2_defvalue ;
13645 wxString const &arg3_defvalue = wxPyEmptyString ;
13646 wxString *arg3 = (wxString *) &arg3_defvalue ;
13647 long arg4 = (long) 0 ;
13648 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13649 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13650 wxSize const &arg6_defvalue = wxDefaultSize ;
13651 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13652 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13653 wxString *arg7 = (wxString *) &arg7_defvalue ;
13654 wxDirDialog *result;
13655 bool temp2 = false ;
13656 bool temp3 = false ;
13657 wxPoint temp5 ;
13658 wxSize temp6 ;
13659 bool temp7 = false ;
13660 PyObject * obj0 = 0 ;
13661 PyObject * obj1 = 0 ;
13662 PyObject * obj2 = 0 ;
13663 PyObject * obj3 = 0 ;
13664 PyObject * obj4 = 0 ;
13665 PyObject * obj5 = 0 ;
13666 PyObject * obj6 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13673 if (SWIG_arg_fail(1)) SWIG_fail;
13674 if (obj1) {
13675 {
13676 arg2 = wxString_in_helper(obj1);
13677 if (arg2 == NULL) SWIG_fail;
13678 temp2 = true;
13679 }
13680 }
13681 if (obj2) {
13682 {
13683 arg3 = wxString_in_helper(obj2);
13684 if (arg3 == NULL) SWIG_fail;
13685 temp3 = true;
13686 }
13687 }
13688 if (obj3) {
13689 {
13690 arg4 = (long)(SWIG_As_long(obj3));
13691 if (SWIG_arg_fail(4)) SWIG_fail;
13692 }
13693 }
13694 if (obj4) {
13695 {
13696 arg5 = &temp5;
13697 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13698 }
13699 }
13700 if (obj5) {
13701 {
13702 arg6 = &temp6;
13703 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13704 }
13705 }
13706 if (obj6) {
13707 {
13708 arg7 = wxString_in_helper(obj6);
13709 if (arg7 == NULL) SWIG_fail;
13710 temp7 = true;
13711 }
13712 }
13713 {
13714 if (!wxPyCheckForApp()) SWIG_fail;
13715 PyThreadState* __tstate = wxPyBeginAllowThreads();
13716 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13717
13718 wxPyEndAllowThreads(__tstate);
13719 if (PyErr_Occurred()) SWIG_fail;
13720 }
13721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13722 {
13723 if (temp2)
13724 delete arg2;
13725 }
13726 {
13727 if (temp3)
13728 delete arg3;
13729 }
13730 {
13731 if (temp7)
13732 delete arg7;
13733 }
13734 return resultobj;
13735 fail:
13736 {
13737 if (temp2)
13738 delete arg2;
13739 }
13740 {
13741 if (temp3)
13742 delete arg3;
13743 }
13744 {
13745 if (temp7)
13746 delete arg7;
13747 }
13748 return NULL;
13749}
13750
13751
13752static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13753 PyObject *resultobj;
13754 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13755 wxString result;
13756 PyObject * obj0 = 0 ;
13757 char *kwnames[] = {
13758 (char *) "self", NULL
13759 };
13760
13761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13763 if (SWIG_arg_fail(1)) SWIG_fail;
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 result = (arg1)->GetPath();
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 {
13772#if wxUSE_UNICODE
13773 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13774#else
13775 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13776#endif
13777 }
13778 return resultobj;
13779 fail:
13780 return NULL;
13781}
13782
13783
13784static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj;
13786 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13787 wxString result;
13788 PyObject * obj0 = 0 ;
13789 char *kwnames[] = {
13790 (char *) "self", NULL
13791 };
13792
13793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13795 if (SWIG_arg_fail(1)) SWIG_fail;
13796 {
13797 PyThreadState* __tstate = wxPyBeginAllowThreads();
13798 result = (arg1)->GetMessage();
13799
13800 wxPyEndAllowThreads(__tstate);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 {
13804#if wxUSE_UNICODE
13805 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13806#else
13807 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13808#endif
13809 }
13810 return resultobj;
13811 fail:
13812 return NULL;
13813}
13814
13815
13816static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13817 PyObject *resultobj;
13818 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13819 long result;
13820 PyObject * obj0 = 0 ;
13821 char *kwnames[] = {
13822 (char *) "self", NULL
13823 };
13824
13825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13827 if (SWIG_arg_fail(1)) SWIG_fail;
13828 {
13829 PyThreadState* __tstate = wxPyBeginAllowThreads();
13830 result = (long)(arg1)->GetStyle();
13831
13832 wxPyEndAllowThreads(__tstate);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 }
13835 {
13836 resultobj = SWIG_From_long((long)(result));
13837 }
13838 return resultobj;
13839 fail:
13840 return NULL;
13841}
13842
13843
13844static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13845 PyObject *resultobj;
13846 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13847 wxString *arg2 = 0 ;
13848 bool temp2 = false ;
13849 PyObject * obj0 = 0 ;
13850 PyObject * obj1 = 0 ;
13851 char *kwnames[] = {
13852 (char *) "self",(char *) "message", NULL
13853 };
13854
13855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13857 if (SWIG_arg_fail(1)) SWIG_fail;
13858 {
13859 arg2 = wxString_in_helper(obj1);
13860 if (arg2 == NULL) SWIG_fail;
13861 temp2 = true;
13862 }
13863 {
13864 PyThreadState* __tstate = wxPyBeginAllowThreads();
13865 (arg1)->SetMessage((wxString const &)*arg2);
13866
13867 wxPyEndAllowThreads(__tstate);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
13870 Py_INCREF(Py_None); resultobj = Py_None;
13871 {
13872 if (temp2)
13873 delete arg2;
13874 }
13875 return resultobj;
13876 fail:
13877 {
13878 if (temp2)
13879 delete arg2;
13880 }
13881 return NULL;
13882}
13883
13884
13885static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj;
13887 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13888 wxString *arg2 = 0 ;
13889 bool temp2 = false ;
13890 PyObject * obj0 = 0 ;
13891 PyObject * obj1 = 0 ;
13892 char *kwnames[] = {
13893 (char *) "self",(char *) "path", NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) 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 arg2 = wxString_in_helper(obj1);
13901 if (arg2 == NULL) SWIG_fail;
13902 temp2 = true;
13903 }
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 (arg1)->SetPath((wxString const &)*arg2);
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 Py_INCREF(Py_None); resultobj = Py_None;
13912 {
13913 if (temp2)
13914 delete arg2;
13915 }
13916 return resultobj;
13917 fail:
13918 {
13919 if (temp2)
13920 delete arg2;
13921 }
13922 return NULL;
13923}
13924
13925
13926static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
13927 PyObject *obj;
13928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13929 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13930 Py_INCREF(obj);
13931 return Py_BuildValue((char *)"");
13932}
13933static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13934 PyObject *resultobj;
13935 wxWindow *arg1 = (wxWindow *) 0 ;
13936 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13937 wxString *arg2 = (wxString *) &arg2_defvalue ;
13938 wxString const &arg3_defvalue = wxPyEmptyString ;
13939 wxString *arg3 = (wxString *) &arg3_defvalue ;
13940 wxString const &arg4_defvalue = wxPyEmptyString ;
13941 wxString *arg4 = (wxString *) &arg4_defvalue ;
13942 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13943 wxString *arg5 = (wxString *) &arg5_defvalue ;
13944 long arg6 = (long) 0 ;
13945 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13946 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13947 wxFileDialog *result;
13948 bool temp2 = false ;
13949 bool temp3 = false ;
13950 bool temp4 = false ;
13951 bool temp5 = false ;
13952 wxPoint temp7 ;
13953 PyObject * obj0 = 0 ;
13954 PyObject * obj1 = 0 ;
13955 PyObject * obj2 = 0 ;
13956 PyObject * obj3 = 0 ;
13957 PyObject * obj4 = 0 ;
13958 PyObject * obj5 = 0 ;
13959 PyObject * obj6 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13966 if (SWIG_arg_fail(1)) SWIG_fail;
13967 if (obj1) {
13968 {
13969 arg2 = wxString_in_helper(obj1);
13970 if (arg2 == NULL) SWIG_fail;
13971 temp2 = true;
13972 }
13973 }
13974 if (obj2) {
13975 {
13976 arg3 = wxString_in_helper(obj2);
13977 if (arg3 == NULL) SWIG_fail;
13978 temp3 = true;
13979 }
13980 }
13981 if (obj3) {
13982 {
13983 arg4 = wxString_in_helper(obj3);
13984 if (arg4 == NULL) SWIG_fail;
13985 temp4 = true;
13986 }
13987 }
13988 if (obj4) {
13989 {
13990 arg5 = wxString_in_helper(obj4);
13991 if (arg5 == NULL) SWIG_fail;
13992 temp5 = true;
13993 }
13994 }
13995 if (obj5) {
13996 {
13997 arg6 = (long)(SWIG_As_long(obj5));
13998 if (SWIG_arg_fail(6)) SWIG_fail;
13999 }
14000 }
14001 if (obj6) {
14002 {
14003 arg7 = &temp7;
14004 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14005 }
14006 }
14007 {
14008 if (!wxPyCheckForApp()) SWIG_fail;
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14011
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
14015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14016 {
14017 if (temp2)
14018 delete arg2;
14019 }
14020 {
14021 if (temp3)
14022 delete arg3;
14023 }
14024 {
14025 if (temp4)
14026 delete arg4;
14027 }
14028 {
14029 if (temp5)
14030 delete arg5;
14031 }
14032 return resultobj;
14033 fail:
14034 {
14035 if (temp2)
14036 delete arg2;
14037 }
14038 {
14039 if (temp3)
14040 delete arg3;
14041 }
14042 {
14043 if (temp4)
14044 delete arg4;
14045 }
14046 {
14047 if (temp5)
14048 delete arg5;
14049 }
14050 return NULL;
14051}
14052
14053
14054static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14055 PyObject *resultobj;
14056 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14057 wxString *arg2 = 0 ;
14058 bool temp2 = false ;
14059 PyObject * obj0 = 0 ;
14060 PyObject * obj1 = 0 ;
14061 char *kwnames[] = {
14062 (char *) "self",(char *) "message", NULL
14063 };
14064
14065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14067 if (SWIG_arg_fail(1)) SWIG_fail;
14068 {
14069 arg2 = wxString_in_helper(obj1);
14070 if (arg2 == NULL) SWIG_fail;
14071 temp2 = true;
14072 }
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 (arg1)->SetMessage((wxString const &)*arg2);
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 Py_INCREF(Py_None); resultobj = Py_None;
14081 {
14082 if (temp2)
14083 delete arg2;
14084 }
14085 return resultobj;
14086 fail:
14087 {
14088 if (temp2)
14089 delete arg2;
14090 }
14091 return NULL;
14092}
14093
14094
14095static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14096 PyObject *resultobj;
14097 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14098 wxString *arg2 = 0 ;
14099 bool temp2 = false ;
14100 PyObject * obj0 = 0 ;
14101 PyObject * obj1 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "path", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail;
14109 {
14110 arg2 = wxString_in_helper(obj1);
14111 if (arg2 == NULL) SWIG_fail;
14112 temp2 = true;
14113 }
14114 {
14115 PyThreadState* __tstate = wxPyBeginAllowThreads();
14116 (arg1)->SetPath((wxString const &)*arg2);
14117
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 Py_INCREF(Py_None); resultobj = Py_None;
14122 {
14123 if (temp2)
14124 delete arg2;
14125 }
14126 return resultobj;
14127 fail:
14128 {
14129 if (temp2)
14130 delete arg2;
14131 }
14132 return NULL;
14133}
14134
14135
14136static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14137 PyObject *resultobj;
14138 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14139 wxString *arg2 = 0 ;
14140 bool temp2 = false ;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 char *kwnames[] = {
14144 (char *) "self",(char *) "dir", NULL
14145 };
14146
14147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14149 if (SWIG_arg_fail(1)) SWIG_fail;
14150 {
14151 arg2 = wxString_in_helper(obj1);
14152 if (arg2 == NULL) SWIG_fail;
14153 temp2 = true;
14154 }
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 (arg1)->SetDirectory((wxString const &)*arg2);
14158
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 Py_INCREF(Py_None); resultobj = Py_None;
14163 {
14164 if (temp2)
14165 delete arg2;
14166 }
14167 return resultobj;
14168 fail:
14169 {
14170 if (temp2)
14171 delete arg2;
14172 }
14173 return NULL;
14174}
14175
14176
14177static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14178 PyObject *resultobj;
14179 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14180 wxString *arg2 = 0 ;
14181 bool temp2 = false ;
14182 PyObject * obj0 = 0 ;
14183 PyObject * obj1 = 0 ;
14184 char *kwnames[] = {
14185 (char *) "self",(char *) "name", NULL
14186 };
14187
14188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14190 if (SWIG_arg_fail(1)) SWIG_fail;
14191 {
14192 arg2 = wxString_in_helper(obj1);
14193 if (arg2 == NULL) SWIG_fail;
14194 temp2 = true;
14195 }
14196 {
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
14198 (arg1)->SetFilename((wxString const &)*arg2);
14199
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 Py_INCREF(Py_None); resultobj = Py_None;
14204 {
14205 if (temp2)
14206 delete arg2;
14207 }
14208 return resultobj;
14209 fail:
14210 {
14211 if (temp2)
14212 delete arg2;
14213 }
14214 return NULL;
14215}
14216
14217
14218static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj;
14220 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14221 wxString *arg2 = 0 ;
14222 bool temp2 = false ;
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj1 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self",(char *) "wildCard", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14231 if (SWIG_arg_fail(1)) SWIG_fail;
14232 {
14233 arg2 = wxString_in_helper(obj1);
14234 if (arg2 == NULL) SWIG_fail;
14235 temp2 = true;
14236 }
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 (arg1)->SetWildcard((wxString const &)*arg2);
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 Py_INCREF(Py_None); resultobj = Py_None;
14245 {
14246 if (temp2)
14247 delete arg2;
14248 }
14249 return resultobj;
14250 fail:
14251 {
14252 if (temp2)
14253 delete arg2;
14254 }
14255 return NULL;
14256}
14257
14258
14259static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14262 long arg2 ;
14263 PyObject * obj0 = 0 ;
14264 PyObject * obj1 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "style", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14271 if (SWIG_arg_fail(1)) SWIG_fail;
14272 {
14273 arg2 = (long)(SWIG_As_long(obj1));
14274 if (SWIG_arg_fail(2)) SWIG_fail;
14275 }
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
14278 (arg1)->SetStyle(arg2);
14279
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 Py_INCREF(Py_None); resultobj = Py_None;
14284 return resultobj;
14285 fail:
14286 return NULL;
14287}
14288
14289
14290static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14293 int arg2 ;
14294 PyObject * obj0 = 0 ;
14295 PyObject * obj1 = 0 ;
14296 char *kwnames[] = {
14297 (char *) "self",(char *) "filterIndex", NULL
14298 };
14299
14300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14302 if (SWIG_arg_fail(1)) SWIG_fail;
14303 {
14304 arg2 = (int)(SWIG_As_int(obj1));
14305 if (SWIG_arg_fail(2)) SWIG_fail;
14306 }
14307 {
14308 PyThreadState* __tstate = wxPyBeginAllowThreads();
14309 (arg1)->SetFilterIndex(arg2);
14310
14311 wxPyEndAllowThreads(__tstate);
14312 if (PyErr_Occurred()) SWIG_fail;
14313 }
14314 Py_INCREF(Py_None); resultobj = Py_None;
14315 return resultobj;
14316 fail:
14317 return NULL;
14318}
14319
14320
14321static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14322 PyObject *resultobj;
14323 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14324 wxString result;
14325 PyObject * obj0 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "self", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14332 if (SWIG_arg_fail(1)) SWIG_fail;
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 result = ((wxFileDialog const *)arg1)->GetMessage();
14336
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
14340 {
14341#if wxUSE_UNICODE
14342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14343#else
14344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14345#endif
14346 }
14347 return resultobj;
14348 fail:
14349 return NULL;
14350}
14351
14352
14353static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14356 wxString result;
14357 PyObject * obj0 = 0 ;
14358 char *kwnames[] = {
14359 (char *) "self", NULL
14360 };
14361
14362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14364 if (SWIG_arg_fail(1)) SWIG_fail;
14365 {
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 result = ((wxFileDialog const *)arg1)->GetPath();
14368
14369 wxPyEndAllowThreads(__tstate);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 {
14373#if wxUSE_UNICODE
14374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14375#else
14376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14377#endif
14378 }
14379 return resultobj;
14380 fail:
14381 return NULL;
14382}
14383
14384
14385static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14386 PyObject *resultobj;
14387 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14388 wxString result;
14389 PyObject * obj0 = 0 ;
14390 char *kwnames[] = {
14391 (char *) "self", NULL
14392 };
14393
14394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14396 if (SWIG_arg_fail(1)) SWIG_fail;
14397 {
14398 PyThreadState* __tstate = wxPyBeginAllowThreads();
14399 result = ((wxFileDialog const *)arg1)->GetDirectory();
14400
14401 wxPyEndAllowThreads(__tstate);
14402 if (PyErr_Occurred()) SWIG_fail;
14403 }
14404 {
14405#if wxUSE_UNICODE
14406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14407#else
14408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14409#endif
14410 }
14411 return resultobj;
14412 fail:
14413 return NULL;
14414}
14415
14416
14417static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14418 PyObject *resultobj;
14419 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14420 wxString result;
14421 PyObject * obj0 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "self", NULL
14424 };
14425
14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14428 if (SWIG_arg_fail(1)) SWIG_fail;
14429 {
14430 PyThreadState* __tstate = wxPyBeginAllowThreads();
14431 result = ((wxFileDialog const *)arg1)->GetFilename();
14432
14433 wxPyEndAllowThreads(__tstate);
14434 if (PyErr_Occurred()) SWIG_fail;
14435 }
14436 {
14437#if wxUSE_UNICODE
14438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14439#else
14440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14441#endif
14442 }
14443 return resultobj;
14444 fail:
14445 return NULL;
14446}
14447
14448
14449static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14452 wxString result;
14453 PyObject * obj0 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14460 if (SWIG_arg_fail(1)) SWIG_fail;
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 result = ((wxFileDialog const *)arg1)->GetWildcard();
14464
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 {
14469#if wxUSE_UNICODE
14470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14471#else
14472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14473#endif
14474 }
14475 return resultobj;
14476 fail:
14477 return NULL;
14478}
14479
14480
14481static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14482 PyObject *resultobj;
14483 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14484 long result;
14485 PyObject * obj0 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14492 if (SWIG_arg_fail(1)) SWIG_fail;
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14496
14497 wxPyEndAllowThreads(__tstate);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 }
14500 {
14501 resultobj = SWIG_From_long((long)(result));
14502 }
14503 return resultobj;
14504 fail:
14505 return NULL;
14506}
14507
14508
14509static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14510 PyObject *resultobj;
14511 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14512 int result;
14513 PyObject * obj0 = 0 ;
14514 char *kwnames[] = {
14515 (char *) "self", NULL
14516 };
14517
14518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14520 if (SWIG_arg_fail(1)) SWIG_fail;
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14524
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 {
14529 resultobj = SWIG_From_int((int)(result));
14530 }
14531 return resultobj;
14532 fail:
14533 return NULL;
14534}
14535
14536
14537static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14538 PyObject *resultobj;
14539 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14540 PyObject *result;
14541 PyObject * obj0 = 0 ;
14542 char *kwnames[] = {
14543 (char *) "self", NULL
14544 };
14545
14546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14548 if (SWIG_arg_fail(1)) SWIG_fail;
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14552
14553 wxPyEndAllowThreads(__tstate);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 resultobj = result;
14557 return resultobj;
14558 fail:
14559 return NULL;
14560}
14561
14562
14563static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14564 PyObject *resultobj;
14565 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14566 PyObject *result;
14567 PyObject * obj0 = 0 ;
14568 char *kwnames[] = {
14569 (char *) "self", NULL
14570 };
14571
14572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14574 if (SWIG_arg_fail(1)) SWIG_fail;
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14578
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 resultobj = result;
14583 return resultobj;
14584 fail:
14585 return NULL;
14586}
14587
14588
14589static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14590 PyObject *obj;
14591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14592 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14593 Py_INCREF(obj);
14594 return Py_BuildValue((char *)"");
14595}
14596static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14597 PyObject *resultobj;
14598 wxWindow *arg1 = (wxWindow *) 0 ;
14599 wxString *arg2 = 0 ;
14600 wxString *arg3 = 0 ;
14601 int arg4 = (int) 0 ;
14602 wxString *arg5 = (wxString *) NULL ;
14603 long arg6 = (long) wxCHOICEDLG_STYLE ;
14604 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14605 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14606 wxMultiChoiceDialog *result;
14607 bool temp2 = false ;
14608 bool temp3 = false ;
14609 wxPoint temp7 ;
14610 PyObject * obj0 = 0 ;
14611 PyObject * obj1 = 0 ;
14612 PyObject * obj2 = 0 ;
14613 PyObject * obj3 = 0 ;
14614 PyObject * obj4 = 0 ;
14615 PyObject * obj5 = 0 ;
14616 char *kwnames[] = {
14617 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14618 };
14619
14620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14622 if (SWIG_arg_fail(1)) SWIG_fail;
14623 {
14624 arg2 = wxString_in_helper(obj1);
14625 if (arg2 == NULL) SWIG_fail;
14626 temp2 = true;
14627 }
14628 {
14629 arg3 = wxString_in_helper(obj2);
14630 if (arg3 == NULL) SWIG_fail;
14631 temp3 = true;
14632 }
14633 if (obj3) {
14634 {
14635 arg4 = PyList_Size(obj3);
14636 arg5 = wxString_LIST_helper(obj3);
14637 if (arg5 == NULL) SWIG_fail;
14638 }
14639 }
14640 if (obj4) {
14641 {
14642 arg6 = (long)(SWIG_As_long(obj4));
14643 if (SWIG_arg_fail(6)) SWIG_fail;
14644 }
14645 }
14646 if (obj5) {
14647 {
14648 arg7 = &temp7;
14649 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14650 }
14651 }
14652 {
14653 if (!wxPyCheckForApp()) SWIG_fail;
14654 PyThreadState* __tstate = wxPyBeginAllowThreads();
14655 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14656
14657 wxPyEndAllowThreads(__tstate);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 }
14660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14661 {
14662 if (temp2)
14663 delete arg2;
14664 }
14665 {
14666 if (temp3)
14667 delete arg3;
14668 }
14669 {
14670 if (arg5) delete [] arg5;
14671 }
14672 return resultobj;
14673 fail:
14674 {
14675 if (temp2)
14676 delete arg2;
14677 }
14678 {
14679 if (temp3)
14680 delete arg3;
14681 }
14682 {
14683 if (arg5) delete [] arg5;
14684 }
14685 return NULL;
14686}
14687
14688
14689static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14690 PyObject *resultobj;
14691 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14692 wxArrayInt *arg2 = 0 ;
14693 bool temp2 = false ;
14694 PyObject * obj0 = 0 ;
14695 PyObject * obj1 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self",(char *) "selections", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14702 if (SWIG_arg_fail(1)) SWIG_fail;
14703 {
14704 if (! PySequence_Check(obj1)) {
14705 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14706 SWIG_fail;
14707 }
14708 arg2 = new wxArrayInt;
14709 temp2 = true;
14710 int i, len=PySequence_Length(obj1);
14711 for (i=0; i<len; i++) {
14712 PyObject* item = PySequence_GetItem(obj1, i);
14713 PyObject* number = PyNumber_Int(item);
14714 arg2->Add(PyInt_AS_LONG(number));
14715 Py_DECREF(item);
14716 Py_DECREF(number);
14717 }
14718 }
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 Py_INCREF(Py_None); resultobj = Py_None;
14727 {
14728 if (temp2) delete arg2;
14729 }
14730 return resultobj;
14731 fail:
14732 {
14733 if (temp2) delete arg2;
14734 }
14735 return NULL;
14736}
14737
14738
14739static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14740 PyObject *resultobj;
14741 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14742 PyObject *result;
14743 PyObject * obj0 = 0 ;
14744 char *kwnames[] = {
14745 (char *) "self", NULL
14746 };
14747
14748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14750 if (SWIG_arg_fail(1)) SWIG_fail;
14751 {
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
14753 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14754
14755 wxPyEndAllowThreads(__tstate);
14756 if (PyErr_Occurred()) SWIG_fail;
14757 }
14758 resultobj = result;
14759 return resultobj;
14760 fail:
14761 return NULL;
14762}
14763
14764
14765static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14766 PyObject *obj;
14767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14768 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14769 Py_INCREF(obj);
14770 return Py_BuildValue((char *)"");
14771}
14772static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14773 PyObject *resultobj;
14774 wxWindow *arg1 = (wxWindow *) 0 ;
14775 wxString *arg2 = 0 ;
14776 wxString *arg3 = 0 ;
14777 int arg4 ;
14778 wxString *arg5 = (wxString *) 0 ;
14779 long arg6 = (long) wxCHOICEDLG_STYLE ;
14780 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14781 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14782 wxSingleChoiceDialog *result;
14783 bool temp2 = false ;
14784 bool temp3 = false ;
14785 wxPoint temp7 ;
14786 PyObject * obj0 = 0 ;
14787 PyObject * obj1 = 0 ;
14788 PyObject * obj2 = 0 ;
14789 PyObject * obj3 = 0 ;
14790 PyObject * obj4 = 0 ;
14791 PyObject * obj5 = 0 ;
14792 char *kwnames[] = {
14793 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14794 };
14795
14796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14798 if (SWIG_arg_fail(1)) SWIG_fail;
14799 {
14800 arg2 = wxString_in_helper(obj1);
14801 if (arg2 == NULL) SWIG_fail;
14802 temp2 = true;
14803 }
14804 {
14805 arg3 = wxString_in_helper(obj2);
14806 if (arg3 == NULL) SWIG_fail;
14807 temp3 = true;
14808 }
14809 {
14810 arg4 = PyList_Size(obj3);
14811 arg5 = wxString_LIST_helper(obj3);
14812 if (arg5 == NULL) SWIG_fail;
14813 }
14814 if (obj4) {
14815 {
14816 arg6 = (long)(SWIG_As_long(obj4));
14817 if (SWIG_arg_fail(6)) SWIG_fail;
14818 }
14819 }
14820 if (obj5) {
14821 {
14822 arg7 = &temp7;
14823 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14824 }
14825 }
14826 {
14827 if (!wxPyCheckForApp()) SWIG_fail;
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14835 {
14836 if (temp2)
14837 delete arg2;
14838 }
14839 {
14840 if (temp3)
14841 delete arg3;
14842 }
14843 {
14844 if (arg5) delete [] arg5;
14845 }
14846 return resultobj;
14847 fail:
14848 {
14849 if (temp2)
14850 delete arg2;
14851 }
14852 {
14853 if (temp3)
14854 delete arg3;
14855 }
14856 {
14857 if (arg5) delete [] arg5;
14858 }
14859 return NULL;
14860}
14861
14862
14863static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14864 PyObject *resultobj;
14865 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14866 int result;
14867 PyObject * obj0 = 0 ;
14868 char *kwnames[] = {
14869 (char *) "self", NULL
14870 };
14871
14872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
14873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14874 if (SWIG_arg_fail(1)) SWIG_fail;
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 result = (int)(arg1)->GetSelection();
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 {
14883 resultobj = SWIG_From_int((int)(result));
14884 }
14885 return resultobj;
14886 fail:
14887 return NULL;
14888}
14889
14890
14891static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj;
14893 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14894 wxString result;
14895 PyObject * obj0 = 0 ;
14896 char *kwnames[] = {
14897 (char *) "self", NULL
14898 };
14899
14900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
14901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14902 if (SWIG_arg_fail(1)) SWIG_fail;
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (arg1)->GetStringSelection();
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 {
14911#if wxUSE_UNICODE
14912 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14913#else
14914 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14915#endif
14916 }
14917 return resultobj;
14918 fail:
14919 return NULL;
14920}
14921
14922
14923static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14924 PyObject *resultobj;
14925 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14926 int arg2 ;
14927 PyObject * obj0 = 0 ;
14928 PyObject * obj1 = 0 ;
14929 char *kwnames[] = {
14930 (char *) "self",(char *) "sel", NULL
14931 };
14932
14933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14935 if (SWIG_arg_fail(1)) SWIG_fail;
14936 {
14937 arg2 = (int)(SWIG_As_int(obj1));
14938 if (SWIG_arg_fail(2)) SWIG_fail;
14939 }
14940 {
14941 PyThreadState* __tstate = wxPyBeginAllowThreads();
14942 (arg1)->SetSelection(arg2);
14943
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 Py_INCREF(Py_None); resultobj = Py_None;
14948 return resultobj;
14949 fail:
14950 return NULL;
14951}
14952
14953
14954static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
14955 PyObject *obj;
14956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14957 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14958 Py_INCREF(obj);
14959 return Py_BuildValue((char *)"");
14960}
14961static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14962 PyObject *resultobj;
14963 wxWindow *arg1 = (wxWindow *) 0 ;
14964 wxString *arg2 = 0 ;
14965 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14966 wxString *arg3 = (wxString *) &arg3_defvalue ;
14967 wxString const &arg4_defvalue = wxPyEmptyString ;
14968 wxString *arg4 = (wxString *) &arg4_defvalue ;
14969 long arg5 = (long) wxTextEntryDialogStyle ;
14970 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14971 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14972 wxTextEntryDialog *result;
14973 bool temp2 = false ;
14974 bool temp3 = false ;
14975 bool temp4 = false ;
14976 wxPoint temp6 ;
14977 PyObject * obj0 = 0 ;
14978 PyObject * obj1 = 0 ;
14979 PyObject * obj2 = 0 ;
14980 PyObject * obj3 = 0 ;
14981 PyObject * obj4 = 0 ;
14982 PyObject * obj5 = 0 ;
14983 char *kwnames[] = {
14984 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14985 };
14986
14987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14989 if (SWIG_arg_fail(1)) SWIG_fail;
14990 {
14991 arg2 = wxString_in_helper(obj1);
14992 if (arg2 == NULL) SWIG_fail;
14993 temp2 = true;
14994 }
14995 if (obj2) {
14996 {
14997 arg3 = wxString_in_helper(obj2);
14998 if (arg3 == NULL) SWIG_fail;
14999 temp3 = true;
15000 }
15001 }
15002 if (obj3) {
15003 {
15004 arg4 = wxString_in_helper(obj3);
15005 if (arg4 == NULL) SWIG_fail;
15006 temp4 = true;
15007 }
15008 }
15009 if (obj4) {
15010 {
15011 arg5 = (long)(SWIG_As_long(obj4));
15012 if (SWIG_arg_fail(5)) SWIG_fail;
15013 }
15014 }
15015 if (obj5) {
15016 {
15017 arg6 = &temp6;
15018 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15019 }
15020 }
15021 {
15022 if (!wxPyCheckForApp()) SWIG_fail;
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15030 {
15031 if (temp2)
15032 delete arg2;
15033 }
15034 {
15035 if (temp3)
15036 delete arg3;
15037 }
15038 {
15039 if (temp4)
15040 delete arg4;
15041 }
15042 return resultobj;
15043 fail:
15044 {
15045 if (temp2)
15046 delete arg2;
15047 }
15048 {
15049 if (temp3)
15050 delete arg3;
15051 }
15052 {
15053 if (temp4)
15054 delete arg4;
15055 }
15056 return NULL;
15057}
15058
15059
15060static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15061 PyObject *resultobj;
15062 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15063 wxString result;
15064 PyObject * obj0 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15071 if (SWIG_arg_fail(1)) SWIG_fail;
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (arg1)->GetValue();
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 {
15080#if wxUSE_UNICODE
15081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15082#else
15083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15084#endif
15085 }
15086 return resultobj;
15087 fail:
15088 return NULL;
15089}
15090
15091
15092static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15095 wxString *arg2 = 0 ;
15096 bool temp2 = false ;
15097 PyObject * obj0 = 0 ;
15098 PyObject * obj1 = 0 ;
15099 char *kwnames[] = {
15100 (char *) "self",(char *) "value", NULL
15101 };
15102
15103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15105 if (SWIG_arg_fail(1)) SWIG_fail;
15106 {
15107 arg2 = wxString_in_helper(obj1);
15108 if (arg2 == NULL) SWIG_fail;
15109 temp2 = true;
15110 }
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 (arg1)->SetValue((wxString const &)*arg2);
15114
15115 wxPyEndAllowThreads(__tstate);
15116 if (PyErr_Occurred()) SWIG_fail;
15117 }
15118 Py_INCREF(Py_None); resultobj = Py_None;
15119 {
15120 if (temp2)
15121 delete arg2;
15122 }
15123 return resultobj;
15124 fail:
15125 {
15126 if (temp2)
15127 delete arg2;
15128 }
15129 return NULL;
15130}
15131
15132
15133static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15134 PyObject *obj;
15135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15136 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15137 Py_INCREF(obj);
15138 return Py_BuildValue((char *)"");
15139}
15140static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15141 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15142 return 1;
15143}
15144
15145
15146static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15147 PyObject *pyobj;
15148
15149 {
15150#if wxUSE_UNICODE
15151 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15152#else
15153 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15154#endif
15155 }
15156 return pyobj;
15157}
15158
15159
15160static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15161 PyObject *resultobj;
15162 wxWindow *arg1 = (wxWindow *) 0 ;
15163 wxString *arg2 = 0 ;
15164 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15165 wxString *arg3 = (wxString *) &arg3_defvalue ;
15166 wxString const &arg4_defvalue = wxPyEmptyString ;
15167 wxString *arg4 = (wxString *) &arg4_defvalue ;
15168 long arg5 = (long) wxTextEntryDialogStyle ;
15169 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15170 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15171 wxPasswordEntryDialog *result;
15172 bool temp2 = false ;
15173 bool temp3 = false ;
15174 bool temp4 = false ;
15175 wxPoint temp6 ;
15176 PyObject * obj0 = 0 ;
15177 PyObject * obj1 = 0 ;
15178 PyObject * obj2 = 0 ;
15179 PyObject * obj3 = 0 ;
15180 PyObject * obj4 = 0 ;
15181 PyObject * obj5 = 0 ;
15182 char *kwnames[] = {
15183 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15184 };
15185
15186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15188 if (SWIG_arg_fail(1)) SWIG_fail;
15189 {
15190 arg2 = wxString_in_helper(obj1);
15191 if (arg2 == NULL) SWIG_fail;
15192 temp2 = true;
15193 }
15194 if (obj2) {
15195 {
15196 arg3 = wxString_in_helper(obj2);
15197 if (arg3 == NULL) SWIG_fail;
15198 temp3 = true;
15199 }
15200 }
15201 if (obj3) {
15202 {
15203 arg4 = wxString_in_helper(obj3);
15204 if (arg4 == NULL) SWIG_fail;
15205 temp4 = true;
15206 }
15207 }
15208 if (obj4) {
15209 {
15210 arg5 = (long)(SWIG_As_long(obj4));
15211 if (SWIG_arg_fail(5)) SWIG_fail;
15212 }
15213 }
15214 if (obj5) {
15215 {
15216 arg6 = &temp6;
15217 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15218 }
15219 }
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15228 {
15229 if (temp2)
15230 delete arg2;
15231 }
15232 {
15233 if (temp3)
15234 delete arg3;
15235 }
15236 {
15237 if (temp4)
15238 delete arg4;
15239 }
15240 return resultobj;
15241 fail:
15242 {
15243 if (temp2)
15244 delete arg2;
15245 }
15246 {
15247 if (temp3)
15248 delete arg3;
15249 }
15250 {
15251 if (temp4)
15252 delete arg4;
15253 }
15254 return NULL;
15255}
15256
15257
15258static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15259 PyObject *obj;
15260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15261 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15262 Py_INCREF(obj);
15263 return Py_BuildValue((char *)"");
15264}
15265static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15266 PyObject *resultobj;
15267 wxFontData *result;
15268 char *kwnames[] = {
15269 NULL
15270 };
15271
15272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 result = (wxFontData *)new wxFontData();
15276
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15281 return resultobj;
15282 fail:
15283 return NULL;
15284}
15285
15286
15287static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj;
15289 wxFontData *arg1 = (wxFontData *) 0 ;
15290 PyObject * obj0 = 0 ;
15291 char *kwnames[] = {
15292 (char *) "self", NULL
15293 };
15294
15295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15297 if (SWIG_arg_fail(1)) SWIG_fail;
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 delete arg1;
15301
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 Py_INCREF(Py_None); resultobj = Py_None;
15306 return resultobj;
15307 fail:
15308 return NULL;
15309}
15310
15311
15312static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxFontData *arg1 = (wxFontData *) 0 ;
15315 bool arg2 ;
15316 PyObject * obj0 = 0 ;
15317 PyObject * obj1 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self",(char *) "enable", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15324 if (SWIG_arg_fail(1)) SWIG_fail;
15325 {
15326 arg2 = (bool)(SWIG_As_bool(obj1));
15327 if (SWIG_arg_fail(2)) SWIG_fail;
15328 }
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 (arg1)->EnableEffects(arg2);
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 Py_INCREF(Py_None); resultobj = Py_None;
15337 return resultobj;
15338 fail:
15339 return NULL;
15340}
15341
15342
15343static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj;
15345 wxFontData *arg1 = (wxFontData *) 0 ;
15346 bool result;
15347 PyObject * obj0 = 0 ;
15348 char *kwnames[] = {
15349 (char *) "self", NULL
15350 };
15351
15352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15354 if (SWIG_arg_fail(1)) SWIG_fail;
15355 {
15356 PyThreadState* __tstate = wxPyBeginAllowThreads();
15357 result = (bool)(arg1)->GetAllowSymbols();
15358
15359 wxPyEndAllowThreads(__tstate);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
15362 {
15363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15364 }
15365 return resultobj;
15366 fail:
15367 return NULL;
15368}
15369
15370
15371static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj;
15373 wxFontData *arg1 = (wxFontData *) 0 ;
15374 wxColour result;
15375 PyObject * obj0 = 0 ;
15376 char *kwnames[] = {
15377 (char *) "self", NULL
15378 };
15379
15380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15382 if (SWIG_arg_fail(1)) SWIG_fail;
15383 {
15384 PyThreadState* __tstate = wxPyBeginAllowThreads();
15385 result = (arg1)->GetColour();
15386
15387 wxPyEndAllowThreads(__tstate);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 }
15390 {
15391 wxColour * resultptr;
15392 resultptr = new wxColour((wxColour &)(result));
15393 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15394 }
15395 return resultobj;
15396 fail:
15397 return NULL;
15398}
15399
15400
15401static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15402 PyObject *resultobj;
15403 wxFontData *arg1 = (wxFontData *) 0 ;
15404 wxFont result;
15405 PyObject * obj0 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail;
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 result = (arg1)->GetChosenFont();
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 {
15421 wxFont * resultptr;
15422 resultptr = new wxFont((wxFont &)(result));
15423 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15424 }
15425 return resultobj;
15426 fail:
15427 return NULL;
15428}
15429
15430
15431static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15432 PyObject *resultobj;
15433 wxFontData *arg1 = (wxFontData *) 0 ;
15434 bool result;
15435 PyObject * obj0 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15442 if (SWIG_arg_fail(1)) SWIG_fail;
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 result = (bool)(arg1)->GetEnableEffects();
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 {
15451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15452 }
15453 return resultobj;
15454 fail:
15455 return NULL;
15456}
15457
15458
15459static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxFontData *arg1 = (wxFontData *) 0 ;
15462 wxFont result;
15463 PyObject * obj0 = 0 ;
15464 char *kwnames[] = {
15465 (char *) "self", NULL
15466 };
15467
15468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15470 if (SWIG_arg_fail(1)) SWIG_fail;
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = (arg1)->GetInitialFont();
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 {
15479 wxFont * resultptr;
15480 resultptr = new wxFont((wxFont &)(result));
15481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15482 }
15483 return resultobj;
15484 fail:
15485 return NULL;
15486}
15487
15488
15489static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 wxFontData *arg1 = (wxFontData *) 0 ;
15492 bool result;
15493 PyObject * obj0 = 0 ;
15494 char *kwnames[] = {
15495 (char *) "self", NULL
15496 };
15497
15498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15500 if (SWIG_arg_fail(1)) SWIG_fail;
15501 {
15502 PyThreadState* __tstate = wxPyBeginAllowThreads();
15503 result = (bool)(arg1)->GetShowHelp();
15504
15505 wxPyEndAllowThreads(__tstate);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 }
15508 {
15509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15510 }
15511 return resultobj;
15512 fail:
15513 return NULL;
15514}
15515
15516
15517static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj;
15519 wxFontData *arg1 = (wxFontData *) 0 ;
15520 bool arg2 ;
15521 PyObject * obj0 = 0 ;
15522 PyObject * obj1 = 0 ;
15523 char *kwnames[] = {
15524 (char *) "self",(char *) "allowSymbols", NULL
15525 };
15526
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15529 if (SWIG_arg_fail(1)) SWIG_fail;
15530 {
15531 arg2 = (bool)(SWIG_As_bool(obj1));
15532 if (SWIG_arg_fail(2)) SWIG_fail;
15533 }
15534 {
15535 PyThreadState* __tstate = wxPyBeginAllowThreads();
15536 (arg1)->SetAllowSymbols(arg2);
15537
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
15541 Py_INCREF(Py_None); resultobj = Py_None;
15542 return resultobj;
15543 fail:
15544 return NULL;
15545}
15546
15547
15548static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15549 PyObject *resultobj;
15550 wxFontData *arg1 = (wxFontData *) 0 ;
15551 wxFont *arg2 = 0 ;
15552 PyObject * obj0 = 0 ;
15553 PyObject * obj1 = 0 ;
15554 char *kwnames[] = {
15555 (char *) "self",(char *) "font", NULL
15556 };
15557
15558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15560 if (SWIG_arg_fail(1)) SWIG_fail;
15561 {
15562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15563 if (SWIG_arg_fail(2)) SWIG_fail;
15564 if (arg2 == NULL) {
15565 SWIG_null_ref("wxFont");
15566 }
15567 if (SWIG_arg_fail(2)) SWIG_fail;
15568 }
15569 {
15570 PyThreadState* __tstate = wxPyBeginAllowThreads();
15571 (arg1)->SetChosenFont((wxFont const &)*arg2);
15572
15573 wxPyEndAllowThreads(__tstate);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 Py_INCREF(Py_None); resultobj = Py_None;
15577 return resultobj;
15578 fail:
15579 return NULL;
15580}
15581
15582
15583static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15584 PyObject *resultobj;
15585 wxFontData *arg1 = (wxFontData *) 0 ;
15586 wxColour *arg2 = 0 ;
15587 wxColour temp2 ;
15588 PyObject * obj0 = 0 ;
15589 PyObject * obj1 = 0 ;
15590 char *kwnames[] = {
15591 (char *) "self",(char *) "colour", NULL
15592 };
15593
15594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15596 if (SWIG_arg_fail(1)) SWIG_fail;
15597 {
15598 arg2 = &temp2;
15599 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15600 }
15601 {
15602 PyThreadState* __tstate = wxPyBeginAllowThreads();
15603 (arg1)->SetColour((wxColour const &)*arg2);
15604
15605 wxPyEndAllowThreads(__tstate);
15606 if (PyErr_Occurred()) SWIG_fail;
15607 }
15608 Py_INCREF(Py_None); resultobj = Py_None;
15609 return resultobj;
15610 fail:
15611 return NULL;
15612}
15613
15614
15615static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15616 PyObject *resultobj;
15617 wxFontData *arg1 = (wxFontData *) 0 ;
15618 wxFont *arg2 = 0 ;
15619 PyObject * obj0 = 0 ;
15620 PyObject * obj1 = 0 ;
15621 char *kwnames[] = {
15622 (char *) "self",(char *) "font", NULL
15623 };
15624
15625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15627 if (SWIG_arg_fail(1)) SWIG_fail;
15628 {
15629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15630 if (SWIG_arg_fail(2)) SWIG_fail;
15631 if (arg2 == NULL) {
15632 SWIG_null_ref("wxFont");
15633 }
15634 if (SWIG_arg_fail(2)) SWIG_fail;
15635 }
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 (arg1)->SetInitialFont((wxFont const &)*arg2);
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 Py_INCREF(Py_None); resultobj = Py_None;
15644 return resultobj;
15645 fail:
15646 return NULL;
15647}
15648
15649
15650static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15651 PyObject *resultobj;
15652 wxFontData *arg1 = (wxFontData *) 0 ;
15653 int arg2 ;
15654 int arg3 ;
15655 PyObject * obj0 = 0 ;
15656 PyObject * obj1 = 0 ;
15657 PyObject * obj2 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self",(char *) "min",(char *) "max", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15664 if (SWIG_arg_fail(1)) SWIG_fail;
15665 {
15666 arg2 = (int)(SWIG_As_int(obj1));
15667 if (SWIG_arg_fail(2)) SWIG_fail;
15668 }
15669 {
15670 arg3 = (int)(SWIG_As_int(obj2));
15671 if (SWIG_arg_fail(3)) SWIG_fail;
15672 }
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 (arg1)->SetRange(arg2,arg3);
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 Py_INCREF(Py_None); resultobj = Py_None;
15681 return resultobj;
15682 fail:
15683 return NULL;
15684}
15685
15686
15687static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15688 PyObject *resultobj;
15689 wxFontData *arg1 = (wxFontData *) 0 ;
15690 bool arg2 ;
15691 PyObject * obj0 = 0 ;
15692 PyObject * obj1 = 0 ;
15693 char *kwnames[] = {
15694 (char *) "self",(char *) "showHelp", NULL
15695 };
15696
15697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",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 = (bool)(SWIG_As_bool(obj1));
15702 if (SWIG_arg_fail(2)) SWIG_fail;
15703 }
15704 {
15705 PyThreadState* __tstate = wxPyBeginAllowThreads();
15706 (arg1)->SetShowHelp(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
15718static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15719 PyObject *obj;
15720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15721 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15722 Py_INCREF(obj);
15723 return Py_BuildValue((char *)"");
15724}
15725static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj;
15727 wxWindow *arg1 = (wxWindow *) 0 ;
15728 wxFontData *arg2 = 0 ;
15729 wxFontDialog *result;
15730 PyObject * obj0 = 0 ;
15731 PyObject * obj1 = 0 ;
15732 char *kwnames[] = {
15733 (char *) "parent",(char *) "data", NULL
15734 };
15735
15736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15738 if (SWIG_arg_fail(1)) SWIG_fail;
15739 {
15740 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15741 if (SWIG_arg_fail(2)) SWIG_fail;
15742 if (arg2 == NULL) {
15743 SWIG_null_ref("wxFontData");
15744 }
15745 if (SWIG_arg_fail(2)) SWIG_fail;
15746 }
15747 {
15748 if (!wxPyCheckForApp()) SWIG_fail;
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15751
15752 wxPyEndAllowThreads(__tstate);
15753 if (PyErr_Occurred()) SWIG_fail;
15754 }
15755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15756 return resultobj;
15757 fail:
15758 return NULL;
15759}
15760
15761
15762static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15763 PyObject *resultobj;
15764 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15765 wxFontData *result;
15766 PyObject * obj0 = 0 ;
15767 char *kwnames[] = {
15768 (char *) "self", NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15773 if (SWIG_arg_fail(1)) SWIG_fail;
15774 {
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 {
15777 wxFontData &_result_ref = (arg1)->GetFontData();
15778 result = (wxFontData *) &_result_ref;
15779 }
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15785 return resultobj;
15786 fail:
15787 return NULL;
15788}
15789
15790
15791static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15792 PyObject *obj;
15793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15794 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15795 Py_INCREF(obj);
15796 return Py_BuildValue((char *)"");
15797}
15798static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15799 PyObject *resultobj;
15800 wxWindow *arg1 = (wxWindow *) 0 ;
15801 wxString *arg2 = 0 ;
15802 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15803 wxString *arg3 = (wxString *) &arg3_defvalue ;
15804 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15805 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15806 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15807 wxMessageDialog *result;
15808 bool temp2 = false ;
15809 bool temp3 = false ;
15810 wxPoint temp5 ;
15811 PyObject * obj0 = 0 ;
15812 PyObject * obj1 = 0 ;
15813 PyObject * obj2 = 0 ;
15814 PyObject * obj3 = 0 ;
15815 PyObject * obj4 = 0 ;
15816 char *kwnames[] = {
15817 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15818 };
15819
15820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15822 if (SWIG_arg_fail(1)) SWIG_fail;
15823 {
15824 arg2 = wxString_in_helper(obj1);
15825 if (arg2 == NULL) SWIG_fail;
15826 temp2 = true;
15827 }
15828 if (obj2) {
15829 {
15830 arg3 = wxString_in_helper(obj2);
15831 if (arg3 == NULL) SWIG_fail;
15832 temp3 = true;
15833 }
15834 }
15835 if (obj3) {
15836 {
15837 arg4 = (long)(SWIG_As_long(obj3));
15838 if (SWIG_arg_fail(4)) SWIG_fail;
15839 }
15840 }
15841 if (obj4) {
15842 {
15843 arg5 = &temp5;
15844 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15845 }
15846 }
15847 {
15848 if (!wxPyCheckForApp()) SWIG_fail;
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15851
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15856 {
15857 if (temp2)
15858 delete arg2;
15859 }
15860 {
15861 if (temp3)
15862 delete arg3;
15863 }
15864 return resultobj;
15865 fail:
15866 {
15867 if (temp2)
15868 delete arg2;
15869 }
15870 {
15871 if (temp3)
15872 delete arg3;
15873 }
15874 return NULL;
15875}
15876
15877
15878static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
15879 PyObject *obj;
15880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15881 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15882 Py_INCREF(obj);
15883 return Py_BuildValue((char *)"");
15884}
15885static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15886 PyObject *resultobj;
15887 wxString *arg1 = 0 ;
15888 wxString *arg2 = 0 ;
15889 int arg3 = (int) 100 ;
15890 wxWindow *arg4 = (wxWindow *) NULL ;
15891 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15892 wxProgressDialog *result;
15893 bool temp1 = false ;
15894 bool temp2 = false ;
15895 PyObject * obj0 = 0 ;
15896 PyObject * obj1 = 0 ;
15897 PyObject * obj2 = 0 ;
15898 PyObject * obj3 = 0 ;
15899 PyObject * obj4 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15905 {
15906 arg1 = wxString_in_helper(obj0);
15907 if (arg1 == NULL) SWIG_fail;
15908 temp1 = true;
15909 }
15910 {
15911 arg2 = wxString_in_helper(obj1);
15912 if (arg2 == NULL) SWIG_fail;
15913 temp2 = true;
15914 }
15915 if (obj2) {
15916 {
15917 arg3 = (int)(SWIG_As_int(obj2));
15918 if (SWIG_arg_fail(3)) SWIG_fail;
15919 }
15920 }
15921 if (obj3) {
15922 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15923 if (SWIG_arg_fail(4)) SWIG_fail;
15924 }
15925 if (obj4) {
15926 {
15927 arg5 = (int)(SWIG_As_int(obj4));
15928 if (SWIG_arg_fail(5)) SWIG_fail;
15929 }
15930 }
15931 {
15932 if (!wxPyCheckForApp()) SWIG_fail;
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15935
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
15940 {
15941 if (temp1)
15942 delete arg1;
15943 }
15944 {
15945 if (temp2)
15946 delete arg2;
15947 }
15948 return resultobj;
15949 fail:
15950 {
15951 if (temp1)
15952 delete arg1;
15953 }
15954 {
15955 if (temp2)
15956 delete arg2;
15957 }
15958 return NULL;
15959}
15960
15961
15962static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15965 int arg2 ;
15966 wxString const &arg3_defvalue = wxPyEmptyString ;
15967 wxString *arg3 = (wxString *) &arg3_defvalue ;
15968 bool result;
15969 bool temp3 = false ;
15970 PyObject * obj0 = 0 ;
15971 PyObject * obj1 = 0 ;
15972 PyObject * obj2 = 0 ;
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15975 };
15976
15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
15978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15979 if (SWIG_arg_fail(1)) SWIG_fail;
15980 {
15981 arg2 = (int)(SWIG_As_int(obj1));
15982 if (SWIG_arg_fail(2)) SWIG_fail;
15983 }
15984 if (obj2) {
15985 {
15986 arg3 = wxString_in_helper(obj2);
15987 if (arg3 == NULL) SWIG_fail;
15988 temp3 = true;
15989 }
15990 }
15991 {
15992 PyThreadState* __tstate = wxPyBeginAllowThreads();
15993 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15994
15995 wxPyEndAllowThreads(__tstate);
15996 if (PyErr_Occurred()) SWIG_fail;
15997 }
15998 {
15999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16000 }
16001 {
16002 if (temp3)
16003 delete arg3;
16004 }
16005 return resultobj;
16006 fail:
16007 {
16008 if (temp3)
16009 delete arg3;
16010 }
16011 return NULL;
16012}
16013
16014
16015static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
16016 PyObject *resultobj;
16017 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16018 PyObject * obj0 = 0 ;
16019 char *kwnames[] = {
16020 (char *) "self", NULL
16021 };
16022
16023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
16024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16025 if (SWIG_arg_fail(1)) SWIG_fail;
16026 {
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 (arg1)->Resume();
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 Py_INCREF(Py_None); resultobj = Py_None;
16034 return resultobj;
16035 fail:
16036 return NULL;
16037}
16038
16039
16040static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
16041 PyObject *obj;
16042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16043 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16044 Py_INCREF(obj);
16045 return Py_BuildValue((char *)"");
16046}
16047static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16048 PyObject *resultobj;
16049 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16050 int arg2 = (int) 0 ;
16051 wxFindDialogEvent *result;
16052 PyObject * obj0 = 0 ;
16053 PyObject * obj1 = 0 ;
16054 char *kwnames[] = {
16055 (char *) "commandType",(char *) "id", NULL
16056 };
16057
16058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16059 if (obj0) {
16060 {
16061 arg1 = (wxEventType)(SWIG_As_int(obj0));
16062 if (SWIG_arg_fail(1)) SWIG_fail;
16063 }
16064 }
16065 if (obj1) {
16066 {
16067 arg2 = (int)(SWIG_As_int(obj1));
16068 if (SWIG_arg_fail(2)) SWIG_fail;
16069 }
16070 }
16071 {
16072 PyThreadState* __tstate = wxPyBeginAllowThreads();
16073 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16074
16075 wxPyEndAllowThreads(__tstate);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 }
16078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16079 return resultobj;
16080 fail:
16081 return NULL;
16082}
16083
16084
16085static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16086 PyObject *resultobj;
16087 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16088 int result;
16089 PyObject * obj0 = 0 ;
16090 char *kwnames[] = {
16091 (char *) "self", NULL
16092 };
16093
16094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16096 if (SWIG_arg_fail(1)) SWIG_fail;
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 result = (int)(arg1)->GetFlags();
16100
16101 wxPyEndAllowThreads(__tstate);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 }
16104 {
16105 resultobj = SWIG_From_int((int)(result));
16106 }
16107 return resultobj;
16108 fail:
16109 return NULL;
16110}
16111
16112
16113static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj;
16115 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16116 wxString *result;
16117 PyObject * obj0 = 0 ;
16118 char *kwnames[] = {
16119 (char *) "self", NULL
16120 };
16121
16122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
16123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16124 if (SWIG_arg_fail(1)) SWIG_fail;
16125 {
16126 PyThreadState* __tstate = wxPyBeginAllowThreads();
16127 {
16128 wxString const &_result_ref = (arg1)->GetFindString();
16129 result = (wxString *) &_result_ref;
16130 }
16131
16132 wxPyEndAllowThreads(__tstate);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 }
16135 {
16136#if wxUSE_UNICODE
16137 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16138#else
16139 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16140#endif
16141 }
16142 return resultobj;
16143 fail:
16144 return NULL;
16145}
16146
16147
16148static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16149 PyObject *resultobj;
16150 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16151 wxString *result;
16152 PyObject * obj0 = 0 ;
16153 char *kwnames[] = {
16154 (char *) "self", NULL
16155 };
16156
16157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
16158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16159 if (SWIG_arg_fail(1)) SWIG_fail;
16160 {
16161 PyThreadState* __tstate = wxPyBeginAllowThreads();
16162 {
16163 wxString const &_result_ref = (arg1)->GetReplaceString();
16164 result = (wxString *) &_result_ref;
16165 }
16166
16167 wxPyEndAllowThreads(__tstate);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 }
16170 {
16171#if wxUSE_UNICODE
16172 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16173#else
16174 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16175#endif
16176 }
16177 return resultobj;
16178 fail:
16179 return NULL;
16180}
16181
16182
16183static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16184 PyObject *resultobj;
16185 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16186 wxFindReplaceDialog *result;
16187 PyObject * obj0 = 0 ;
16188 char *kwnames[] = {
16189 (char *) "self", NULL
16190 };
16191
16192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16194 if (SWIG_arg_fail(1)) SWIG_fail;
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16203 return resultobj;
16204 fail:
16205 return NULL;
16206}
16207
16208
16209static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16210 PyObject *resultobj;
16211 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16212 int arg2 ;
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self",(char *) "flags", NULL
16217 };
16218
16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16221 if (SWIG_arg_fail(1)) SWIG_fail;
16222 {
16223 arg2 = (int)(SWIG_As_int(obj1));
16224 if (SWIG_arg_fail(2)) SWIG_fail;
16225 }
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 (arg1)->SetFlags(arg2);
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 Py_INCREF(Py_None); resultobj = Py_None;
16234 return resultobj;
16235 fail:
16236 return NULL;
16237}
16238
16239
16240static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16241 PyObject *resultobj;
16242 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16243 wxString *arg2 = 0 ;
16244 bool temp2 = false ;
16245 PyObject * obj0 = 0 ;
16246 PyObject * obj1 = 0 ;
16247 char *kwnames[] = {
16248 (char *) "self",(char *) "str", NULL
16249 };
16250
16251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16253 if (SWIG_arg_fail(1)) SWIG_fail;
16254 {
16255 arg2 = wxString_in_helper(obj1);
16256 if (arg2 == NULL) SWIG_fail;
16257 temp2 = true;
16258 }
16259 {
16260 PyThreadState* __tstate = wxPyBeginAllowThreads();
16261 (arg1)->SetFindString((wxString const &)*arg2);
16262
16263 wxPyEndAllowThreads(__tstate);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 }
16266 Py_INCREF(Py_None); resultobj = Py_None;
16267 {
16268 if (temp2)
16269 delete arg2;
16270 }
16271 return resultobj;
16272 fail:
16273 {
16274 if (temp2)
16275 delete arg2;
16276 }
16277 return NULL;
16278}
16279
16280
16281static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16282 PyObject *resultobj;
16283 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16284 wxString *arg2 = 0 ;
16285 bool temp2 = false ;
16286 PyObject * obj0 = 0 ;
16287 PyObject * obj1 = 0 ;
16288 char *kwnames[] = {
16289 (char *) "self",(char *) "str", NULL
16290 };
16291
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16294 if (SWIG_arg_fail(1)) SWIG_fail;
16295 {
16296 arg2 = wxString_in_helper(obj1);
16297 if (arg2 == NULL) SWIG_fail;
16298 temp2 = true;
16299 }
16300 {
16301 PyThreadState* __tstate = wxPyBeginAllowThreads();
16302 (arg1)->SetReplaceString((wxString const &)*arg2);
16303
16304 wxPyEndAllowThreads(__tstate);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 }
16307 Py_INCREF(Py_None); resultobj = Py_None;
16308 {
16309 if (temp2)
16310 delete arg2;
16311 }
16312 return resultobj;
16313 fail:
16314 {
16315 if (temp2)
16316 delete arg2;
16317 }
16318 return NULL;
16319}
16320
16321
16322static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16323 PyObject *obj;
16324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16325 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16326 Py_INCREF(obj);
16327 return Py_BuildValue((char *)"");
16328}
16329static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 int arg1 = (int) 0 ;
16332 wxFindReplaceData *result;
16333 PyObject * obj0 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "flags", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16339 if (obj0) {
16340 {
16341 arg1 = (int)(SWIG_As_int(obj0));
16342 if (SWIG_arg_fail(1)) SWIG_fail;
16343 }
16344 }
16345 {
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16348
16349 wxPyEndAllowThreads(__tstate);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16353 return resultobj;
16354 fail:
16355 return NULL;
16356}
16357
16358
16359static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj;
16361 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16362 PyObject * obj0 = 0 ;
16363 char *kwnames[] = {
16364 (char *) "self", NULL
16365 };
16366
16367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16369 if (SWIG_arg_fail(1)) SWIG_fail;
16370 {
16371 PyThreadState* __tstate = wxPyBeginAllowThreads();
16372 delete arg1;
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 Py_INCREF(Py_None); resultobj = Py_None;
16378 return resultobj;
16379 fail:
16380 return NULL;
16381}
16382
16383
16384static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16385 PyObject *resultobj;
16386 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16387 wxString *result;
16388 PyObject * obj0 = 0 ;
16389 char *kwnames[] = {
16390 (char *) "self", NULL
16391 };
16392
16393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16395 if (SWIG_arg_fail(1)) SWIG_fail;
16396 {
16397 PyThreadState* __tstate = wxPyBeginAllowThreads();
16398 {
16399 wxString const &_result_ref = (arg1)->GetFindString();
16400 result = (wxString *) &_result_ref;
16401 }
16402
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 {
16407#if wxUSE_UNICODE
16408 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16409#else
16410 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16411#endif
16412 }
16413 return resultobj;
16414 fail:
16415 return NULL;
16416}
16417
16418
16419static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16422 wxString *result;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16430 if (SWIG_arg_fail(1)) SWIG_fail;
16431 {
16432 PyThreadState* __tstate = wxPyBeginAllowThreads();
16433 {
16434 wxString const &_result_ref = (arg1)->GetReplaceString();
16435 result = (wxString *) &_result_ref;
16436 }
16437
16438 wxPyEndAllowThreads(__tstate);
16439 if (PyErr_Occurred()) SWIG_fail;
16440 }
16441 {
16442#if wxUSE_UNICODE
16443 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16444#else
16445 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16446#endif
16447 }
16448 return resultobj;
16449 fail:
16450 return NULL;
16451}
16452
16453
16454static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16455 PyObject *resultobj;
16456 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16457 int result;
16458 PyObject * obj0 = 0 ;
16459 char *kwnames[] = {
16460 (char *) "self", NULL
16461 };
16462
16463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16465 if (SWIG_arg_fail(1)) SWIG_fail;
16466 {
16467 PyThreadState* __tstate = wxPyBeginAllowThreads();
16468 result = (int)(arg1)->GetFlags();
16469
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 {
16474 resultobj = SWIG_From_int((int)(result));
16475 }
16476 return resultobj;
16477 fail:
16478 return NULL;
16479}
16480
16481
16482static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16483 PyObject *resultobj;
16484 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16485 int arg2 ;
16486 PyObject * obj0 = 0 ;
16487 PyObject * obj1 = 0 ;
16488 char *kwnames[] = {
16489 (char *) "self",(char *) "flags", NULL
16490 };
16491
16492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16494 if (SWIG_arg_fail(1)) SWIG_fail;
16495 {
16496 arg2 = (int)(SWIG_As_int(obj1));
16497 if (SWIG_arg_fail(2)) SWIG_fail;
16498 }
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 (arg1)->SetFlags(arg2);
16502
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 Py_INCREF(Py_None); resultobj = Py_None;
16507 return resultobj;
16508 fail:
16509 return NULL;
16510}
16511
16512
16513static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16514 PyObject *resultobj;
16515 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16516 wxString *arg2 = 0 ;
16517 bool temp2 = false ;
16518 PyObject * obj0 = 0 ;
16519 PyObject * obj1 = 0 ;
16520 char *kwnames[] = {
16521 (char *) "self",(char *) "str", NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16526 if (SWIG_arg_fail(1)) SWIG_fail;
16527 {
16528 arg2 = wxString_in_helper(obj1);
16529 if (arg2 == NULL) SWIG_fail;
16530 temp2 = true;
16531 }
16532 {
16533 PyThreadState* __tstate = wxPyBeginAllowThreads();
16534 (arg1)->SetFindString((wxString const &)*arg2);
16535
16536 wxPyEndAllowThreads(__tstate);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 Py_INCREF(Py_None); resultobj = Py_None;
16540 {
16541 if (temp2)
16542 delete arg2;
16543 }
16544 return resultobj;
16545 fail:
16546 {
16547 if (temp2)
16548 delete arg2;
16549 }
16550 return NULL;
16551}
16552
16553
16554static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16555 PyObject *resultobj;
16556 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16557 wxString *arg2 = 0 ;
16558 bool temp2 = false ;
16559 PyObject * obj0 = 0 ;
16560 PyObject * obj1 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self",(char *) "str", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16567 if (SWIG_arg_fail(1)) SWIG_fail;
16568 {
16569 arg2 = wxString_in_helper(obj1);
16570 if (arg2 == NULL) SWIG_fail;
16571 temp2 = true;
16572 }
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 (arg1)->SetReplaceString((wxString const &)*arg2);
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 Py_INCREF(Py_None); resultobj = Py_None;
16581 {
16582 if (temp2)
16583 delete arg2;
16584 }
16585 return resultobj;
16586 fail:
16587 {
16588 if (temp2)
16589 delete arg2;
16590 }
16591 return NULL;
16592}
16593
16594
16595static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16596 PyObject *obj;
16597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16598 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16599 Py_INCREF(obj);
16600 return Py_BuildValue((char *)"");
16601}
16602static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16603 PyObject *resultobj;
16604 wxWindow *arg1 = (wxWindow *) 0 ;
16605 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16606 wxString *arg3 = 0 ;
16607 int arg4 = (int) 0 ;
16608 wxFindReplaceDialog *result;
16609 bool temp3 = false ;
16610 PyObject * obj0 = 0 ;
16611 PyObject * obj1 = 0 ;
16612 PyObject * obj2 = 0 ;
16613 PyObject * obj3 = 0 ;
16614 char *kwnames[] = {
16615 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16616 };
16617
16618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16620 if (SWIG_arg_fail(1)) SWIG_fail;
16621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16622 if (SWIG_arg_fail(2)) SWIG_fail;
16623 {
16624 arg3 = wxString_in_helper(obj2);
16625 if (arg3 == NULL) SWIG_fail;
16626 temp3 = true;
16627 }
16628 if (obj3) {
16629 {
16630 arg4 = (int)(SWIG_As_int(obj3));
16631 if (SWIG_arg_fail(4)) SWIG_fail;
16632 }
16633 }
16634 {
16635 if (!wxPyCheckForApp()) SWIG_fail;
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16638
16639 wxPyEndAllowThreads(__tstate);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16643 {
16644 if (temp3)
16645 delete arg3;
16646 }
16647 return resultobj;
16648 fail:
16649 {
16650 if (temp3)
16651 delete arg3;
16652 }
16653 return NULL;
16654}
16655
16656
16657static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj;
16659 wxFindReplaceDialog *result;
16660 char *kwnames[] = {
16661 NULL
16662 };
16663
16664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16665 {
16666 if (!wxPyCheckForApp()) SWIG_fail;
16667 PyThreadState* __tstate = wxPyBeginAllowThreads();
16668 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16669
16670 wxPyEndAllowThreads(__tstate);
16671 if (PyErr_Occurred()) SWIG_fail;
16672 }
16673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16674 return resultobj;
16675 fail:
16676 return NULL;
16677}
16678
16679
16680static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16681 PyObject *resultobj;
16682 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16683 wxWindow *arg2 = (wxWindow *) 0 ;
16684 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16685 wxString *arg4 = 0 ;
16686 int arg5 = (int) 0 ;
16687 bool result;
16688 bool temp4 = false ;
16689 PyObject * obj0 = 0 ;
16690 PyObject * obj1 = 0 ;
16691 PyObject * obj2 = 0 ;
16692 PyObject * obj3 = 0 ;
16693 PyObject * obj4 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16696 };
16697
16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail;
16701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16702 if (SWIG_arg_fail(2)) SWIG_fail;
16703 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16704 if (SWIG_arg_fail(3)) SWIG_fail;
16705 {
16706 arg4 = wxString_in_helper(obj3);
16707 if (arg4 == NULL) SWIG_fail;
16708 temp4 = true;
16709 }
16710 if (obj4) {
16711 {
16712 arg5 = (int)(SWIG_As_int(obj4));
16713 if (SWIG_arg_fail(5)) SWIG_fail;
16714 }
16715 }
16716 {
16717 PyThreadState* __tstate = wxPyBeginAllowThreads();
16718 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16719
16720 wxPyEndAllowThreads(__tstate);
16721 if (PyErr_Occurred()) SWIG_fail;
16722 }
16723 {
16724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16725 }
16726 {
16727 if (temp4)
16728 delete arg4;
16729 }
16730 return resultobj;
16731 fail:
16732 {
16733 if (temp4)
16734 delete arg4;
16735 }
16736 return NULL;
16737}
16738
16739
16740static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16741 PyObject *resultobj;
16742 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16743 wxFindReplaceData *result;
16744 PyObject * obj0 = 0 ;
16745 char *kwnames[] = {
16746 (char *) "self", NULL
16747 };
16748
16749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16751 if (SWIG_arg_fail(1)) SWIG_fail;
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 result = (wxFindReplaceData *)(arg1)->GetData();
16755
16756 wxPyEndAllowThreads(__tstate);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16760 return resultobj;
16761 fail:
16762 return NULL;
16763}
16764
16765
16766static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16767 PyObject *resultobj;
16768 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16769 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16770 PyObject * obj0 = 0 ;
16771 PyObject * obj1 = 0 ;
16772 char *kwnames[] = {
16773 (char *) "self",(char *) "data", NULL
16774 };
16775
16776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
16777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16778 if (SWIG_arg_fail(1)) SWIG_fail;
16779 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16780 if (SWIG_arg_fail(2)) SWIG_fail;
16781 {
16782 PyThreadState* __tstate = wxPyBeginAllowThreads();
16783 (arg1)->SetData(arg2);
16784
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 Py_INCREF(Py_None); resultobj = Py_None;
16789 return resultobj;
16790 fail:
16791 return NULL;
16792}
16793
16794
16795static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
16796 PyObject *obj;
16797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16798 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16799 Py_INCREF(obj);
16800 return Py_BuildValue((char *)"");
16801}
16802static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16803 PyObject *resultobj;
16804 wxWindow *arg1 = (wxWindow *) 0 ;
16805 int arg2 = (int) (int)-1 ;
16806 wxString const &arg3_defvalue = wxPyEmptyString ;
16807 wxString *arg3 = (wxString *) &arg3_defvalue ;
16808 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16809 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16810 wxSize const &arg5_defvalue = wxDefaultSize ;
16811 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16812 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16813 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16814 wxString *arg7 = (wxString *) &arg7_defvalue ;
16815 wxMDIParentFrame *result;
16816 bool temp3 = false ;
16817 wxPoint temp4 ;
16818 wxSize temp5 ;
16819 bool temp7 = false ;
16820 PyObject * obj0 = 0 ;
16821 PyObject * obj1 = 0 ;
16822 PyObject * obj2 = 0 ;
16823 PyObject * obj3 = 0 ;
16824 PyObject * obj4 = 0 ;
16825 PyObject * obj5 = 0 ;
16826 PyObject * obj6 = 0 ;
16827 char *kwnames[] = {
16828 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16829 };
16830
16831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16833 if (SWIG_arg_fail(1)) SWIG_fail;
16834 if (obj1) {
16835 {
16836 arg2 = (int const)(SWIG_As_int(obj1));
16837 if (SWIG_arg_fail(2)) SWIG_fail;
16838 }
16839 }
16840 if (obj2) {
16841 {
16842 arg3 = wxString_in_helper(obj2);
16843 if (arg3 == NULL) SWIG_fail;
16844 temp3 = true;
16845 }
16846 }
16847 if (obj3) {
16848 {
16849 arg4 = &temp4;
16850 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16851 }
16852 }
16853 if (obj4) {
16854 {
16855 arg5 = &temp5;
16856 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16857 }
16858 }
16859 if (obj5) {
16860 {
16861 arg6 = (long)(SWIG_As_long(obj5));
16862 if (SWIG_arg_fail(6)) SWIG_fail;
16863 }
16864 }
16865 if (obj6) {
16866 {
16867 arg7 = wxString_in_helper(obj6);
16868 if (arg7 == NULL) SWIG_fail;
16869 temp7 = true;
16870 }
16871 }
16872 {
16873 if (!wxPyCheckForApp()) SWIG_fail;
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16876
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16881 {
16882 if (temp3)
16883 delete arg3;
16884 }
16885 {
16886 if (temp7)
16887 delete arg7;
16888 }
16889 return resultobj;
16890 fail:
16891 {
16892 if (temp3)
16893 delete arg3;
16894 }
16895 {
16896 if (temp7)
16897 delete arg7;
16898 }
16899 return NULL;
16900}
16901
16902
16903static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj;
16905 wxMDIParentFrame *result;
16906 char *kwnames[] = {
16907 NULL
16908 };
16909
16910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16911 {
16912 if (!wxPyCheckForApp()) SWIG_fail;
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16920 return resultobj;
16921 fail:
16922 return NULL;
16923}
16924
16925
16926static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj;
16928 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16929 wxWindow *arg2 = (wxWindow *) 0 ;
16930 int arg3 = (int) (int)-1 ;
16931 wxString const &arg4_defvalue = wxPyEmptyString ;
16932 wxString *arg4 = (wxString *) &arg4_defvalue ;
16933 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16934 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16935 wxSize const &arg6_defvalue = wxDefaultSize ;
16936 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16937 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16938 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16939 wxString *arg8 = (wxString *) &arg8_defvalue ;
16940 bool result;
16941 bool temp4 = false ;
16942 wxPoint temp5 ;
16943 wxSize temp6 ;
16944 bool temp8 = false ;
16945 PyObject * obj0 = 0 ;
16946 PyObject * obj1 = 0 ;
16947 PyObject * obj2 = 0 ;
16948 PyObject * obj3 = 0 ;
16949 PyObject * obj4 = 0 ;
16950 PyObject * obj5 = 0 ;
16951 PyObject * obj6 = 0 ;
16952 PyObject * obj7 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
16958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16959 if (SWIG_arg_fail(1)) SWIG_fail;
16960 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16961 if (SWIG_arg_fail(2)) SWIG_fail;
16962 if (obj2) {
16963 {
16964 arg3 = (int const)(SWIG_As_int(obj2));
16965 if (SWIG_arg_fail(3)) SWIG_fail;
16966 }
16967 }
16968 if (obj3) {
16969 {
16970 arg4 = wxString_in_helper(obj3);
16971 if (arg4 == NULL) SWIG_fail;
16972 temp4 = true;
16973 }
16974 }
16975 if (obj4) {
16976 {
16977 arg5 = &temp5;
16978 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16979 }
16980 }
16981 if (obj5) {
16982 {
16983 arg6 = &temp6;
16984 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16985 }
16986 }
16987 if (obj6) {
16988 {
16989 arg7 = (long)(SWIG_As_long(obj6));
16990 if (SWIG_arg_fail(7)) SWIG_fail;
16991 }
16992 }
16993 if (obj7) {
16994 {
16995 arg8 = wxString_in_helper(obj7);
16996 if (arg8 == NULL) SWIG_fail;
16997 temp8 = true;
16998 }
16999 }
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17003
17004 wxPyEndAllowThreads(__tstate);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 {
17008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17009 }
17010 {
17011 if (temp4)
17012 delete arg4;
17013 }
17014 {
17015 if (temp8)
17016 delete arg8;
17017 }
17018 return resultobj;
17019 fail:
17020 {
17021 if (temp4)
17022 delete arg4;
17023 }
17024 {
17025 if (temp8)
17026 delete arg8;
17027 }
17028 return NULL;
17029}
17030
17031
17032static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17035 PyObject * obj0 = 0 ;
17036 char *kwnames[] = {
17037 (char *) "self", NULL
17038 };
17039
17040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
17041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17042 if (SWIG_arg_fail(1)) SWIG_fail;
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
17045 (arg1)->ActivateNext();
17046
17047 wxPyEndAllowThreads(__tstate);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 Py_INCREF(Py_None); resultobj = Py_None;
17051 return resultobj;
17052 fail:
17053 return NULL;
17054}
17055
17056
17057static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj;
17059 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17060 PyObject * obj0 = 0 ;
17061 char *kwnames[] = {
17062 (char *) "self", NULL
17063 };
17064
17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
17066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail;
17068 {
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 (arg1)->ActivatePrevious();
17071
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
17075 Py_INCREF(Py_None); resultobj = Py_None;
17076 return resultobj;
17077 fail:
17078 return NULL;
17079}
17080
17081
17082static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17085 PyObject * obj0 = 0 ;
17086 char *kwnames[] = {
17087 (char *) "self", NULL
17088 };
17089
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17092 if (SWIG_arg_fail(1)) SWIG_fail;
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 (arg1)->ArrangeIcons();
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 Py_INCREF(Py_None); resultobj = Py_None;
17101 return resultobj;
17102 fail:
17103 return NULL;
17104}
17105
17106
17107static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17110 PyObject * obj0 = 0 ;
17111 char *kwnames[] = {
17112 (char *) "self", NULL
17113 };
17114
17115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail;
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 (arg1)->Cascade();
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 Py_INCREF(Py_None); resultobj = Py_None;
17126 return resultobj;
17127 fail:
17128 return NULL;
17129}
17130
17131
17132static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17135 wxMDIChildFrame *result;
17136 PyObject * obj0 = 0 ;
17137 char *kwnames[] = {
17138 (char *) "self", NULL
17139 };
17140
17141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17143 if (SWIG_arg_fail(1)) SWIG_fail;
17144 {
17145 PyThreadState* __tstate = wxPyBeginAllowThreads();
17146 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17147
17148 wxPyEndAllowThreads(__tstate);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 {
17152 resultobj = wxPyMake_wxObject(result, 0);
17153 }
17154 return resultobj;
17155 fail:
17156 return NULL;
17157}
17158
17159
17160static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17161 PyObject *resultobj;
17162 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17163 wxMDIClientWindow *result;
17164 PyObject * obj0 = 0 ;
17165 char *kwnames[] = {
17166 (char *) "self", NULL
17167 };
17168
17169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17171 if (SWIG_arg_fail(1)) SWIG_fail;
17172 {
17173 PyThreadState* __tstate = wxPyBeginAllowThreads();
17174 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17175
17176 wxPyEndAllowThreads(__tstate);
17177 if (PyErr_Occurred()) SWIG_fail;
17178 }
17179 {
17180 resultobj = wxPyMake_wxObject(result, 0);
17181 }
17182 return resultobj;
17183 fail:
17184 return NULL;
17185}
17186
17187
17188static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17191 wxWindow *result;
17192 PyObject * obj0 = 0 ;
17193 char *kwnames[] = {
17194 (char *) "self", NULL
17195 };
17196
17197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17199 if (SWIG_arg_fail(1)) SWIG_fail;
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 result = (wxWindow *)(arg1)->GetToolBar();
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 {
17208 resultobj = wxPyMake_wxObject(result, 0);
17209 }
17210 return resultobj;
17211 fail:
17212 return NULL;
17213}
17214
17215
17216static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17217 PyObject *resultobj;
17218 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17219 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17220 PyObject * obj0 = 0 ;
17221 PyObject * obj1 = 0 ;
17222 char *kwnames[] = {
17223 (char *) "self",(char *) "orient", NULL
17224 };
17225
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17228 if (SWIG_arg_fail(1)) SWIG_fail;
17229 if (obj1) {
17230 {
17231 arg2 = (wxOrientation)(SWIG_As_int(obj1));
17232 if (SWIG_arg_fail(2)) SWIG_fail;
17233 }
17234 }
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 (arg1)->Tile((wxOrientation )arg2);
17238
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 Py_INCREF(Py_None); resultobj = Py_None;
17243 return resultobj;
17244 fail:
17245 return NULL;
17246}
17247
17248
17249static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17250 PyObject *obj;
17251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17252 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17253 Py_INCREF(obj);
17254 return Py_BuildValue((char *)"");
17255}
17256static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj;
17258 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17259 int arg2 = (int) (int)-1 ;
17260 wxString const &arg3_defvalue = wxPyEmptyString ;
17261 wxString *arg3 = (wxString *) &arg3_defvalue ;
17262 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17263 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17264 wxSize const &arg5_defvalue = wxDefaultSize ;
17265 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17266 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17267 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17268 wxString *arg7 = (wxString *) &arg7_defvalue ;
17269 wxMDIChildFrame *result;
17270 bool temp3 = false ;
17271 wxPoint temp4 ;
17272 wxSize temp5 ;
17273 bool temp7 = false ;
17274 PyObject * obj0 = 0 ;
17275 PyObject * obj1 = 0 ;
17276 PyObject * obj2 = 0 ;
17277 PyObject * obj3 = 0 ;
17278 PyObject * obj4 = 0 ;
17279 PyObject * obj5 = 0 ;
17280 PyObject * obj6 = 0 ;
17281 char *kwnames[] = {
17282 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17283 };
17284
17285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17287 if (SWIG_arg_fail(1)) SWIG_fail;
17288 if (obj1) {
17289 {
17290 arg2 = (int const)(SWIG_As_int(obj1));
17291 if (SWIG_arg_fail(2)) SWIG_fail;
17292 }
17293 }
17294 if (obj2) {
17295 {
17296 arg3 = wxString_in_helper(obj2);
17297 if (arg3 == NULL) SWIG_fail;
17298 temp3 = true;
17299 }
17300 }
17301 if (obj3) {
17302 {
17303 arg4 = &temp4;
17304 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17305 }
17306 }
17307 if (obj4) {
17308 {
17309 arg5 = &temp5;
17310 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17311 }
17312 }
17313 if (obj5) {
17314 {
17315 arg6 = (long)(SWIG_As_long(obj5));
17316 if (SWIG_arg_fail(6)) SWIG_fail;
17317 }
17318 }
17319 if (obj6) {
17320 {
17321 arg7 = wxString_in_helper(obj6);
17322 if (arg7 == NULL) SWIG_fail;
17323 temp7 = true;
17324 }
17325 }
17326 {
17327 if (!wxPyCheckForApp()) SWIG_fail;
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17335 {
17336 if (temp3)
17337 delete arg3;
17338 }
17339 {
17340 if (temp7)
17341 delete arg7;
17342 }
17343 return resultobj;
17344 fail:
17345 {
17346 if (temp3)
17347 delete arg3;
17348 }
17349 {
17350 if (temp7)
17351 delete arg7;
17352 }
17353 return NULL;
17354}
17355
17356
17357static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17358 PyObject *resultobj;
17359 wxMDIChildFrame *result;
17360 char *kwnames[] = {
17361 NULL
17362 };
17363
17364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17365 {
17366 if (!wxPyCheckForApp()) SWIG_fail;
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17374 return resultobj;
17375 fail:
17376 return NULL;
17377}
17378
17379
17380static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj;
17382 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17383 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17384 int arg3 = (int) (int)-1 ;
17385 wxString const &arg4_defvalue = wxPyEmptyString ;
17386 wxString *arg4 = (wxString *) &arg4_defvalue ;
17387 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17388 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17389 wxSize const &arg6_defvalue = wxDefaultSize ;
17390 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17391 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17392 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17393 wxString *arg8 = (wxString *) &arg8_defvalue ;
17394 bool result;
17395 bool temp4 = false ;
17396 wxPoint temp5 ;
17397 wxSize temp6 ;
17398 bool temp8 = false ;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 PyObject * obj2 = 0 ;
17402 PyObject * obj3 = 0 ;
17403 PyObject * obj4 = 0 ;
17404 PyObject * obj5 = 0 ;
17405 PyObject * obj6 = 0 ;
17406 PyObject * obj7 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17413 if (SWIG_arg_fail(1)) SWIG_fail;
17414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17415 if (SWIG_arg_fail(2)) SWIG_fail;
17416 if (obj2) {
17417 {
17418 arg3 = (int const)(SWIG_As_int(obj2));
17419 if (SWIG_arg_fail(3)) SWIG_fail;
17420 }
17421 }
17422 if (obj3) {
17423 {
17424 arg4 = wxString_in_helper(obj3);
17425 if (arg4 == NULL) SWIG_fail;
17426 temp4 = true;
17427 }
17428 }
17429 if (obj4) {
17430 {
17431 arg5 = &temp5;
17432 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17433 }
17434 }
17435 if (obj5) {
17436 {
17437 arg6 = &temp6;
17438 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17439 }
17440 }
17441 if (obj6) {
17442 {
17443 arg7 = (long)(SWIG_As_long(obj6));
17444 if (SWIG_arg_fail(7)) SWIG_fail;
17445 }
17446 }
17447 if (obj7) {
17448 {
17449 arg8 = wxString_in_helper(obj7);
17450 if (arg8 == NULL) SWIG_fail;
17451 temp8 = true;
17452 }
17453 }
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17457
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 {
17462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17463 }
17464 {
17465 if (temp4)
17466 delete arg4;
17467 }
17468 {
17469 if (temp8)
17470 delete arg8;
17471 }
17472 return resultobj;
17473 fail:
17474 {
17475 if (temp4)
17476 delete arg4;
17477 }
17478 {
17479 if (temp8)
17480 delete arg8;
17481 }
17482 return NULL;
17483}
17484
17485
17486static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17487 PyObject *resultobj;
17488 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail;
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 (arg1)->Activate();
17500
17501 wxPyEndAllowThreads(__tstate);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 Py_INCREF(Py_None); resultobj = Py_None;
17505 return resultobj;
17506 fail:
17507 return NULL;
17508}
17509
17510
17511static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17512 PyObject *resultobj;
17513 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17514 bool arg2 = (bool) true ;
17515 PyObject * obj0 = 0 ;
17516 PyObject * obj1 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "self",(char *) "maximize", NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17523 if (SWIG_arg_fail(1)) SWIG_fail;
17524 if (obj1) {
17525 {
17526 arg2 = (bool)(SWIG_As_bool(obj1));
17527 if (SWIG_arg_fail(2)) SWIG_fail;
17528 }
17529 }
17530 {
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 (arg1)->Maximize(arg2);
17533
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 Py_INCREF(Py_None); resultobj = Py_None;
17538 return resultobj;
17539 fail:
17540 return NULL;
17541}
17542
17543
17544static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17545 PyObject *resultobj;
17546 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17547 PyObject * obj0 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17554 if (SWIG_arg_fail(1)) SWIG_fail;
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 (arg1)->Restore();
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 Py_INCREF(Py_None); resultobj = Py_None;
17563 return resultobj;
17564 fail:
17565 return NULL;
17566}
17567
17568
17569static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17570 PyObject *obj;
17571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17572 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17573 Py_INCREF(obj);
17574 return Py_BuildValue((char *)"");
17575}
17576static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj;
17578 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17579 long arg2 = (long) 0 ;
17580 wxMDIClientWindow *result;
17581 PyObject * obj0 = 0 ;
17582 PyObject * obj1 = 0 ;
17583 char *kwnames[] = {
17584 (char *) "parent",(char *) "style", NULL
17585 };
17586
17587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17589 if (SWIG_arg_fail(1)) SWIG_fail;
17590 if (obj1) {
17591 {
17592 arg2 = (long)(SWIG_As_long(obj1));
17593 if (SWIG_arg_fail(2)) SWIG_fail;
17594 }
17595 }
17596 {
17597 if (!wxPyCheckForApp()) SWIG_fail;
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17600
17601 wxPyEndAllowThreads(__tstate);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17605 return resultobj;
17606 fail:
17607 return NULL;
17608}
17609
17610
17611static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17612 PyObject *resultobj;
17613 wxMDIClientWindow *result;
17614 char *kwnames[] = {
17615 NULL
17616 };
17617
17618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17619 {
17620 if (!wxPyCheckForApp()) SWIG_fail;
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17623
17624 wxPyEndAllowThreads(__tstate);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 }
17627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17628 return resultobj;
17629 fail:
17630 return NULL;
17631}
17632
17633
17634static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17635 PyObject *resultobj;
17636 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17637 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17638 long arg3 = (long) 0 ;
17639 bool result;
17640 PyObject * obj0 = 0 ;
17641 PyObject * obj1 = 0 ;
17642 PyObject * obj2 = 0 ;
17643 char *kwnames[] = {
17644 (char *) "self",(char *) "parent",(char *) "style", NULL
17645 };
17646
17647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17649 if (SWIG_arg_fail(1)) SWIG_fail;
17650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17651 if (SWIG_arg_fail(2)) SWIG_fail;
17652 if (obj2) {
17653 {
17654 arg3 = (long)(SWIG_As_long(obj2));
17655 if (SWIG_arg_fail(3)) SWIG_fail;
17656 }
17657 }
17658 {
17659 PyThreadState* __tstate = wxPyBeginAllowThreads();
17660 result = (bool)(arg1)->Create(arg2,arg3);
17661
17662 wxPyEndAllowThreads(__tstate);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 }
17665 {
17666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17667 }
17668 return resultobj;
17669 fail:
17670 return NULL;
17671}
17672
17673
17674static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17675 PyObject *obj;
17676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17677 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17678 Py_INCREF(obj);
17679 return Py_BuildValue((char *)"");
17680}
17681static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj;
17683 wxWindow *arg1 = (wxWindow *) 0 ;
17684 int arg2 = (int) (int)-1 ;
17685 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17686 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17687 wxSize const &arg4_defvalue = wxDefaultSize ;
17688 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17689 long arg5 = (long) 0 ;
17690 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17691 wxString *arg6 = (wxString *) &arg6_defvalue ;
17692 wxPyWindow *result;
17693 wxPoint temp3 ;
17694 wxSize temp4 ;
17695 bool temp6 = false ;
17696 PyObject * obj0 = 0 ;
17697 PyObject * obj1 = 0 ;
17698 PyObject * obj2 = 0 ;
17699 PyObject * obj3 = 0 ;
17700 PyObject * obj4 = 0 ;
17701 PyObject * obj5 = 0 ;
17702 char *kwnames[] = {
17703 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17704 };
17705
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17708 if (SWIG_arg_fail(1)) SWIG_fail;
17709 if (obj1) {
17710 {
17711 arg2 = (int const)(SWIG_As_int(obj1));
17712 if (SWIG_arg_fail(2)) SWIG_fail;
17713 }
17714 }
17715 if (obj2) {
17716 {
17717 arg3 = &temp3;
17718 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17719 }
17720 }
17721 if (obj3) {
17722 {
17723 arg4 = &temp4;
17724 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17725 }
17726 }
17727 if (obj4) {
17728 {
17729 arg5 = (long)(SWIG_As_long(obj4));
17730 if (SWIG_arg_fail(5)) SWIG_fail;
17731 }
17732 }
17733 if (obj5) {
17734 {
17735 arg6 = wxString_in_helper(obj5);
17736 if (arg6 == NULL) SWIG_fail;
17737 temp6 = true;
17738 }
17739 }
17740 {
17741 if (!wxPyCheckForApp()) SWIG_fail;
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17744
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17749 {
17750 if (temp6)
17751 delete arg6;
17752 }
17753 return resultobj;
17754 fail:
17755 {
17756 if (temp6)
17757 delete arg6;
17758 }
17759 return NULL;
17760}
17761
17762
17763static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17764 PyObject *resultobj;
17765 wxPyWindow *result;
17766 char *kwnames[] = {
17767 NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17771 {
17772 if (!wxPyCheckForApp()) SWIG_fail;
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 result = (wxPyWindow *)new wxPyWindow();
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17780 return resultobj;
17781 fail:
17782 return NULL;
17783}
17784
17785
17786static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17789 PyObject *arg2 = (PyObject *) 0 ;
17790 PyObject *arg3 = (PyObject *) 0 ;
17791 PyObject * obj0 = 0 ;
17792 PyObject * obj1 = 0 ;
17793 PyObject * obj2 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "self",(char *) "self",(char *) "_class", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail;
17801 arg2 = obj1;
17802 arg3 = obj2;
17803 {
17804 PyThreadState* __tstate = wxPyBeginAllowThreads();
17805 (arg1)->_setCallbackInfo(arg2,arg3);
17806
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
17810 Py_INCREF(Py_None); resultobj = Py_None;
17811 return resultobj;
17812 fail:
17813 return NULL;
17814}
17815
17816
17817static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17818 PyObject *resultobj;
17819 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17820 wxSize *arg2 = 0 ;
17821 wxSize temp2 ;
17822 PyObject * obj0 = 0 ;
17823 PyObject * obj1 = 0 ;
17824 char *kwnames[] = {
17825 (char *) "self",(char *) "size", NULL
17826 };
17827
17828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17830 if (SWIG_arg_fail(1)) SWIG_fail;
17831 {
17832 arg2 = &temp2;
17833 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17834 }
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 (arg1)->SetBestSize((wxSize const &)*arg2);
17838
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 Py_INCREF(Py_None); resultobj = Py_None;
17843 return resultobj;
17844 fail:
17845 return NULL;
17846}
17847
17848
17849static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17850 PyObject *resultobj;
17851 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17852 int arg2 ;
17853 int arg3 ;
17854 int arg4 ;
17855 int arg5 ;
17856 PyObject * obj0 = 0 ;
17857 PyObject * obj1 = 0 ;
17858 PyObject * obj2 = 0 ;
17859 PyObject * obj3 = 0 ;
17860 PyObject * obj4 = 0 ;
17861 char *kwnames[] = {
17862 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17863 };
17864
17865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17867 if (SWIG_arg_fail(1)) SWIG_fail;
17868 {
17869 arg2 = (int)(SWIG_As_int(obj1));
17870 if (SWIG_arg_fail(2)) SWIG_fail;
17871 }
17872 {
17873 arg3 = (int)(SWIG_As_int(obj2));
17874 if (SWIG_arg_fail(3)) SWIG_fail;
17875 }
17876 {
17877 arg4 = (int)(SWIG_As_int(obj3));
17878 if (SWIG_arg_fail(4)) SWIG_fail;
17879 }
17880 {
17881 arg5 = (int)(SWIG_As_int(obj4));
17882 if (SWIG_arg_fail(5)) SWIG_fail;
17883 }
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 Py_INCREF(Py_None); resultobj = Py_None;
17892 return resultobj;
17893 fail:
17894 return NULL;
17895}
17896
17897
17898static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17899 PyObject *resultobj;
17900 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17901 int arg2 ;
17902 int arg3 ;
17903 int arg4 ;
17904 int arg5 ;
17905 int arg6 = (int) wxSIZE_AUTO ;
17906 PyObject * obj0 = 0 ;
17907 PyObject * obj1 = 0 ;
17908 PyObject * obj2 = 0 ;
17909 PyObject * obj3 = 0 ;
17910 PyObject * obj4 = 0 ;
17911 PyObject * obj5 = 0 ;
17912 char *kwnames[] = {
17913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17914 };
17915
17916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17918 if (SWIG_arg_fail(1)) SWIG_fail;
17919 {
17920 arg2 = (int)(SWIG_As_int(obj1));
17921 if (SWIG_arg_fail(2)) SWIG_fail;
17922 }
17923 {
17924 arg3 = (int)(SWIG_As_int(obj2));
17925 if (SWIG_arg_fail(3)) SWIG_fail;
17926 }
17927 {
17928 arg4 = (int)(SWIG_As_int(obj3));
17929 if (SWIG_arg_fail(4)) SWIG_fail;
17930 }
17931 {
17932 arg5 = (int)(SWIG_As_int(obj4));
17933 if (SWIG_arg_fail(5)) SWIG_fail;
17934 }
17935 if (obj5) {
17936 {
17937 arg6 = (int)(SWIG_As_int(obj5));
17938 if (SWIG_arg_fail(6)) SWIG_fail;
17939 }
17940 }
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 Py_INCREF(Py_None); resultobj = Py_None;
17949 return resultobj;
17950 fail:
17951 return NULL;
17952}
17953
17954
17955static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17958 int arg2 ;
17959 int arg3 ;
17960 PyObject * obj0 = 0 ;
17961 PyObject * obj1 = 0 ;
17962 PyObject * obj2 = 0 ;
17963 char *kwnames[] = {
17964 (char *) "self",(char *) "width",(char *) "height", NULL
17965 };
17966
17967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17969 if (SWIG_arg_fail(1)) SWIG_fail;
17970 {
17971 arg2 = (int)(SWIG_As_int(obj1));
17972 if (SWIG_arg_fail(2)) SWIG_fail;
17973 }
17974 {
17975 arg3 = (int)(SWIG_As_int(obj2));
17976 if (SWIG_arg_fail(3)) SWIG_fail;
17977 }
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 (arg1)->base_DoSetClientSize(arg2,arg3);
17981
17982 wxPyEndAllowThreads(__tstate);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 }
17985 Py_INCREF(Py_None); resultobj = Py_None;
17986 return resultobj;
17987 fail:
17988 return NULL;
17989}
17990
17991
17992static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17993 PyObject *resultobj;
17994 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17995 int arg2 ;
17996 int arg3 ;
17997 PyObject * obj0 = 0 ;
17998 PyObject * obj1 = 0 ;
17999 PyObject * obj2 = 0 ;
18000 char *kwnames[] = {
18001 (char *) "self",(char *) "x",(char *) "y", NULL
18002 };
18003
18004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18006 if (SWIG_arg_fail(1)) SWIG_fail;
18007 {
18008 arg2 = (int)(SWIG_As_int(obj1));
18009 if (SWIG_arg_fail(2)) SWIG_fail;
18010 }
18011 {
18012 arg3 = (int)(SWIG_As_int(obj2));
18013 if (SWIG_arg_fail(3)) SWIG_fail;
18014 }
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18018
18019 wxPyEndAllowThreads(__tstate);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 Py_INCREF(Py_None); resultobj = Py_None;
18023 return resultobj;
18024 fail:
18025 return NULL;
18026}
18027
18028
18029static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18030 PyObject *resultobj;
18031 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18032 int *arg2 = (int *) 0 ;
18033 int *arg3 = (int *) 0 ;
18034 int temp2 ;
18035 int res2 = 0 ;
18036 int temp3 ;
18037 int res3 = 0 ;
18038 PyObject * obj0 = 0 ;
18039 char *kwnames[] = {
18040 (char *) "self", NULL
18041 };
18042
18043 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18044 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
18046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18047 if (SWIG_arg_fail(1)) SWIG_fail;
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18051
18052 wxPyEndAllowThreads(__tstate);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
18055 Py_INCREF(Py_None); resultobj = Py_None;
18056 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18057 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18058 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18059 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18060 return resultobj;
18061 fail:
18062 return NULL;
18063}
18064
18065
18066static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj;
18068 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18069 int *arg2 = (int *) 0 ;
18070 int *arg3 = (int *) 0 ;
18071 int temp2 ;
18072 int res2 = 0 ;
18073 int temp3 ;
18074 int res3 = 0 ;
18075 PyObject * obj0 = 0 ;
18076 char *kwnames[] = {
18077 (char *) "self", NULL
18078 };
18079
18080 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18081 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18084 if (SWIG_arg_fail(1)) SWIG_fail;
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18088
18089 wxPyEndAllowThreads(__tstate);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 }
18092 Py_INCREF(Py_None); resultobj = Py_None;
18093 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18094 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18095 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18096 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18097 return resultobj;
18098 fail:
18099 return NULL;
18100}
18101
18102
18103static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18106 int *arg2 = (int *) 0 ;
18107 int *arg3 = (int *) 0 ;
18108 int temp2 ;
18109 int res2 = 0 ;
18110 int temp3 ;
18111 int res3 = 0 ;
18112 PyObject * obj0 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self", NULL
18115 };
18116
18117 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18118 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18121 if (SWIG_arg_fail(1)) SWIG_fail;
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 Py_INCREF(Py_None); resultobj = Py_None;
18130 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18131 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18132 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18133 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18134 return resultobj;
18135 fail:
18136 return NULL;
18137}
18138
18139
18140static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18141 PyObject *resultobj;
18142 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18143 wxSize result;
18144 PyObject * obj0 = 0 ;
18145 char *kwnames[] = {
18146 (char *) "self", NULL
18147 };
18148
18149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18151 if (SWIG_arg_fail(1)) SWIG_fail;
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 {
18160 wxSize * resultptr;
18161 resultptr = new wxSize((wxSize &)(result));
18162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18163 }
18164 return resultobj;
18165 fail:
18166 return NULL;
18167}
18168
18169
18170static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18171 PyObject *resultobj;
18172 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18173 wxSize result;
18174 PyObject * obj0 = 0 ;
18175 char *kwnames[] = {
18176 (char *) "self", NULL
18177 };
18178
18179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18181 if (SWIG_arg_fail(1)) SWIG_fail;
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 {
18190 wxSize * resultptr;
18191 resultptr = new wxSize((wxSize &)(result));
18192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18193 }
18194 return resultobj;
18195 fail:
18196 return NULL;
18197}
18198
18199
18200static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18203 PyObject * obj0 = 0 ;
18204 char *kwnames[] = {
18205 (char *) "self", NULL
18206 };
18207
18208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18210 if (SWIG_arg_fail(1)) SWIG_fail;
18211 {
18212 PyThreadState* __tstate = wxPyBeginAllowThreads();
18213 (arg1)->base_InitDialog();
18214
18215 wxPyEndAllowThreads(__tstate);
18216 if (PyErr_Occurred()) SWIG_fail;
18217 }
18218 Py_INCREF(Py_None); resultobj = Py_None;
18219 return resultobj;
18220 fail:
18221 return NULL;
18222}
18223
18224
18225static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18226 PyObject *resultobj;
18227 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18228 bool result;
18229 PyObject * obj0 = 0 ;
18230 char *kwnames[] = {
18231 (char *) "self", NULL
18232 };
18233
18234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18236 if (SWIG_arg_fail(1)) SWIG_fail;
18237 {
18238 PyThreadState* __tstate = wxPyBeginAllowThreads();
18239 result = (bool)(arg1)->base_TransferDataToWindow();
18240
18241 wxPyEndAllowThreads(__tstate);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 }
18244 {
18245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18246 }
18247 return resultobj;
18248 fail:
18249 return NULL;
18250}
18251
18252
18253static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj;
18255 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18256 bool result;
18257 PyObject * obj0 = 0 ;
18258 char *kwnames[] = {
18259 (char *) "self", NULL
18260 };
18261
18262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18264 if (SWIG_arg_fail(1)) SWIG_fail;
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 result = (bool)(arg1)->base_TransferDataFromWindow();
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 {
18273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18274 }
18275 return resultobj;
18276 fail:
18277 return NULL;
18278}
18279
18280
18281static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18282 PyObject *resultobj;
18283 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18284 bool result;
18285 PyObject * obj0 = 0 ;
18286 char *kwnames[] = {
18287 (char *) "self", NULL
18288 };
18289
18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18292 if (SWIG_arg_fail(1)) SWIG_fail;
18293 {
18294 PyThreadState* __tstate = wxPyBeginAllowThreads();
18295 result = (bool)(arg1)->base_Validate();
18296
18297 wxPyEndAllowThreads(__tstate);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 {
18301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18302 }
18303 return resultobj;
18304 fail:
18305 return NULL;
18306}
18307
18308
18309static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18310 PyObject *resultobj;
18311 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18312 bool result;
18313 PyObject * obj0 = 0 ;
18314 char *kwnames[] = {
18315 (char *) "self", NULL
18316 };
18317
18318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18320 if (SWIG_arg_fail(1)) SWIG_fail;
18321 {
18322 PyThreadState* __tstate = wxPyBeginAllowThreads();
18323 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18324
18325 wxPyEndAllowThreads(__tstate);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 }
18328 {
18329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18330 }
18331 return resultobj;
18332 fail:
18333 return NULL;
18334}
18335
18336
18337static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj;
18339 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18340 bool result;
18341 PyObject * obj0 = 0 ;
18342 char *kwnames[] = {
18343 (char *) "self", NULL
18344 };
18345
18346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18348 if (SWIG_arg_fail(1)) SWIG_fail;
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 {
18357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18358 }
18359 return resultobj;
18360 fail:
18361 return NULL;
18362}
18363
18364
18365static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18366 PyObject *resultobj;
18367 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18368 wxSize result;
18369 PyObject * obj0 = 0 ;
18370 char *kwnames[] = {
18371 (char *) "self", NULL
18372 };
18373
18374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18376 if (SWIG_arg_fail(1)) SWIG_fail;
18377 {
18378 PyThreadState* __tstate = wxPyBeginAllowThreads();
18379 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18380
18381 wxPyEndAllowThreads(__tstate);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 {
18385 wxSize * resultptr;
18386 resultptr = new wxSize((wxSize &)(result));
18387 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18388 }
18389 return resultobj;
18390 fail:
18391 return NULL;
18392}
18393
18394
18395static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18398 wxWindow *arg2 = (wxWindow *) 0 ;
18399 PyObject * obj0 = 0 ;
18400 PyObject * obj1 = 0 ;
18401 char *kwnames[] = {
18402 (char *) "self",(char *) "child", NULL
18403 };
18404
18405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18407 if (SWIG_arg_fail(1)) SWIG_fail;
18408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18409 if (SWIG_arg_fail(2)) SWIG_fail;
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 (arg1)->base_AddChild(arg2);
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
18417 Py_INCREF(Py_None); resultobj = Py_None;
18418 return resultobj;
18419 fail:
18420 return NULL;
18421}
18422
18423
18424static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18425 PyObject *resultobj;
18426 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18427 wxWindow *arg2 = (wxWindow *) 0 ;
18428 PyObject * obj0 = 0 ;
18429 PyObject * obj1 = 0 ;
18430 char *kwnames[] = {
18431 (char *) "self",(char *) "child", NULL
18432 };
18433
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18436 if (SWIG_arg_fail(1)) SWIG_fail;
18437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18438 if (SWIG_arg_fail(2)) SWIG_fail;
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 (arg1)->base_RemoveChild(arg2);
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 Py_INCREF(Py_None); resultobj = Py_None;
18447 return resultobj;
18448 fail:
18449 return NULL;
18450}
18451
18452
18453static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18456 bool result;
18457 PyObject * obj0 = 0 ;
18458 char *kwnames[] = {
18459 (char *) "self", NULL
18460 };
18461
18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail;
18465 {
18466 PyThreadState* __tstate = wxPyBeginAllowThreads();
18467 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18468
18469 wxPyEndAllowThreads(__tstate);
18470 if (PyErr_Occurred()) SWIG_fail;
18471 }
18472 {
18473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18474 }
18475 return resultobj;
18476 fail:
18477 return NULL;
18478}
18479
18480
18481static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18482 PyObject *resultobj;
18483 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18484 wxVisualAttributes result;
18485 PyObject * obj0 = 0 ;
18486 char *kwnames[] = {
18487 (char *) "self", NULL
18488 };
18489
18490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18492 if (SWIG_arg_fail(1)) SWIG_fail;
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 result = (arg1)->base_GetDefaultAttributes();
18496
18497 wxPyEndAllowThreads(__tstate);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 }
18500 {
18501 wxVisualAttributes * resultptr;
18502 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
18503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18504 }
18505 return resultobj;
18506 fail:
18507 return NULL;
18508}
18509
18510
18511static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18512 PyObject *obj;
18513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18514 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18515 Py_INCREF(obj);
18516 return Py_BuildValue((char *)"");
18517}
18518static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxWindow *arg1 = (wxWindow *) 0 ;
18521 int arg2 = (int) (int)-1 ;
18522 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18523 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18524 wxSize const &arg4_defvalue = wxDefaultSize ;
18525 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18526 long arg5 = (long) 0 ;
18527 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18528 wxString *arg6 = (wxString *) &arg6_defvalue ;
18529 wxPyPanel *result;
18530 wxPoint temp3 ;
18531 wxSize temp4 ;
18532 bool temp6 = false ;
18533 PyObject * obj0 = 0 ;
18534 PyObject * obj1 = 0 ;
18535 PyObject * obj2 = 0 ;
18536 PyObject * obj3 = 0 ;
18537 PyObject * obj4 = 0 ;
18538 PyObject * obj5 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18545 if (SWIG_arg_fail(1)) SWIG_fail;
18546 if (obj1) {
18547 {
18548 arg2 = (int const)(SWIG_As_int(obj1));
18549 if (SWIG_arg_fail(2)) SWIG_fail;
18550 }
18551 }
18552 if (obj2) {
18553 {
18554 arg3 = &temp3;
18555 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18556 }
18557 }
18558 if (obj3) {
18559 {
18560 arg4 = &temp4;
18561 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18562 }
18563 }
18564 if (obj4) {
18565 {
18566 arg5 = (long)(SWIG_As_long(obj4));
18567 if (SWIG_arg_fail(5)) SWIG_fail;
18568 }
18569 }
18570 if (obj5) {
18571 {
18572 arg6 = wxString_in_helper(obj5);
18573 if (arg6 == NULL) SWIG_fail;
18574 temp6 = true;
18575 }
18576 }
18577 {
18578 if (!wxPyCheckForApp()) SWIG_fail;
18579 PyThreadState* __tstate = wxPyBeginAllowThreads();
18580 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18581
18582 wxPyEndAllowThreads(__tstate);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18586 {
18587 if (temp6)
18588 delete arg6;
18589 }
18590 return resultobj;
18591 fail:
18592 {
18593 if (temp6)
18594 delete arg6;
18595 }
18596 return NULL;
18597}
18598
18599
18600static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18601 PyObject *resultobj;
18602 wxPyPanel *result;
18603 char *kwnames[] = {
18604 NULL
18605 };
18606
18607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18608 {
18609 if (!wxPyCheckForApp()) SWIG_fail;
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 result = (wxPyPanel *)new wxPyPanel();
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18617 return resultobj;
18618 fail:
18619 return NULL;
18620}
18621
18622
18623static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18626 PyObject *arg2 = (PyObject *) 0 ;
18627 PyObject *arg3 = (PyObject *) 0 ;
18628 PyObject * obj0 = 0 ;
18629 PyObject * obj1 = 0 ;
18630 PyObject * obj2 = 0 ;
18631 char *kwnames[] = {
18632 (char *) "self",(char *) "self",(char *) "_class", NULL
18633 };
18634
18635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18637 if (SWIG_arg_fail(1)) SWIG_fail;
18638 arg2 = obj1;
18639 arg3 = obj2;
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 (arg1)->_setCallbackInfo(arg2,arg3);
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 Py_INCREF(Py_None); resultobj = Py_None;
18648 return resultobj;
18649 fail:
18650 return NULL;
18651}
18652
18653
18654static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18655 PyObject *resultobj;
18656 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18657 wxSize *arg2 = 0 ;
18658 wxSize temp2 ;
18659 PyObject * obj0 = 0 ;
18660 PyObject * obj1 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self",(char *) "size", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail;
18668 {
18669 arg2 = &temp2;
18670 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18671 }
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 (arg1)->SetBestSize((wxSize const &)*arg2);
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 Py_INCREF(Py_None); resultobj = Py_None;
18680 return resultobj;
18681 fail:
18682 return NULL;
18683}
18684
18685
18686static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18687 PyObject *resultobj;
18688 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18689 int arg2 ;
18690 int arg3 ;
18691 int arg4 ;
18692 int arg5 ;
18693 PyObject * obj0 = 0 ;
18694 PyObject * obj1 = 0 ;
18695 PyObject * obj2 = 0 ;
18696 PyObject * obj3 = 0 ;
18697 PyObject * obj4 = 0 ;
18698 char *kwnames[] = {
18699 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18700 };
18701
18702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18704 if (SWIG_arg_fail(1)) SWIG_fail;
18705 {
18706 arg2 = (int)(SWIG_As_int(obj1));
18707 if (SWIG_arg_fail(2)) SWIG_fail;
18708 }
18709 {
18710 arg3 = (int)(SWIG_As_int(obj2));
18711 if (SWIG_arg_fail(3)) SWIG_fail;
18712 }
18713 {
18714 arg4 = (int)(SWIG_As_int(obj3));
18715 if (SWIG_arg_fail(4)) SWIG_fail;
18716 }
18717 {
18718 arg5 = (int)(SWIG_As_int(obj4));
18719 if (SWIG_arg_fail(5)) SWIG_fail;
18720 }
18721 {
18722 PyThreadState* __tstate = wxPyBeginAllowThreads();
18723 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18724
18725 wxPyEndAllowThreads(__tstate);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 Py_INCREF(Py_None); resultobj = Py_None;
18729 return resultobj;
18730 fail:
18731 return NULL;
18732}
18733
18734
18735static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18736 PyObject *resultobj;
18737 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18738 int arg2 ;
18739 int arg3 ;
18740 int arg4 ;
18741 int arg5 ;
18742 int arg6 = (int) wxSIZE_AUTO ;
18743 PyObject * obj0 = 0 ;
18744 PyObject * obj1 = 0 ;
18745 PyObject * obj2 = 0 ;
18746 PyObject * obj3 = 0 ;
18747 PyObject * obj4 = 0 ;
18748 PyObject * obj5 = 0 ;
18749 char *kwnames[] = {
18750 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18751 };
18752
18753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18755 if (SWIG_arg_fail(1)) SWIG_fail;
18756 {
18757 arg2 = (int)(SWIG_As_int(obj1));
18758 if (SWIG_arg_fail(2)) SWIG_fail;
18759 }
18760 {
18761 arg3 = (int)(SWIG_As_int(obj2));
18762 if (SWIG_arg_fail(3)) SWIG_fail;
18763 }
18764 {
18765 arg4 = (int)(SWIG_As_int(obj3));
18766 if (SWIG_arg_fail(4)) SWIG_fail;
18767 }
18768 {
18769 arg5 = (int)(SWIG_As_int(obj4));
18770 if (SWIG_arg_fail(5)) SWIG_fail;
18771 }
18772 if (obj5) {
18773 {
18774 arg6 = (int)(SWIG_As_int(obj5));
18775 if (SWIG_arg_fail(6)) SWIG_fail;
18776 }
18777 }
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18781
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 Py_INCREF(Py_None); resultobj = Py_None;
18786 return resultobj;
18787 fail:
18788 return NULL;
18789}
18790
18791
18792static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18793 PyObject *resultobj;
18794 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18795 int arg2 ;
18796 int arg3 ;
18797 PyObject * obj0 = 0 ;
18798 PyObject * obj1 = 0 ;
18799 PyObject * obj2 = 0 ;
18800 char *kwnames[] = {
18801 (char *) "self",(char *) "width",(char *) "height", NULL
18802 };
18803
18804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18806 if (SWIG_arg_fail(1)) SWIG_fail;
18807 {
18808 arg2 = (int)(SWIG_As_int(obj1));
18809 if (SWIG_arg_fail(2)) SWIG_fail;
18810 }
18811 {
18812 arg3 = (int)(SWIG_As_int(obj2));
18813 if (SWIG_arg_fail(3)) SWIG_fail;
18814 }
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 (arg1)->base_DoSetClientSize(arg2,arg3);
18818
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 Py_INCREF(Py_None); resultobj = Py_None;
18823 return resultobj;
18824 fail:
18825 return NULL;
18826}
18827
18828
18829static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18830 PyObject *resultobj;
18831 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18832 int arg2 ;
18833 int arg3 ;
18834 PyObject * obj0 = 0 ;
18835 PyObject * obj1 = 0 ;
18836 PyObject * obj2 = 0 ;
18837 char *kwnames[] = {
18838 (char *) "self",(char *) "x",(char *) "y", NULL
18839 };
18840
18841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18843 if (SWIG_arg_fail(1)) SWIG_fail;
18844 {
18845 arg2 = (int)(SWIG_As_int(obj1));
18846 if (SWIG_arg_fail(2)) SWIG_fail;
18847 }
18848 {
18849 arg3 = (int)(SWIG_As_int(obj2));
18850 if (SWIG_arg_fail(3)) SWIG_fail;
18851 }
18852 {
18853 PyThreadState* __tstate = wxPyBeginAllowThreads();
18854 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18855
18856 wxPyEndAllowThreads(__tstate);
18857 if (PyErr_Occurred()) SWIG_fail;
18858 }
18859 Py_INCREF(Py_None); resultobj = Py_None;
18860 return resultobj;
18861 fail:
18862 return NULL;
18863}
18864
18865
18866static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18867 PyObject *resultobj;
18868 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18869 int *arg2 = (int *) 0 ;
18870 int *arg3 = (int *) 0 ;
18871 int temp2 ;
18872 int res2 = 0 ;
18873 int temp3 ;
18874 int res3 = 0 ;
18875 PyObject * obj0 = 0 ;
18876 char *kwnames[] = {
18877 (char *) "self", NULL
18878 };
18879
18880 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18881 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
18883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18884 if (SWIG_arg_fail(1)) SWIG_fail;
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 Py_INCREF(Py_None); resultobj = Py_None;
18893 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18894 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18895 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18896 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18897 return resultobj;
18898 fail:
18899 return NULL;
18900}
18901
18902
18903static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18906 int *arg2 = (int *) 0 ;
18907 int *arg3 = (int *) 0 ;
18908 int temp2 ;
18909 int res2 = 0 ;
18910 int temp3 ;
18911 int res3 = 0 ;
18912 PyObject * obj0 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self", NULL
18915 };
18916
18917 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18918 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18921 if (SWIG_arg_fail(1)) SWIG_fail;
18922 {
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
18925
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 Py_INCREF(Py_None); resultobj = Py_None;
18930 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18931 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18932 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18933 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18934 return resultobj;
18935 fail:
18936 return NULL;
18937}
18938
18939
18940static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18941 PyObject *resultobj;
18942 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18943 int *arg2 = (int *) 0 ;
18944 int *arg3 = (int *) 0 ;
18945 int temp2 ;
18946 int res2 = 0 ;
18947 int temp3 ;
18948 int res3 = 0 ;
18949 PyObject * obj0 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self", NULL
18952 };
18953
18954 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18955 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
18957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18958 if (SWIG_arg_fail(1)) SWIG_fail;
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 Py_INCREF(Py_None); resultobj = Py_None;
18967 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18968 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18969 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18970 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18971 return resultobj;
18972 fail:
18973 return NULL;
18974}
18975
18976
18977static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj;
18979 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18980 wxSize result;
18981 PyObject * obj0 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail;
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 {
18997 wxSize * resultptr;
18998 resultptr = new wxSize((wxSize &)(result));
18999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19000 }
19001 return resultobj;
19002 fail:
19003 return NULL;
19004}
19005
19006
19007static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19008 PyObject *resultobj;
19009 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19010 wxSize result;
19011 PyObject * obj0 = 0 ;
19012 char *kwnames[] = {
19013 (char *) "self", NULL
19014 };
19015
19016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19018 if (SWIG_arg_fail(1)) SWIG_fail;
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 {
19027 wxSize * resultptr;
19028 resultptr = new wxSize((wxSize &)(result));
19029 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19030 }
19031 return resultobj;
19032 fail:
19033 return NULL;
19034}
19035
19036
19037static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19038 PyObject *resultobj;
19039 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19040 PyObject * obj0 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "self", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
19046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail;
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 (arg1)->base_InitDialog();
19051
19052 wxPyEndAllowThreads(__tstate);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
19055 Py_INCREF(Py_None); resultobj = Py_None;
19056 return resultobj;
19057 fail:
19058 return NULL;
19059}
19060
19061
19062static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19063 PyObject *resultobj;
19064 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19065 bool result;
19066 PyObject * obj0 = 0 ;
19067 char *kwnames[] = {
19068 (char *) "self", NULL
19069 };
19070
19071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19073 if (SWIG_arg_fail(1)) SWIG_fail;
19074 {
19075 PyThreadState* __tstate = wxPyBeginAllowThreads();
19076 result = (bool)(arg1)->base_TransferDataToWindow();
19077
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 {
19082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19083 }
19084 return resultobj;
19085 fail:
19086 return NULL;
19087}
19088
19089
19090static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19091 PyObject *resultobj;
19092 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19093 bool result;
19094 PyObject * obj0 = 0 ;
19095 char *kwnames[] = {
19096 (char *) "self", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19101 if (SWIG_arg_fail(1)) SWIG_fail;
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 result = (bool)(arg1)->base_TransferDataFromWindow();
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 {
19110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19111 }
19112 return resultobj;
19113 fail:
19114 return NULL;
19115}
19116
19117
19118static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19119 PyObject *resultobj;
19120 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19121 bool result;
19122 PyObject * obj0 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
19128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19129 if (SWIG_arg_fail(1)) SWIG_fail;
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 result = (bool)(arg1)->base_Validate();
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 {
19138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19139 }
19140 return resultobj;
19141 fail:
19142 return NULL;
19143}
19144
19145
19146static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19147 PyObject *resultobj;
19148 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19149 bool result;
19150 PyObject * obj0 = 0 ;
19151 char *kwnames[] = {
19152 (char *) "self", NULL
19153 };
19154
19155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19157 if (SWIG_arg_fail(1)) SWIG_fail;
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 {
19166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19167 }
19168 return resultobj;
19169 fail:
19170 return NULL;
19171}
19172
19173
19174static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19175 PyObject *resultobj;
19176 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19177 bool result;
19178 PyObject * obj0 = 0 ;
19179 char *kwnames[] = {
19180 (char *) "self", NULL
19181 };
19182
19183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19185 if (SWIG_arg_fail(1)) SWIG_fail;
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19189
19190 wxPyEndAllowThreads(__tstate);
19191 if (PyErr_Occurred()) SWIG_fail;
19192 }
19193 {
19194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19195 }
19196 return resultobj;
19197 fail:
19198 return NULL;
19199}
19200
19201
19202static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19203 PyObject *resultobj;
19204 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19205 wxSize result;
19206 PyObject * obj0 = 0 ;
19207 char *kwnames[] = {
19208 (char *) "self", NULL
19209 };
19210
19211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19213 if (SWIG_arg_fail(1)) SWIG_fail;
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 {
19222 wxSize * resultptr;
19223 resultptr = new wxSize((wxSize &)(result));
19224 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19225 }
19226 return resultobj;
19227 fail:
19228 return NULL;
19229}
19230
19231
19232static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj;
19234 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19235 wxWindow *arg2 = (wxWindow *) 0 ;
19236 PyObject * obj0 = 0 ;
19237 PyObject * obj1 = 0 ;
19238 char *kwnames[] = {
19239 (char *) "self",(char *) "child", NULL
19240 };
19241
19242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19244 if (SWIG_arg_fail(1)) SWIG_fail;
19245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19246 if (SWIG_arg_fail(2)) SWIG_fail;
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 (arg1)->base_AddChild(arg2);
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 Py_INCREF(Py_None); resultobj = Py_None;
19255 return resultobj;
19256 fail:
19257 return NULL;
19258}
19259
19260
19261static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19262 PyObject *resultobj;
19263 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19264 wxWindow *arg2 = (wxWindow *) 0 ;
19265 PyObject * obj0 = 0 ;
19266 PyObject * obj1 = 0 ;
19267 char *kwnames[] = {
19268 (char *) "self",(char *) "child", NULL
19269 };
19270
19271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19273 if (SWIG_arg_fail(1)) SWIG_fail;
19274 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19275 if (SWIG_arg_fail(2)) SWIG_fail;
19276 {
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 (arg1)->base_RemoveChild(arg2);
19279
19280 wxPyEndAllowThreads(__tstate);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 }
19283 Py_INCREF(Py_None); resultobj = Py_None;
19284 return resultobj;
19285 fail:
19286 return NULL;
19287}
19288
19289
19290static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19291 PyObject *resultobj;
19292 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19293 bool result;
19294 PyObject * obj0 = 0 ;
19295 char *kwnames[] = {
19296 (char *) "self", NULL
19297 };
19298
19299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19301 if (SWIG_arg_fail(1)) SWIG_fail;
19302 {
19303 PyThreadState* __tstate = wxPyBeginAllowThreads();
19304 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19305
19306 wxPyEndAllowThreads(__tstate);
19307 if (PyErr_Occurred()) SWIG_fail;
19308 }
19309 {
19310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19311 }
19312 return resultobj;
19313 fail:
19314 return NULL;
19315}
19316
19317
19318static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj;
19320 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19321 wxVisualAttributes result;
19322 PyObject * obj0 = 0 ;
19323 char *kwnames[] = {
19324 (char *) "self", NULL
19325 };
19326
19327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19329 if (SWIG_arg_fail(1)) SWIG_fail;
19330 {
19331 PyThreadState* __tstate = wxPyBeginAllowThreads();
19332 result = (arg1)->base_GetDefaultAttributes();
19333
19334 wxPyEndAllowThreads(__tstate);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 }
19337 {
19338 wxVisualAttributes * resultptr;
19339 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
19340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19341 }
19342 return resultobj;
19343 fail:
19344 return NULL;
19345}
19346
19347
19348static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19349 PyObject *obj;
19350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19351 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19352 Py_INCREF(obj);
19353 return Py_BuildValue((char *)"");
19354}
19355static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj;
19357 wxWindow *arg1 = (wxWindow *) 0 ;
19358 int arg2 = (int) (int)-1 ;
19359 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19360 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19361 wxSize const &arg4_defvalue = wxDefaultSize ;
19362 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19363 long arg5 = (long) 0 ;
19364 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19365 wxString *arg6 = (wxString *) &arg6_defvalue ;
19366 wxPyScrolledWindow *result;
19367 wxPoint temp3 ;
19368 wxSize temp4 ;
19369 bool temp6 = false ;
19370 PyObject * obj0 = 0 ;
19371 PyObject * obj1 = 0 ;
19372 PyObject * obj2 = 0 ;
19373 PyObject * obj3 = 0 ;
19374 PyObject * obj4 = 0 ;
19375 PyObject * obj5 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19382 if (SWIG_arg_fail(1)) SWIG_fail;
19383 if (obj1) {
19384 {
19385 arg2 = (int const)(SWIG_As_int(obj1));
19386 if (SWIG_arg_fail(2)) SWIG_fail;
19387 }
19388 }
19389 if (obj2) {
19390 {
19391 arg3 = &temp3;
19392 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19393 }
19394 }
19395 if (obj3) {
19396 {
19397 arg4 = &temp4;
19398 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19399 }
19400 }
19401 if (obj4) {
19402 {
19403 arg5 = (long)(SWIG_As_long(obj4));
19404 if (SWIG_arg_fail(5)) SWIG_fail;
19405 }
19406 }
19407 if (obj5) {
19408 {
19409 arg6 = wxString_in_helper(obj5);
19410 if (arg6 == NULL) SWIG_fail;
19411 temp6 = true;
19412 }
19413 }
19414 {
19415 if (!wxPyCheckForApp()) SWIG_fail;
19416 PyThreadState* __tstate = wxPyBeginAllowThreads();
19417 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19418
19419 wxPyEndAllowThreads(__tstate);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 }
19422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19423 {
19424 if (temp6)
19425 delete arg6;
19426 }
19427 return resultobj;
19428 fail:
19429 {
19430 if (temp6)
19431 delete arg6;
19432 }
19433 return NULL;
19434}
19435
19436
19437static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19438 PyObject *resultobj;
19439 wxPyScrolledWindow *result;
19440 char *kwnames[] = {
19441 NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19445 {
19446 if (!wxPyCheckForApp()) SWIG_fail;
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19454 return resultobj;
19455 fail:
19456 return NULL;
19457}
19458
19459
19460static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19461 PyObject *resultobj;
19462 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19463 PyObject *arg2 = (PyObject *) 0 ;
19464 PyObject *arg3 = (PyObject *) 0 ;
19465 PyObject * obj0 = 0 ;
19466 PyObject * obj1 = 0 ;
19467 PyObject * obj2 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self",(char *) "self",(char *) "_class", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19474 if (SWIG_arg_fail(1)) SWIG_fail;
19475 arg2 = obj1;
19476 arg3 = obj2;
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 (arg1)->_setCallbackInfo(arg2,arg3);
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 Py_INCREF(Py_None); resultobj = Py_None;
19485 return resultobj;
19486 fail:
19487 return NULL;
19488}
19489
19490
19491static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19494 wxSize *arg2 = 0 ;
19495 wxSize temp2 ;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self",(char *) "size", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19504 if (SWIG_arg_fail(1)) SWIG_fail;
19505 {
19506 arg2 = &temp2;
19507 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19508 }
19509 {
19510 PyThreadState* __tstate = wxPyBeginAllowThreads();
19511 (arg1)->SetBestSize((wxSize const &)*arg2);
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 Py_INCREF(Py_None); resultobj = Py_None;
19517 return resultobj;
19518 fail:
19519 return NULL;
19520}
19521
19522
19523static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19524 PyObject *resultobj;
19525 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19526 int arg2 ;
19527 int arg3 ;
19528 int arg4 ;
19529 int arg5 ;
19530 PyObject * obj0 = 0 ;
19531 PyObject * obj1 = 0 ;
19532 PyObject * obj2 = 0 ;
19533 PyObject * obj3 = 0 ;
19534 PyObject * obj4 = 0 ;
19535 char *kwnames[] = {
19536 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19537 };
19538
19539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19541 if (SWIG_arg_fail(1)) SWIG_fail;
19542 {
19543 arg2 = (int)(SWIG_As_int(obj1));
19544 if (SWIG_arg_fail(2)) SWIG_fail;
19545 }
19546 {
19547 arg3 = (int)(SWIG_As_int(obj2));
19548 if (SWIG_arg_fail(3)) SWIG_fail;
19549 }
19550 {
19551 arg4 = (int)(SWIG_As_int(obj3));
19552 if (SWIG_arg_fail(4)) SWIG_fail;
19553 }
19554 {
19555 arg5 = (int)(SWIG_As_int(obj4));
19556 if (SWIG_arg_fail(5)) SWIG_fail;
19557 }
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19561
19562 wxPyEndAllowThreads(__tstate);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 }
19565 Py_INCREF(Py_None); resultobj = Py_None;
19566 return resultobj;
19567 fail:
19568 return NULL;
19569}
19570
19571
19572static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19573 PyObject *resultobj;
19574 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19575 int arg2 ;
19576 int arg3 ;
19577 int arg4 ;
19578 int arg5 ;
19579 int arg6 = (int) wxSIZE_AUTO ;
19580 PyObject * obj0 = 0 ;
19581 PyObject * obj1 = 0 ;
19582 PyObject * obj2 = 0 ;
19583 PyObject * obj3 = 0 ;
19584 PyObject * obj4 = 0 ;
19585 PyObject * obj5 = 0 ;
19586 char *kwnames[] = {
19587 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19588 };
19589
19590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19592 if (SWIG_arg_fail(1)) SWIG_fail;
19593 {
19594 arg2 = (int)(SWIG_As_int(obj1));
19595 if (SWIG_arg_fail(2)) SWIG_fail;
19596 }
19597 {
19598 arg3 = (int)(SWIG_As_int(obj2));
19599 if (SWIG_arg_fail(3)) SWIG_fail;
19600 }
19601 {
19602 arg4 = (int)(SWIG_As_int(obj3));
19603 if (SWIG_arg_fail(4)) SWIG_fail;
19604 }
19605 {
19606 arg5 = (int)(SWIG_As_int(obj4));
19607 if (SWIG_arg_fail(5)) SWIG_fail;
19608 }
19609 if (obj5) {
19610 {
19611 arg6 = (int)(SWIG_As_int(obj5));
19612 if (SWIG_arg_fail(6)) SWIG_fail;
19613 }
19614 }
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 Py_INCREF(Py_None); resultobj = Py_None;
19623 return resultobj;
19624 fail:
19625 return NULL;
19626}
19627
19628
19629static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19630 PyObject *resultobj;
19631 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19632 int arg2 ;
19633 int arg3 ;
19634 PyObject * obj0 = 0 ;
19635 PyObject * obj1 = 0 ;
19636 PyObject * obj2 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self",(char *) "width",(char *) "height", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail;
19644 {
19645 arg2 = (int)(SWIG_As_int(obj1));
19646 if (SWIG_arg_fail(2)) SWIG_fail;
19647 }
19648 {
19649 arg3 = (int)(SWIG_As_int(obj2));
19650 if (SWIG_arg_fail(3)) SWIG_fail;
19651 }
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 (arg1)->base_DoSetClientSize(arg2,arg3);
19655
19656 wxPyEndAllowThreads(__tstate);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
19659 Py_INCREF(Py_None); resultobj = Py_None;
19660 return resultobj;
19661 fail:
19662 return NULL;
19663}
19664
19665
19666static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19667 PyObject *resultobj;
19668 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19669 int arg2 ;
19670 int arg3 ;
19671 PyObject * obj0 = 0 ;
19672 PyObject * obj1 = 0 ;
19673 PyObject * obj2 = 0 ;
19674 char *kwnames[] = {
19675 (char *) "self",(char *) "x",(char *) "y", NULL
19676 };
19677
19678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19680 if (SWIG_arg_fail(1)) SWIG_fail;
19681 {
19682 arg2 = (int)(SWIG_As_int(obj1));
19683 if (SWIG_arg_fail(2)) SWIG_fail;
19684 }
19685 {
19686 arg3 = (int)(SWIG_As_int(obj2));
19687 if (SWIG_arg_fail(3)) SWIG_fail;
19688 }
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 Py_INCREF(Py_None); resultobj = Py_None;
19697 return resultobj;
19698 fail:
19699 return NULL;
19700}
19701
19702
19703static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19704 PyObject *resultobj;
19705 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19706 int *arg2 = (int *) 0 ;
19707 int *arg3 = (int *) 0 ;
19708 int temp2 ;
19709 int res2 = 0 ;
19710 int temp3 ;
19711 int res3 = 0 ;
19712 PyObject * obj0 = 0 ;
19713 char *kwnames[] = {
19714 (char *) "self", NULL
19715 };
19716
19717 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19718 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
19720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19721 if (SWIG_arg_fail(1)) SWIG_fail;
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 Py_INCREF(Py_None); resultobj = Py_None;
19730 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19731 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19732 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19733 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19734 return resultobj;
19735 fail:
19736 return NULL;
19737}
19738
19739
19740static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19741 PyObject *resultobj;
19742 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19743 int *arg2 = (int *) 0 ;
19744 int *arg3 = (int *) 0 ;
19745 int temp2 ;
19746 int res2 = 0 ;
19747 int temp3 ;
19748 int res3 = 0 ;
19749 PyObject * obj0 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self", NULL
19752 };
19753
19754 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19755 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19758 if (SWIG_arg_fail(1)) SWIG_fail;
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 Py_INCREF(Py_None); resultobj = Py_None;
19767 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19768 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19769 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19770 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19771 return resultobj;
19772 fail:
19773 return NULL;
19774}
19775
19776
19777static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj;
19779 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19780 int *arg2 = (int *) 0 ;
19781 int *arg3 = (int *) 0 ;
19782 int temp2 ;
19783 int res2 = 0 ;
19784 int temp3 ;
19785 int res3 = 0 ;
19786 PyObject * obj0 = 0 ;
19787 char *kwnames[] = {
19788 (char *) "self", NULL
19789 };
19790
19791 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19792 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
19794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19795 if (SWIG_arg_fail(1)) SWIG_fail;
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19799
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 Py_INCREF(Py_None); resultobj = Py_None;
19804 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19805 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19806 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19807 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19808 return resultobj;
19809 fail:
19810 return NULL;
19811}
19812
19813
19814static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19815 PyObject *resultobj;
19816 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19817 wxSize result;
19818 PyObject * obj0 = 0 ;
19819 char *kwnames[] = {
19820 (char *) "self", NULL
19821 };
19822
19823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19825 if (SWIG_arg_fail(1)) SWIG_fail;
19826 {
19827 PyThreadState* __tstate = wxPyBeginAllowThreads();
19828 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19829
19830 wxPyEndAllowThreads(__tstate);
19831 if (PyErr_Occurred()) SWIG_fail;
19832 }
19833 {
19834 wxSize * resultptr;
19835 resultptr = new wxSize((wxSize &)(result));
19836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19837 }
19838 return resultobj;
19839 fail:
19840 return NULL;
19841}
19842
19843
19844static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj;
19846 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19847 wxSize result;
19848 PyObject * obj0 = 0 ;
19849 char *kwnames[] = {
19850 (char *) "self", NULL
19851 };
19852
19853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19855 if (SWIG_arg_fail(1)) SWIG_fail;
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 {
19864 wxSize * resultptr;
19865 resultptr = new wxSize((wxSize &)(result));
19866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19867 }
19868 return resultobj;
19869 fail:
19870 return NULL;
19871}
19872
19873
19874static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19875 PyObject *resultobj;
19876 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19877 PyObject * obj0 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self", NULL
19880 };
19881
19882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
19883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19884 if (SWIG_arg_fail(1)) SWIG_fail;
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 (arg1)->base_InitDialog();
19888
19889 wxPyEndAllowThreads(__tstate);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 Py_INCREF(Py_None); resultobj = Py_None;
19893 return resultobj;
19894 fail:
19895 return NULL;
19896}
19897
19898
19899static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19900 PyObject *resultobj;
19901 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19902 bool result;
19903 PyObject * obj0 = 0 ;
19904 char *kwnames[] = {
19905 (char *) "self", NULL
19906 };
19907
19908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19910 if (SWIG_arg_fail(1)) SWIG_fail;
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 result = (bool)(arg1)->base_TransferDataToWindow();
19914
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 {
19919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19920 }
19921 return resultobj;
19922 fail:
19923 return NULL;
19924}
19925
19926
19927static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19928 PyObject *resultobj;
19929 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19930 bool result;
19931 PyObject * obj0 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19938 if (SWIG_arg_fail(1)) SWIG_fail;
19939 {
19940 PyThreadState* __tstate = wxPyBeginAllowThreads();
19941 result = (bool)(arg1)->base_TransferDataFromWindow();
19942
19943 wxPyEndAllowThreads(__tstate);
19944 if (PyErr_Occurred()) SWIG_fail;
19945 }
19946 {
19947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19948 }
19949 return resultobj;
19950 fail:
19951 return NULL;
19952}
19953
19954
19955static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj;
19957 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19958 bool result;
19959 PyObject * obj0 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "self", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
19965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19966 if (SWIG_arg_fail(1)) SWIG_fail;
19967 {
19968 PyThreadState* __tstate = wxPyBeginAllowThreads();
19969 result = (bool)(arg1)->base_Validate();
19970
19971 wxPyEndAllowThreads(__tstate);
19972 if (PyErr_Occurred()) SWIG_fail;
19973 }
19974 {
19975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19976 }
19977 return resultobj;
19978 fail:
19979 return NULL;
19980}
19981
19982
19983static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19984 PyObject *resultobj;
19985 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19986 bool result;
19987 PyObject * obj0 = 0 ;
19988 char *kwnames[] = {
19989 (char *) "self", NULL
19990 };
19991
19992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19994 if (SWIG_arg_fail(1)) SWIG_fail;
19995 {
19996 PyThreadState* __tstate = wxPyBeginAllowThreads();
19997 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
19998
19999 wxPyEndAllowThreads(__tstate);
20000 if (PyErr_Occurred()) SWIG_fail;
20001 }
20002 {
20003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20004 }
20005 return resultobj;
20006 fail:
20007 return NULL;
20008}
20009
20010
20011static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
20012 PyObject *resultobj;
20013 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20014 bool result;
20015 PyObject * obj0 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail;
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 {
20031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20032 }
20033 return resultobj;
20034 fail:
20035 return NULL;
20036}
20037
20038
20039static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20040 PyObject *resultobj;
20041 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20042 wxSize result;
20043 PyObject * obj0 = 0 ;
20044 char *kwnames[] = {
20045 (char *) "self", NULL
20046 };
20047
20048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
20049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20050 if (SWIG_arg_fail(1)) SWIG_fail;
20051 {
20052 PyThreadState* __tstate = wxPyBeginAllowThreads();
20053 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20054
20055 wxPyEndAllowThreads(__tstate);
20056 if (PyErr_Occurred()) SWIG_fail;
20057 }
20058 {
20059 wxSize * resultptr;
20060 resultptr = new wxSize((wxSize &)(result));
20061 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20062 }
20063 return resultobj;
20064 fail:
20065 return NULL;
20066}
20067
20068
20069static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20070 PyObject *resultobj;
20071 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20072 wxWindow *arg2 = (wxWindow *) 0 ;
20073 PyObject * obj0 = 0 ;
20074 PyObject * obj1 = 0 ;
20075 char *kwnames[] = {
20076 (char *) "self",(char *) "child", NULL
20077 };
20078
20079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
20080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20081 if (SWIG_arg_fail(1)) SWIG_fail;
20082 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20083 if (SWIG_arg_fail(2)) SWIG_fail;
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 (arg1)->base_AddChild(arg2);
20087
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 Py_INCREF(Py_None); resultobj = Py_None;
20092 return resultobj;
20093 fail:
20094 return NULL;
20095}
20096
20097
20098static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20099 PyObject *resultobj;
20100 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20101 wxWindow *arg2 = (wxWindow *) 0 ;
20102 PyObject * obj0 = 0 ;
20103 PyObject * obj1 = 0 ;
20104 char *kwnames[] = {
20105 (char *) "self",(char *) "child", NULL
20106 };
20107
20108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20110 if (SWIG_arg_fail(1)) SWIG_fail;
20111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20112 if (SWIG_arg_fail(2)) SWIG_fail;
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 (arg1)->base_RemoveChild(arg2);
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 Py_INCREF(Py_None); resultobj = Py_None;
20121 return resultobj;
20122 fail:
20123 return NULL;
20124}
20125
20126
20127static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20128 PyObject *resultobj;
20129 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20130 bool result;
20131 PyObject * obj0 = 0 ;
20132 char *kwnames[] = {
20133 (char *) "self", NULL
20134 };
20135
20136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20138 if (SWIG_arg_fail(1)) SWIG_fail;
20139 {
20140 PyThreadState* __tstate = wxPyBeginAllowThreads();
20141 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20142
20143 wxPyEndAllowThreads(__tstate);
20144 if (PyErr_Occurred()) SWIG_fail;
20145 }
20146 {
20147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20148 }
20149 return resultobj;
20150 fail:
20151 return NULL;
20152}
20153
20154
20155static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20156 PyObject *resultobj;
20157 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20158 wxVisualAttributes result;
20159 PyObject * obj0 = 0 ;
20160 char *kwnames[] = {
20161 (char *) "self", NULL
20162 };
20163
20164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20166 if (SWIG_arg_fail(1)) SWIG_fail;
20167 {
20168 PyThreadState* __tstate = wxPyBeginAllowThreads();
20169 result = (arg1)->base_GetDefaultAttributes();
20170
20171 wxPyEndAllowThreads(__tstate);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 }
20174 {
20175 wxVisualAttributes * resultptr;
20176 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
20177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20178 }
20179 return resultobj;
20180 fail:
20181 return NULL;
20182}
20183
20184
20185static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20186 PyObject *obj;
20187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20188 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20189 Py_INCREF(obj);
20190 return Py_BuildValue((char *)"");
20191}
20192static int _wrap_PrintoutTitleStr_set(PyObject *) {
20193 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20194 return 1;
20195}
20196
20197
20198static PyObject *_wrap_PrintoutTitleStr_get(void) {
20199 PyObject *pyobj;
20200
20201 {
20202#if wxUSE_UNICODE
20203 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20204#else
20205 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20206#endif
20207 }
20208 return pyobj;
20209}
20210
20211
20212static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20213 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20214 return 1;
20215}
20216
20217
20218static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20219 PyObject *pyobj;
20220
20221 {
20222#if wxUSE_UNICODE
20223 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20224#else
20225 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20226#endif
20227 }
20228 return pyobj;
20229}
20230
20231
20232static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20233 PyObject *resultobj;
20234 wxPrintData *result;
20235
20236 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20237 {
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 result = (wxPrintData *)new wxPrintData();
20240
20241 wxPyEndAllowThreads(__tstate);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20245 return resultobj;
20246 fail:
20247 return NULL;
20248}
20249
20250
20251static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20252 PyObject *resultobj;
20253 wxPrintData *arg1 = 0 ;
20254 wxPrintData *result;
20255 PyObject * obj0 = 0 ;
20256
20257 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20258 {
20259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20260 if (SWIG_arg_fail(1)) SWIG_fail;
20261 if (arg1 == NULL) {
20262 SWIG_null_ref("wxPrintData");
20263 }
20264 if (SWIG_arg_fail(1)) SWIG_fail;
20265 }
20266 {
20267 PyThreadState* __tstate = wxPyBeginAllowThreads();
20268 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20269
20270 wxPyEndAllowThreads(__tstate);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 }
20273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20274 return resultobj;
20275 fail:
20276 return NULL;
20277}
20278
20279
20280static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20281 int argc;
20282 PyObject *argv[2];
20283 int ii;
20284
20285 argc = PyObject_Length(args);
20286 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20287 argv[ii] = PyTuple_GetItem(args,ii);
20288 }
20289 if (argc == 0) {
20290 return _wrap_new_PrintData__SWIG_0(self,args);
20291 }
20292 if (argc == 1) {
20293 int _v;
20294 {
20295 void *ptr = 0;
20296 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20297 _v = 0;
20298 PyErr_Clear();
20299 } else {
20300 _v = (ptr != 0);
20301 }
20302 }
20303 if (_v) {
20304 return _wrap_new_PrintData__SWIG_1(self,args);
20305 }
20306 }
20307
20308 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20309 return NULL;
20310}
20311
20312
20313static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20314 PyObject *resultobj;
20315 wxPrintData *arg1 = (wxPrintData *) 0 ;
20316 PyObject * obj0 = 0 ;
20317 char *kwnames[] = {
20318 (char *) "self", NULL
20319 };
20320
20321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail;
20324 {
20325 PyThreadState* __tstate = wxPyBeginAllowThreads();
20326 delete arg1;
20327
20328 wxPyEndAllowThreads(__tstate);
20329 if (PyErr_Occurred()) SWIG_fail;
20330 }
20331 Py_INCREF(Py_None); resultobj = Py_None;
20332 return resultobj;
20333 fail:
20334 return NULL;
20335}
20336
20337
20338static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20339 PyObject *resultobj;
20340 wxPrintData *arg1 = (wxPrintData *) 0 ;
20341 int result;
20342 PyObject * obj0 = 0 ;
20343 char *kwnames[] = {
20344 (char *) "self", NULL
20345 };
20346
20347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20349 if (SWIG_arg_fail(1)) SWIG_fail;
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 result = (int)(arg1)->GetNoCopies();
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 {
20358 resultobj = SWIG_From_int((int)(result));
20359 }
20360 return resultobj;
20361 fail:
20362 return NULL;
20363}
20364
20365
20366static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj;
20368 wxPrintData *arg1 = (wxPrintData *) 0 ;
20369 bool result;
20370 PyObject * obj0 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self", NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20377 if (SWIG_arg_fail(1)) SWIG_fail;
20378 {
20379 PyThreadState* __tstate = wxPyBeginAllowThreads();
20380 result = (bool)(arg1)->GetCollate();
20381
20382 wxPyEndAllowThreads(__tstate);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 }
20385 {
20386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20387 }
20388 return resultobj;
20389 fail:
20390 return NULL;
20391}
20392
20393
20394static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj;
20396 wxPrintData *arg1 = (wxPrintData *) 0 ;
20397 int result;
20398 PyObject * obj0 = 0 ;
20399 char *kwnames[] = {
20400 (char *) "self", NULL
20401 };
20402
20403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20405 if (SWIG_arg_fail(1)) SWIG_fail;
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = (int)(arg1)->GetOrientation();
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 {
20414 resultobj = SWIG_From_int((int)(result));
20415 }
20416 return resultobj;
20417 fail:
20418 return NULL;
20419}
20420
20421
20422static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20423 PyObject *resultobj;
20424 wxPrintData *arg1 = (wxPrintData *) 0 ;
20425 bool result;
20426 PyObject * obj0 = 0 ;
20427 char *kwnames[] = {
20428 (char *) "self", NULL
20429 };
20430
20431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20433 if (SWIG_arg_fail(1)) SWIG_fail;
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 result = (bool)(arg1)->Ok();
20437
20438 wxPyEndAllowThreads(__tstate);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
20441 {
20442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20443 }
20444 return resultobj;
20445 fail:
20446 return NULL;
20447}
20448
20449
20450static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj;
20452 wxPrintData *arg1 = (wxPrintData *) 0 ;
20453 wxString *result;
20454 PyObject * obj0 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "self", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20461 if (SWIG_arg_fail(1)) SWIG_fail;
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 {
20465 wxString const &_result_ref = (arg1)->GetPrinterName();
20466 result = (wxString *) &_result_ref;
20467 }
20468
20469 wxPyEndAllowThreads(__tstate);
20470 if (PyErr_Occurred()) SWIG_fail;
20471 }
20472 {
20473#if wxUSE_UNICODE
20474 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20475#else
20476 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20477#endif
20478 }
20479 return resultobj;
20480 fail:
20481 return NULL;
20482}
20483
20484
20485static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20486 PyObject *resultobj;
20487 wxPrintData *arg1 = (wxPrintData *) 0 ;
20488 bool result;
20489 PyObject * obj0 = 0 ;
20490 char *kwnames[] = {
20491 (char *) "self", NULL
20492 };
20493
20494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20496 if (SWIG_arg_fail(1)) SWIG_fail;
20497 {
20498 PyThreadState* __tstate = wxPyBeginAllowThreads();
20499 result = (bool)(arg1)->GetColour();
20500
20501 wxPyEndAllowThreads(__tstate);
20502 if (PyErr_Occurred()) SWIG_fail;
20503 }
20504 {
20505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20506 }
20507 return resultobj;
20508 fail:
20509 return NULL;
20510}
20511
20512
20513static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj;
20515 wxPrintData *arg1 = (wxPrintData *) 0 ;
20516 wxDuplexMode result;
20517 PyObject * obj0 = 0 ;
20518 char *kwnames[] = {
20519 (char *) "self", NULL
20520 };
20521
20522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20524 if (SWIG_arg_fail(1)) SWIG_fail;
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 result = (wxDuplexMode)(arg1)->GetDuplex();
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
20532 resultobj = SWIG_From_int((result));
20533 return resultobj;
20534 fail:
20535 return NULL;
20536}
20537
20538
20539static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20540 PyObject *resultobj;
20541 wxPrintData *arg1 = (wxPrintData *) 0 ;
20542 wxPaperSize result;
20543 PyObject * obj0 = 0 ;
20544 char *kwnames[] = {
20545 (char *) "self", NULL
20546 };
20547
20548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20550 if (SWIG_arg_fail(1)) SWIG_fail;
20551 {
20552 PyThreadState* __tstate = wxPyBeginAllowThreads();
20553 result = (wxPaperSize)(arg1)->GetPaperId();
20554
20555 wxPyEndAllowThreads(__tstate);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 }
20558 resultobj = SWIG_From_int((result));
20559 return resultobj;
20560 fail:
20561 return NULL;
20562}
20563
20564
20565static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20566 PyObject *resultobj;
20567 wxPrintData *arg1 = (wxPrintData *) 0 ;
20568 wxSize *result;
20569 PyObject * obj0 = 0 ;
20570 char *kwnames[] = {
20571 (char *) "self", NULL
20572 };
20573
20574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20576 if (SWIG_arg_fail(1)) SWIG_fail;
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 {
20580 wxSize const &_result_ref = (arg1)->GetPaperSize();
20581 result = (wxSize *) &_result_ref;
20582 }
20583
20584 wxPyEndAllowThreads(__tstate);
20585 if (PyErr_Occurred()) SWIG_fail;
20586 }
20587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20588 return resultobj;
20589 fail:
20590 return NULL;
20591}
20592
20593
20594static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20595 PyObject *resultobj;
20596 wxPrintData *arg1 = (wxPrintData *) 0 ;
20597 int result;
20598 PyObject * obj0 = 0 ;
20599 char *kwnames[] = {
20600 (char *) "self", NULL
20601 };
20602
20603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
20604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20605 if (SWIG_arg_fail(1)) SWIG_fail;
20606 {
20607 PyThreadState* __tstate = wxPyBeginAllowThreads();
20608 result = (int)(arg1)->GetQuality();
20609
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
20613 {
20614 resultobj = SWIG_From_int((int)(result));
20615 }
20616 return resultobj;
20617 fail:
20618 return NULL;
20619}
20620
20621
20622static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20623 PyObject *resultobj;
20624 wxPrintData *arg1 = (wxPrintData *) 0 ;
20625 wxPrintBin result;
20626 PyObject * obj0 = 0 ;
20627 char *kwnames[] = {
20628 (char *) "self", NULL
20629 };
20630
20631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
20632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20633 if (SWIG_arg_fail(1)) SWIG_fail;
20634 {
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 result = (wxPrintBin)(arg1)->GetBin();
20637
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 resultobj = SWIG_From_int((result));
20642 return resultobj;
20643 fail:
20644 return NULL;
20645}
20646
20647
20648static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20649 PyObject *resultobj;
20650 wxPrintData *arg1 = (wxPrintData *) 0 ;
20651 wxPrintMode result;
20652 PyObject * obj0 = 0 ;
20653 char *kwnames[] = {
20654 (char *) "self", NULL
20655 };
20656
20657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
20658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20659 if (SWIG_arg_fail(1)) SWIG_fail;
20660 {
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
20663
20664 wxPyEndAllowThreads(__tstate);
20665 if (PyErr_Occurred()) SWIG_fail;
20666 }
20667 resultobj = SWIG_From_int((result));
20668 return resultobj;
20669 fail:
20670 return NULL;
20671}
20672
20673
20674static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20675 PyObject *resultobj;
20676 wxPrintData *arg1 = (wxPrintData *) 0 ;
20677 int arg2 ;
20678 PyObject * obj0 = 0 ;
20679 PyObject * obj1 = 0 ;
20680 char *kwnames[] = {
20681 (char *) "self",(char *) "v", NULL
20682 };
20683
20684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20686 if (SWIG_arg_fail(1)) SWIG_fail;
20687 {
20688 arg2 = (int)(SWIG_As_int(obj1));
20689 if (SWIG_arg_fail(2)) SWIG_fail;
20690 }
20691 {
20692 PyThreadState* __tstate = wxPyBeginAllowThreads();
20693 (arg1)->SetNoCopies(arg2);
20694
20695 wxPyEndAllowThreads(__tstate);
20696 if (PyErr_Occurred()) SWIG_fail;
20697 }
20698 Py_INCREF(Py_None); resultobj = Py_None;
20699 return resultobj;
20700 fail:
20701 return NULL;
20702}
20703
20704
20705static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20706 PyObject *resultobj;
20707 wxPrintData *arg1 = (wxPrintData *) 0 ;
20708 bool arg2 ;
20709 PyObject * obj0 = 0 ;
20710 PyObject * obj1 = 0 ;
20711 char *kwnames[] = {
20712 (char *) "self",(char *) "flag", NULL
20713 };
20714
20715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20717 if (SWIG_arg_fail(1)) SWIG_fail;
20718 {
20719 arg2 = (bool)(SWIG_As_bool(obj1));
20720 if (SWIG_arg_fail(2)) SWIG_fail;
20721 }
20722 {
20723 PyThreadState* __tstate = wxPyBeginAllowThreads();
20724 (arg1)->SetCollate(arg2);
20725
20726 wxPyEndAllowThreads(__tstate);
20727 if (PyErr_Occurred()) SWIG_fail;
20728 }
20729 Py_INCREF(Py_None); resultobj = Py_None;
20730 return resultobj;
20731 fail:
20732 return NULL;
20733}
20734
20735
20736static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20737 PyObject *resultobj;
20738 wxPrintData *arg1 = (wxPrintData *) 0 ;
20739 int arg2 ;
20740 PyObject * obj0 = 0 ;
20741 PyObject * obj1 = 0 ;
20742 char *kwnames[] = {
20743 (char *) "self",(char *) "orient", NULL
20744 };
20745
20746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
20747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20748 if (SWIG_arg_fail(1)) SWIG_fail;
20749 {
20750 arg2 = (int)(SWIG_As_int(obj1));
20751 if (SWIG_arg_fail(2)) SWIG_fail;
20752 }
20753 {
20754 PyThreadState* __tstate = wxPyBeginAllowThreads();
20755 (arg1)->SetOrientation(arg2);
20756
20757 wxPyEndAllowThreads(__tstate);
20758 if (PyErr_Occurred()) SWIG_fail;
20759 }
20760 Py_INCREF(Py_None); resultobj = Py_None;
20761 return resultobj;
20762 fail:
20763 return NULL;
20764}
20765
20766
20767static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20768 PyObject *resultobj;
20769 wxPrintData *arg1 = (wxPrintData *) 0 ;
20770 wxString *arg2 = 0 ;
20771 bool temp2 = false ;
20772 PyObject * obj0 = 0 ;
20773 PyObject * obj1 = 0 ;
20774 char *kwnames[] = {
20775 (char *) "self",(char *) "name", NULL
20776 };
20777
20778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
20779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20780 if (SWIG_arg_fail(1)) SWIG_fail;
20781 {
20782 arg2 = wxString_in_helper(obj1);
20783 if (arg2 == NULL) SWIG_fail;
20784 temp2 = true;
20785 }
20786 {
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 (arg1)->SetPrinterName((wxString const &)*arg2);
20789
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
20793 Py_INCREF(Py_None); resultobj = Py_None;
20794 {
20795 if (temp2)
20796 delete arg2;
20797 }
20798 return resultobj;
20799 fail:
20800 {
20801 if (temp2)
20802 delete arg2;
20803 }
20804 return NULL;
20805}
20806
20807
20808static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20809 PyObject *resultobj;
20810 wxPrintData *arg1 = (wxPrintData *) 0 ;
20811 bool arg2 ;
20812 PyObject * obj0 = 0 ;
20813 PyObject * obj1 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self",(char *) "colour", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
20819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20820 if (SWIG_arg_fail(1)) SWIG_fail;
20821 {
20822 arg2 = (bool)(SWIG_As_bool(obj1));
20823 if (SWIG_arg_fail(2)) SWIG_fail;
20824 }
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 (arg1)->SetColour(arg2);
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 Py_INCREF(Py_None); resultobj = Py_None;
20833 return resultobj;
20834 fail:
20835 return NULL;
20836}
20837
20838
20839static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj;
20841 wxPrintData *arg1 = (wxPrintData *) 0 ;
20842 wxDuplexMode arg2 ;
20843 PyObject * obj0 = 0 ;
20844 PyObject * obj1 = 0 ;
20845 char *kwnames[] = {
20846 (char *) "self",(char *) "duplex", NULL
20847 };
20848
20849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
20850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20851 if (SWIG_arg_fail(1)) SWIG_fail;
20852 {
20853 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
20854 if (SWIG_arg_fail(2)) SWIG_fail;
20855 }
20856 {
20857 PyThreadState* __tstate = wxPyBeginAllowThreads();
20858 (arg1)->SetDuplex((wxDuplexMode )arg2);
20859
20860 wxPyEndAllowThreads(__tstate);
20861 if (PyErr_Occurred()) SWIG_fail;
20862 }
20863 Py_INCREF(Py_None); resultobj = Py_None;
20864 return resultobj;
20865 fail:
20866 return NULL;
20867}
20868
20869
20870static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20871 PyObject *resultobj;
20872 wxPrintData *arg1 = (wxPrintData *) 0 ;
20873 wxPaperSize arg2 ;
20874 PyObject * obj0 = 0 ;
20875 PyObject * obj1 = 0 ;
20876 char *kwnames[] = {
20877 (char *) "self",(char *) "sizeId", NULL
20878 };
20879
20880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20882 if (SWIG_arg_fail(1)) SWIG_fail;
20883 {
20884 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
20885 if (SWIG_arg_fail(2)) SWIG_fail;
20886 }
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 (arg1)->SetPaperId((wxPaperSize )arg2);
20890
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 Py_INCREF(Py_None); resultobj = Py_None;
20895 return resultobj;
20896 fail:
20897 return NULL;
20898}
20899
20900
20901static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20902 PyObject *resultobj;
20903 wxPrintData *arg1 = (wxPrintData *) 0 ;
20904 wxSize *arg2 = 0 ;
20905 wxSize temp2 ;
20906 PyObject * obj0 = 0 ;
20907 PyObject * obj1 = 0 ;
20908 char *kwnames[] = {
20909 (char *) "self",(char *) "sz", NULL
20910 };
20911
20912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20914 if (SWIG_arg_fail(1)) SWIG_fail;
20915 {
20916 arg2 = &temp2;
20917 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20918 }
20919 {
20920 PyThreadState* __tstate = wxPyBeginAllowThreads();
20921 (arg1)->SetPaperSize((wxSize const &)*arg2);
20922
20923 wxPyEndAllowThreads(__tstate);
20924 if (PyErr_Occurred()) SWIG_fail;
20925 }
20926 Py_INCREF(Py_None); resultobj = Py_None;
20927 return resultobj;
20928 fail:
20929 return NULL;
20930}
20931
20932
20933static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20934 PyObject *resultobj;
20935 wxPrintData *arg1 = (wxPrintData *) 0 ;
20936 int arg2 ;
20937 PyObject * obj0 = 0 ;
20938 PyObject * obj1 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "self",(char *) "quality", NULL
20941 };
20942
20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
20944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20945 if (SWIG_arg_fail(1)) SWIG_fail;
20946 {
20947 arg2 = (int)(SWIG_As_int(obj1));
20948 if (SWIG_arg_fail(2)) SWIG_fail;
20949 }
20950 {
20951 PyThreadState* __tstate = wxPyBeginAllowThreads();
20952 (arg1)->SetQuality(arg2);
20953
20954 wxPyEndAllowThreads(__tstate);
20955 if (PyErr_Occurred()) SWIG_fail;
20956 }
20957 Py_INCREF(Py_None); resultobj = Py_None;
20958 return resultobj;
20959 fail:
20960 return NULL;
20961}
20962
20963
20964static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20965 PyObject *resultobj;
20966 wxPrintData *arg1 = (wxPrintData *) 0 ;
20967 wxPrintBin arg2 ;
20968 PyObject * obj0 = 0 ;
20969 PyObject * obj1 = 0 ;
20970 char *kwnames[] = {
20971 (char *) "self",(char *) "bin", NULL
20972 };
20973
20974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
20975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20976 if (SWIG_arg_fail(1)) SWIG_fail;
20977 {
20978 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
20979 if (SWIG_arg_fail(2)) SWIG_fail;
20980 }
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 (arg1)->SetBin((wxPrintBin )arg2);
20984
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 Py_INCREF(Py_None); resultobj = Py_None;
20989 return resultobj;
20990 fail:
20991 return NULL;
20992}
20993
20994
20995static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20996 PyObject *resultobj;
20997 wxPrintData *arg1 = (wxPrintData *) 0 ;
20998 wxPrintMode arg2 ;
20999 PyObject * obj0 = 0 ;
21000 PyObject * obj1 = 0 ;
21001 char *kwnames[] = {
21002 (char *) "self",(char *) "printMode", NULL
21003 };
21004
21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail;
21008 {
21009 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21010 if (SWIG_arg_fail(2)) SWIG_fail;
21011 }
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 (arg1)->SetPrintMode((wxPrintMode )arg2);
21015
21016 wxPyEndAllowThreads(__tstate);
21017 if (PyErr_Occurred()) SWIG_fail;
21018 }
21019 Py_INCREF(Py_None); resultobj = Py_None;
21020 return resultobj;
21021 fail:
21022 return NULL;
21023}
21024
21025
21026static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj;
21028 wxPrintData *arg1 = (wxPrintData *) 0 ;
21029 wxString result;
21030 PyObject * obj0 = 0 ;
21031 char *kwnames[] = {
21032 (char *) "self", NULL
21033 };
21034
21035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21037 if (SWIG_arg_fail(1)) SWIG_fail;
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 result = ((wxPrintData const *)arg1)->GetFilename();
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 {
21046#if wxUSE_UNICODE
21047 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21048#else
21049 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21050#endif
21051 }
21052 return resultobj;
21053 fail:
21054 return NULL;
21055}
21056
21057
21058static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21059 PyObject *resultobj;
21060 wxPrintData *arg1 = (wxPrintData *) 0 ;
21061 wxString *arg2 = 0 ;
21062 bool temp2 = false ;
21063 PyObject * obj0 = 0 ;
21064 PyObject * obj1 = 0 ;
21065 char *kwnames[] = {
21066 (char *) "self",(char *) "filename", NULL
21067 };
21068
21069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21071 if (SWIG_arg_fail(1)) SWIG_fail;
21072 {
21073 arg2 = wxString_in_helper(obj1);
21074 if (arg2 == NULL) SWIG_fail;
21075 temp2 = true;
21076 }
21077 {
21078 PyThreadState* __tstate = wxPyBeginAllowThreads();
21079 (arg1)->SetFilename((wxString const &)*arg2);
21080
21081 wxPyEndAllowThreads(__tstate);
21082 if (PyErr_Occurred()) SWIG_fail;
21083 }
21084 Py_INCREF(Py_None); resultobj = Py_None;
21085 {
21086 if (temp2)
21087 delete arg2;
21088 }
21089 return resultobj;
21090 fail:
21091 {
21092 if (temp2)
21093 delete arg2;
21094 }
21095 return NULL;
21096}
21097
21098
21099static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21100 PyObject *resultobj;
21101 wxPrintData *arg1 = (wxPrintData *) 0 ;
21102 PyObject *result;
21103 PyObject * obj0 = 0 ;
21104 char *kwnames[] = {
21105 (char *) "self", NULL
21106 };
21107
21108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21110 if (SWIG_arg_fail(1)) SWIG_fail;
21111 {
21112 PyThreadState* __tstate = wxPyBeginAllowThreads();
21113 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21114
21115 wxPyEndAllowThreads(__tstate);
21116 if (PyErr_Occurred()) SWIG_fail;
21117 }
21118 resultobj = result;
21119 return resultobj;
21120 fail:
21121 return NULL;
21122}
21123
21124
21125static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21126 PyObject *resultobj;
21127 wxPrintData *arg1 = (wxPrintData *) 0 ;
21128 PyObject *arg2 = (PyObject *) 0 ;
21129 PyObject * obj0 = 0 ;
21130 PyObject * obj1 = 0 ;
21131 char *kwnames[] = {
21132 (char *) "self",(char *) "data", NULL
21133 };
21134
21135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21137 if (SWIG_arg_fail(1)) SWIG_fail;
21138 arg2 = obj1;
21139 {
21140 PyThreadState* __tstate = wxPyBeginAllowThreads();
21141 wxPrintData_SetPrivData(arg1,arg2);
21142
21143 wxPyEndAllowThreads(__tstate);
21144 if (PyErr_Occurred()) SWIG_fail;
21145 }
21146 Py_INCREF(Py_None); resultobj = Py_None;
21147 return resultobj;
21148 fail:
21149 return NULL;
21150}
21151
21152
21153static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21154 PyObject *resultobj;
21155 wxPrintData *arg1 = (wxPrintData *) 0 ;
21156 wxString *result;
21157 PyObject * obj0 = 0 ;
21158 char *kwnames[] = {
21159 (char *) "self", NULL
21160 };
21161
21162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
21163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21164 if (SWIG_arg_fail(1)) SWIG_fail;
21165 {
21166 PyThreadState* __tstate = wxPyBeginAllowThreads();
21167 {
21168 wxString const &_result_ref = (arg1)->GetPrinterCommand();
21169 result = (wxString *) &_result_ref;
21170 }
21171
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 {
21176#if wxUSE_UNICODE
21177 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21178#else
21179 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21180#endif
21181 }
21182 return resultobj;
21183 fail:
21184 return NULL;
21185}
21186
21187
21188static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj;
21190 wxPrintData *arg1 = (wxPrintData *) 0 ;
21191 wxString *result;
21192 PyObject * obj0 = 0 ;
21193 char *kwnames[] = {
21194 (char *) "self", NULL
21195 };
21196
21197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
21198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21199 if (SWIG_arg_fail(1)) SWIG_fail;
21200 {
21201 PyThreadState* __tstate = wxPyBeginAllowThreads();
21202 {
21203 wxString const &_result_ref = (arg1)->GetPrinterOptions();
21204 result = (wxString *) &_result_ref;
21205 }
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 {
21211#if wxUSE_UNICODE
21212 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21213#else
21214 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21215#endif
21216 }
21217 return resultobj;
21218 fail:
21219 return NULL;
21220}
21221
21222
21223static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21224 PyObject *resultobj;
21225 wxPrintData *arg1 = (wxPrintData *) 0 ;
21226 wxString *result;
21227 PyObject * obj0 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
21233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail;
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 {
21238 wxString const &_result_ref = (arg1)->GetPreviewCommand();
21239 result = (wxString *) &_result_ref;
21240 }
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 {
21246#if wxUSE_UNICODE
21247 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21248#else
21249 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21250#endif
21251 }
21252 return resultobj;
21253 fail:
21254 return NULL;
21255}
21256
21257
21258static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21259 PyObject *resultobj;
21260 wxPrintData *arg1 = (wxPrintData *) 0 ;
21261 wxString *result;
21262 PyObject * obj0 = 0 ;
21263 char *kwnames[] = {
21264 (char *) "self", NULL
21265 };
21266
21267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
21268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21269 if (SWIG_arg_fail(1)) SWIG_fail;
21270 {
21271 PyThreadState* __tstate = wxPyBeginAllowThreads();
21272 {
21273 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21274 result = (wxString *) &_result_ref;
21275 }
21276
21277 wxPyEndAllowThreads(__tstate);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 }
21280 {
21281#if wxUSE_UNICODE
21282 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21283#else
21284 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21285#endif
21286 }
21287 return resultobj;
21288 fail:
21289 return NULL;
21290}
21291
21292
21293static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxPrintData *arg1 = (wxPrintData *) 0 ;
21296 double result;
21297 PyObject * obj0 = 0 ;
21298 char *kwnames[] = {
21299 (char *) "self", NULL
21300 };
21301
21302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
21303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21304 if (SWIG_arg_fail(1)) SWIG_fail;
21305 {
21306 PyThreadState* __tstate = wxPyBeginAllowThreads();
21307 result = (double)(arg1)->GetPrinterScaleX();
21308
21309 wxPyEndAllowThreads(__tstate);
21310 if (PyErr_Occurred()) SWIG_fail;
21311 }
21312 {
21313 resultobj = SWIG_From_double((double)(result));
21314 }
21315 return resultobj;
21316 fail:
21317 return NULL;
21318}
21319
21320
21321static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21322 PyObject *resultobj;
21323 wxPrintData *arg1 = (wxPrintData *) 0 ;
21324 double result;
21325 PyObject * obj0 = 0 ;
21326 char *kwnames[] = {
21327 (char *) "self", NULL
21328 };
21329
21330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
21331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21332 if (SWIG_arg_fail(1)) SWIG_fail;
21333 {
21334 PyThreadState* __tstate = wxPyBeginAllowThreads();
21335 result = (double)(arg1)->GetPrinterScaleY();
21336
21337 wxPyEndAllowThreads(__tstate);
21338 if (PyErr_Occurred()) SWIG_fail;
21339 }
21340 {
21341 resultobj = SWIG_From_double((double)(result));
21342 }
21343 return resultobj;
21344 fail:
21345 return NULL;
21346}
21347
21348
21349static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21350 PyObject *resultobj;
21351 wxPrintData *arg1 = (wxPrintData *) 0 ;
21352 long result;
21353 PyObject * obj0 = 0 ;
21354 char *kwnames[] = {
21355 (char *) "self", NULL
21356 };
21357
21358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
21359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21360 if (SWIG_arg_fail(1)) SWIG_fail;
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = (long)(arg1)->GetPrinterTranslateX();
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 {
21369 resultobj = SWIG_From_long((long)(result));
21370 }
21371 return resultobj;
21372 fail:
21373 return NULL;
21374}
21375
21376
21377static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21378 PyObject *resultobj;
21379 wxPrintData *arg1 = (wxPrintData *) 0 ;
21380 long result;
21381 PyObject * obj0 = 0 ;
21382 char *kwnames[] = {
21383 (char *) "self", NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
21387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21388 if (SWIG_arg_fail(1)) SWIG_fail;
21389 {
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
21391 result = (long)(arg1)->GetPrinterTranslateY();
21392
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 {
21397 resultobj = SWIG_From_long((long)(result));
21398 }
21399 return resultobj;
21400 fail:
21401 return NULL;
21402}
21403
21404
21405static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21406 PyObject *resultobj;
21407 wxPrintData *arg1 = (wxPrintData *) 0 ;
21408 wxString *arg2 = 0 ;
21409 bool temp2 = false ;
21410 PyObject * obj0 = 0 ;
21411 PyObject * obj1 = 0 ;
21412 char *kwnames[] = {
21413 (char *) "self",(char *) "command", NULL
21414 };
21415
21416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
21417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21418 if (SWIG_arg_fail(1)) SWIG_fail;
21419 {
21420 arg2 = wxString_in_helper(obj1);
21421 if (arg2 == NULL) SWIG_fail;
21422 temp2 = true;
21423 }
21424 {
21425 PyThreadState* __tstate = wxPyBeginAllowThreads();
21426 (arg1)->SetPrinterCommand((wxString const &)*arg2);
21427
21428 wxPyEndAllowThreads(__tstate);
21429 if (PyErr_Occurred()) SWIG_fail;
21430 }
21431 Py_INCREF(Py_None); resultobj = Py_None;
21432 {
21433 if (temp2)
21434 delete arg2;
21435 }
21436 return resultobj;
21437 fail:
21438 {
21439 if (temp2)
21440 delete arg2;
21441 }
21442 return NULL;
21443}
21444
21445
21446static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21447 PyObject *resultobj;
21448 wxPrintData *arg1 = (wxPrintData *) 0 ;
21449 wxString *arg2 = 0 ;
21450 bool temp2 = false ;
21451 PyObject * obj0 = 0 ;
21452 PyObject * obj1 = 0 ;
21453 char *kwnames[] = {
21454 (char *) "self",(char *) "options", NULL
21455 };
21456
21457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
21458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail;
21460 {
21461 arg2 = wxString_in_helper(obj1);
21462 if (arg2 == NULL) SWIG_fail;
21463 temp2 = true;
21464 }
21465 {
21466 PyThreadState* __tstate = wxPyBeginAllowThreads();
21467 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21468
21469 wxPyEndAllowThreads(__tstate);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
21472 Py_INCREF(Py_None); resultobj = Py_None;
21473 {
21474 if (temp2)
21475 delete arg2;
21476 }
21477 return resultobj;
21478 fail:
21479 {
21480 if (temp2)
21481 delete arg2;
21482 }
21483 return NULL;
21484}
21485
21486
21487static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21488 PyObject *resultobj;
21489 wxPrintData *arg1 = (wxPrintData *) 0 ;
21490 wxString *arg2 = 0 ;
21491 bool temp2 = false ;
21492 PyObject * obj0 = 0 ;
21493 PyObject * obj1 = 0 ;
21494 char *kwnames[] = {
21495 (char *) "self",(char *) "command", NULL
21496 };
21497
21498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
21499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21500 if (SWIG_arg_fail(1)) SWIG_fail;
21501 {
21502 arg2 = wxString_in_helper(obj1);
21503 if (arg2 == NULL) SWIG_fail;
21504 temp2 = true;
21505 }
21506 {
21507 PyThreadState* __tstate = wxPyBeginAllowThreads();
21508 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21509
21510 wxPyEndAllowThreads(__tstate);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 }
21513 Py_INCREF(Py_None); resultobj = Py_None;
21514 {
21515 if (temp2)
21516 delete arg2;
21517 }
21518 return resultobj;
21519 fail:
21520 {
21521 if (temp2)
21522 delete arg2;
21523 }
21524 return NULL;
21525}
21526
21527
21528static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21529 PyObject *resultobj;
21530 wxPrintData *arg1 = (wxPrintData *) 0 ;
21531 wxString *arg2 = 0 ;
21532 bool temp2 = false ;
21533 PyObject * obj0 = 0 ;
21534 PyObject * obj1 = 0 ;
21535 char *kwnames[] = {
21536 (char *) "self",(char *) "path", NULL
21537 };
21538
21539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
21540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21541 if (SWIG_arg_fail(1)) SWIG_fail;
21542 {
21543 arg2 = wxString_in_helper(obj1);
21544 if (arg2 == NULL) SWIG_fail;
21545 temp2 = true;
21546 }
21547 {
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21550
21551 wxPyEndAllowThreads(__tstate);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
21554 Py_INCREF(Py_None); resultobj = Py_None;
21555 {
21556 if (temp2)
21557 delete arg2;
21558 }
21559 return resultobj;
21560 fail:
21561 {
21562 if (temp2)
21563 delete arg2;
21564 }
21565 return NULL;
21566}
21567
21568
21569static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21570 PyObject *resultobj;
21571 wxPrintData *arg1 = (wxPrintData *) 0 ;
21572 double arg2 ;
21573 PyObject * obj0 = 0 ;
21574 PyObject * obj1 = 0 ;
21575 char *kwnames[] = {
21576 (char *) "self",(char *) "x", NULL
21577 };
21578
21579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
21580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21581 if (SWIG_arg_fail(1)) SWIG_fail;
21582 {
21583 arg2 = (double)(SWIG_As_double(obj1));
21584 if (SWIG_arg_fail(2)) SWIG_fail;
21585 }
21586 {
21587 PyThreadState* __tstate = wxPyBeginAllowThreads();
21588 (arg1)->SetPrinterScaleX(arg2);
21589
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 Py_INCREF(Py_None); resultobj = Py_None;
21594 return resultobj;
21595 fail:
21596 return NULL;
21597}
21598
21599
21600static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21601 PyObject *resultobj;
21602 wxPrintData *arg1 = (wxPrintData *) 0 ;
21603 double arg2 ;
21604 PyObject * obj0 = 0 ;
21605 PyObject * obj1 = 0 ;
21606 char *kwnames[] = {
21607 (char *) "self",(char *) "y", NULL
21608 };
21609
21610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
21611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21612 if (SWIG_arg_fail(1)) SWIG_fail;
21613 {
21614 arg2 = (double)(SWIG_As_double(obj1));
21615 if (SWIG_arg_fail(2)) SWIG_fail;
21616 }
21617 {
21618 PyThreadState* __tstate = wxPyBeginAllowThreads();
21619 (arg1)->SetPrinterScaleY(arg2);
21620
21621 wxPyEndAllowThreads(__tstate);
21622 if (PyErr_Occurred()) SWIG_fail;
21623 }
21624 Py_INCREF(Py_None); resultobj = Py_None;
21625 return resultobj;
21626 fail:
21627 return NULL;
21628}
21629
21630
21631static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21632 PyObject *resultobj;
21633 wxPrintData *arg1 = (wxPrintData *) 0 ;
21634 double arg2 ;
21635 double arg3 ;
21636 PyObject * obj0 = 0 ;
21637 PyObject * obj1 = 0 ;
21638 PyObject * obj2 = 0 ;
21639 char *kwnames[] = {
21640 (char *) "self",(char *) "x",(char *) "y", NULL
21641 };
21642
21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
21644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21645 if (SWIG_arg_fail(1)) SWIG_fail;
21646 {
21647 arg2 = (double)(SWIG_As_double(obj1));
21648 if (SWIG_arg_fail(2)) SWIG_fail;
21649 }
21650 {
21651 arg3 = (double)(SWIG_As_double(obj2));
21652 if (SWIG_arg_fail(3)) SWIG_fail;
21653 }
21654 {
21655 PyThreadState* __tstate = wxPyBeginAllowThreads();
21656 (arg1)->SetPrinterScaling(arg2,arg3);
21657
21658 wxPyEndAllowThreads(__tstate);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
21661 Py_INCREF(Py_None); resultobj = Py_None;
21662 return resultobj;
21663 fail:
21664 return NULL;
21665}
21666
21667
21668static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21669 PyObject *resultobj;
21670 wxPrintData *arg1 = (wxPrintData *) 0 ;
21671 long arg2 ;
21672 PyObject * obj0 = 0 ;
21673 PyObject * obj1 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "self",(char *) "x", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
21679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21680 if (SWIG_arg_fail(1)) SWIG_fail;
21681 {
21682 arg2 = (long)(SWIG_As_long(obj1));
21683 if (SWIG_arg_fail(2)) SWIG_fail;
21684 }
21685 {
21686 PyThreadState* __tstate = wxPyBeginAllowThreads();
21687 (arg1)->SetPrinterTranslateX(arg2);
21688
21689 wxPyEndAllowThreads(__tstate);
21690 if (PyErr_Occurred()) SWIG_fail;
21691 }
21692 Py_INCREF(Py_None); resultobj = Py_None;
21693 return resultobj;
21694 fail:
21695 return NULL;
21696}
21697
21698
21699static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21700 PyObject *resultobj;
21701 wxPrintData *arg1 = (wxPrintData *) 0 ;
21702 long arg2 ;
21703 PyObject * obj0 = 0 ;
21704 PyObject * obj1 = 0 ;
21705 char *kwnames[] = {
21706 (char *) "self",(char *) "y", NULL
21707 };
21708
21709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
21710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21711 if (SWIG_arg_fail(1)) SWIG_fail;
21712 {
21713 arg2 = (long)(SWIG_As_long(obj1));
21714 if (SWIG_arg_fail(2)) SWIG_fail;
21715 }
21716 {
21717 PyThreadState* __tstate = wxPyBeginAllowThreads();
21718 (arg1)->SetPrinterTranslateY(arg2);
21719
21720 wxPyEndAllowThreads(__tstate);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 }
21723 Py_INCREF(Py_None); resultobj = Py_None;
21724 return resultobj;
21725 fail:
21726 return NULL;
21727}
21728
21729
21730static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
21731 PyObject *resultobj;
21732 wxPrintData *arg1 = (wxPrintData *) 0 ;
21733 long arg2 ;
21734 long arg3 ;
21735 PyObject * obj0 = 0 ;
21736 PyObject * obj1 = 0 ;
21737 PyObject * obj2 = 0 ;
21738 char *kwnames[] = {
21739 (char *) "self",(char *) "x",(char *) "y", NULL
21740 };
21741
21742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
21743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21744 if (SWIG_arg_fail(1)) SWIG_fail;
21745 {
21746 arg2 = (long)(SWIG_As_long(obj1));
21747 if (SWIG_arg_fail(2)) SWIG_fail;
21748 }
21749 {
21750 arg3 = (long)(SWIG_As_long(obj2));
21751 if (SWIG_arg_fail(3)) SWIG_fail;
21752 }
21753 {
21754 PyThreadState* __tstate = wxPyBeginAllowThreads();
21755 (arg1)->SetPrinterTranslation(arg2,arg3);
21756
21757 wxPyEndAllowThreads(__tstate);
21758 if (PyErr_Occurred()) SWIG_fail;
21759 }
21760 Py_INCREF(Py_None); resultobj = Py_None;
21761 return resultobj;
21762 fail:
21763 return NULL;
21764}
21765
21766
21767static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21768 PyObject *obj;
21769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21770 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21771 Py_INCREF(obj);
21772 return Py_BuildValue((char *)"");
21773}
21774static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21775 PyObject *resultobj;
21776 wxPageSetupDialogData *result;
21777
21778 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21779 {
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21782
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21787 return resultobj;
21788 fail:
21789 return NULL;
21790}
21791
21792
21793static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21794 PyObject *resultobj;
21795 wxPageSetupDialogData *arg1 = 0 ;
21796 wxPageSetupDialogData *result;
21797 PyObject * obj0 = 0 ;
21798
21799 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21800 {
21801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail;
21803 if (arg1 == NULL) {
21804 SWIG_null_ref("wxPageSetupDialogData");
21805 }
21806 if (SWIG_arg_fail(1)) SWIG_fail;
21807 }
21808 {
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21811
21812 wxPyEndAllowThreads(__tstate);
21813 if (PyErr_Occurred()) SWIG_fail;
21814 }
21815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21816 return resultobj;
21817 fail:
21818 return NULL;
21819}
21820
21821
21822static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21823 PyObject *resultobj;
21824 wxPrintData *arg1 = 0 ;
21825 wxPageSetupDialogData *result;
21826 PyObject * obj0 = 0 ;
21827
21828 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21829 {
21830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21831 if (SWIG_arg_fail(1)) SWIG_fail;
21832 if (arg1 == NULL) {
21833 SWIG_null_ref("wxPrintData");
21834 }
21835 if (SWIG_arg_fail(1)) SWIG_fail;
21836 }
21837 {
21838 PyThreadState* __tstate = wxPyBeginAllowThreads();
21839 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21840
21841 wxPyEndAllowThreads(__tstate);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21845 return resultobj;
21846 fail:
21847 return NULL;
21848}
21849
21850
21851static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21852 int argc;
21853 PyObject *argv[2];
21854 int ii;
21855
21856 argc = PyObject_Length(args);
21857 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21858 argv[ii] = PyTuple_GetItem(args,ii);
21859 }
21860 if (argc == 0) {
21861 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21862 }
21863 if (argc == 1) {
21864 int _v;
21865 {
21866 void *ptr = 0;
21867 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21868 _v = 0;
21869 PyErr_Clear();
21870 } else {
21871 _v = (ptr != 0);
21872 }
21873 }
21874 if (_v) {
21875 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21876 }
21877 }
21878 if (argc == 1) {
21879 int _v;
21880 {
21881 void *ptr = 0;
21882 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21883 _v = 0;
21884 PyErr_Clear();
21885 } else {
21886 _v = (ptr != 0);
21887 }
21888 }
21889 if (_v) {
21890 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21891 }
21892 }
21893
21894 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21895 return NULL;
21896}
21897
21898
21899static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21900 PyObject *resultobj;
21901 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21902 PyObject * obj0 = 0 ;
21903 char *kwnames[] = {
21904 (char *) "self", NULL
21905 };
21906
21907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21909 if (SWIG_arg_fail(1)) SWIG_fail;
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 delete arg1;
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 Py_INCREF(Py_None); resultobj = Py_None;
21918 return resultobj;
21919 fail:
21920 return NULL;
21921}
21922
21923
21924static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21925 PyObject *resultobj;
21926 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21927 bool arg2 ;
21928 PyObject * obj0 = 0 ;
21929 PyObject * obj1 = 0 ;
21930 char *kwnames[] = {
21931 (char *) "self",(char *) "flag", NULL
21932 };
21933
21934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21936 if (SWIG_arg_fail(1)) SWIG_fail;
21937 {
21938 arg2 = (bool)(SWIG_As_bool(obj1));
21939 if (SWIG_arg_fail(2)) SWIG_fail;
21940 }
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 (arg1)->EnableHelp(arg2);
21944
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 Py_INCREF(Py_None); resultobj = Py_None;
21949 return resultobj;
21950 fail:
21951 return NULL;
21952}
21953
21954
21955static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21956 PyObject *resultobj;
21957 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21958 bool arg2 ;
21959 PyObject * obj0 = 0 ;
21960 PyObject * obj1 = 0 ;
21961 char *kwnames[] = {
21962 (char *) "self",(char *) "flag", NULL
21963 };
21964
21965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
21966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21967 if (SWIG_arg_fail(1)) SWIG_fail;
21968 {
21969 arg2 = (bool)(SWIG_As_bool(obj1));
21970 if (SWIG_arg_fail(2)) SWIG_fail;
21971 }
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 (arg1)->EnableMargins(arg2);
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 Py_INCREF(Py_None); resultobj = Py_None;
21980 return resultobj;
21981 fail:
21982 return NULL;
21983}
21984
21985
21986static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21987 PyObject *resultobj;
21988 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21989 bool arg2 ;
21990 PyObject * obj0 = 0 ;
21991 PyObject * obj1 = 0 ;
21992 char *kwnames[] = {
21993 (char *) "self",(char *) "flag", NULL
21994 };
21995
21996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
21997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21998 if (SWIG_arg_fail(1)) SWIG_fail;
21999 {
22000 arg2 = (bool)(SWIG_As_bool(obj1));
22001 if (SWIG_arg_fail(2)) SWIG_fail;
22002 }
22003 {
22004 PyThreadState* __tstate = wxPyBeginAllowThreads();
22005 (arg1)->EnableOrientation(arg2);
22006
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 Py_INCREF(Py_None); resultobj = Py_None;
22011 return resultobj;
22012 fail:
22013 return NULL;
22014}
22015
22016
22017static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22018 PyObject *resultobj;
22019 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22020 bool arg2 ;
22021 PyObject * obj0 = 0 ;
22022 PyObject * obj1 = 0 ;
22023 char *kwnames[] = {
22024 (char *) "self",(char *) "flag", NULL
22025 };
22026
22027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
22028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22029 if (SWIG_arg_fail(1)) SWIG_fail;
22030 {
22031 arg2 = (bool)(SWIG_As_bool(obj1));
22032 if (SWIG_arg_fail(2)) SWIG_fail;
22033 }
22034 {
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 (arg1)->EnablePaper(arg2);
22037
22038 wxPyEndAllowThreads(__tstate);
22039 if (PyErr_Occurred()) SWIG_fail;
22040 }
22041 Py_INCREF(Py_None); resultobj = Py_None;
22042 return resultobj;
22043 fail:
22044 return NULL;
22045}
22046
22047
22048static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22049 PyObject *resultobj;
22050 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22051 bool arg2 ;
22052 PyObject * obj0 = 0 ;
22053 PyObject * obj1 = 0 ;
22054 char *kwnames[] = {
22055 (char *) "self",(char *) "flag", NULL
22056 };
22057
22058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
22059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22060 if (SWIG_arg_fail(1)) SWIG_fail;
22061 {
22062 arg2 = (bool)(SWIG_As_bool(obj1));
22063 if (SWIG_arg_fail(2)) SWIG_fail;
22064 }
22065 {
22066 PyThreadState* __tstate = wxPyBeginAllowThreads();
22067 (arg1)->EnablePrinter(arg2);
22068
22069 wxPyEndAllowThreads(__tstate);
22070 if (PyErr_Occurred()) SWIG_fail;
22071 }
22072 Py_INCREF(Py_None); resultobj = Py_None;
22073 return resultobj;
22074 fail:
22075 return NULL;
22076}
22077
22078
22079static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22080 PyObject *resultobj;
22081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22082 bool result;
22083 PyObject * obj0 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
22089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22090 if (SWIG_arg_fail(1)) SWIG_fail;
22091 {
22092 PyThreadState* __tstate = wxPyBeginAllowThreads();
22093 result = (bool)(arg1)->GetDefaultMinMargins();
22094
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 {
22099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22100 }
22101 return resultobj;
22102 fail:
22103 return NULL;
22104}
22105
22106
22107static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22108 PyObject *resultobj;
22109 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22110 bool result;
22111 PyObject * obj0 = 0 ;
22112 char *kwnames[] = {
22113 (char *) "self", NULL
22114 };
22115
22116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
22117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22118 if (SWIG_arg_fail(1)) SWIG_fail;
22119 {
22120 PyThreadState* __tstate = wxPyBeginAllowThreads();
22121 result = (bool)(arg1)->GetEnableMargins();
22122
22123 wxPyEndAllowThreads(__tstate);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 }
22126 {
22127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22128 }
22129 return resultobj;
22130 fail:
22131 return NULL;
22132}
22133
22134
22135static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22136 PyObject *resultobj;
22137 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22138 bool result;
22139 PyObject * obj0 = 0 ;
22140 char *kwnames[] = {
22141 (char *) "self", NULL
22142 };
22143
22144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
22145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22146 if (SWIG_arg_fail(1)) SWIG_fail;
22147 {
22148 PyThreadState* __tstate = wxPyBeginAllowThreads();
22149 result = (bool)(arg1)->GetEnableOrientation();
22150
22151 wxPyEndAllowThreads(__tstate);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 {
22155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22156 }
22157 return resultobj;
22158 fail:
22159 return NULL;
22160}
22161
22162
22163static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22164 PyObject *resultobj;
22165 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22166 bool result;
22167 PyObject * obj0 = 0 ;
22168 char *kwnames[] = {
22169 (char *) "self", NULL
22170 };
22171
22172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22174 if (SWIG_arg_fail(1)) SWIG_fail;
22175 {
22176 PyThreadState* __tstate = wxPyBeginAllowThreads();
22177 result = (bool)(arg1)->GetEnablePaper();
22178
22179 wxPyEndAllowThreads(__tstate);
22180 if (PyErr_Occurred()) SWIG_fail;
22181 }
22182 {
22183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22184 }
22185 return resultobj;
22186 fail:
22187 return NULL;
22188}
22189
22190
22191static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22192 PyObject *resultobj;
22193 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22194 bool result;
22195 PyObject * obj0 = 0 ;
22196 char *kwnames[] = {
22197 (char *) "self", NULL
22198 };
22199
22200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22202 if (SWIG_arg_fail(1)) SWIG_fail;
22203 {
22204 PyThreadState* __tstate = wxPyBeginAllowThreads();
22205 result = (bool)(arg1)->GetEnablePrinter();
22206
22207 wxPyEndAllowThreads(__tstate);
22208 if (PyErr_Occurred()) SWIG_fail;
22209 }
22210 {
22211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22212 }
22213 return resultobj;
22214 fail:
22215 return NULL;
22216}
22217
22218
22219static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22220 PyObject *resultobj;
22221 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22222 bool result;
22223 PyObject * obj0 = 0 ;
22224 char *kwnames[] = {
22225 (char *) "self", NULL
22226 };
22227
22228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22230 if (SWIG_arg_fail(1)) SWIG_fail;
22231 {
22232 PyThreadState* __tstate = wxPyBeginAllowThreads();
22233 result = (bool)(arg1)->GetEnableHelp();
22234
22235 wxPyEndAllowThreads(__tstate);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 }
22238 {
22239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22240 }
22241 return resultobj;
22242 fail:
22243 return NULL;
22244}
22245
22246
22247static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22248 PyObject *resultobj;
22249 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22250 bool result;
22251 PyObject * obj0 = 0 ;
22252 char *kwnames[] = {
22253 (char *) "self", NULL
22254 };
22255
22256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail;
22259 {
22260 PyThreadState* __tstate = wxPyBeginAllowThreads();
22261 result = (bool)(arg1)->GetDefaultInfo();
22262
22263 wxPyEndAllowThreads(__tstate);
22264 if (PyErr_Occurred()) SWIG_fail;
22265 }
22266 {
22267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22268 }
22269 return resultobj;
22270 fail:
22271 return NULL;
22272}
22273
22274
22275static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22278 wxPoint result;
22279 PyObject * obj0 = 0 ;
22280 char *kwnames[] = {
22281 (char *) "self", NULL
22282 };
22283
22284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22286 if (SWIG_arg_fail(1)) SWIG_fail;
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 result = (arg1)->GetMarginTopLeft();
22290
22291 wxPyEndAllowThreads(__tstate);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
22294 {
22295 wxPoint * resultptr;
22296 resultptr = new wxPoint((wxPoint &)(result));
22297 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22298 }
22299 return resultobj;
22300 fail:
22301 return NULL;
22302}
22303
22304
22305static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22306 PyObject *resultobj;
22307 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22308 wxPoint result;
22309 PyObject * obj0 = 0 ;
22310 char *kwnames[] = {
22311 (char *) "self", NULL
22312 };
22313
22314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22316 if (SWIG_arg_fail(1)) SWIG_fail;
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 result = (arg1)->GetMarginBottomRight();
22320
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 {
22325 wxPoint * resultptr;
22326 resultptr = new wxPoint((wxPoint &)(result));
22327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22328 }
22329 return resultobj;
22330 fail:
22331 return NULL;
22332}
22333
22334
22335static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj;
22337 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22338 wxPoint result;
22339 PyObject * obj0 = 0 ;
22340 char *kwnames[] = {
22341 (char *) "self", NULL
22342 };
22343
22344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22346 if (SWIG_arg_fail(1)) SWIG_fail;
22347 {
22348 PyThreadState* __tstate = wxPyBeginAllowThreads();
22349 result = (arg1)->GetMinMarginTopLeft();
22350
22351 wxPyEndAllowThreads(__tstate);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 {
22355 wxPoint * resultptr;
22356 resultptr = new wxPoint((wxPoint &)(result));
22357 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22358 }
22359 return resultobj;
22360 fail:
22361 return NULL;
22362}
22363
22364
22365static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22366 PyObject *resultobj;
22367 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22368 wxPoint result;
22369 PyObject * obj0 = 0 ;
22370 char *kwnames[] = {
22371 (char *) "self", NULL
22372 };
22373
22374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22376 if (SWIG_arg_fail(1)) SWIG_fail;
22377 {
22378 PyThreadState* __tstate = wxPyBeginAllowThreads();
22379 result = (arg1)->GetMinMarginBottomRight();
22380
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 {
22385 wxPoint * resultptr;
22386 resultptr = new wxPoint((wxPoint &)(result));
22387 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22388 }
22389 return resultobj;
22390 fail:
22391 return NULL;
22392}
22393
22394
22395static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22396 PyObject *resultobj;
22397 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22398 wxPaperSize result;
22399 PyObject * obj0 = 0 ;
22400 char *kwnames[] = {
22401 (char *) "self", NULL
22402 };
22403
22404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22406 if (SWIG_arg_fail(1)) SWIG_fail;
22407 {
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
22409 result = (wxPaperSize)(arg1)->GetPaperId();
22410
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 resultobj = SWIG_From_int((result));
22415 return resultobj;
22416 fail:
22417 return NULL;
22418}
22419
22420
22421static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22422 PyObject *resultobj;
22423 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22424 wxSize result;
22425 PyObject * obj0 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22432 if (SWIG_arg_fail(1)) SWIG_fail;
22433 {
22434 PyThreadState* __tstate = wxPyBeginAllowThreads();
22435 result = (arg1)->GetPaperSize();
22436
22437 wxPyEndAllowThreads(__tstate);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 }
22440 {
22441 wxSize * resultptr;
22442 resultptr = new wxSize((wxSize &)(result));
22443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22444 }
22445 return resultobj;
22446 fail:
22447 return NULL;
22448}
22449
22450
22451static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj;
22453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22454 wxPrintData *result;
22455 PyObject * obj0 = 0 ;
22456 char *kwnames[] = {
22457 (char *) "self", NULL
22458 };
22459
22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22462 if (SWIG_arg_fail(1)) SWIG_fail;
22463 {
22464 PyThreadState* __tstate = wxPyBeginAllowThreads();
22465 {
22466 wxPrintData &_result_ref = (arg1)->GetPrintData();
22467 result = (wxPrintData *) &_result_ref;
22468 }
22469
22470 wxPyEndAllowThreads(__tstate);
22471 if (PyErr_Occurred()) SWIG_fail;
22472 }
22473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22474 return resultobj;
22475 fail:
22476 return NULL;
22477}
22478
22479
22480static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22481 PyObject *resultobj;
22482 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22483 bool result;
22484 PyObject * obj0 = 0 ;
22485 char *kwnames[] = {
22486 (char *) "self", NULL
22487 };
22488
22489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22491 if (SWIG_arg_fail(1)) SWIG_fail;
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 result = (bool)(arg1)->Ok();
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 {
22500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22501 }
22502 return resultobj;
22503 fail:
22504 return NULL;
22505}
22506
22507
22508static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22509 PyObject *resultobj;
22510 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22511 bool arg2 ;
22512 PyObject * obj0 = 0 ;
22513 PyObject * obj1 = 0 ;
22514 char *kwnames[] = {
22515 (char *) "self",(char *) "flag", NULL
22516 };
22517
22518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22520 if (SWIG_arg_fail(1)) SWIG_fail;
22521 {
22522 arg2 = (bool)(SWIG_As_bool(obj1));
22523 if (SWIG_arg_fail(2)) SWIG_fail;
22524 }
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 (arg1)->SetDefaultInfo(arg2);
22528
22529 wxPyEndAllowThreads(__tstate);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
22532 Py_INCREF(Py_None); resultobj = Py_None;
22533 return resultobj;
22534 fail:
22535 return NULL;
22536}
22537
22538
22539static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22540 PyObject *resultobj;
22541 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22542 bool arg2 ;
22543 PyObject * obj0 = 0 ;
22544 PyObject * obj1 = 0 ;
22545 char *kwnames[] = {
22546 (char *) "self",(char *) "flag", NULL
22547 };
22548
22549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22551 if (SWIG_arg_fail(1)) SWIG_fail;
22552 {
22553 arg2 = (bool)(SWIG_As_bool(obj1));
22554 if (SWIG_arg_fail(2)) SWIG_fail;
22555 }
22556 {
22557 PyThreadState* __tstate = wxPyBeginAllowThreads();
22558 (arg1)->SetDefaultMinMargins(arg2);
22559
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 Py_INCREF(Py_None); resultobj = Py_None;
22564 return resultobj;
22565 fail:
22566 return NULL;
22567}
22568
22569
22570static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22571 PyObject *resultobj;
22572 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22573 wxPoint *arg2 = 0 ;
22574 wxPoint temp2 ;
22575 PyObject * obj0 = 0 ;
22576 PyObject * obj1 = 0 ;
22577 char *kwnames[] = {
22578 (char *) "self",(char *) "pt", NULL
22579 };
22580
22581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22583 if (SWIG_arg_fail(1)) SWIG_fail;
22584 {
22585 arg2 = &temp2;
22586 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22587 }
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22591
22592 wxPyEndAllowThreads(__tstate);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 Py_INCREF(Py_None); resultobj = Py_None;
22596 return resultobj;
22597 fail:
22598 return NULL;
22599}
22600
22601
22602static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22603 PyObject *resultobj;
22604 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22605 wxPoint *arg2 = 0 ;
22606 wxPoint temp2 ;
22607 PyObject * obj0 = 0 ;
22608 PyObject * obj1 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self",(char *) "pt", NULL
22611 };
22612
22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22615 if (SWIG_arg_fail(1)) SWIG_fail;
22616 {
22617 arg2 = &temp2;
22618 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22619 }
22620 {
22621 PyThreadState* __tstate = wxPyBeginAllowThreads();
22622 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22623
22624 wxPyEndAllowThreads(__tstate);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 }
22627 Py_INCREF(Py_None); resultobj = Py_None;
22628 return resultobj;
22629 fail:
22630 return NULL;
22631}
22632
22633
22634static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22635 PyObject *resultobj;
22636 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22637 wxPoint *arg2 = 0 ;
22638 wxPoint temp2 ;
22639 PyObject * obj0 = 0 ;
22640 PyObject * obj1 = 0 ;
22641 char *kwnames[] = {
22642 (char *) "self",(char *) "pt", NULL
22643 };
22644
22645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22647 if (SWIG_arg_fail(1)) SWIG_fail;
22648 {
22649 arg2 = &temp2;
22650 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22651 }
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22655
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 Py_INCREF(Py_None); resultobj = Py_None;
22660 return resultobj;
22661 fail:
22662 return NULL;
22663}
22664
22665
22666static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22667 PyObject *resultobj;
22668 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22669 wxPoint *arg2 = 0 ;
22670 wxPoint temp2 ;
22671 PyObject * obj0 = 0 ;
22672 PyObject * obj1 = 0 ;
22673 char *kwnames[] = {
22674 (char *) "self",(char *) "pt", NULL
22675 };
22676
22677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22679 if (SWIG_arg_fail(1)) SWIG_fail;
22680 {
22681 arg2 = &temp2;
22682 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22683 }
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22687
22688 wxPyEndAllowThreads(__tstate);
22689 if (PyErr_Occurred()) SWIG_fail;
22690 }
22691 Py_INCREF(Py_None); resultobj = Py_None;
22692 return resultobj;
22693 fail:
22694 return NULL;
22695}
22696
22697
22698static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22699 PyObject *resultobj;
22700 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22701 wxPaperSize arg2 ;
22702 PyObject * obj0 = 0 ;
22703 PyObject * obj1 = 0 ;
22704 char *kwnames[] = {
22705 (char *) "self",(char *) "id", NULL
22706 };
22707
22708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22710 if (SWIG_arg_fail(1)) SWIG_fail;
22711 {
22712 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22713 if (SWIG_arg_fail(2)) SWIG_fail;
22714 }
22715 {
22716 PyThreadState* __tstate = wxPyBeginAllowThreads();
22717 (arg1)->SetPaperId((wxPaperSize )arg2);
22718
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
22722 Py_INCREF(Py_None); resultobj = Py_None;
22723 return resultobj;
22724 fail:
22725 return NULL;
22726}
22727
22728
22729static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22730 PyObject *resultobj;
22731 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22732 wxSize *arg2 = 0 ;
22733 wxSize temp2 ;
22734 PyObject * obj0 = 0 ;
22735 PyObject * obj1 = 0 ;
22736 char *kwnames[] = {
22737 (char *) "self",(char *) "size", NULL
22738 };
22739
22740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22742 if (SWIG_arg_fail(1)) SWIG_fail;
22743 {
22744 arg2 = &temp2;
22745 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22746 }
22747 {
22748 PyThreadState* __tstate = wxPyBeginAllowThreads();
22749 (arg1)->SetPaperSize((wxSize const &)*arg2);
22750
22751 wxPyEndAllowThreads(__tstate);
22752 if (PyErr_Occurred()) SWIG_fail;
22753 }
22754 Py_INCREF(Py_None); resultobj = Py_None;
22755 return resultobj;
22756 fail:
22757 return NULL;
22758}
22759
22760
22761static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj;
22763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22764 wxPrintData *arg2 = 0 ;
22765 PyObject * obj0 = 0 ;
22766 PyObject * obj1 = 0 ;
22767 char *kwnames[] = {
22768 (char *) "self",(char *) "printData", NULL
22769 };
22770
22771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22773 if (SWIG_arg_fail(1)) SWIG_fail;
22774 {
22775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22776 if (SWIG_arg_fail(2)) SWIG_fail;
22777 if (arg2 == NULL) {
22778 SWIG_null_ref("wxPrintData");
22779 }
22780 if (SWIG_arg_fail(2)) SWIG_fail;
22781 }
22782 {
22783 PyThreadState* __tstate = wxPyBeginAllowThreads();
22784 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22785
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
22789 Py_INCREF(Py_None); resultobj = Py_None;
22790 return resultobj;
22791 fail:
22792 return NULL;
22793}
22794
22795
22796static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22797 PyObject *resultobj;
22798 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22799 PyObject * obj0 = 0 ;
22800 char *kwnames[] = {
22801 (char *) "self", NULL
22802 };
22803
22804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22806 if (SWIG_arg_fail(1)) SWIG_fail;
22807 {
22808 PyThreadState* __tstate = wxPyBeginAllowThreads();
22809 (arg1)->CalculateIdFromPaperSize();
22810
22811 wxPyEndAllowThreads(__tstate);
22812 if (PyErr_Occurred()) SWIG_fail;
22813 }
22814 Py_INCREF(Py_None); resultobj = Py_None;
22815 return resultobj;
22816 fail:
22817 return NULL;
22818}
22819
22820
22821static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22822 PyObject *resultobj;
22823 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22824 PyObject * obj0 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail;
22832 {
22833 PyThreadState* __tstate = wxPyBeginAllowThreads();
22834 (arg1)->CalculatePaperSizeFromId();
22835
22836 wxPyEndAllowThreads(__tstate);
22837 if (PyErr_Occurred()) SWIG_fail;
22838 }
22839 Py_INCREF(Py_None); resultobj = Py_None;
22840 return resultobj;
22841 fail:
22842 return NULL;
22843}
22844
22845
22846static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22847 PyObject *obj;
22848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22849 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22850 Py_INCREF(obj);
22851 return Py_BuildValue((char *)"");
22852}
22853static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22854 PyObject *resultobj;
22855 wxWindow *arg1 = (wxWindow *) 0 ;
22856 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22857 wxPageSetupDialog *result;
22858 PyObject * obj0 = 0 ;
22859 PyObject * obj1 = 0 ;
22860 char *kwnames[] = {
22861 (char *) "parent",(char *) "data", NULL
22862 };
22863
22864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22866 if (SWIG_arg_fail(1)) SWIG_fail;
22867 if (obj1) {
22868 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22869 if (SWIG_arg_fail(2)) SWIG_fail;
22870 }
22871 {
22872 if (!wxPyCheckForApp()) SWIG_fail;
22873 PyThreadState* __tstate = wxPyBeginAllowThreads();
22874 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22875
22876 wxPyEndAllowThreads(__tstate);
22877 if (PyErr_Occurred()) SWIG_fail;
22878 }
22879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22880 return resultobj;
22881 fail:
22882 return NULL;
22883}
22884
22885
22886static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22887 PyObject *resultobj;
22888 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22889 wxPageSetupDialogData *result;
22890 PyObject * obj0 = 0 ;
22891 char *kwnames[] = {
22892 (char *) "self", NULL
22893 };
22894
22895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22897 if (SWIG_arg_fail(1)) SWIG_fail;
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 {
22901 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22902 result = (wxPageSetupDialogData *) &_result_ref;
22903 }
22904
22905 wxPyEndAllowThreads(__tstate);
22906 if (PyErr_Occurred()) SWIG_fail;
22907 }
22908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22909 return resultobj;
22910 fail:
22911 return NULL;
22912}
22913
22914
22915static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22916 PyObject *resultobj;
22917 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22918 wxPageSetupDialogData *result;
22919 PyObject * obj0 = 0 ;
22920 char *kwnames[] = {
22921 (char *) "self", NULL
22922 };
22923
22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22926 if (SWIG_arg_fail(1)) SWIG_fail;
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 {
22930 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22931 result = (wxPageSetupDialogData *) &_result_ref;
22932 }
22933
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22938 return resultobj;
22939 fail:
22940 return NULL;
22941}
22942
22943
22944static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22947 int result;
22948 PyObject * obj0 = 0 ;
22949 char *kwnames[] = {
22950 (char *) "self", NULL
22951 };
22952
22953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
22954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22955 if (SWIG_arg_fail(1)) SWIG_fail;
22956 {
22957 PyThreadState* __tstate = wxPyBeginAllowThreads();
22958 result = (int)(arg1)->ShowModal();
22959
22960 wxPyEndAllowThreads(__tstate);
22961 if (PyErr_Occurred()) SWIG_fail;
22962 }
22963 {
22964 resultobj = SWIG_From_int((int)(result));
22965 }
22966 return resultobj;
22967 fail:
22968 return NULL;
22969}
22970
22971
22972static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
22973 PyObject *obj;
22974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22975 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22976 Py_INCREF(obj);
22977 return Py_BuildValue((char *)"");
22978}
22979static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
22980 PyObject *resultobj;
22981 wxPrintDialogData *result;
22982
22983 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22984 {
22985 PyThreadState* __tstate = wxPyBeginAllowThreads();
22986 result = (wxPrintDialogData *)new wxPrintDialogData();
22987
22988 wxPyEndAllowThreads(__tstate);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 }
22991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22992 return resultobj;
22993 fail:
22994 return NULL;
22995}
22996
22997
22998static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
22999 PyObject *resultobj;
23000 wxPrintData *arg1 = 0 ;
23001 wxPrintDialogData *result;
23002 PyObject * obj0 = 0 ;
23003
23004 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23005 {
23006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23007 if (SWIG_arg_fail(1)) SWIG_fail;
23008 if (arg1 == NULL) {
23009 SWIG_null_ref("wxPrintData");
23010 }
23011 if (SWIG_arg_fail(1)) SWIG_fail;
23012 }
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23021 return resultobj;
23022 fail:
23023 return NULL;
23024}
23025
23026
23027static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
23028 PyObject *resultobj;
23029 wxPrintDialogData *arg1 = 0 ;
23030 wxPrintDialogData *result;
23031 PyObject * obj0 = 0 ;
23032
23033 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23034 {
23035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23036 if (SWIG_arg_fail(1)) SWIG_fail;
23037 if (arg1 == NULL) {
23038 SWIG_null_ref("wxPrintDialogData");
23039 }
23040 if (SWIG_arg_fail(1)) SWIG_fail;
23041 }
23042 {
23043 PyThreadState* __tstate = wxPyBeginAllowThreads();
23044 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23045
23046 wxPyEndAllowThreads(__tstate);
23047 if (PyErr_Occurred()) SWIG_fail;
23048 }
23049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23050 return resultobj;
23051 fail:
23052 return NULL;
23053}
23054
23055
23056static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23057 int argc;
23058 PyObject *argv[2];
23059 int ii;
23060
23061 argc = PyObject_Length(args);
23062 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23063 argv[ii] = PyTuple_GetItem(args,ii);
23064 }
23065 if (argc == 0) {
23066 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23067 }
23068 if (argc == 1) {
23069 int _v;
23070 {
23071 void *ptr = 0;
23072 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23073 _v = 0;
23074 PyErr_Clear();
23075 } else {
23076 _v = (ptr != 0);
23077 }
23078 }
23079 if (_v) {
23080 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23081 }
23082 }
23083 if (argc == 1) {
23084 int _v;
23085 {
23086 void *ptr = 0;
23087 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23088 _v = 0;
23089 PyErr_Clear();
23090 } else {
23091 _v = (ptr != 0);
23092 }
23093 }
23094 if (_v) {
23095 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23096 }
23097 }
23098
23099 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
23100 return NULL;
23101}
23102
23103
23104static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23105 PyObject *resultobj;
23106 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23107 PyObject * obj0 = 0 ;
23108 char *kwnames[] = {
23109 (char *) "self", NULL
23110 };
23111
23112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
23113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23114 if (SWIG_arg_fail(1)) SWIG_fail;
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 delete arg1;
23118
23119 wxPyEndAllowThreads(__tstate);
23120 if (PyErr_Occurred()) SWIG_fail;
23121 }
23122 Py_INCREF(Py_None); resultobj = Py_None;
23123 return resultobj;
23124 fail:
23125 return NULL;
23126}
23127
23128
23129static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23130 PyObject *resultobj;
23131 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23132 int result;
23133 PyObject * obj0 = 0 ;
23134 char *kwnames[] = {
23135 (char *) "self", NULL
23136 };
23137
23138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
23139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23140 if (SWIG_arg_fail(1)) SWIG_fail;
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23144
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 {
23149 resultobj = SWIG_From_int((int)(result));
23150 }
23151 return resultobj;
23152 fail:
23153 return NULL;
23154}
23155
23156
23157static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23158 PyObject *resultobj;
23159 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23160 int result;
23161 PyObject * obj0 = 0 ;
23162 char *kwnames[] = {
23163 (char *) "self", NULL
23164 };
23165
23166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
23167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23168 if (SWIG_arg_fail(1)) SWIG_fail;
23169 {
23170 PyThreadState* __tstate = wxPyBeginAllowThreads();
23171 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23172
23173 wxPyEndAllowThreads(__tstate);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 }
23176 {
23177 resultobj = SWIG_From_int((int)(result));
23178 }
23179 return resultobj;
23180 fail:
23181 return NULL;
23182}
23183
23184
23185static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23186 PyObject *resultobj;
23187 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23188 int result;
23189 PyObject * obj0 = 0 ;
23190 char *kwnames[] = {
23191 (char *) "self", NULL
23192 };
23193
23194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23196 if (SWIG_arg_fail(1)) SWIG_fail;
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23200
23201 wxPyEndAllowThreads(__tstate);
23202 if (PyErr_Occurred()) SWIG_fail;
23203 }
23204 {
23205 resultobj = SWIG_From_int((int)(result));
23206 }
23207 return resultobj;
23208 fail:
23209 return NULL;
23210}
23211
23212
23213static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23214 PyObject *resultobj;
23215 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23216 int result;
23217 PyObject * obj0 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23224 if (SWIG_arg_fail(1)) SWIG_fail;
23225 {
23226 PyThreadState* __tstate = wxPyBeginAllowThreads();
23227 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23228
23229 wxPyEndAllowThreads(__tstate);
23230 if (PyErr_Occurred()) SWIG_fail;
23231 }
23232 {
23233 resultobj = SWIG_From_int((int)(result));
23234 }
23235 return resultobj;
23236 fail:
23237 return NULL;
23238}
23239
23240
23241static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23242 PyObject *resultobj;
23243 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23244 int result;
23245 PyObject * obj0 = 0 ;
23246 char *kwnames[] = {
23247 (char *) "self", NULL
23248 };
23249
23250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23252 if (SWIG_arg_fail(1)) SWIG_fail;
23253 {
23254 PyThreadState* __tstate = wxPyBeginAllowThreads();
23255 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23256
23257 wxPyEndAllowThreads(__tstate);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
23260 {
23261 resultobj = SWIG_From_int((int)(result));
23262 }
23263 return resultobj;
23264 fail:
23265 return NULL;
23266}
23267
23268
23269static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23270 PyObject *resultobj;
23271 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23272 bool result;
23273 PyObject * obj0 = 0 ;
23274 char *kwnames[] = {
23275 (char *) "self", NULL
23276 };
23277
23278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail;
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
23283 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23284
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
23288 {
23289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23290 }
23291 return resultobj;
23292 fail:
23293 return NULL;
23294}
23295
23296
23297static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23298 PyObject *resultobj;
23299 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23300 bool result;
23301 PyObject * obj0 = 0 ;
23302 char *kwnames[] = {
23303 (char *) "self", NULL
23304 };
23305
23306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23308 if (SWIG_arg_fail(1)) SWIG_fail;
23309 {
23310 PyThreadState* __tstate = wxPyBeginAllowThreads();
23311 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23312
23313 wxPyEndAllowThreads(__tstate);
23314 if (PyErr_Occurred()) SWIG_fail;
23315 }
23316 {
23317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23318 }
23319 return resultobj;
23320 fail:
23321 return NULL;
23322}
23323
23324
23325static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23326 PyObject *resultobj;
23327 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23328 bool result;
23329 PyObject * obj0 = 0 ;
23330 char *kwnames[] = {
23331 (char *) "self", NULL
23332 };
23333
23334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23336 if (SWIG_arg_fail(1)) SWIG_fail;
23337 {
23338 PyThreadState* __tstate = wxPyBeginAllowThreads();
23339 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23340
23341 wxPyEndAllowThreads(__tstate);
23342 if (PyErr_Occurred()) SWIG_fail;
23343 }
23344 {
23345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23346 }
23347 return resultobj;
23348 fail:
23349 return NULL;
23350}
23351
23352
23353static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23354 PyObject *resultobj;
23355 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23356 bool result;
23357 PyObject * obj0 = 0 ;
23358 char *kwnames[] = {
23359 (char *) "self", NULL
23360 };
23361
23362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23364 if (SWIG_arg_fail(1)) SWIG_fail;
23365 {
23366 PyThreadState* __tstate = wxPyBeginAllowThreads();
23367 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23368
23369 wxPyEndAllowThreads(__tstate);
23370 if (PyErr_Occurred()) SWIG_fail;
23371 }
23372 {
23373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23374 }
23375 return resultobj;
23376 fail:
23377 return NULL;
23378}
23379
23380
23381static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj;
23383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23384 bool result;
23385 PyObject * obj0 = 0 ;
23386 char *kwnames[] = {
23387 (char *) "self", NULL
23388 };
23389
23390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
23391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23392 if (SWIG_arg_fail(1)) SWIG_fail;
23393 {
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 {
23401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23402 }
23403 return resultobj;
23404 fail:
23405 return NULL;
23406}
23407
23408
23409static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23410 PyObject *resultobj;
23411 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23412 bool arg2 ;
23413 PyObject * obj0 = 0 ;
23414 PyObject * obj1 = 0 ;
23415 char *kwnames[] = {
23416 (char *) "self",(char *) "flag", NULL
23417 };
23418
23419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23421 if (SWIG_arg_fail(1)) SWIG_fail;
23422 {
23423 arg2 = (bool)(SWIG_As_bool(obj1));
23424 if (SWIG_arg_fail(2)) SWIG_fail;
23425 }
23426 {
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 (arg1)->SetSetupDialog(arg2);
23429
23430 wxPyEndAllowThreads(__tstate);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 Py_INCREF(Py_None); resultobj = Py_None;
23434 return resultobj;
23435 fail:
23436 return NULL;
23437}
23438
23439
23440static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23441 PyObject *resultobj;
23442 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23443 int arg2 ;
23444 PyObject * obj0 = 0 ;
23445 PyObject * obj1 = 0 ;
23446 char *kwnames[] = {
23447 (char *) "self",(char *) "v", NULL
23448 };
23449
23450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23452 if (SWIG_arg_fail(1)) SWIG_fail;
23453 {
23454 arg2 = (int)(SWIG_As_int(obj1));
23455 if (SWIG_arg_fail(2)) SWIG_fail;
23456 }
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 (arg1)->SetFromPage(arg2);
23460
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 Py_INCREF(Py_None); resultobj = Py_None;
23465 return resultobj;
23466 fail:
23467 return NULL;
23468}
23469
23470
23471static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23472 PyObject *resultobj;
23473 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23474 int arg2 ;
23475 PyObject * obj0 = 0 ;
23476 PyObject * obj1 = 0 ;
23477 char *kwnames[] = {
23478 (char *) "self",(char *) "v", NULL
23479 };
23480
23481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23483 if (SWIG_arg_fail(1)) SWIG_fail;
23484 {
23485 arg2 = (int)(SWIG_As_int(obj1));
23486 if (SWIG_arg_fail(2)) SWIG_fail;
23487 }
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 (arg1)->SetToPage(arg2);
23491
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
23495 Py_INCREF(Py_None); resultobj = Py_None;
23496 return resultobj;
23497 fail:
23498 return NULL;
23499}
23500
23501
23502static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23503 PyObject *resultobj;
23504 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23505 int arg2 ;
23506 PyObject * obj0 = 0 ;
23507 PyObject * obj1 = 0 ;
23508 char *kwnames[] = {
23509 (char *) "self",(char *) "v", NULL
23510 };
23511
23512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23514 if (SWIG_arg_fail(1)) SWIG_fail;
23515 {
23516 arg2 = (int)(SWIG_As_int(obj1));
23517 if (SWIG_arg_fail(2)) SWIG_fail;
23518 }
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 (arg1)->SetMinPage(arg2);
23522
23523 wxPyEndAllowThreads(__tstate);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
23526 Py_INCREF(Py_None); resultobj = Py_None;
23527 return resultobj;
23528 fail:
23529 return NULL;
23530}
23531
23532
23533static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23534 PyObject *resultobj;
23535 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23536 int arg2 ;
23537 PyObject * obj0 = 0 ;
23538 PyObject * obj1 = 0 ;
23539 char *kwnames[] = {
23540 (char *) "self",(char *) "v", NULL
23541 };
23542
23543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23545 if (SWIG_arg_fail(1)) SWIG_fail;
23546 {
23547 arg2 = (int)(SWIG_As_int(obj1));
23548 if (SWIG_arg_fail(2)) SWIG_fail;
23549 }
23550 {
23551 PyThreadState* __tstate = wxPyBeginAllowThreads();
23552 (arg1)->SetMaxPage(arg2);
23553
23554 wxPyEndAllowThreads(__tstate);
23555 if (PyErr_Occurred()) SWIG_fail;
23556 }
23557 Py_INCREF(Py_None); resultobj = Py_None;
23558 return resultobj;
23559 fail:
23560 return NULL;
23561}
23562
23563
23564static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23565 PyObject *resultobj;
23566 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23567 int arg2 ;
23568 PyObject * obj0 = 0 ;
23569 PyObject * obj1 = 0 ;
23570 char *kwnames[] = {
23571 (char *) "self",(char *) "v", NULL
23572 };
23573
23574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23576 if (SWIG_arg_fail(1)) SWIG_fail;
23577 {
23578 arg2 = (int)(SWIG_As_int(obj1));
23579 if (SWIG_arg_fail(2)) SWIG_fail;
23580 }
23581 {
23582 PyThreadState* __tstate = wxPyBeginAllowThreads();
23583 (arg1)->SetNoCopies(arg2);
23584
23585 wxPyEndAllowThreads(__tstate);
23586 if (PyErr_Occurred()) SWIG_fail;
23587 }
23588 Py_INCREF(Py_None); resultobj = Py_None;
23589 return resultobj;
23590 fail:
23591 return NULL;
23592}
23593
23594
23595static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23596 PyObject *resultobj;
23597 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23598 bool arg2 ;
23599 PyObject * obj0 = 0 ;
23600 PyObject * obj1 = 0 ;
23601 char *kwnames[] = {
23602 (char *) "self",(char *) "flag", NULL
23603 };
23604
23605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23607 if (SWIG_arg_fail(1)) SWIG_fail;
23608 {
23609 arg2 = (bool)(SWIG_As_bool(obj1));
23610 if (SWIG_arg_fail(2)) SWIG_fail;
23611 }
23612 {
23613 PyThreadState* __tstate = wxPyBeginAllowThreads();
23614 (arg1)->SetAllPages(arg2);
23615
23616 wxPyEndAllowThreads(__tstate);
23617 if (PyErr_Occurred()) SWIG_fail;
23618 }
23619 Py_INCREF(Py_None); resultobj = Py_None;
23620 return resultobj;
23621 fail:
23622 return NULL;
23623}
23624
23625
23626static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23627 PyObject *resultobj;
23628 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23629 bool arg2 ;
23630 PyObject * obj0 = 0 ;
23631 PyObject * obj1 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self",(char *) "flag", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23638 if (SWIG_arg_fail(1)) SWIG_fail;
23639 {
23640 arg2 = (bool)(SWIG_As_bool(obj1));
23641 if (SWIG_arg_fail(2)) SWIG_fail;
23642 }
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 (arg1)->SetSelection(arg2);
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 Py_INCREF(Py_None); resultobj = Py_None;
23651 return resultobj;
23652 fail:
23653 return NULL;
23654}
23655
23656
23657static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj;
23659 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23660 bool arg2 ;
23661 PyObject * obj0 = 0 ;
23662 PyObject * obj1 = 0 ;
23663 char *kwnames[] = {
23664 (char *) "self",(char *) "flag", NULL
23665 };
23666
23667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23669 if (SWIG_arg_fail(1)) SWIG_fail;
23670 {
23671 arg2 = (bool)(SWIG_As_bool(obj1));
23672 if (SWIG_arg_fail(2)) SWIG_fail;
23673 }
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 (arg1)->SetCollate(arg2);
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 Py_INCREF(Py_None); resultobj = Py_None;
23682 return resultobj;
23683 fail:
23684 return NULL;
23685}
23686
23687
23688static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23691 bool arg2 ;
23692 PyObject * obj0 = 0 ;
23693 PyObject * obj1 = 0 ;
23694 char *kwnames[] = {
23695 (char *) "self",(char *) "flag", NULL
23696 };
23697
23698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23700 if (SWIG_arg_fail(1)) SWIG_fail;
23701 {
23702 arg2 = (bool)(SWIG_As_bool(obj1));
23703 if (SWIG_arg_fail(2)) SWIG_fail;
23704 }
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 (arg1)->SetPrintToFile(arg2);
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 Py_INCREF(Py_None); resultobj = Py_None;
23713 return resultobj;
23714 fail:
23715 return NULL;
23716}
23717
23718
23719static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23720 PyObject *resultobj;
23721 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23722 bool arg2 ;
23723 PyObject * obj0 = 0 ;
23724 PyObject * obj1 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self",(char *) "flag", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23731 if (SWIG_arg_fail(1)) SWIG_fail;
23732 {
23733 arg2 = (bool)(SWIG_As_bool(obj1));
23734 if (SWIG_arg_fail(2)) SWIG_fail;
23735 }
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 (arg1)->EnablePrintToFile(arg2);
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 Py_INCREF(Py_None); resultobj = Py_None;
23744 return resultobj;
23745 fail:
23746 return NULL;
23747}
23748
23749
23750static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23751 PyObject *resultobj;
23752 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23753 bool arg2 ;
23754 PyObject * obj0 = 0 ;
23755 PyObject * obj1 = 0 ;
23756 char *kwnames[] = {
23757 (char *) "self",(char *) "flag", NULL
23758 };
23759
23760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23762 if (SWIG_arg_fail(1)) SWIG_fail;
23763 {
23764 arg2 = (bool)(SWIG_As_bool(obj1));
23765 if (SWIG_arg_fail(2)) SWIG_fail;
23766 }
23767 {
23768 PyThreadState* __tstate = wxPyBeginAllowThreads();
23769 (arg1)->EnableSelection(arg2);
23770
23771 wxPyEndAllowThreads(__tstate);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 Py_INCREF(Py_None); resultobj = Py_None;
23775 return resultobj;
23776 fail:
23777 return NULL;
23778}
23779
23780
23781static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23782 PyObject *resultobj;
23783 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23784 bool arg2 ;
23785 PyObject * obj0 = 0 ;
23786 PyObject * obj1 = 0 ;
23787 char *kwnames[] = {
23788 (char *) "self",(char *) "flag", NULL
23789 };
23790
23791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23793 if (SWIG_arg_fail(1)) SWIG_fail;
23794 {
23795 arg2 = (bool)(SWIG_As_bool(obj1));
23796 if (SWIG_arg_fail(2)) SWIG_fail;
23797 }
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 (arg1)->EnablePageNumbers(arg2);
23801
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 Py_INCREF(Py_None); resultobj = Py_None;
23806 return resultobj;
23807 fail:
23808 return NULL;
23809}
23810
23811
23812static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23813 PyObject *resultobj;
23814 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23815 bool arg2 ;
23816 PyObject * obj0 = 0 ;
23817 PyObject * obj1 = 0 ;
23818 char *kwnames[] = {
23819 (char *) "self",(char *) "flag", NULL
23820 };
23821
23822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23824 if (SWIG_arg_fail(1)) SWIG_fail;
23825 {
23826 arg2 = (bool)(SWIG_As_bool(obj1));
23827 if (SWIG_arg_fail(2)) SWIG_fail;
23828 }
23829 {
23830 PyThreadState* __tstate = wxPyBeginAllowThreads();
23831 (arg1)->EnableHelp(arg2);
23832
23833 wxPyEndAllowThreads(__tstate);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 }
23836 Py_INCREF(Py_None); resultobj = Py_None;
23837 return resultobj;
23838 fail:
23839 return NULL;
23840}
23841
23842
23843static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23844 PyObject *resultobj;
23845 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23846 bool result;
23847 PyObject * obj0 = 0 ;
23848 char *kwnames[] = {
23849 (char *) "self", NULL
23850 };
23851
23852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23854 if (SWIG_arg_fail(1)) SWIG_fail;
23855 {
23856 PyThreadState* __tstate = wxPyBeginAllowThreads();
23857 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23858
23859 wxPyEndAllowThreads(__tstate);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 }
23862 {
23863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23864 }
23865 return resultobj;
23866 fail:
23867 return NULL;
23868}
23869
23870
23871static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23872 PyObject *resultobj;
23873 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23874 bool result;
23875 PyObject * obj0 = 0 ;
23876 char *kwnames[] = {
23877 (char *) "self", NULL
23878 };
23879
23880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23882 if (SWIG_arg_fail(1)) SWIG_fail;
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23886
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 {
23891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23892 }
23893 return resultobj;
23894 fail:
23895 return NULL;
23896}
23897
23898
23899static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23900 PyObject *resultobj;
23901 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23902 bool result;
23903 PyObject * obj0 = 0 ;
23904 char *kwnames[] = {
23905 (char *) "self", NULL
23906 };
23907
23908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23910 if (SWIG_arg_fail(1)) SWIG_fail;
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23914
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
23918 {
23919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23920 }
23921 return resultobj;
23922 fail:
23923 return NULL;
23924}
23925
23926
23927static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23928 PyObject *resultobj;
23929 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23930 bool result;
23931 PyObject * obj0 = 0 ;
23932 char *kwnames[] = {
23933 (char *) "self", NULL
23934 };
23935
23936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23938 if (SWIG_arg_fail(1)) SWIG_fail;
23939 {
23940 PyThreadState* __tstate = wxPyBeginAllowThreads();
23941 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23942
23943 wxPyEndAllowThreads(__tstate);
23944 if (PyErr_Occurred()) SWIG_fail;
23945 }
23946 {
23947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23948 }
23949 return resultobj;
23950 fail:
23951 return NULL;
23952}
23953
23954
23955static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23956 PyObject *resultobj;
23957 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23958 bool result;
23959 PyObject * obj0 = 0 ;
23960 char *kwnames[] = {
23961 (char *) "self", NULL
23962 };
23963
23964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23966 if (SWIG_arg_fail(1)) SWIG_fail;
23967 {
23968 PyThreadState* __tstate = wxPyBeginAllowThreads();
23969 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23970
23971 wxPyEndAllowThreads(__tstate);
23972 if (PyErr_Occurred()) SWIG_fail;
23973 }
23974 {
23975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23976 }
23977 return resultobj;
23978 fail:
23979 return NULL;
23980}
23981
23982
23983static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23984 PyObject *resultobj;
23985 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23986 wxPrintData *result;
23987 PyObject * obj0 = 0 ;
23988 char *kwnames[] = {
23989 (char *) "self", NULL
23990 };
23991
23992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
23993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23994 if (SWIG_arg_fail(1)) SWIG_fail;
23995 {
23996 PyThreadState* __tstate = wxPyBeginAllowThreads();
23997 {
23998 wxPrintData &_result_ref = (arg1)->GetPrintData();
23999 result = (wxPrintData *) &_result_ref;
24000 }
24001
24002 wxPyEndAllowThreads(__tstate);
24003 if (PyErr_Occurred()) SWIG_fail;
24004 }
24005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24006 return resultobj;
24007 fail:
24008 return NULL;
24009}
24010
24011
24012static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24013 PyObject *resultobj;
24014 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24015 wxPrintData *arg2 = 0 ;
24016 PyObject * obj0 = 0 ;
24017 PyObject * obj1 = 0 ;
24018 char *kwnames[] = {
24019 (char *) "self",(char *) "printData", NULL
24020 };
24021
24022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
24023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24024 if (SWIG_arg_fail(1)) SWIG_fail;
24025 {
24026 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24027 if (SWIG_arg_fail(2)) SWIG_fail;
24028 if (arg2 == NULL) {
24029 SWIG_null_ref("wxPrintData");
24030 }
24031 if (SWIG_arg_fail(2)) SWIG_fail;
24032 }
24033 {
24034 PyThreadState* __tstate = wxPyBeginAllowThreads();
24035 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24036
24037 wxPyEndAllowThreads(__tstate);
24038 if (PyErr_Occurred()) SWIG_fail;
24039 }
24040 Py_INCREF(Py_None); resultobj = Py_None;
24041 return resultobj;
24042 fail:
24043 return NULL;
24044}
24045
24046
24047static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
24048 PyObject *obj;
24049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24050 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24051 Py_INCREF(obj);
24052 return Py_BuildValue((char *)"");
24053}
24054static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24055 PyObject *resultobj;
24056 wxWindow *arg1 = (wxWindow *) 0 ;
24057 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24058 wxPrintDialog *result;
24059 PyObject * obj0 = 0 ;
24060 PyObject * obj1 = 0 ;
24061 char *kwnames[] = {
24062 (char *) "parent",(char *) "data", NULL
24063 };
24064
24065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24067 if (SWIG_arg_fail(1)) SWIG_fail;
24068 if (obj1) {
24069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24070 if (SWIG_arg_fail(2)) SWIG_fail;
24071 }
24072 {
24073 if (!wxPyCheckForApp()) SWIG_fail;
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24081 return resultobj;
24082 fail:
24083 return NULL;
24084}
24085
24086
24087static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24088 PyObject *resultobj;
24089 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24090 int result;
24091 PyObject * obj0 = 0 ;
24092 char *kwnames[] = {
24093 (char *) "self", NULL
24094 };
24095
24096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
24097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24098 if (SWIG_arg_fail(1)) SWIG_fail;
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 result = (int)(arg1)->ShowModal();
24102
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 {
24107 resultobj = SWIG_From_int((int)(result));
24108 }
24109 return resultobj;
24110 fail:
24111 return NULL;
24112}
24113
24114
24115static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24116 PyObject *resultobj;
24117 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24118 wxPrintDialogData *result;
24119 PyObject * obj0 = 0 ;
24120 char *kwnames[] = {
24121 (char *) "self", NULL
24122 };
24123
24124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
24125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24126 if (SWIG_arg_fail(1)) SWIG_fail;
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 {
24130 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24131 result = (wxPrintDialogData *) &_result_ref;
24132 }
24133
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24138 return resultobj;
24139 fail:
24140 return NULL;
24141}
24142
24143
24144static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24145 PyObject *resultobj;
24146 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24147 wxPrintData *result;
24148 PyObject * obj0 = 0 ;
24149 char *kwnames[] = {
24150 (char *) "self", NULL
24151 };
24152
24153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
24154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24155 if (SWIG_arg_fail(1)) SWIG_fail;
24156 {
24157 PyThreadState* __tstate = wxPyBeginAllowThreads();
24158 {
24159 wxPrintData &_result_ref = (arg1)->GetPrintData();
24160 result = (wxPrintData *) &_result_ref;
24161 }
24162
24163 wxPyEndAllowThreads(__tstate);
24164 if (PyErr_Occurred()) SWIG_fail;
24165 }
24166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24167 return resultobj;
24168 fail:
24169 return NULL;
24170}
24171
24172
24173static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24174 PyObject *resultobj;
24175 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24176 wxDC *result;
24177 PyObject * obj0 = 0 ;
24178 char *kwnames[] = {
24179 (char *) "self", NULL
24180 };
24181
24182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24184 if (SWIG_arg_fail(1)) SWIG_fail;
24185 {
24186 PyThreadState* __tstate = wxPyBeginAllowThreads();
24187 result = (wxDC *)(arg1)->GetPrintDC();
24188
24189 wxPyEndAllowThreads(__tstate);
24190 if (PyErr_Occurred()) SWIG_fail;
24191 }
24192 {
24193 resultobj = wxPyMake_wxObject(result, 1);
24194 }
24195 return resultobj;
24196 fail:
24197 return NULL;
24198}
24199
24200
24201static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24202 PyObject *obj;
24203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24204 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24205 Py_INCREF(obj);
24206 return Py_BuildValue((char *)"");
24207}
24208static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24211 wxPrinter *result;
24212 PyObject * obj0 = 0 ;
24213 char *kwnames[] = {
24214 (char *) "data", NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24218 if (obj0) {
24219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24220 if (SWIG_arg_fail(1)) SWIG_fail;
24221 }
24222 {
24223 if (!wxPyCheckForApp()) SWIG_fail;
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
24225 result = (wxPrinter *)new wxPrinter(arg1);
24226
24227 wxPyEndAllowThreads(__tstate);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
24230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24231 return resultobj;
24232 fail:
24233 return NULL;
24234}
24235
24236
24237static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24238 PyObject *resultobj;
24239 wxPrinter *arg1 = (wxPrinter *) 0 ;
24240 PyObject * obj0 = 0 ;
24241 char *kwnames[] = {
24242 (char *) "self", NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24247 if (SWIG_arg_fail(1)) SWIG_fail;
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 delete arg1;
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 Py_INCREF(Py_None); resultobj = Py_None;
24256 return resultobj;
24257 fail:
24258 return NULL;
24259}
24260
24261
24262static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24263 PyObject *resultobj;
24264 wxPrinter *arg1 = (wxPrinter *) 0 ;
24265 wxWindow *arg2 = (wxWindow *) 0 ;
24266 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24267 wxWindow *result;
24268 PyObject * obj0 = 0 ;
24269 PyObject * obj1 = 0 ;
24270 PyObject * obj2 = 0 ;
24271 char *kwnames[] = {
24272 (char *) "self",(char *) "parent",(char *) "printout", NULL
24273 };
24274
24275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24277 if (SWIG_arg_fail(1)) SWIG_fail;
24278 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24279 if (SWIG_arg_fail(2)) SWIG_fail;
24280 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24281 if (SWIG_arg_fail(3)) SWIG_fail;
24282 {
24283 PyThreadState* __tstate = wxPyBeginAllowThreads();
24284 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24285
24286 wxPyEndAllowThreads(__tstate);
24287 if (PyErr_Occurred()) SWIG_fail;
24288 }
24289 {
24290 resultobj = wxPyMake_wxObject(result, 0);
24291 }
24292 return resultobj;
24293 fail:
24294 return NULL;
24295}
24296
24297
24298static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24299 PyObject *resultobj;
24300 wxPrinter *arg1 = (wxPrinter *) 0 ;
24301 wxWindow *arg2 = (wxWindow *) 0 ;
24302 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24303 wxString *arg4 = 0 ;
24304 bool temp4 = false ;
24305 PyObject * obj0 = 0 ;
24306 PyObject * obj1 = 0 ;
24307 PyObject * obj2 = 0 ;
24308 PyObject * obj3 = 0 ;
24309 char *kwnames[] = {
24310 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24311 };
24312
24313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24315 if (SWIG_arg_fail(1)) SWIG_fail;
24316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24317 if (SWIG_arg_fail(2)) SWIG_fail;
24318 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24319 if (SWIG_arg_fail(3)) SWIG_fail;
24320 {
24321 arg4 = wxString_in_helper(obj3);
24322 if (arg4 == NULL) SWIG_fail;
24323 temp4 = true;
24324 }
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24328
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 Py_INCREF(Py_None); resultobj = Py_None;
24333 {
24334 if (temp4)
24335 delete arg4;
24336 }
24337 return resultobj;
24338 fail:
24339 {
24340 if (temp4)
24341 delete arg4;
24342 }
24343 return NULL;
24344}
24345
24346
24347static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24348 PyObject *resultobj;
24349 wxPrinter *arg1 = (wxPrinter *) 0 ;
24350 wxWindow *arg2 = (wxWindow *) 0 ;
24351 bool result;
24352 PyObject * obj0 = 0 ;
24353 PyObject * obj1 = 0 ;
24354 char *kwnames[] = {
24355 (char *) "self",(char *) "parent", NULL
24356 };
24357
24358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24360 if (SWIG_arg_fail(1)) SWIG_fail;
24361 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24362 if (SWIG_arg_fail(2)) SWIG_fail;
24363 {
24364 PyThreadState* __tstate = wxPyBeginAllowThreads();
24365 result = (bool)(arg1)->Setup(arg2);
24366
24367 wxPyEndAllowThreads(__tstate);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 }
24370 {
24371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24372 }
24373 return resultobj;
24374 fail:
24375 return NULL;
24376}
24377
24378
24379static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24380 PyObject *resultobj;
24381 wxPrinter *arg1 = (wxPrinter *) 0 ;
24382 wxWindow *arg2 = (wxWindow *) 0 ;
24383 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24384 bool arg4 = (bool) true ;
24385 bool result;
24386 PyObject * obj0 = 0 ;
24387 PyObject * obj1 = 0 ;
24388 PyObject * obj2 = 0 ;
24389 PyObject * obj3 = 0 ;
24390 char *kwnames[] = {
24391 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24392 };
24393
24394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24396 if (SWIG_arg_fail(1)) SWIG_fail;
24397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24398 if (SWIG_arg_fail(2)) SWIG_fail;
24399 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24400 if (SWIG_arg_fail(3)) SWIG_fail;
24401 if (obj3) {
24402 {
24403 arg4 = (bool)(SWIG_As_bool(obj3));
24404 if (SWIG_arg_fail(4)) SWIG_fail;
24405 }
24406 }
24407 {
24408 PyThreadState* __tstate = wxPyBeginAllowThreads();
24409 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24410
24411 wxPyEndAllowThreads(__tstate);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 {
24415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24416 }
24417 return resultobj;
24418 fail:
24419 return NULL;
24420}
24421
24422
24423static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24424 PyObject *resultobj;
24425 wxPrinter *arg1 = (wxPrinter *) 0 ;
24426 wxWindow *arg2 = (wxWindow *) 0 ;
24427 wxDC *result;
24428 PyObject * obj0 = 0 ;
24429 PyObject * obj1 = 0 ;
24430 char *kwnames[] = {
24431 (char *) "self",(char *) "parent", NULL
24432 };
24433
24434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24436 if (SWIG_arg_fail(1)) SWIG_fail;
24437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24438 if (SWIG_arg_fail(2)) SWIG_fail;
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 result = (wxDC *)(arg1)->PrintDialog(arg2);
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 {
24447 resultobj = wxPyMake_wxObject(result, 0);
24448 }
24449 return resultobj;
24450 fail:
24451 return NULL;
24452}
24453
24454
24455static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24456 PyObject *resultobj;
24457 wxPrinter *arg1 = (wxPrinter *) 0 ;
24458 wxPrintDialogData *result;
24459 PyObject * obj0 = 0 ;
24460 char *kwnames[] = {
24461 (char *) "self", NULL
24462 };
24463
24464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24466 if (SWIG_arg_fail(1)) SWIG_fail;
24467 {
24468 PyThreadState* __tstate = wxPyBeginAllowThreads();
24469 {
24470 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24471 result = (wxPrintDialogData *) &_result_ref;
24472 }
24473
24474 wxPyEndAllowThreads(__tstate);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24478 return resultobj;
24479 fail:
24480 return NULL;
24481}
24482
24483
24484static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24485 PyObject *resultobj;
24486 wxPrinter *arg1 = (wxPrinter *) 0 ;
24487 bool result;
24488 PyObject * obj0 = 0 ;
24489 char *kwnames[] = {
24490 (char *) "self", NULL
24491 };
24492
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24495 if (SWIG_arg_fail(1)) SWIG_fail;
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 result = (bool)(arg1)->GetAbort();
24499
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 {
24504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24505 }
24506 return resultobj;
24507 fail:
24508 return NULL;
24509}
24510
24511
24512static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24513 PyObject *resultobj;
24514 wxPrinterError result;
24515 char *kwnames[] = {
24516 NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
24522 result = (wxPrinterError)wxPrinter::GetLastError();
24523
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
24527 resultobj = SWIG_From_int((result));
24528 return resultobj;
24529 fail:
24530 return NULL;
24531}
24532
24533
24534static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24535 PyObject *obj;
24536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24537 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24538 Py_INCREF(obj);
24539 return Py_BuildValue((char *)"");
24540}
24541static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24542 PyObject *resultobj;
24543 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24544 wxString *arg1 = (wxString *) &arg1_defvalue ;
24545 wxPyPrintout *result;
24546 bool temp1 = false ;
24547 PyObject * obj0 = 0 ;
24548 char *kwnames[] = {
24549 (char *) "title", NULL
24550 };
24551
24552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24553 if (obj0) {
24554 {
24555 arg1 = wxString_in_helper(obj0);
24556 if (arg1 == NULL) SWIG_fail;
24557 temp1 = true;
24558 }
24559 }
24560 {
24561 if (!wxPyCheckForApp()) SWIG_fail;
24562 PyThreadState* __tstate = wxPyBeginAllowThreads();
24563 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24564
24565 wxPyEndAllowThreads(__tstate);
24566 if (PyErr_Occurred()) SWIG_fail;
24567 }
24568 {
24569 resultobj = wxPyMake_wxObject(result, 1);
24570 }
24571 {
24572 if (temp1)
24573 delete arg1;
24574 }
24575 return resultobj;
24576 fail:
24577 {
24578 if (temp1)
24579 delete arg1;
24580 }
24581 return NULL;
24582}
24583
24584
24585static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24586 PyObject *resultobj;
24587 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24588 PyObject *arg2 = (PyObject *) 0 ;
24589 PyObject *arg3 = (PyObject *) 0 ;
24590 PyObject * obj0 = 0 ;
24591 PyObject * obj1 = 0 ;
24592 PyObject * obj2 = 0 ;
24593 char *kwnames[] = {
24594 (char *) "self",(char *) "self",(char *) "_class", NULL
24595 };
24596
24597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24599 if (SWIG_arg_fail(1)) SWIG_fail;
24600 arg2 = obj1;
24601 arg3 = obj2;
24602 {
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
24604 (arg1)->_setCallbackInfo(arg2,arg3);
24605
24606 wxPyEndAllowThreads(__tstate);
24607 if (PyErr_Occurred()) SWIG_fail;
24608 }
24609 Py_INCREF(Py_None); resultobj = Py_None;
24610 return resultobj;
24611 fail:
24612 return NULL;
24613}
24614
24615
24616static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24617 PyObject *resultobj;
24618 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24619 wxString result;
24620 PyObject * obj0 = 0 ;
24621 char *kwnames[] = {
24622 (char *) "self", NULL
24623 };
24624
24625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24627 if (SWIG_arg_fail(1)) SWIG_fail;
24628 {
24629 PyThreadState* __tstate = wxPyBeginAllowThreads();
24630 result = ((wxPyPrintout const *)arg1)->GetTitle();
24631
24632 wxPyEndAllowThreads(__tstate);
24633 if (PyErr_Occurred()) SWIG_fail;
24634 }
24635 {
24636#if wxUSE_UNICODE
24637 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24638#else
24639 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24640#endif
24641 }
24642 return resultobj;
24643 fail:
24644 return NULL;
24645}
24646
24647
24648static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24649 PyObject *resultobj;
24650 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24651 wxDC *result;
24652 PyObject * obj0 = 0 ;
24653 char *kwnames[] = {
24654 (char *) "self", NULL
24655 };
24656
24657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24659 if (SWIG_arg_fail(1)) SWIG_fail;
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 result = (wxDC *)(arg1)->GetDC();
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 {
24668 resultobj = wxPyMake_wxObject(result, 0);
24669 }
24670 return resultobj;
24671 fail:
24672 return NULL;
24673}
24674
24675
24676static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24677 PyObject *resultobj;
24678 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24679 wxDC *arg2 = (wxDC *) 0 ;
24680 PyObject * obj0 = 0 ;
24681 PyObject * obj1 = 0 ;
24682 char *kwnames[] = {
24683 (char *) "self",(char *) "dc", NULL
24684 };
24685
24686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24688 if (SWIG_arg_fail(1)) SWIG_fail;
24689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24690 if (SWIG_arg_fail(2)) SWIG_fail;
24691 {
24692 PyThreadState* __tstate = wxPyBeginAllowThreads();
24693 (arg1)->SetDC(arg2);
24694
24695 wxPyEndAllowThreads(__tstate);
24696 if (PyErr_Occurred()) SWIG_fail;
24697 }
24698 Py_INCREF(Py_None); resultobj = Py_None;
24699 return resultobj;
24700 fail:
24701 return NULL;
24702}
24703
24704
24705static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24706 PyObject *resultobj;
24707 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24708 int arg2 ;
24709 int arg3 ;
24710 PyObject * obj0 = 0 ;
24711 PyObject * obj1 = 0 ;
24712 PyObject * obj2 = 0 ;
24713 char *kwnames[] = {
24714 (char *) "self",(char *) "w",(char *) "h", NULL
24715 };
24716
24717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24719 if (SWIG_arg_fail(1)) SWIG_fail;
24720 {
24721 arg2 = (int)(SWIG_As_int(obj1));
24722 if (SWIG_arg_fail(2)) SWIG_fail;
24723 }
24724 {
24725 arg3 = (int)(SWIG_As_int(obj2));
24726 if (SWIG_arg_fail(3)) SWIG_fail;
24727 }
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 (arg1)->SetPageSizePixels(arg2,arg3);
24731
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 Py_INCREF(Py_None); resultobj = Py_None;
24736 return resultobj;
24737 fail:
24738 return NULL;
24739}
24740
24741
24742static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24743 PyObject *resultobj;
24744 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24745 int *arg2 = (int *) 0 ;
24746 int *arg3 = (int *) 0 ;
24747 int temp2 ;
24748 int res2 = 0 ;
24749 int temp3 ;
24750 int res3 = 0 ;
24751 PyObject * obj0 = 0 ;
24752 char *kwnames[] = {
24753 (char *) "self", NULL
24754 };
24755
24756 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24757 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24760 if (SWIG_arg_fail(1)) SWIG_fail;
24761 {
24762 PyThreadState* __tstate = wxPyBeginAllowThreads();
24763 (arg1)->GetPageSizePixels(arg2,arg3);
24764
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 Py_INCREF(Py_None); resultobj = Py_None;
24769 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24770 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24771 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24772 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24773 return resultobj;
24774 fail:
24775 return NULL;
24776}
24777
24778
24779static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24780 PyObject *resultobj;
24781 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24782 int arg2 ;
24783 int arg3 ;
24784 PyObject * obj0 = 0 ;
24785 PyObject * obj1 = 0 ;
24786 PyObject * obj2 = 0 ;
24787 char *kwnames[] = {
24788 (char *) "self",(char *) "w",(char *) "h", NULL
24789 };
24790
24791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
24792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24793 if (SWIG_arg_fail(1)) SWIG_fail;
24794 {
24795 arg2 = (int)(SWIG_As_int(obj1));
24796 if (SWIG_arg_fail(2)) SWIG_fail;
24797 }
24798 {
24799 arg3 = (int)(SWIG_As_int(obj2));
24800 if (SWIG_arg_fail(3)) SWIG_fail;
24801 }
24802 {
24803 PyThreadState* __tstate = wxPyBeginAllowThreads();
24804 (arg1)->SetPageSizeMM(arg2,arg3);
24805
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 Py_INCREF(Py_None); resultobj = Py_None;
24810 return resultobj;
24811 fail:
24812 return NULL;
24813}
24814
24815
24816static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24817 PyObject *resultobj;
24818 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24819 int *arg2 = (int *) 0 ;
24820 int *arg3 = (int *) 0 ;
24821 int temp2 ;
24822 int res2 = 0 ;
24823 int temp3 ;
24824 int res3 = 0 ;
24825 PyObject * obj0 = 0 ;
24826 char *kwnames[] = {
24827 (char *) "self", NULL
24828 };
24829
24830 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24831 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24834 if (SWIG_arg_fail(1)) SWIG_fail;
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 (arg1)->GetPageSizeMM(arg2,arg3);
24838
24839 wxPyEndAllowThreads(__tstate);
24840 if (PyErr_Occurred()) SWIG_fail;
24841 }
24842 Py_INCREF(Py_None); resultobj = Py_None;
24843 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24844 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24845 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24846 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24847 return resultobj;
24848 fail:
24849 return NULL;
24850}
24851
24852
24853static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24854 PyObject *resultobj;
24855 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24856 int arg2 ;
24857 int arg3 ;
24858 PyObject * obj0 = 0 ;
24859 PyObject * obj1 = 0 ;
24860 PyObject * obj2 = 0 ;
24861 char *kwnames[] = {
24862 (char *) "self",(char *) "x",(char *) "y", NULL
24863 };
24864
24865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
24866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24867 if (SWIG_arg_fail(1)) SWIG_fail;
24868 {
24869 arg2 = (int)(SWIG_As_int(obj1));
24870 if (SWIG_arg_fail(2)) SWIG_fail;
24871 }
24872 {
24873 arg3 = (int)(SWIG_As_int(obj2));
24874 if (SWIG_arg_fail(3)) SWIG_fail;
24875 }
24876 {
24877 PyThreadState* __tstate = wxPyBeginAllowThreads();
24878 (arg1)->SetPPIScreen(arg2,arg3);
24879
24880 wxPyEndAllowThreads(__tstate);
24881 if (PyErr_Occurred()) SWIG_fail;
24882 }
24883 Py_INCREF(Py_None); resultobj = Py_None;
24884 return resultobj;
24885 fail:
24886 return NULL;
24887}
24888
24889
24890static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24891 PyObject *resultobj;
24892 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24893 int *arg2 = (int *) 0 ;
24894 int *arg3 = (int *) 0 ;
24895 int temp2 ;
24896 int res2 = 0 ;
24897 int temp3 ;
24898 int res3 = 0 ;
24899 PyObject * obj0 = 0 ;
24900 char *kwnames[] = {
24901 (char *) "self", NULL
24902 };
24903
24904 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24905 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
24907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail;
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 (arg1)->GetPPIScreen(arg2,arg3);
24912
24913 wxPyEndAllowThreads(__tstate);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
24916 Py_INCREF(Py_None); resultobj = Py_None;
24917 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24918 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24919 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24920 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24921 return resultobj;
24922 fail:
24923 return NULL;
24924}
24925
24926
24927static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24928 PyObject *resultobj;
24929 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24930 int arg2 ;
24931 int arg3 ;
24932 PyObject * obj0 = 0 ;
24933 PyObject * obj1 = 0 ;
24934 PyObject * obj2 = 0 ;
24935 char *kwnames[] = {
24936 (char *) "self",(char *) "x",(char *) "y", NULL
24937 };
24938
24939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail;
24942 {
24943 arg2 = (int)(SWIG_As_int(obj1));
24944 if (SWIG_arg_fail(2)) SWIG_fail;
24945 }
24946 {
24947 arg3 = (int)(SWIG_As_int(obj2));
24948 if (SWIG_arg_fail(3)) SWIG_fail;
24949 }
24950 {
24951 PyThreadState* __tstate = wxPyBeginAllowThreads();
24952 (arg1)->SetPPIPrinter(arg2,arg3);
24953
24954 wxPyEndAllowThreads(__tstate);
24955 if (PyErr_Occurred()) SWIG_fail;
24956 }
24957 Py_INCREF(Py_None); resultobj = Py_None;
24958 return resultobj;
24959 fail:
24960 return NULL;
24961}
24962
24963
24964static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24965 PyObject *resultobj;
24966 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24967 int *arg2 = (int *) 0 ;
24968 int *arg3 = (int *) 0 ;
24969 int temp2 ;
24970 int res2 = 0 ;
24971 int temp3 ;
24972 int res3 = 0 ;
24973 PyObject * obj0 = 0 ;
24974 char *kwnames[] = {
24975 (char *) "self", NULL
24976 };
24977
24978 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24979 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24982 if (SWIG_arg_fail(1)) SWIG_fail;
24983 {
24984 PyThreadState* __tstate = wxPyBeginAllowThreads();
24985 (arg1)->GetPPIPrinter(arg2,arg3);
24986
24987 wxPyEndAllowThreads(__tstate);
24988 if (PyErr_Occurred()) SWIG_fail;
24989 }
24990 Py_INCREF(Py_None); resultobj = Py_None;
24991 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24992 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24993 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24994 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24995 return resultobj;
24996 fail:
24997 return NULL;
24998}
24999
25000
25001static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25002 PyObject *resultobj;
25003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25004 bool result;
25005 PyObject * obj0 = 0 ;
25006 char *kwnames[] = {
25007 (char *) "self", NULL
25008 };
25009
25010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
25011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25012 if (SWIG_arg_fail(1)) SWIG_fail;
25013 {
25014 PyThreadState* __tstate = wxPyBeginAllowThreads();
25015 result = (bool)(arg1)->IsPreview();
25016
25017 wxPyEndAllowThreads(__tstate);
25018 if (PyErr_Occurred()) SWIG_fail;
25019 }
25020 {
25021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25022 }
25023 return resultobj;
25024 fail:
25025 return NULL;
25026}
25027
25028
25029static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25030 PyObject *resultobj;
25031 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25032 bool arg2 ;
25033 PyObject * obj0 = 0 ;
25034 PyObject * obj1 = 0 ;
25035 char *kwnames[] = {
25036 (char *) "self",(char *) "p", NULL
25037 };
25038
25039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
25040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25041 if (SWIG_arg_fail(1)) SWIG_fail;
25042 {
25043 arg2 = (bool)(SWIG_As_bool(obj1));
25044 if (SWIG_arg_fail(2)) SWIG_fail;
25045 }
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 (arg1)->SetIsPreview(arg2);
25049
25050 wxPyEndAllowThreads(__tstate);
25051 if (PyErr_Occurred()) SWIG_fail;
25052 }
25053 Py_INCREF(Py_None); resultobj = Py_None;
25054 return resultobj;
25055 fail:
25056 return NULL;
25057}
25058
25059
25060static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25061 PyObject *resultobj;
25062 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25063 int arg2 ;
25064 int arg3 ;
25065 bool result;
25066 PyObject * obj0 = 0 ;
25067 PyObject * obj1 = 0 ;
25068 PyObject * obj2 = 0 ;
25069 char *kwnames[] = {
25070 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25071 };
25072
25073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
25074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25075 if (SWIG_arg_fail(1)) SWIG_fail;
25076 {
25077 arg2 = (int)(SWIG_As_int(obj1));
25078 if (SWIG_arg_fail(2)) SWIG_fail;
25079 }
25080 {
25081 arg3 = (int)(SWIG_As_int(obj2));
25082 if (SWIG_arg_fail(3)) SWIG_fail;
25083 }
25084 {
25085 PyThreadState* __tstate = wxPyBeginAllowThreads();
25086 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25087
25088 wxPyEndAllowThreads(__tstate);
25089 if (PyErr_Occurred()) SWIG_fail;
25090 }
25091 {
25092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25093 }
25094 return resultobj;
25095 fail:
25096 return NULL;
25097}
25098
25099
25100static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25101 PyObject *resultobj;
25102 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25103 PyObject * obj0 = 0 ;
25104 char *kwnames[] = {
25105 (char *) "self", NULL
25106 };
25107
25108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
25109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail;
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 (arg1)->base_OnEndDocument();
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 Py_INCREF(Py_None); resultobj = Py_None;
25119 return resultobj;
25120 fail:
25121 return NULL;
25122}
25123
25124
25125static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25126 PyObject *resultobj;
25127 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25128 PyObject * obj0 = 0 ;
25129 char *kwnames[] = {
25130 (char *) "self", NULL
25131 };
25132
25133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
25134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25135 if (SWIG_arg_fail(1)) SWIG_fail;
25136 {
25137 PyThreadState* __tstate = wxPyBeginAllowThreads();
25138 (arg1)->base_OnBeginPrinting();
25139
25140 wxPyEndAllowThreads(__tstate);
25141 if (PyErr_Occurred()) SWIG_fail;
25142 }
25143 Py_INCREF(Py_None); resultobj = Py_None;
25144 return resultobj;
25145 fail:
25146 return NULL;
25147}
25148
25149
25150static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25151 PyObject *resultobj;
25152 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25153 PyObject * obj0 = 0 ;
25154 char *kwnames[] = {
25155 (char *) "self", NULL
25156 };
25157
25158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
25159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25160 if (SWIG_arg_fail(1)) SWIG_fail;
25161 {
25162 PyThreadState* __tstate = wxPyBeginAllowThreads();
25163 (arg1)->base_OnEndPrinting();
25164
25165 wxPyEndAllowThreads(__tstate);
25166 if (PyErr_Occurred()) SWIG_fail;
25167 }
25168 Py_INCREF(Py_None); resultobj = Py_None;
25169 return resultobj;
25170 fail:
25171 return NULL;
25172}
25173
25174
25175static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25176 PyObject *resultobj;
25177 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25178 PyObject * obj0 = 0 ;
25179 char *kwnames[] = {
25180 (char *) "self", NULL
25181 };
25182
25183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25185 if (SWIG_arg_fail(1)) SWIG_fail;
25186 {
25187 PyThreadState* __tstate = wxPyBeginAllowThreads();
25188 (arg1)->base_OnPreparePrinting();
25189
25190 wxPyEndAllowThreads(__tstate);
25191 if (PyErr_Occurred()) SWIG_fail;
25192 }
25193 Py_INCREF(Py_None); resultobj = Py_None;
25194 return resultobj;
25195 fail:
25196 return NULL;
25197}
25198
25199
25200static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25201 PyObject *resultobj;
25202 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25203 int arg2 ;
25204 bool result;
25205 PyObject * obj0 = 0 ;
25206 PyObject * obj1 = 0 ;
25207 char *kwnames[] = {
25208 (char *) "self",(char *) "page", NULL
25209 };
25210
25211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25213 if (SWIG_arg_fail(1)) SWIG_fail;
25214 {
25215 arg2 = (int)(SWIG_As_int(obj1));
25216 if (SWIG_arg_fail(2)) SWIG_fail;
25217 }
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 result = (bool)(arg1)->base_HasPage(arg2);
25221
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 {
25226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25227 }
25228 return resultobj;
25229 fail:
25230 return NULL;
25231}
25232
25233
25234static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25235 PyObject *resultobj;
25236 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25237 int *arg2 = (int *) 0 ;
25238 int *arg3 = (int *) 0 ;
25239 int *arg4 = (int *) 0 ;
25240 int *arg5 = (int *) 0 ;
25241 int temp2 ;
25242 int res2 = 0 ;
25243 int temp3 ;
25244 int res3 = 0 ;
25245 int temp4 ;
25246 int res4 = 0 ;
25247 int temp5 ;
25248 int res5 = 0 ;
25249 PyObject * obj0 = 0 ;
25250 char *kwnames[] = {
25251 (char *) "self", NULL
25252 };
25253
25254 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25255 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25256 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25257 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25260 if (SWIG_arg_fail(1)) SWIG_fail;
25261 {
25262 PyThreadState* __tstate = wxPyBeginAllowThreads();
25263 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25264
25265 wxPyEndAllowThreads(__tstate);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 }
25268 Py_INCREF(Py_None); resultobj = Py_None;
25269 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25270 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25271 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25272 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25273 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25274 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25275 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25276 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25277 return resultobj;
25278 fail:
25279 return NULL;
25280}
25281
25282
25283static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25284 PyObject *obj;
25285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25286 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25287 Py_INCREF(obj);
25288 return Py_BuildValue((char *)"");
25289}
25290static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25291 PyObject *resultobj;
25292 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25293 wxWindow *arg2 = (wxWindow *) 0 ;
25294 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25295 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25296 wxSize const &arg4_defvalue = wxDefaultSize ;
25297 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25298 long arg5 = (long) 0 ;
25299 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25300 wxString *arg6 = (wxString *) &arg6_defvalue ;
25301 wxPreviewCanvas *result;
25302 wxPoint temp3 ;
25303 wxSize temp4 ;
25304 bool temp6 = false ;
25305 PyObject * obj0 = 0 ;
25306 PyObject * obj1 = 0 ;
25307 PyObject * obj2 = 0 ;
25308 PyObject * obj3 = 0 ;
25309 PyObject * obj4 = 0 ;
25310 PyObject * obj5 = 0 ;
25311 char *kwnames[] = {
25312 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25313 };
25314
25315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25317 if (SWIG_arg_fail(1)) SWIG_fail;
25318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25319 if (SWIG_arg_fail(2)) SWIG_fail;
25320 if (obj2) {
25321 {
25322 arg3 = &temp3;
25323 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25324 }
25325 }
25326 if (obj3) {
25327 {
25328 arg4 = &temp4;
25329 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25330 }
25331 }
25332 if (obj4) {
25333 {
25334 arg5 = (long)(SWIG_As_long(obj4));
25335 if (SWIG_arg_fail(5)) SWIG_fail;
25336 }
25337 }
25338 if (obj5) {
25339 {
25340 arg6 = wxString_in_helper(obj5);
25341 if (arg6 == NULL) SWIG_fail;
25342 temp6 = true;
25343 }
25344 }
25345 {
25346 if (!wxPyCheckForApp()) SWIG_fail;
25347 PyThreadState* __tstate = wxPyBeginAllowThreads();
25348 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25349
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25354 {
25355 if (temp6)
25356 delete arg6;
25357 }
25358 return resultobj;
25359 fail:
25360 {
25361 if (temp6)
25362 delete arg6;
25363 }
25364 return NULL;
25365}
25366
25367
25368static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25369 PyObject *obj;
25370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25371 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25372 Py_INCREF(obj);
25373 return Py_BuildValue((char *)"");
25374}
25375static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25376 PyObject *resultobj;
25377 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25378 wxFrame *arg2 = (wxFrame *) 0 ;
25379 wxString *arg3 = 0 ;
25380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25382 wxSize const &arg5_defvalue = wxDefaultSize ;
25383 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25384 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25385 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25386 wxString *arg7 = (wxString *) &arg7_defvalue ;
25387 wxPreviewFrame *result;
25388 bool temp3 = false ;
25389 wxPoint temp4 ;
25390 wxSize temp5 ;
25391 bool temp7 = false ;
25392 PyObject * obj0 = 0 ;
25393 PyObject * obj1 = 0 ;
25394 PyObject * obj2 = 0 ;
25395 PyObject * obj3 = 0 ;
25396 PyObject * obj4 = 0 ;
25397 PyObject * obj5 = 0 ;
25398 PyObject * obj6 = 0 ;
25399 char *kwnames[] = {
25400 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25401 };
25402
25403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25405 if (SWIG_arg_fail(1)) SWIG_fail;
25406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25407 if (SWIG_arg_fail(2)) SWIG_fail;
25408 {
25409 arg3 = wxString_in_helper(obj2);
25410 if (arg3 == NULL) SWIG_fail;
25411 temp3 = true;
25412 }
25413 if (obj3) {
25414 {
25415 arg4 = &temp4;
25416 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25417 }
25418 }
25419 if (obj4) {
25420 {
25421 arg5 = &temp5;
25422 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25423 }
25424 }
25425 if (obj5) {
25426 {
25427 arg6 = (long)(SWIG_As_long(obj5));
25428 if (SWIG_arg_fail(6)) SWIG_fail;
25429 }
25430 }
25431 if (obj6) {
25432 {
25433 arg7 = wxString_in_helper(obj6);
25434 if (arg7 == NULL) SWIG_fail;
25435 temp7 = true;
25436 }
25437 }
25438 {
25439 if (!wxPyCheckForApp()) SWIG_fail;
25440 PyThreadState* __tstate = wxPyBeginAllowThreads();
25441 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25442
25443 wxPyEndAllowThreads(__tstate);
25444 if (PyErr_Occurred()) SWIG_fail;
25445 }
25446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25447 {
25448 if (temp3)
25449 delete arg3;
25450 }
25451 {
25452 if (temp7)
25453 delete arg7;
25454 }
25455 return resultobj;
25456 fail:
25457 {
25458 if (temp3)
25459 delete arg3;
25460 }
25461 {
25462 if (temp7)
25463 delete arg7;
25464 }
25465 return NULL;
25466}
25467
25468
25469static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25470 PyObject *resultobj;
25471 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25472 PyObject * obj0 = 0 ;
25473 char *kwnames[] = {
25474 (char *) "self", NULL
25475 };
25476
25477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25479 if (SWIG_arg_fail(1)) SWIG_fail;
25480 {
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 (arg1)->Initialize();
25483
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 Py_INCREF(Py_None); resultobj = Py_None;
25488 return resultobj;
25489 fail:
25490 return NULL;
25491}
25492
25493
25494static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25495 PyObject *resultobj;
25496 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25497 PyObject * obj0 = 0 ;
25498 char *kwnames[] = {
25499 (char *) "self", NULL
25500 };
25501
25502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25504 if (SWIG_arg_fail(1)) SWIG_fail;
25505 {
25506 PyThreadState* __tstate = wxPyBeginAllowThreads();
25507 (arg1)->CreateControlBar();
25508
25509 wxPyEndAllowThreads(__tstate);
25510 if (PyErr_Occurred()) SWIG_fail;
25511 }
25512 Py_INCREF(Py_None); resultobj = Py_None;
25513 return resultobj;
25514 fail:
25515 return NULL;
25516}
25517
25518
25519static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25520 PyObject *resultobj;
25521 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25522 PyObject * obj0 = 0 ;
25523 char *kwnames[] = {
25524 (char *) "self", NULL
25525 };
25526
25527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25529 if (SWIG_arg_fail(1)) SWIG_fail;
25530 {
25531 PyThreadState* __tstate = wxPyBeginAllowThreads();
25532 (arg1)->CreateCanvas();
25533
25534 wxPyEndAllowThreads(__tstate);
25535 if (PyErr_Occurred()) SWIG_fail;
25536 }
25537 Py_INCREF(Py_None); resultobj = Py_None;
25538 return resultobj;
25539 fail:
25540 return NULL;
25541}
25542
25543
25544static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25545 PyObject *resultobj;
25546 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25547 wxPreviewControlBar *result;
25548 PyObject * obj0 = 0 ;
25549 char *kwnames[] = {
25550 (char *) "self", NULL
25551 };
25552
25553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25555 if (SWIG_arg_fail(1)) SWIG_fail;
25556 {
25557 PyThreadState* __tstate = wxPyBeginAllowThreads();
25558 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25559
25560 wxPyEndAllowThreads(__tstate);
25561 if (PyErr_Occurred()) SWIG_fail;
25562 }
25563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25564 return resultobj;
25565 fail:
25566 return NULL;
25567}
25568
25569
25570static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25571 PyObject *obj;
25572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25573 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25574 Py_INCREF(obj);
25575 return Py_BuildValue((char *)"");
25576}
25577static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25578 PyObject *resultobj;
25579 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25580 long arg2 ;
25581 wxWindow *arg3 = (wxWindow *) 0 ;
25582 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25583 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25584 wxSize const &arg5_defvalue = wxDefaultSize ;
25585 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25586 long arg6 = (long) wxTAB_TRAVERSAL ;
25587 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25588 wxString *arg7 = (wxString *) &arg7_defvalue ;
25589 wxPreviewControlBar *result;
25590 wxPoint temp4 ;
25591 wxSize temp5 ;
25592 bool temp7 = false ;
25593 PyObject * obj0 = 0 ;
25594 PyObject * obj1 = 0 ;
25595 PyObject * obj2 = 0 ;
25596 PyObject * obj3 = 0 ;
25597 PyObject * obj4 = 0 ;
25598 PyObject * obj5 = 0 ;
25599 PyObject * obj6 = 0 ;
25600 char *kwnames[] = {
25601 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25602 };
25603
25604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25606 if (SWIG_arg_fail(1)) SWIG_fail;
25607 {
25608 arg2 = (long)(SWIG_As_long(obj1));
25609 if (SWIG_arg_fail(2)) SWIG_fail;
25610 }
25611 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25612 if (SWIG_arg_fail(3)) SWIG_fail;
25613 if (obj3) {
25614 {
25615 arg4 = &temp4;
25616 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25617 }
25618 }
25619 if (obj4) {
25620 {
25621 arg5 = &temp5;
25622 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25623 }
25624 }
25625 if (obj5) {
25626 {
25627 arg6 = (long)(SWIG_As_long(obj5));
25628 if (SWIG_arg_fail(6)) SWIG_fail;
25629 }
25630 }
25631 if (obj6) {
25632 {
25633 arg7 = wxString_in_helper(obj6);
25634 if (arg7 == NULL) SWIG_fail;
25635 temp7 = true;
25636 }
25637 }
25638 {
25639 if (!wxPyCheckForApp()) SWIG_fail;
25640 PyThreadState* __tstate = wxPyBeginAllowThreads();
25641 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25642
25643 wxPyEndAllowThreads(__tstate);
25644 if (PyErr_Occurred()) SWIG_fail;
25645 }
25646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25647 {
25648 if (temp7)
25649 delete arg7;
25650 }
25651 return resultobj;
25652 fail:
25653 {
25654 if (temp7)
25655 delete arg7;
25656 }
25657 return NULL;
25658}
25659
25660
25661static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25662 PyObject *resultobj;
25663 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25664 int result;
25665 PyObject * obj0 = 0 ;
25666 char *kwnames[] = {
25667 (char *) "self", NULL
25668 };
25669
25670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail;
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 result = (int)(arg1)->GetZoomControl();
25676
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 {
25681 resultobj = SWIG_From_int((int)(result));
25682 }
25683 return resultobj;
25684 fail:
25685 return NULL;
25686}
25687
25688
25689static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25690 PyObject *resultobj;
25691 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25692 int arg2 ;
25693 PyObject * obj0 = 0 ;
25694 PyObject * obj1 = 0 ;
25695 char *kwnames[] = {
25696 (char *) "self",(char *) "zoom", NULL
25697 };
25698
25699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25701 if (SWIG_arg_fail(1)) SWIG_fail;
25702 {
25703 arg2 = (int)(SWIG_As_int(obj1));
25704 if (SWIG_arg_fail(2)) SWIG_fail;
25705 }
25706 {
25707 PyThreadState* __tstate = wxPyBeginAllowThreads();
25708 (arg1)->SetZoomControl(arg2);
25709
25710 wxPyEndAllowThreads(__tstate);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 }
25713 Py_INCREF(Py_None); resultobj = Py_None;
25714 return resultobj;
25715 fail:
25716 return NULL;
25717}
25718
25719
25720static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25721 PyObject *resultobj;
25722 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25723 wxPrintPreview *result;
25724 PyObject * obj0 = 0 ;
25725 char *kwnames[] = {
25726 (char *) "self", NULL
25727 };
25728
25729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25731 if (SWIG_arg_fail(1)) SWIG_fail;
25732 {
25733 PyThreadState* __tstate = wxPyBeginAllowThreads();
25734 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25735
25736 wxPyEndAllowThreads(__tstate);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
25739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25740 return resultobj;
25741 fail:
25742 return NULL;
25743}
25744
25745
25746static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25747 PyObject *resultobj;
25748 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25749 PyObject * obj0 = 0 ;
25750 char *kwnames[] = {
25751 (char *) "self", NULL
25752 };
25753
25754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25756 if (SWIG_arg_fail(1)) SWIG_fail;
25757 {
25758 PyThreadState* __tstate = wxPyBeginAllowThreads();
25759 (arg1)->OnNext();
25760
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 Py_INCREF(Py_None); resultobj = Py_None;
25765 return resultobj;
25766 fail:
25767 return NULL;
25768}
25769
25770
25771static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25772 PyObject *resultobj;
25773 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25774 PyObject * obj0 = 0 ;
25775 char *kwnames[] = {
25776 (char *) "self", NULL
25777 };
25778
25779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25781 if (SWIG_arg_fail(1)) SWIG_fail;
25782 {
25783 PyThreadState* __tstate = wxPyBeginAllowThreads();
25784 (arg1)->OnPrevious();
25785
25786 wxPyEndAllowThreads(__tstate);
25787 if (PyErr_Occurred()) SWIG_fail;
25788 }
25789 Py_INCREF(Py_None); resultobj = Py_None;
25790 return resultobj;
25791 fail:
25792 return NULL;
25793}
25794
25795
25796static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25797 PyObject *resultobj;
25798 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25799 PyObject * obj0 = 0 ;
25800 char *kwnames[] = {
25801 (char *) "self", NULL
25802 };
25803
25804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25806 if (SWIG_arg_fail(1)) SWIG_fail;
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 (arg1)->OnFirst();
25810
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
25814 Py_INCREF(Py_None); resultobj = Py_None;
25815 return resultobj;
25816 fail:
25817 return NULL;
25818}
25819
25820
25821static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25822 PyObject *resultobj;
25823 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25824 PyObject * obj0 = 0 ;
25825 char *kwnames[] = {
25826 (char *) "self", NULL
25827 };
25828
25829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25831 if (SWIG_arg_fail(1)) SWIG_fail;
25832 {
25833 PyThreadState* __tstate = wxPyBeginAllowThreads();
25834 (arg1)->OnLast();
25835
25836 wxPyEndAllowThreads(__tstate);
25837 if (PyErr_Occurred()) SWIG_fail;
25838 }
25839 Py_INCREF(Py_None); resultobj = Py_None;
25840 return resultobj;
25841 fail:
25842 return NULL;
25843}
25844
25845
25846static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25847 PyObject *resultobj;
25848 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25849 PyObject * obj0 = 0 ;
25850 char *kwnames[] = {
25851 (char *) "self", NULL
25852 };
25853
25854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25856 if (SWIG_arg_fail(1)) SWIG_fail;
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 (arg1)->OnGoto();
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
25864 Py_INCREF(Py_None); resultobj = Py_None;
25865 return resultobj;
25866 fail:
25867 return NULL;
25868}
25869
25870
25871static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25872 PyObject *obj;
25873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25874 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25875 Py_INCREF(obj);
25876 return Py_BuildValue((char *)"");
25877}
25878static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25879 PyObject *resultobj;
25880 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25881 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25882 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25883 wxPrintPreview *result;
25884 PyObject * obj0 = 0 ;
25885 PyObject * obj1 = 0 ;
25886 PyObject * obj2 = 0 ;
25887
25888 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25890 if (SWIG_arg_fail(1)) SWIG_fail;
25891 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25892 if (SWIG_arg_fail(2)) SWIG_fail;
25893 if (obj2) {
25894 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25895 if (SWIG_arg_fail(3)) SWIG_fail;
25896 }
25897 {
25898 if (!wxPyCheckForApp()) SWIG_fail;
25899 PyThreadState* __tstate = wxPyBeginAllowThreads();
25900 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25901
25902 wxPyEndAllowThreads(__tstate);
25903 if (PyErr_Occurred()) SWIG_fail;
25904 }
25905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25906 return resultobj;
25907 fail:
25908 return NULL;
25909}
25910
25911
25912static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25913 PyObject *resultobj;
25914 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25915 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25916 wxPrintData *arg3 = (wxPrintData *) 0 ;
25917 wxPrintPreview *result;
25918 PyObject * obj0 = 0 ;
25919 PyObject * obj1 = 0 ;
25920 PyObject * obj2 = 0 ;
25921
25922 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25924 if (SWIG_arg_fail(1)) SWIG_fail;
25925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25926 if (SWIG_arg_fail(2)) SWIG_fail;
25927 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25928 if (SWIG_arg_fail(3)) SWIG_fail;
25929 {
25930 if (!wxPyCheckForApp()) SWIG_fail;
25931 PyThreadState* __tstate = wxPyBeginAllowThreads();
25932 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25933
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25938 return resultobj;
25939 fail:
25940 return NULL;
25941}
25942
25943
25944static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25945 int argc;
25946 PyObject *argv[4];
25947 int ii;
25948
25949 argc = PyObject_Length(args);
25950 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25951 argv[ii] = PyTuple_GetItem(args,ii);
25952 }
25953 if ((argc >= 2) && (argc <= 3)) {
25954 int _v;
25955 {
25956 void *ptr;
25957 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25958 _v = 0;
25959 PyErr_Clear();
25960 } else {
25961 _v = 1;
25962 }
25963 }
25964 if (_v) {
25965 {
25966 void *ptr;
25967 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25968 _v = 0;
25969 PyErr_Clear();
25970 } else {
25971 _v = 1;
25972 }
25973 }
25974 if (_v) {
25975 if (argc <= 2) {
25976 return _wrap_new_PrintPreview__SWIG_0(self,args);
25977 }
25978 {
25979 void *ptr;
25980 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25981 _v = 0;
25982 PyErr_Clear();
25983 } else {
25984 _v = 1;
25985 }
25986 }
25987 if (_v) {
25988 return _wrap_new_PrintPreview__SWIG_0(self,args);
25989 }
25990 }
25991 }
25992 }
25993 if (argc == 3) {
25994 int _v;
25995 {
25996 void *ptr;
25997 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25998 _v = 0;
25999 PyErr_Clear();
26000 } else {
26001 _v = 1;
26002 }
26003 }
26004 if (_v) {
26005 {
26006 void *ptr;
26007 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26008 _v = 0;
26009 PyErr_Clear();
26010 } else {
26011 _v = 1;
26012 }
26013 }
26014 if (_v) {
26015 {
26016 void *ptr;
26017 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26018 _v = 0;
26019 PyErr_Clear();
26020 } else {
26021 _v = 1;
26022 }
26023 }
26024 if (_v) {
26025 return _wrap_new_PrintPreview__SWIG_1(self,args);
26026 }
26027 }
26028 }
26029 }
26030
26031 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
26032 return NULL;
26033}
26034
26035
26036static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26037 PyObject *resultobj;
26038 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26039 int arg2 ;
26040 bool result;
26041 PyObject * obj0 = 0 ;
26042 PyObject * obj1 = 0 ;
26043 char *kwnames[] = {
26044 (char *) "self",(char *) "pageNum", NULL
26045 };
26046
26047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26049 if (SWIG_arg_fail(1)) SWIG_fail;
26050 {
26051 arg2 = (int)(SWIG_As_int(obj1));
26052 if (SWIG_arg_fail(2)) SWIG_fail;
26053 }
26054 {
26055 PyThreadState* __tstate = wxPyBeginAllowThreads();
26056 result = (bool)(arg1)->SetCurrentPage(arg2);
26057
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
26061 {
26062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26063 }
26064 return resultobj;
26065 fail:
26066 return NULL;
26067}
26068
26069
26070static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26071 PyObject *resultobj;
26072 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26073 int result;
26074 PyObject * obj0 = 0 ;
26075 char *kwnames[] = {
26076 (char *) "self", NULL
26077 };
26078
26079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
26080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26081 if (SWIG_arg_fail(1)) SWIG_fail;
26082 {
26083 PyThreadState* __tstate = wxPyBeginAllowThreads();
26084 result = (int)(arg1)->GetCurrentPage();
26085
26086 wxPyEndAllowThreads(__tstate);
26087 if (PyErr_Occurred()) SWIG_fail;
26088 }
26089 {
26090 resultobj = SWIG_From_int((int)(result));
26091 }
26092 return resultobj;
26093 fail:
26094 return NULL;
26095}
26096
26097
26098static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26099 PyObject *resultobj;
26100 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26101 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26102 PyObject * obj0 = 0 ;
26103 PyObject * obj1 = 0 ;
26104 char *kwnames[] = {
26105 (char *) "self",(char *) "printout", NULL
26106 };
26107
26108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
26109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26110 if (SWIG_arg_fail(1)) SWIG_fail;
26111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26112 if (SWIG_arg_fail(2)) SWIG_fail;
26113 {
26114 PyThreadState* __tstate = wxPyBeginAllowThreads();
26115 (arg1)->SetPrintout(arg2);
26116
26117 wxPyEndAllowThreads(__tstate);
26118 if (PyErr_Occurred()) SWIG_fail;
26119 }
26120 Py_INCREF(Py_None); resultobj = Py_None;
26121 return resultobj;
26122 fail:
26123 return NULL;
26124}
26125
26126
26127static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26128 PyObject *resultobj;
26129 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26130 wxPyPrintout *result;
26131 PyObject * obj0 = 0 ;
26132 char *kwnames[] = {
26133 (char *) "self", NULL
26134 };
26135
26136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
26137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26138 if (SWIG_arg_fail(1)) SWIG_fail;
26139 {
26140 PyThreadState* __tstate = wxPyBeginAllowThreads();
26141 result = (wxPyPrintout *)(arg1)->GetPrintout();
26142
26143 wxPyEndAllowThreads(__tstate);
26144 if (PyErr_Occurred()) SWIG_fail;
26145 }
26146 {
26147 resultobj = wxPyMake_wxObject(result, 0);
26148 }
26149 return resultobj;
26150 fail:
26151 return NULL;
26152}
26153
26154
26155static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
26156 PyObject *resultobj;
26157 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26158 wxPyPrintout *result;
26159 PyObject * obj0 = 0 ;
26160 char *kwnames[] = {
26161 (char *) "self", NULL
26162 };
26163
26164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
26165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26166 if (SWIG_arg_fail(1)) SWIG_fail;
26167 {
26168 PyThreadState* __tstate = wxPyBeginAllowThreads();
26169 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26170
26171 wxPyEndAllowThreads(__tstate);
26172 if (PyErr_Occurred()) SWIG_fail;
26173 }
26174 {
26175 resultobj = wxPyMake_wxObject(result, 0);
26176 }
26177 return resultobj;
26178 fail:
26179 return NULL;
26180}
26181
26182
26183static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26184 PyObject *resultobj;
26185 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26186 wxFrame *arg2 = (wxFrame *) 0 ;
26187 PyObject * obj0 = 0 ;
26188 PyObject * obj1 = 0 ;
26189 char *kwnames[] = {
26190 (char *) "self",(char *) "frame", NULL
26191 };
26192
26193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
26194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26195 if (SWIG_arg_fail(1)) SWIG_fail;
26196 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26197 if (SWIG_arg_fail(2)) SWIG_fail;
26198 {
26199 PyThreadState* __tstate = wxPyBeginAllowThreads();
26200 (arg1)->SetFrame(arg2);
26201
26202 wxPyEndAllowThreads(__tstate);
26203 if (PyErr_Occurred()) SWIG_fail;
26204 }
26205 Py_INCREF(Py_None); resultobj = Py_None;
26206 return resultobj;
26207 fail:
26208 return NULL;
26209}
26210
26211
26212static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26213 PyObject *resultobj;
26214 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26215 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26216 PyObject * obj0 = 0 ;
26217 PyObject * obj1 = 0 ;
26218 char *kwnames[] = {
26219 (char *) "self",(char *) "canvas", NULL
26220 };
26221
26222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26224 if (SWIG_arg_fail(1)) SWIG_fail;
26225 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26226 if (SWIG_arg_fail(2)) SWIG_fail;
26227 {
26228 PyThreadState* __tstate = wxPyBeginAllowThreads();
26229 (arg1)->SetCanvas(arg2);
26230
26231 wxPyEndAllowThreads(__tstate);
26232 if (PyErr_Occurred()) SWIG_fail;
26233 }
26234 Py_INCREF(Py_None); resultobj = Py_None;
26235 return resultobj;
26236 fail:
26237 return NULL;
26238}
26239
26240
26241static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26242 PyObject *resultobj;
26243 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26244 wxFrame *result;
26245 PyObject * obj0 = 0 ;
26246 char *kwnames[] = {
26247 (char *) "self", NULL
26248 };
26249
26250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26252 if (SWIG_arg_fail(1)) SWIG_fail;
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 result = (wxFrame *)(arg1)->GetFrame();
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 {
26261 resultobj = wxPyMake_wxObject(result, 0);
26262 }
26263 return resultobj;
26264 fail:
26265 return NULL;
26266}
26267
26268
26269static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26270 PyObject *resultobj;
26271 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26272 wxPreviewCanvas *result;
26273 PyObject * obj0 = 0 ;
26274 char *kwnames[] = {
26275 (char *) "self", NULL
26276 };
26277
26278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26280 if (SWIG_arg_fail(1)) SWIG_fail;
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26284
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26289 return resultobj;
26290 fail:
26291 return NULL;
26292}
26293
26294
26295static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26296 PyObject *resultobj;
26297 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26298 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26299 wxDC *arg3 = 0 ;
26300 bool result;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 PyObject * obj2 = 0 ;
26304 char *kwnames[] = {
26305 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26306 };
26307
26308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26310 if (SWIG_arg_fail(1)) SWIG_fail;
26311 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26312 if (SWIG_arg_fail(2)) SWIG_fail;
26313 {
26314 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26315 if (SWIG_arg_fail(3)) SWIG_fail;
26316 if (arg3 == NULL) {
26317 SWIG_null_ref("wxDC");
26318 }
26319 if (SWIG_arg_fail(3)) SWIG_fail;
26320 }
26321 {
26322 PyThreadState* __tstate = wxPyBeginAllowThreads();
26323 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26324
26325 wxPyEndAllowThreads(__tstate);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
26328 {
26329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26330 }
26331 return resultobj;
26332 fail:
26333 return NULL;
26334}
26335
26336
26337static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26338 PyObject *resultobj;
26339 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26340 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26341 wxDC *arg3 = 0 ;
26342 bool result;
26343 PyObject * obj0 = 0 ;
26344 PyObject * obj1 = 0 ;
26345 PyObject * obj2 = 0 ;
26346 char *kwnames[] = {
26347 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26348 };
26349
26350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26352 if (SWIG_arg_fail(1)) SWIG_fail;
26353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26354 if (SWIG_arg_fail(2)) SWIG_fail;
26355 {
26356 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26357 if (SWIG_arg_fail(3)) SWIG_fail;
26358 if (arg3 == NULL) {
26359 SWIG_null_ref("wxDC");
26360 }
26361 if (SWIG_arg_fail(3)) SWIG_fail;
26362 }
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26366
26367 wxPyEndAllowThreads(__tstate);
26368 if (PyErr_Occurred()) SWIG_fail;
26369 }
26370 {
26371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26372 }
26373 return resultobj;
26374 fail:
26375 return NULL;
26376}
26377
26378
26379static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26380 PyObject *resultobj;
26381 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26382 int arg2 ;
26383 bool result;
26384 PyObject * obj0 = 0 ;
26385 PyObject * obj1 = 0 ;
26386 char *kwnames[] = {
26387 (char *) "self",(char *) "pageNum", NULL
26388 };
26389
26390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26392 if (SWIG_arg_fail(1)) SWIG_fail;
26393 {
26394 arg2 = (int)(SWIG_As_int(obj1));
26395 if (SWIG_arg_fail(2)) SWIG_fail;
26396 }
26397 {
26398 PyThreadState* __tstate = wxPyBeginAllowThreads();
26399 result = (bool)(arg1)->RenderPage(arg2);
26400
26401 wxPyEndAllowThreads(__tstate);
26402 if (PyErr_Occurred()) SWIG_fail;
26403 }
26404 {
26405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26406 }
26407 return resultobj;
26408 fail:
26409 return NULL;
26410}
26411
26412
26413static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26414 PyObject *resultobj;
26415 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26416 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26417 PyObject * obj0 = 0 ;
26418 PyObject * obj1 = 0 ;
26419 char *kwnames[] = {
26420 (char *) "self",(char *) "canvas", NULL
26421 };
26422
26423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26425 if (SWIG_arg_fail(1)) SWIG_fail;
26426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26427 if (SWIG_arg_fail(2)) SWIG_fail;
26428 {
26429 PyThreadState* __tstate = wxPyBeginAllowThreads();
26430 (arg1)->AdjustScrollbars(arg2);
26431
26432 wxPyEndAllowThreads(__tstate);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 }
26435 Py_INCREF(Py_None); resultobj = Py_None;
26436 return resultobj;
26437 fail:
26438 return NULL;
26439}
26440
26441
26442static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26443 PyObject *resultobj;
26444 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26445 wxPrintDialogData *result;
26446 PyObject * obj0 = 0 ;
26447 char *kwnames[] = {
26448 (char *) "self", NULL
26449 };
26450
26451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26453 if (SWIG_arg_fail(1)) SWIG_fail;
26454 {
26455 PyThreadState* __tstate = wxPyBeginAllowThreads();
26456 {
26457 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26458 result = (wxPrintDialogData *) &_result_ref;
26459 }
26460
26461 wxPyEndAllowThreads(__tstate);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 }
26464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26465 return resultobj;
26466 fail:
26467 return NULL;
26468}
26469
26470
26471static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26472 PyObject *resultobj;
26473 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26474 int arg2 ;
26475 PyObject * obj0 = 0 ;
26476 PyObject * obj1 = 0 ;
26477 char *kwnames[] = {
26478 (char *) "self",(char *) "percent", NULL
26479 };
26480
26481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26483 if (SWIG_arg_fail(1)) SWIG_fail;
26484 {
26485 arg2 = (int)(SWIG_As_int(obj1));
26486 if (SWIG_arg_fail(2)) SWIG_fail;
26487 }
26488 {
26489 PyThreadState* __tstate = wxPyBeginAllowThreads();
26490 (arg1)->SetZoom(arg2);
26491
26492 wxPyEndAllowThreads(__tstate);
26493 if (PyErr_Occurred()) SWIG_fail;
26494 }
26495 Py_INCREF(Py_None); resultobj = Py_None;
26496 return resultobj;
26497 fail:
26498 return NULL;
26499}
26500
26501
26502static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26503 PyObject *resultobj;
26504 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26505 int result;
26506 PyObject * obj0 = 0 ;
26507 char *kwnames[] = {
26508 (char *) "self", NULL
26509 };
26510
26511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26513 if (SWIG_arg_fail(1)) SWIG_fail;
26514 {
26515 PyThreadState* __tstate = wxPyBeginAllowThreads();
26516 result = (int)(arg1)->GetZoom();
26517
26518 wxPyEndAllowThreads(__tstate);
26519 if (PyErr_Occurred()) SWIG_fail;
26520 }
26521 {
26522 resultobj = SWIG_From_int((int)(result));
26523 }
26524 return resultobj;
26525 fail:
26526 return NULL;
26527}
26528
26529
26530static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26531 PyObject *resultobj;
26532 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26533 int result;
26534 PyObject * obj0 = 0 ;
26535 char *kwnames[] = {
26536 (char *) "self", NULL
26537 };
26538
26539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26541 if (SWIG_arg_fail(1)) SWIG_fail;
26542 {
26543 PyThreadState* __tstate = wxPyBeginAllowThreads();
26544 result = (int)(arg1)->GetMaxPage();
26545
26546 wxPyEndAllowThreads(__tstate);
26547 if (PyErr_Occurred()) SWIG_fail;
26548 }
26549 {
26550 resultobj = SWIG_From_int((int)(result));
26551 }
26552 return resultobj;
26553 fail:
26554 return NULL;
26555}
26556
26557
26558static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26559 PyObject *resultobj;
26560 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26561 int result;
26562 PyObject * obj0 = 0 ;
26563 char *kwnames[] = {
26564 (char *) "self", NULL
26565 };
26566
26567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26569 if (SWIG_arg_fail(1)) SWIG_fail;
26570 {
26571 PyThreadState* __tstate = wxPyBeginAllowThreads();
26572 result = (int)(arg1)->GetMinPage();
26573
26574 wxPyEndAllowThreads(__tstate);
26575 if (PyErr_Occurred()) SWIG_fail;
26576 }
26577 {
26578 resultobj = SWIG_From_int((int)(result));
26579 }
26580 return resultobj;
26581 fail:
26582 return NULL;
26583}
26584
26585
26586static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26587 PyObject *resultobj;
26588 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26589 bool result;
26590 PyObject * obj0 = 0 ;
26591 char *kwnames[] = {
26592 (char *) "self", NULL
26593 };
26594
26595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26597 if (SWIG_arg_fail(1)) SWIG_fail;
26598 {
26599 PyThreadState* __tstate = wxPyBeginAllowThreads();
26600 result = (bool)(arg1)->Ok();
26601
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 {
26606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26607 }
26608 return resultobj;
26609 fail:
26610 return NULL;
26611}
26612
26613
26614static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26615 PyObject *resultobj;
26616 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26617 bool arg2 ;
26618 PyObject * obj0 = 0 ;
26619 PyObject * obj1 = 0 ;
26620 char *kwnames[] = {
26621 (char *) "self",(char *) "ok", NULL
26622 };
26623
26624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26626 if (SWIG_arg_fail(1)) SWIG_fail;
26627 {
26628 arg2 = (bool)(SWIG_As_bool(obj1));
26629 if (SWIG_arg_fail(2)) SWIG_fail;
26630 }
26631 {
26632 PyThreadState* __tstate = wxPyBeginAllowThreads();
26633 (arg1)->SetOk(arg2);
26634
26635 wxPyEndAllowThreads(__tstate);
26636 if (PyErr_Occurred()) SWIG_fail;
26637 }
26638 Py_INCREF(Py_None); resultobj = Py_None;
26639 return resultobj;
26640 fail:
26641 return NULL;
26642}
26643
26644
26645static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26646 PyObject *resultobj;
26647 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26648 bool arg2 ;
26649 bool result;
26650 PyObject * obj0 = 0 ;
26651 PyObject * obj1 = 0 ;
26652 char *kwnames[] = {
26653 (char *) "self",(char *) "interactive", NULL
26654 };
26655
26656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26658 if (SWIG_arg_fail(1)) SWIG_fail;
26659 {
26660 arg2 = (bool)(SWIG_As_bool(obj1));
26661 if (SWIG_arg_fail(2)) SWIG_fail;
26662 }
26663 {
26664 PyThreadState* __tstate = wxPyBeginAllowThreads();
26665 result = (bool)(arg1)->Print(arg2);
26666
26667 wxPyEndAllowThreads(__tstate);
26668 if (PyErr_Occurred()) SWIG_fail;
26669 }
26670 {
26671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26672 }
26673 return resultobj;
26674 fail:
26675 return NULL;
26676}
26677
26678
26679static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26680 PyObject *resultobj;
26681 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26682 PyObject * obj0 = 0 ;
26683 char *kwnames[] = {
26684 (char *) "self", NULL
26685 };
26686
26687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26689 if (SWIG_arg_fail(1)) SWIG_fail;
26690 {
26691 PyThreadState* __tstate = wxPyBeginAllowThreads();
26692 (arg1)->DetermineScaling();
26693
26694 wxPyEndAllowThreads(__tstate);
26695 if (PyErr_Occurred()) SWIG_fail;
26696 }
26697 Py_INCREF(Py_None); resultobj = Py_None;
26698 return resultobj;
26699 fail:
26700 return NULL;
26701}
26702
26703
26704static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26705 PyObject *obj;
26706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26707 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26708 Py_INCREF(obj);
26709 return Py_BuildValue((char *)"");
26710}
26711static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26712 PyObject *resultobj;
26713 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26714 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26715 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26716 wxPyPrintPreview *result;
26717 PyObject * obj0 = 0 ;
26718 PyObject * obj1 = 0 ;
26719 PyObject * obj2 = 0 ;
26720
26721 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26723 if (SWIG_arg_fail(1)) SWIG_fail;
26724 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26725 if (SWIG_arg_fail(2)) SWIG_fail;
26726 if (obj2) {
26727 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26728 if (SWIG_arg_fail(3)) SWIG_fail;
26729 }
26730 {
26731 if (!wxPyCheckForApp()) SWIG_fail;
26732 PyThreadState* __tstate = wxPyBeginAllowThreads();
26733 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26734
26735 wxPyEndAllowThreads(__tstate);
26736 if (PyErr_Occurred()) SWIG_fail;
26737 }
26738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26739 return resultobj;
26740 fail:
26741 return NULL;
26742}
26743
26744
26745static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26746 PyObject *resultobj;
26747 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26748 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26749 wxPrintData *arg3 = (wxPrintData *) 0 ;
26750 wxPyPrintPreview *result;
26751 PyObject * obj0 = 0 ;
26752 PyObject * obj1 = 0 ;
26753 PyObject * obj2 = 0 ;
26754
26755 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26757 if (SWIG_arg_fail(1)) SWIG_fail;
26758 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26759 if (SWIG_arg_fail(2)) SWIG_fail;
26760 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26761 if (SWIG_arg_fail(3)) SWIG_fail;
26762 {
26763 if (!wxPyCheckForApp()) SWIG_fail;
26764 PyThreadState* __tstate = wxPyBeginAllowThreads();
26765 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26766
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26771 return resultobj;
26772 fail:
26773 return NULL;
26774}
26775
26776
26777static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26778 int argc;
26779 PyObject *argv[4];
26780 int ii;
26781
26782 argc = PyObject_Length(args);
26783 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26784 argv[ii] = PyTuple_GetItem(args,ii);
26785 }
26786 if ((argc >= 2) && (argc <= 3)) {
26787 int _v;
26788 {
26789 void *ptr;
26790 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26791 _v = 0;
26792 PyErr_Clear();
26793 } else {
26794 _v = 1;
26795 }
26796 }
26797 if (_v) {
26798 {
26799 void *ptr;
26800 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26801 _v = 0;
26802 PyErr_Clear();
26803 } else {
26804 _v = 1;
26805 }
26806 }
26807 if (_v) {
26808 if (argc <= 2) {
26809 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26810 }
26811 {
26812 void *ptr;
26813 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26814 _v = 0;
26815 PyErr_Clear();
26816 } else {
26817 _v = 1;
26818 }
26819 }
26820 if (_v) {
26821 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26822 }
26823 }
26824 }
26825 }
26826 if (argc == 3) {
26827 int _v;
26828 {
26829 void *ptr;
26830 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26831 _v = 0;
26832 PyErr_Clear();
26833 } else {
26834 _v = 1;
26835 }
26836 }
26837 if (_v) {
26838 {
26839 void *ptr;
26840 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26841 _v = 0;
26842 PyErr_Clear();
26843 } else {
26844 _v = 1;
26845 }
26846 }
26847 if (_v) {
26848 {
26849 void *ptr;
26850 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26851 _v = 0;
26852 PyErr_Clear();
26853 } else {
26854 _v = 1;
26855 }
26856 }
26857 if (_v) {
26858 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26859 }
26860 }
26861 }
26862 }
26863
26864 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26865 return NULL;
26866}
26867
26868
26869static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26870 PyObject *resultobj;
26871 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26872 PyObject *arg2 = (PyObject *) 0 ;
26873 PyObject *arg3 = (PyObject *) 0 ;
26874 PyObject * obj0 = 0 ;
26875 PyObject * obj1 = 0 ;
26876 PyObject * obj2 = 0 ;
26877 char *kwnames[] = {
26878 (char *) "self",(char *) "self",(char *) "_class", NULL
26879 };
26880
26881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26883 if (SWIG_arg_fail(1)) SWIG_fail;
26884 arg2 = obj1;
26885 arg3 = obj2;
26886 {
26887 PyThreadState* __tstate = wxPyBeginAllowThreads();
26888 (arg1)->_setCallbackInfo(arg2,arg3);
26889
26890 wxPyEndAllowThreads(__tstate);
26891 if (PyErr_Occurred()) SWIG_fail;
26892 }
26893 Py_INCREF(Py_None); resultobj = Py_None;
26894 return resultobj;
26895 fail:
26896 return NULL;
26897}
26898
26899
26900static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26901 PyObject *resultobj;
26902 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26903 int arg2 ;
26904 bool result;
26905 PyObject * obj0 = 0 ;
26906 PyObject * obj1 = 0 ;
26907 char *kwnames[] = {
26908 (char *) "self",(char *) "pageNum", NULL
26909 };
26910
26911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26913 if (SWIG_arg_fail(1)) SWIG_fail;
26914 {
26915 arg2 = (int)(SWIG_As_int(obj1));
26916 if (SWIG_arg_fail(2)) SWIG_fail;
26917 }
26918 {
26919 PyThreadState* __tstate = wxPyBeginAllowThreads();
26920 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26921
26922 wxPyEndAllowThreads(__tstate);
26923 if (PyErr_Occurred()) SWIG_fail;
26924 }
26925 {
26926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26927 }
26928 return resultobj;
26929 fail:
26930 return NULL;
26931}
26932
26933
26934static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26935 PyObject *resultobj;
26936 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26937 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26938 wxDC *arg3 = 0 ;
26939 bool result;
26940 PyObject * obj0 = 0 ;
26941 PyObject * obj1 = 0 ;
26942 PyObject * obj2 = 0 ;
26943 char *kwnames[] = {
26944 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26945 };
26946
26947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26949 if (SWIG_arg_fail(1)) SWIG_fail;
26950 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26951 if (SWIG_arg_fail(2)) SWIG_fail;
26952 {
26953 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26954 if (SWIG_arg_fail(3)) SWIG_fail;
26955 if (arg3 == NULL) {
26956 SWIG_null_ref("wxDC");
26957 }
26958 if (SWIG_arg_fail(3)) SWIG_fail;
26959 }
26960 {
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26963
26964 wxPyEndAllowThreads(__tstate);
26965 if (PyErr_Occurred()) SWIG_fail;
26966 }
26967 {
26968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26969 }
26970 return resultobj;
26971 fail:
26972 return NULL;
26973}
26974
26975
26976static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26977 PyObject *resultobj;
26978 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26979 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26980 wxDC *arg3 = 0 ;
26981 bool result;
26982 PyObject * obj0 = 0 ;
26983 PyObject * obj1 = 0 ;
26984 PyObject * obj2 = 0 ;
26985 char *kwnames[] = {
26986 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26987 };
26988
26989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26991 if (SWIG_arg_fail(1)) SWIG_fail;
26992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26993 if (SWIG_arg_fail(2)) SWIG_fail;
26994 {
26995 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26996 if (SWIG_arg_fail(3)) SWIG_fail;
26997 if (arg3 == NULL) {
26998 SWIG_null_ref("wxDC");
26999 }
27000 if (SWIG_arg_fail(3)) SWIG_fail;
27001 }
27002 {
27003 PyThreadState* __tstate = wxPyBeginAllowThreads();
27004 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
27005
27006 wxPyEndAllowThreads(__tstate);
27007 if (PyErr_Occurred()) SWIG_fail;
27008 }
27009 {
27010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27011 }
27012 return resultobj;
27013 fail:
27014 return NULL;
27015}
27016
27017
27018static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
27019 PyObject *resultobj;
27020 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27021 int arg2 ;
27022 bool result;
27023 PyObject * obj0 = 0 ;
27024 PyObject * obj1 = 0 ;
27025 char *kwnames[] = {
27026 (char *) "self",(char *) "pageNum", NULL
27027 };
27028
27029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
27030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27031 if (SWIG_arg_fail(1)) SWIG_fail;
27032 {
27033 arg2 = (int)(SWIG_As_int(obj1));
27034 if (SWIG_arg_fail(2)) SWIG_fail;
27035 }
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 result = (bool)(arg1)->base_RenderPage(arg2);
27039
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 {
27044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27045 }
27046 return resultobj;
27047 fail:
27048 return NULL;
27049}
27050
27051
27052static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
27053 PyObject *resultobj;
27054 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27055 int arg2 ;
27056 PyObject * obj0 = 0 ;
27057 PyObject * obj1 = 0 ;
27058 char *kwnames[] = {
27059 (char *) "self",(char *) "percent", NULL
27060 };
27061
27062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
27063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27064 if (SWIG_arg_fail(1)) SWIG_fail;
27065 {
27066 arg2 = (int)(SWIG_As_int(obj1));
27067 if (SWIG_arg_fail(2)) SWIG_fail;
27068 }
27069 {
27070 PyThreadState* __tstate = wxPyBeginAllowThreads();
27071 (arg1)->base_SetZoom(arg2);
27072
27073 wxPyEndAllowThreads(__tstate);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 }
27076 Py_INCREF(Py_None); resultobj = Py_None;
27077 return resultobj;
27078 fail:
27079 return NULL;
27080}
27081
27082
27083static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
27084 PyObject *resultobj;
27085 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27086 bool arg2 ;
27087 bool result;
27088 PyObject * obj0 = 0 ;
27089 PyObject * obj1 = 0 ;
27090 char *kwnames[] = {
27091 (char *) "self",(char *) "interactive", NULL
27092 };
27093
27094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
27095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27096 if (SWIG_arg_fail(1)) SWIG_fail;
27097 {
27098 arg2 = (bool)(SWIG_As_bool(obj1));
27099 if (SWIG_arg_fail(2)) SWIG_fail;
27100 }
27101 {
27102 PyThreadState* __tstate = wxPyBeginAllowThreads();
27103 result = (bool)(arg1)->base_Print(arg2);
27104
27105 wxPyEndAllowThreads(__tstate);
27106 if (PyErr_Occurred()) SWIG_fail;
27107 }
27108 {
27109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27110 }
27111 return resultobj;
27112 fail:
27113 return NULL;
27114}
27115
27116
27117static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
27118 PyObject *resultobj;
27119 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27120 PyObject * obj0 = 0 ;
27121 char *kwnames[] = {
27122 (char *) "self", NULL
27123 };
27124
27125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
27126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27127 if (SWIG_arg_fail(1)) SWIG_fail;
27128 {
27129 PyThreadState* __tstate = wxPyBeginAllowThreads();
27130 (arg1)->base_DetermineScaling();
27131
27132 wxPyEndAllowThreads(__tstate);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
27135 Py_INCREF(Py_None); resultobj = Py_None;
27136 return resultobj;
27137 fail:
27138 return NULL;
27139}
27140
27141
27142static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
27143 PyObject *obj;
27144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27145 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27146 Py_INCREF(obj);
27147 return Py_BuildValue((char *)"");
27148}
27149static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
27150 PyObject *resultobj;
27151 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27152 wxFrame *arg2 = (wxFrame *) 0 ;
27153 wxString *arg3 = 0 ;
27154 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27155 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27156 wxSize const &arg5_defvalue = wxDefaultSize ;
27157 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27158 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27159 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27160 wxString *arg7 = (wxString *) &arg7_defvalue ;
27161 wxPyPreviewFrame *result;
27162 bool temp3 = false ;
27163 wxPoint temp4 ;
27164 wxSize temp5 ;
27165 bool temp7 = false ;
27166 PyObject * obj0 = 0 ;
27167 PyObject * obj1 = 0 ;
27168 PyObject * obj2 = 0 ;
27169 PyObject * obj3 = 0 ;
27170 PyObject * obj4 = 0 ;
27171 PyObject * obj5 = 0 ;
27172 PyObject * obj6 = 0 ;
27173 char *kwnames[] = {
27174 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27175 };
27176
27177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27179 if (SWIG_arg_fail(1)) SWIG_fail;
27180 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27181 if (SWIG_arg_fail(2)) SWIG_fail;
27182 {
27183 arg3 = wxString_in_helper(obj2);
27184 if (arg3 == NULL) SWIG_fail;
27185 temp3 = true;
27186 }
27187 if (obj3) {
27188 {
27189 arg4 = &temp4;
27190 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27191 }
27192 }
27193 if (obj4) {
27194 {
27195 arg5 = &temp5;
27196 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27197 }
27198 }
27199 if (obj5) {
27200 {
27201 arg6 = (long)(SWIG_As_long(obj5));
27202 if (SWIG_arg_fail(6)) SWIG_fail;
27203 }
27204 }
27205 if (obj6) {
27206 {
27207 arg7 = wxString_in_helper(obj6);
27208 if (arg7 == NULL) SWIG_fail;
27209 temp7 = true;
27210 }
27211 }
27212 {
27213 if (!wxPyCheckForApp()) SWIG_fail;
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27216
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27221 {
27222 if (temp3)
27223 delete arg3;
27224 }
27225 {
27226 if (temp7)
27227 delete arg7;
27228 }
27229 return resultobj;
27230 fail:
27231 {
27232 if (temp3)
27233 delete arg3;
27234 }
27235 {
27236 if (temp7)
27237 delete arg7;
27238 }
27239 return NULL;
27240}
27241
27242
27243static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27244 PyObject *resultobj;
27245 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27246 PyObject *arg2 = (PyObject *) 0 ;
27247 PyObject *arg3 = (PyObject *) 0 ;
27248 PyObject * obj0 = 0 ;
27249 PyObject * obj1 = 0 ;
27250 PyObject * obj2 = 0 ;
27251 char *kwnames[] = {
27252 (char *) "self",(char *) "self",(char *) "_class", NULL
27253 };
27254
27255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27257 if (SWIG_arg_fail(1)) SWIG_fail;
27258 arg2 = obj1;
27259 arg3 = obj2;
27260 {
27261 PyThreadState* __tstate = wxPyBeginAllowThreads();
27262 (arg1)->_setCallbackInfo(arg2,arg3);
27263
27264 wxPyEndAllowThreads(__tstate);
27265 if (PyErr_Occurred()) SWIG_fail;
27266 }
27267 Py_INCREF(Py_None); resultobj = Py_None;
27268 return resultobj;
27269 fail:
27270 return NULL;
27271}
27272
27273
27274static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27275 PyObject *resultobj;
27276 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27277 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27278 PyObject * obj0 = 0 ;
27279 PyObject * obj1 = 0 ;
27280 char *kwnames[] = {
27281 (char *) "self",(char *) "canvas", NULL
27282 };
27283
27284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27286 if (SWIG_arg_fail(1)) SWIG_fail;
27287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27288 if (SWIG_arg_fail(2)) SWIG_fail;
27289 {
27290 PyThreadState* __tstate = wxPyBeginAllowThreads();
27291 (arg1)->SetPreviewCanvas(arg2);
27292
27293 wxPyEndAllowThreads(__tstate);
27294 if (PyErr_Occurred()) SWIG_fail;
27295 }
27296 Py_INCREF(Py_None); resultobj = Py_None;
27297 return resultobj;
27298 fail:
27299 return NULL;
27300}
27301
27302
27303static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27304 PyObject *resultobj;
27305 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27306 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27307 PyObject * obj0 = 0 ;
27308 PyObject * obj1 = 0 ;
27309 char *kwnames[] = {
27310 (char *) "self",(char *) "bar", NULL
27311 };
27312
27313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27315 if (SWIG_arg_fail(1)) SWIG_fail;
27316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27317 if (SWIG_arg_fail(2)) SWIG_fail;
27318 {
27319 PyThreadState* __tstate = wxPyBeginAllowThreads();
27320 (arg1)->SetControlBar(arg2);
27321
27322 wxPyEndAllowThreads(__tstate);
27323 if (PyErr_Occurred()) SWIG_fail;
27324 }
27325 Py_INCREF(Py_None); resultobj = Py_None;
27326 return resultobj;
27327 fail:
27328 return NULL;
27329}
27330
27331
27332static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27333 PyObject *resultobj;
27334 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27335 PyObject * obj0 = 0 ;
27336 char *kwnames[] = {
27337 (char *) "self", NULL
27338 };
27339
27340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27342 if (SWIG_arg_fail(1)) SWIG_fail;
27343 {
27344 PyThreadState* __tstate = wxPyBeginAllowThreads();
27345 (arg1)->base_Initialize();
27346
27347 wxPyEndAllowThreads(__tstate);
27348 if (PyErr_Occurred()) SWIG_fail;
27349 }
27350 Py_INCREF(Py_None); resultobj = Py_None;
27351 return resultobj;
27352 fail:
27353 return NULL;
27354}
27355
27356
27357static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27358 PyObject *resultobj;
27359 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27360 PyObject * obj0 = 0 ;
27361 char *kwnames[] = {
27362 (char *) "self", NULL
27363 };
27364
27365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27367 if (SWIG_arg_fail(1)) SWIG_fail;
27368 {
27369 PyThreadState* __tstate = wxPyBeginAllowThreads();
27370 (arg1)->base_CreateCanvas();
27371
27372 wxPyEndAllowThreads(__tstate);
27373 if (PyErr_Occurred()) SWIG_fail;
27374 }
27375 Py_INCREF(Py_None); resultobj = Py_None;
27376 return resultobj;
27377 fail:
27378 return NULL;
27379}
27380
27381
27382static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27383 PyObject *resultobj;
27384 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27385 PyObject * obj0 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "self", NULL
27388 };
27389
27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail;
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
27395 (arg1)->base_CreateControlBar();
27396
27397 wxPyEndAllowThreads(__tstate);
27398 if (PyErr_Occurred()) SWIG_fail;
27399 }
27400 Py_INCREF(Py_None); resultobj = Py_None;
27401 return resultobj;
27402 fail:
27403 return NULL;
27404}
27405
27406
27407static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27408 PyObject *obj;
27409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27410 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27411 Py_INCREF(obj);
27412 return Py_BuildValue((char *)"");
27413}
27414static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27415 PyObject *resultobj;
27416 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27417 long arg2 ;
27418 wxWindow *arg3 = (wxWindow *) 0 ;
27419 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27420 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27421 wxSize const &arg5_defvalue = wxDefaultSize ;
27422 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27423 long arg6 = (long) 0 ;
27424 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27425 wxString *arg7 = (wxString *) &arg7_defvalue ;
27426 wxPyPreviewControlBar *result;
27427 wxPoint temp4 ;
27428 wxSize temp5 ;
27429 bool temp7 = false ;
27430 PyObject * obj0 = 0 ;
27431 PyObject * obj1 = 0 ;
27432 PyObject * obj2 = 0 ;
27433 PyObject * obj3 = 0 ;
27434 PyObject * obj4 = 0 ;
27435 PyObject * obj5 = 0 ;
27436 PyObject * obj6 = 0 ;
27437 char *kwnames[] = {
27438 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27439 };
27440
27441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27443 if (SWIG_arg_fail(1)) SWIG_fail;
27444 {
27445 arg2 = (long)(SWIG_As_long(obj1));
27446 if (SWIG_arg_fail(2)) SWIG_fail;
27447 }
27448 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27449 if (SWIG_arg_fail(3)) SWIG_fail;
27450 if (obj3) {
27451 {
27452 arg4 = &temp4;
27453 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27454 }
27455 }
27456 if (obj4) {
27457 {
27458 arg5 = &temp5;
27459 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27460 }
27461 }
27462 if (obj5) {
27463 {
27464 arg6 = (long)(SWIG_As_long(obj5));
27465 if (SWIG_arg_fail(6)) SWIG_fail;
27466 }
27467 }
27468 if (obj6) {
27469 {
27470 arg7 = wxString_in_helper(obj6);
27471 if (arg7 == NULL) SWIG_fail;
27472 temp7 = true;
27473 }
27474 }
27475 {
27476 if (!wxPyCheckForApp()) SWIG_fail;
27477 PyThreadState* __tstate = wxPyBeginAllowThreads();
27478 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27479
27480 wxPyEndAllowThreads(__tstate);
27481 if (PyErr_Occurred()) SWIG_fail;
27482 }
27483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27484 {
27485 if (temp7)
27486 delete arg7;
27487 }
27488 return resultobj;
27489 fail:
27490 {
27491 if (temp7)
27492 delete arg7;
27493 }
27494 return NULL;
27495}
27496
27497
27498static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27499 PyObject *resultobj;
27500 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27501 PyObject *arg2 = (PyObject *) 0 ;
27502 PyObject *arg3 = (PyObject *) 0 ;
27503 PyObject * obj0 = 0 ;
27504 PyObject * obj1 = 0 ;
27505 PyObject * obj2 = 0 ;
27506 char *kwnames[] = {
27507 (char *) "self",(char *) "self",(char *) "_class", NULL
27508 };
27509
27510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27512 if (SWIG_arg_fail(1)) SWIG_fail;
27513 arg2 = obj1;
27514 arg3 = obj2;
27515 {
27516 PyThreadState* __tstate = wxPyBeginAllowThreads();
27517 (arg1)->_setCallbackInfo(arg2,arg3);
27518
27519 wxPyEndAllowThreads(__tstate);
27520 if (PyErr_Occurred()) SWIG_fail;
27521 }
27522 Py_INCREF(Py_None); resultobj = Py_None;
27523 return resultobj;
27524 fail:
27525 return NULL;
27526}
27527
27528
27529static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27530 PyObject *resultobj;
27531 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27532 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27533 PyObject * obj0 = 0 ;
27534 PyObject * obj1 = 0 ;
27535 char *kwnames[] = {
27536 (char *) "self",(char *) "preview", NULL
27537 };
27538
27539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27541 if (SWIG_arg_fail(1)) SWIG_fail;
27542 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27543 if (SWIG_arg_fail(2)) SWIG_fail;
27544 {
27545 PyThreadState* __tstate = wxPyBeginAllowThreads();
27546 (arg1)->SetPrintPreview(arg2);
27547
27548 wxPyEndAllowThreads(__tstate);
27549 if (PyErr_Occurred()) SWIG_fail;
27550 }
27551 Py_INCREF(Py_None); resultobj = Py_None;
27552 return resultobj;
27553 fail:
27554 return NULL;
27555}
27556
27557
27558static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27559 PyObject *resultobj;
27560 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27561 PyObject * obj0 = 0 ;
27562 char *kwnames[] = {
27563 (char *) "self", NULL
27564 };
27565
27566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27568 if (SWIG_arg_fail(1)) SWIG_fail;
27569 {
27570 PyThreadState* __tstate = wxPyBeginAllowThreads();
27571 (arg1)->base_CreateButtons();
27572
27573 wxPyEndAllowThreads(__tstate);
27574 if (PyErr_Occurred()) SWIG_fail;
27575 }
27576 Py_INCREF(Py_None); resultobj = Py_None;
27577 return resultobj;
27578 fail:
27579 return NULL;
27580}
27581
27582
27583static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27584 PyObject *resultobj;
27585 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27586 int arg2 ;
27587 PyObject * obj0 = 0 ;
27588 PyObject * obj1 = 0 ;
27589 char *kwnames[] = {
27590 (char *) "self",(char *) "zoom", NULL
27591 };
27592
27593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27595 if (SWIG_arg_fail(1)) SWIG_fail;
27596 {
27597 arg2 = (int)(SWIG_As_int(obj1));
27598 if (SWIG_arg_fail(2)) SWIG_fail;
27599 }
27600 {
27601 PyThreadState* __tstate = wxPyBeginAllowThreads();
27602 (arg1)->base_SetZoomControl(arg2);
27603
27604 wxPyEndAllowThreads(__tstate);
27605 if (PyErr_Occurred()) SWIG_fail;
27606 }
27607 Py_INCREF(Py_None); resultobj = Py_None;
27608 return resultobj;
27609 fail:
27610 return NULL;
27611}
27612
27613
27614static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27615 PyObject *obj;
27616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27617 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27618 Py_INCREF(obj);
27619 return Py_BuildValue((char *)"");
27620}
27621static PyMethodDef SwigMethods[] = {
27622 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27630 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27645 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27646 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27653 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27671 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27695 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27708 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27712 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27716 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27721 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27738 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27768 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27775 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27798 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27806 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27818 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27824 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27833 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27839 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27844 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27850 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27854 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27874 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27900 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27908 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27917 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27919 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27928 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27931 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27938 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27956 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27960 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27965 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27969 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27971 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27987 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27990 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27992 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27996 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
28005 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
28014 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
28020 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28032 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28039 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28043 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28068 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28093 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28118 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28119 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28166 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28167 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28200 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28205 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28206 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28239 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28245 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28256 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28275 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28279 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28280 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28281 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28282 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28287 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28289 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28293 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28294 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28295 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28297 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28298 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28299 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28309 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28310 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28314 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28316 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28317 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28318 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28320 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28321 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28322 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28323 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28324 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28325 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28326 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28327 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28328 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28329 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28330 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28331 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28332 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28333 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28334 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28335 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28336 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28337 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28338 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28339 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28340 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28341 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28342 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28343 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28344 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28345 { NULL, NULL, 0, NULL }
28346};
28347
28348
28349/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28350
28351static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28352 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28353}
28354static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28355 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28356}
28357static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28358 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28359}
28360static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28361 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28362}
28363static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28364 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28365}
28366static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28367 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28368}
28369static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28370 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28371}
28372static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28373 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28374}
28375static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28376 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28377}
28378static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28379 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28380}
28381static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28382 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28383}
28384static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28385 return (void *)((wxEvent *) ((wxPyEvent *) x));
28386}
28387static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28388 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28389}
28390static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28391 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28392}
28393static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28394 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28395}
28396static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28397 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28398}
28399static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28400 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28401}
28402static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28403 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28404}
28405static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28406 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28407}
28408static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28409 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28410}
28411static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28412 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28413}
28414static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28415 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28416}
28417static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28418 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28419}
28420static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28421 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28422}
28423static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28424 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28425}
28426static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28427 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28428}
28429static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28430 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28431}
28432static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28433 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28434}
28435static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28436 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28437}
28438static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28439 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28440}
28441static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28442 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28443}
28444static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28445 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28446}
28447static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28448 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28449}
28450static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28451 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28452}
28453static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28454 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28455}
28456static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28457 return (void *)((wxEvent *) ((wxShowEvent *) x));
28458}
28459static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28460 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28461}
28462static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28463 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28464}
28465static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28466 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28467}
28468static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28469 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28470}
28471static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28472 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28473}
28474static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28475 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28476}
28477static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28478 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28479}
28480static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28481 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28482}
28483static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28484 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28485}
28486static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28487 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28488}
28489static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28490 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28491}
28492static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28493 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28494}
28495static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28496 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28497}
28498static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28499 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28500}
28501static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28502 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28503}
28504static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28505 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28506}
28507static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28508 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28509}
28510static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28511 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28512}
28513static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28514 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28515}
28516static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28517 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28518}
28519static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28520 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28521}
28522static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28523 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28524}
28525static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28526 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28527}
28528static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28529 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28530}
28531static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28532 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28533}
28534static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28535 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28536}
28537static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28538 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28539}
28540static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28541 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28542}
28543static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28544 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28545}
28546static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28547 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28548}
28549static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28550 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28551}
28552static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28553 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28554}
28555static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28556 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28557}
28558static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28559 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28560}
28561static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28562 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28563}
28564static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28565 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28566}
28567static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28568 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28569}
28570static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28571 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28572}
28573static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28574 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28575}
28576static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28577 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28578}
28579static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28580 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28581}
28582static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28583 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28584}
28585static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28586 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28587}
28588static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28589 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28590}
28591static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28592 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28593}
28594static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28595 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28596}
28597static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28598 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28599}
28600static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28601 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28602}
28603static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28604 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28605}
28606static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28607 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28608}
28609static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28610 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28611}
28612static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28613 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28614}
28615static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28616 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28617}
28618static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28619 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28620}
28621static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28622 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28623}
28624static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28625 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28626}
28627static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28628 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28629}
28630static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28631 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28632}
28633static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28634 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28635}
28636static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28637 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28638}
28639static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28640 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28641}
28642static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28643 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28644}
28645static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28646 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28647}
28648static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28649 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28650}
28651static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28652 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28653}
28654static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28655 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28656}
28657static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28658 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28659}
28660static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28661 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28662}
28663static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28665}
28666static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28668}
28669static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28670 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28671}
28672static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28673 return (void *)((wxObject *) ((wxSizerItem *) x));
28674}
28675static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28676 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28677}
28678static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28679 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28680}
28681static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28682 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28683}
28684static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28685 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28686}
28687static void *_p_wxSizerTo_p_wxObject(void *x) {
28688 return (void *)((wxObject *) ((wxSizer *) x));
28689}
28690static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28691 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28692}
28693static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28694 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28695}
28696static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28698}
28699static void *_p_wxEventTo_p_wxObject(void *x) {
28700 return (void *)((wxObject *) ((wxEvent *) x));
28701}
28702static void *_p_wxFontDataTo_p_wxObject(void *x) {
28703 return (void *)((wxObject *) ((wxFontData *) x));
28704}
28705static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28706 return (void *)((wxObject *) ((wxPrintData *) x));
28707}
28708static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28709 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28710}
28711static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28712 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28713}
28714static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28715 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28716}
28717static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28718 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28719}
28720static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28721 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28722}
28723static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28724 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28725}
28726static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28727 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28728}
28729static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28730 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28731}
28732static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28733 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28734}
28735static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28736 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28737}
28738static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28739 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28740}
28741static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28742 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28743}
28744static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28746}
28747static void *_p_wxControlTo_p_wxObject(void *x) {
28748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28749}
28750static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28751 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28752}
28753static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28754 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28755}
28756static void *_p_wxFSFileTo_p_wxObject(void *x) {
28757 return (void *)((wxObject *) ((wxFSFile *) x));
28758}
28759static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28760 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28761}
28762static void *_p_wxPySizerTo_p_wxObject(void *x) {
28763 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28764}
28765static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28767}
28768static void *_p_wxColourDataTo_p_wxObject(void *x) {
28769 return (void *)((wxObject *) ((wxColourData *) x));
28770}
28771static void *_p_wxPyEventTo_p_wxObject(void *x) {
28772 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28773}
28774static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28775 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28776}
28777static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28779}
28780static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28782}
28783static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28785}
28786static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28788}
28789static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28791}
28792static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28794}
28795static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28797}
28798static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28800}
28801static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28803}
28804static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28806}
28807static void *_p_wxShowEventTo_p_wxObject(void *x) {
28808 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28809}
28810static void *_p_wxPrinterTo_p_wxObject(void *x) {
28811 return (void *)((wxObject *) ((wxPrinter *) x));
28812}
28813static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28814 return (void *)((wxObject *) ((wxMenuItem *) x));
28815}
28816static void *_p_wxDateEventTo_p_wxObject(void *x) {
28817 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28818}
28819static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28820 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28821}
28822static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28823 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28824}
28825static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28826 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28827}
28828static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28829 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28830}
28831static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28832 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28833}
28834static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28835 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28836}
28837static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28838 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28839}
28840static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28841 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28842}
28843static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28844 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28845}
28846static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28847 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28848}
28849static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28850 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28851}
28852static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28853 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28854}
28855static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28856 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28857}
28858static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28859 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28860}
28861static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28862 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28863}
28864static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28865 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28866}
28867static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28868 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28869}
28870static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28871 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28872}
28873static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28874 return (void *)((wxObject *) ((wxImageHandler *) x));
28875}
28876static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28877 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28878}
28879static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28880 return (void *)((wxObject *) ((wxEvtHandler *) x));
28881}
28882static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28883 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28884}
28885static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28887}
28888static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28890}
28891static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28892 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28893}
28894static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28895 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28896}
28897static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28899}
28900static void *_p_wxImageTo_p_wxObject(void *x) {
28901 return (void *)((wxObject *) ((wxImage *) x));
28902}
28903static void *_p_wxFrameTo_p_wxObject(void *x) {
28904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28905}
28906static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28907 return (void *)((wxObject *) ((wxPyPrintout *) x));
28908}
28909static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28910 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28911}
28912static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28913 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28914}
28915static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28917}
28918static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28920}
28921static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28923}
28924static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28925 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28926}
28927static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28928 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28929}
28930static void *_p_wxWindowTo_p_wxObject(void *x) {
28931 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28932}
28933static void *_p_wxMenuTo_p_wxObject(void *x) {
28934 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28935}
28936static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28938}
28939static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28941}
28942static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28944}
28945static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28947}
28948static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28950}
28951static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28953}
28954static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28956}
28957static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28959}
28960static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28962}
28963static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28965}
28966static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28968}
28969static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28971}
28972static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28974}
28975static void *_p_wxSashEventTo_p_wxObject(void *x) {
28976 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28977}
28978static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28979 return (void *)((wxObject *) ((wxPrintPreview *) x));
28980}
28981static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28982 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28983}
28984static void *_p_wxPanelTo_p_wxObject(void *x) {
28985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28986}
28987static void *_p_wxDialogTo_p_wxObject(void *x) {
28988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28989}
28990static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28992}
28993static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28995}
28996static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28998}
28999static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
29000 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
29001}
29002static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
29003 return (void *)((wxObject *) ((wxPrintDialog *) x));
29004}
29005static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29006 return (void *)((wxObject *) ((wxFileSystem *) x));
29007}
29008static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29009 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29010}
29011static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29012 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29013}
29014static void *_p_wxPyAppTo_p_wxObject(void *x) {
29015 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29016}
29017static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29018 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29019}
29020static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29021 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29022}
29023static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29024 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29025}
29026static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29027 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29028}
29029static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29030 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29031}
29032static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29034}
29035static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29037}
29038static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29039 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29040}
29041static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29042 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29043}
29044static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29045 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29046}
29047static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29049}
29050static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29051 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29052}
29053static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29054 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29055}
29056static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29057 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29058}
29059static void *_p_wxValidatorTo_p_wxObject(void *x) {
29060 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29061}
29062static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29063 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29064}
29065static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29066 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29067}
29068static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29069 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29070}
29071static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29072 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29073}
29074static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29075 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29076}
29077static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29078 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29079}
29080static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29081 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29082}
29083static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29084 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29085}
29086static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29087 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29088}
29089static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29090 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29091}
29092static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29093 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29094}
29095static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29096 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29097}
29098static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29099 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29100}
29101static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29102 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29103}
29104static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29105 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29106}
29107static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29108 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29109}
29110static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29111 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29112}
29113static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29114 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29115}
29116static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29117 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29118}
29119static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29120 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29121}
29122static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29123 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29124}
29125static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29126 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29127}
29128static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29129 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29130}
29131static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29132 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29133}
29134static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29135 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29136}
29137static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29138 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29139}
29140static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29141 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29142}
29143static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29144 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29145}
29146static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29147 return (void *)((wxWindow *) ((wxMenuBar *) x));
29148}
29149static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29150 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29151}
29152static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29153 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29154}
29155static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29156 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29157}
29158static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29159 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29160}
29161static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29162 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29163}
29164static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29165 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29166}
29167static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29168 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29169}
29170static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29171 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29172}
29173static void *_p_wxPanelTo_p_wxWindow(void *x) {
29174 return (void *)((wxWindow *) ((wxPanel *) x));
29175}
29176static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29177 return (void *)((wxWindow *) ((wxStatusBar *) x));
29178}
29179static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29180 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29181}
29182static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29183 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29184}
29185static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29186 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29187}
29188static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29189 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29190}
29191static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29192 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29193}
29194static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29195 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29196}
29197static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29198 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29199}
29200static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29201 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29202}
29203static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29204 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29205}
29206static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29207 return (void *)((wxWindow *) ((wxSashWindow *) x));
29208}
29209static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29210 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29211}
29212static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29213 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29214}
29215static void *_p_wxControlTo_p_wxWindow(void *x) {
29216 return (void *)((wxWindow *) ((wxControl *) x));
29217}
29218static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29219 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29220}
29221static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29222 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29223}
29224static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29225 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29226}
29227static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29228 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29229}
29230static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29231 return (void *)((wxWindow *) ((wxPyWindow *) x));
29232}
29233static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29234 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29235}
29236static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29237 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29238}
29239static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29240 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29241}
29242static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29243 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29244}
29245static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29246 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29247}
29248static void *_p_wxFrameTo_p_wxWindow(void *x) {
29249 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29250}
29251static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29252 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29253}
29254static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29255 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29256}
29257static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29258 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29259}
29260static void *_p_wxDialogTo_p_wxWindow(void *x) {
29261 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29262}
29263static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29264 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29265}
29266static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29267 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29268}
29269static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29270 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29271}
29272static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29273 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29274}
29275static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29276 return (void *)((wxDialog *) ((wxColourDialog *) x));
29277}
29278static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29279 return (void *)((wxDialog *) ((wxDirDialog *) x));
29280}
29281static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29282 return (void *)((wxDialog *) ((wxFontDialog *) x));
29283}
29284static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29285 return (void *)((wxDialog *) ((wxFileDialog *) x));
29286}
29287static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29288 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29289}
29290static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29291 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29292}
29293static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29294 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29295}
29296static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29297 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29298}
29299static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29300 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29301}
29302static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29303 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29304}
29305static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29306 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29307}
29308static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29309 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29310}
29311static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29312 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29313}
29314static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29315 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29316}
29317static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29318 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29319}
29320static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29321 return (void *)((wxPanel *) ((wxPyPanel *) x));
29322}
29323static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29324 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29325}
29326static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29327 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29328}
29329static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29330 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29331}
29332static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29333 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29334}
29335static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29336 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29337}
29338static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29339 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29340}
29341static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29342 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29343}
29344static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29345 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29346}
29347static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29348 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29349}
29350static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29351 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29352}
29353static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29354 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29355}
29356static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29357 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29358}
29359static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29360 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29361}
29362static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29363 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29364}
29365static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29366 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29367}
29368static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29369 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29370}
29371static 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}};
29372static 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}};
29373static 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}};
29374static 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}};
29375static 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}};
29376static 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}};
29377static 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}};
29378static 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}};
29379static 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}};
29380static 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}};
29381static 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}};
29382static 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}};
29383static 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}};
29384static 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}};
29385static 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}};
29386static 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}};
29387static 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}};
29388static 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}};
29389static 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}};
29390static 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}};
29391static 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}};
29392static 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}};
29393static 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}};
29394static 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}};
29395static 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}};
29396static 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}};
29397static 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}};
29398static 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}};
29399static 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}};
29400static 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}};
29401static 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}};
29402static 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}};
29403static 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}};
29404static 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}};
29405static 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}};
29406static 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}};
29407static 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}};
29408static 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}};
29409static 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}};
29410static 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}};
29411static 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}};
29412static 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}};
29413static 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}};
29414static 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}};
29415static 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}};
29416static 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}};
29417static 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}};
29418static 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}};
29419static 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}};
29420static 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}};
29421static 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}};
29422static 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}};
29423static 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}};
29424static 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}};
29425static 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}};
29426static 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}};
29427static 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}};
29428static 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}};
29429static 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}};
29430static 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}};
29431static 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}};
29432static 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}};
29433static 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}};
29434static 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}};
29435static 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}};
29436static 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}};
29437static 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}};
29438static 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}};
29439static 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}};
29440static 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}};
29441static 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}};
29442static 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}};
29443static 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}};
29444static 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}};
29445static 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}};
29446static 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}};
29447static 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}};
29448static 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}};
29449static 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}};
29450static 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}};
29451static 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}};
29452static 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}};
29453static 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}};
29454static 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}};
29455static 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}};
29456static 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}};
29457static 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}};
29458static 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}};
29459static 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}};
29460static 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}};
29461static 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}};
29462static 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}};
29463static 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}};
29464static 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}};
29465static 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}};
29466static 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}};
29467static 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}};
29468
29469static swig_type_info *swig_types_initial[] = {
29470_swigt__p_wxQueryLayoutInfoEvent,
29471_swigt__p_wxPreviewFrame,
29472_swigt__p_wxPyPreviewFrame,
29473_swigt__p_wxPyPanel,
29474_swigt__p_wxMenu,
29475_swigt__p_wxFontData,
29476_swigt__p_wxEvent,
29477_swigt__p_wxPrintData,
29478_swigt__p_wxTaskBarIcon,
29479_swigt__p_wxPyTaskBarIcon,
29480_swigt__p_wxIconBundle,
29481_swigt__p_wxLayoutAlgorithm,
29482_swigt__p_wxFindDialogEvent,
29483_swigt__p_wxPreviewCanvas,
29484_swigt__p_wxFont,
29485_swigt__p_wxSplitterEvent,
29486_swigt__p_wxRegion,
29487_swigt__ptrdiff_t,
29488_swigt__std__ptrdiff_t,
29489_swigt__p_wxFindReplaceData,
29490_swigt__p_int,
29491_swigt__p_wxSize,
29492_swigt__p_wxDC,
29493_swigt__p_wxIcon,
29494_swigt__p_wxVisualAttributes,
29495_swigt__p_wxMDIChildFrame,
29496_swigt__p_wxColourData,
29497_swigt__p_wxNotifyEvent,
29498_swigt__p_wxPyWindow,
29499_swigt__p_form_ops_t,
29500_swigt__p_wxSplashScreen,
29501_swigt__p_wxPasswordEntryDialog,
29502_swigt__p_wxSingleChoiceDialog,
29503_swigt__p_wxMultiChoiceDialog,
29504_swigt__p_wxFileDialog,
29505_swigt__p_wxTextEntryDialog,
29506_swigt__p_wxMessageDialog,
29507_swigt__p_wxProgressDialog,
29508_swigt__p_wxFindReplaceDialog,
29509_swigt__p_wxPrinter,
29510_swigt__p_wxArrayInt,
29511_swigt__p_wxDuplexMode,
29512_swigt__p_wxEvtHandler,
29513_swigt__p_wxCalculateLayoutEvent,
29514_swigt__p_wxPyHtmlListBox,
29515_swigt__p_wxPyVListBox,
29516_swigt__p_wxRect,
29517_swigt__p_wxStdDialogButtonSizer,
29518_swigt__p_char,
29519_swigt__p_wxMiniFrame,
29520_swigt__p_wxFrame,
29521_swigt__p_wxPyPrintout,
29522_swigt__p_wxTaskBarIconEvent,
29523_swigt__p_wxScrollWinEvent,
29524_swigt__p_wxPaperSize,
29525_swigt__p_wxStatusBar,
29526_swigt__p_wxMDIParentFrame,
29527_swigt__p_wxPoint,
29528_swigt__p_wxObject,
29529_swigt__p_unsigned_long,
29530_swigt__p_wxTipWindow,
29531_swigt__p_wxSashLayoutWindow,
29532_swigt__p_wxSplitterWindow,
29533_swigt__p_wxSplashScreenWindow,
29534_swigt__p_wxPyVScrolledWindow,
29535_swigt__p_wxPyPopupTransientWindow,
29536_swigt__p_wxPopupWindow,
29537_swigt__p_wxSashWindow,
29538_swigt__p_wxTopLevelWindow,
29539_swigt__p_wxWindow,
29540_swigt__p_wxScrolledWindow,
29541_swigt__p_wxMenuBar,
29542_swigt__p_wxMDIClientWindow,
29543_swigt__p_wxPyScrolledWindow,
29544_swigt__p_wxPrintPreview,
29545_swigt__p_wxSashEvent,
29546_swigt__p_wxString,
29547_swigt__p_wxPyPrintPreview,
29548_swigt__p_wxDirDialog,
29549_swigt__p_wxColourDialog,
29550_swigt__p_wxDialog,
29551_swigt__p_wxPanel,
29552_swigt__p_wxFontDialog,
29553_swigt__p_wxPageSetupDialog,
29554_swigt__p_wxPrintDialog,
29555_swigt__p_wxFileSystem,
29556_swigt__p_wxBitmap,
29557_swigt__unsigned_int,
29558_swigt__p_unsigned_int,
29559_swigt__p_unsigned_char,
29560_swigt__p_wxCommandEvent,
29561_swigt__p_wxPreviewControlBar,
29562_swigt__p_wxPyPreviewControlBar,
29563_swigt__p_wxColour,
29564_swigt__p_wxToolBar,
29565_swigt__p_wxPageSetupDialogData,
29566_swigt__p_wxPrintDialogData,
295670
29568};
29569
29570
29571/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29572
29573static swig_const_info swig_const_table[] = {
29574{0, 0, 0, 0.0, 0, 0}};
29575
29576#ifdef __cplusplus
29577}
29578#endif
29579
29580
29581#ifdef __cplusplus
29582extern "C" {
29583#endif
29584
29585 /* Python-specific SWIG API */
29586#define SWIG_newvarlink() SWIG_Python_newvarlink()
29587#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29588#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29589
29590 /* -----------------------------------------------------------------------------
29591 * global variable support code.
29592 * ----------------------------------------------------------------------------- */
29593
29594 typedef struct swig_globalvar {
29595 char *name; /* Name of global variable */
29596 PyObject *(*get_attr)(); /* Return the current value */
29597 int (*set_attr)(PyObject *); /* Set the value */
29598 struct swig_globalvar *next;
29599 } swig_globalvar;
29600
29601 typedef struct swig_varlinkobject {
29602 PyObject_HEAD
29603 swig_globalvar *vars;
29604 } swig_varlinkobject;
29605
29606 static PyObject *
29607 swig_varlink_repr(swig_varlinkobject *v) {
29608 v = v;
29609 return PyString_FromString("<Swig global variables>");
29610 }
29611
29612 static int
29613 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29614 swig_globalvar *var;
29615 flags = flags;
29616 fprintf(fp,"Swig global variables { ");
29617 for (var = v->vars; var; var=var->next) {
29618 fprintf(fp,"%s", var->name);
29619 if (var->next) fprintf(fp,", ");
29620 }
29621 fprintf(fp," }\n");
29622 return 0;
29623 }
29624
29625 static PyObject *
29626 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29627 swig_globalvar *var = v->vars;
29628 while (var) {
29629 if (strcmp(var->name,n) == 0) {
29630 return (*var->get_attr)();
29631 }
29632 var = var->next;
29633 }
29634 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29635 return NULL;
29636 }
29637
29638 static int
29639 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29640 swig_globalvar *var = v->vars;
29641 while (var) {
29642 if (strcmp(var->name,n) == 0) {
29643 return (*var->set_attr)(p);
29644 }
29645 var = var->next;
29646 }
29647 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29648 return 1;
29649 }
29650
29651 static PyTypeObject varlinktype = {
29652 PyObject_HEAD_INIT(0)
29653 0, /* Number of items in variable part (ob_size) */
29654 (char *)"swigvarlink", /* Type name (tp_name) */
29655 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29656 0, /* Itemsize (tp_itemsize) */
29657 0, /* Deallocator (tp_dealloc) */
29658 (printfunc) swig_varlink_print, /* Print (tp_print) */
29659 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29660 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29661 0, /* tp_compare */
29662 (reprfunc) swig_varlink_repr, /* tp_repr */
29663 0, /* tp_as_number */
29664 0, /* tp_as_sequence */
29665 0, /* tp_as_mapping */
29666 0, /* tp_hash */
29667 0, /* tp_call */
29668 0, /* tp_str */
29669 0, /* tp_getattro */
29670 0, /* tp_setattro */
29671 0, /* tp_as_buffer */
29672 0, /* tp_flags */
29673 0, /* tp_doc */
29674#if PY_VERSION_HEX >= 0x02000000
29675 0, /* tp_traverse */
29676 0, /* tp_clear */
29677#endif
29678#if PY_VERSION_HEX >= 0x02010000
29679 0, /* tp_richcompare */
29680 0, /* tp_weaklistoffset */
29681#endif
29682#if PY_VERSION_HEX >= 0x02020000
29683 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29684#endif
29685#if PY_VERSION_HEX >= 0x02030000
29686 0, /* tp_del */
29687#endif
29688#ifdef COUNT_ALLOCS
29689 0,0,0,0 /* tp_alloc -> tp_next */
29690#endif
29691 };
29692
29693 /* Create a variable linking object for use later */
29694 static PyObject *
29695 SWIG_Python_newvarlink(void) {
29696 swig_varlinkobject *result = 0;
29697 result = PyMem_NEW(swig_varlinkobject,1);
29698 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29699 result->ob_type = &varlinktype;
29700 result->vars = 0;
29701 result->ob_refcnt = 0;
29702 Py_XINCREF((PyObject *) result);
29703 return ((PyObject*) result);
29704 }
29705
29706 static void
29707 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29708 swig_varlinkobject *v;
29709 swig_globalvar *gv;
29710 v= (swig_varlinkobject *) p;
29711 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29712 gv->name = (char *) malloc(strlen(name)+1);
29713 strcpy(gv->name,name);
29714 gv->get_attr = get_attr;
29715 gv->set_attr = set_attr;
29716 gv->next = v->vars;
29717 v->vars = gv;
29718 }
29719
29720 /* -----------------------------------------------------------------------------
29721 * constants/methods manipulation
29722 * ----------------------------------------------------------------------------- */
29723
29724 /* Install Constants */
29725 static void
29726 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29727 PyObject *obj = 0;
29728 size_t i;
29729 for (i = 0; constants[i].type; i++) {
29730 switch(constants[i].type) {
29731 case SWIG_PY_INT:
29732 obj = PyInt_FromLong(constants[i].lvalue);
29733 break;
29734 case SWIG_PY_FLOAT:
29735 obj = PyFloat_FromDouble(constants[i].dvalue);
29736 break;
29737 case SWIG_PY_STRING:
29738 if (constants[i].pvalue) {
29739 obj = PyString_FromString((char *) constants[i].pvalue);
29740 } else {
29741 Py_INCREF(Py_None);
29742 obj = Py_None;
29743 }
29744 break;
29745 case SWIG_PY_POINTER:
29746 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29747 break;
29748 case SWIG_PY_BINARY:
29749 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29750 break;
29751 default:
29752 obj = 0;
29753 break;
29754 }
29755 if (obj) {
29756 PyDict_SetItemString(d,constants[i].name,obj);
29757 Py_DECREF(obj);
29758 }
29759 }
29760 }
29761
29762 /* -----------------------------------------------------------------------------*/
29763 /* Fix SwigMethods to carry the callback ptrs when needed */
29764 /* -----------------------------------------------------------------------------*/
29765
29766 static void
29767 SWIG_Python_FixMethods(PyMethodDef *methods,
29768 swig_const_info *const_table,
29769 swig_type_info **types,
29770 swig_type_info **types_initial) {
29771 size_t i;
29772 for (i = 0; methods[i].ml_name; ++i) {
29773 char *c = methods[i].ml_doc;
29774 if (c && (c = strstr(c, "swig_ptr: "))) {
29775 int j;
29776 swig_const_info *ci = 0;
29777 char *name = c + 10;
29778 for (j = 0; const_table[j].type; j++) {
29779 if (strncmp(const_table[j].name, name,
29780 strlen(const_table[j].name)) == 0) {
29781 ci = &(const_table[j]);
29782 break;
29783 }
29784 }
29785 if (ci) {
29786 size_t shift = (ci->ptype) - types;
29787 swig_type_info *ty = types_initial[shift];
29788 size_t ldoc = (c - methods[i].ml_doc);
29789 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29790 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29791 char *buff = ndoc;
29792 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29793 strncpy(buff, methods[i].ml_doc, ldoc);
29794 buff += ldoc;
29795 strncpy(buff, "swig_ptr: ", 10);
29796 buff += 10;
29797 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29798 methods[i].ml_doc = ndoc;
29799 }
29800 }
29801 }
29802 }
29803
29804 /* -----------------------------------------------------------------------------*
29805 * Initialize type list
29806 * -----------------------------------------------------------------------------*/
29807
29808#if PY_MAJOR_VERSION < 2
29809 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29810 is copied out of Python/modsupport.c in python version 2.3.4 */
29811 static int
29812 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29813 {
29814 PyObject *dict;
29815 if (!PyModule_Check(m)) {
29816 PyErr_SetString(PyExc_TypeError,
29817 "PyModule_AddObject() needs module as first arg");
29818 return -1;
29819 }
29820 if (!o) {
29821 PyErr_SetString(PyExc_TypeError,
29822 "PyModule_AddObject() needs non-NULL value");
29823 return -1;
29824 }
29825
29826 dict = PyModule_GetDict(m);
29827 if (dict == NULL) {
29828 /* Internal error -- modules must have a dict! */
29829 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29830 PyModule_GetName(m));
29831 return -1;
29832 }
29833 if (PyDict_SetItemString(dict, name, o))
29834 return -1;
29835 Py_DECREF(o);
29836 return 0;
29837 }
29838#endif
29839
29840 static swig_type_info **
29841 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29842 static PyMethodDef swig_empty_runtime_method_table[] = {
29843 {
29844 NULL, NULL, 0, NULL
29845 }
29846 };/* Sentinel */
29847
29848 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29849 swig_empty_runtime_method_table);
29850 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29851 if (pointer && module) {
29852 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29853 }
29854 return type_list_handle;
29855 }
29856
29857 static swig_type_info **
29858 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29859 swig_type_info **type_pointer;
29860
29861 /* first check if module already created */
29862 type_pointer = SWIG_Python_GetTypeListHandle();
29863 if (type_pointer) {
29864 return type_pointer;
29865 } else {
29866 /* create a new module and variable */
29867 return SWIG_Python_SetTypeListHandle(type_list_handle);
29868 }
29869 }
29870
29871#ifdef __cplusplus
29872}
29873#endif
29874
29875/* -----------------------------------------------------------------------------*
29876 * Partial Init method
29877 * -----------------------------------------------------------------------------*/
29878
29879#ifdef SWIG_LINK_RUNTIME
29880#ifdef __cplusplus
29881extern "C"
29882#endif
29883SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29884#endif
29885
29886#ifdef __cplusplus
29887extern "C"
29888#endif
29889SWIGEXPORT(void) SWIG_init(void) {
29890 static PyObject *SWIG_globals = 0;
29891 static int typeinit = 0;
29892 PyObject *m, *d;
29893 int i;
29894 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29895
29896 /* Fix SwigMethods to carry the callback ptrs when needed */
29897 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29898
29899 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29900 d = PyModule_GetDict(m);
29901
29902 if (!typeinit) {
29903#ifdef SWIG_LINK_RUNTIME
29904 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29905#else
29906# ifndef SWIG_STATIC_RUNTIME
29907 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29908# endif
29909#endif
29910 for (i = 0; swig_types_initial[i]; i++) {
29911 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29912 }
29913 typeinit = 1;
29914 }
29915 SWIG_InstallConstants(d,swig_const_table);
29916
29917 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29918 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29919 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29920 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29921 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29922 {
29923 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29924 }
29925 {
29926 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29927 }
29928 {
29929 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29930 }
29931 {
29932 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29933 }
29934 {
29935 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29936 }
29937 {
29938 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29939 }
29940 {
29941 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29942 }
29943 {
29944 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29945 }
29946 {
29947 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29948 }
29949 {
29950 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29951 }
29952 {
29953 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29954 }
29955 {
29956 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29957 }
29958 {
29959 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29960 }
29961 {
29962 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29963 }
29964 {
29965 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29966 }
29967 {
29968 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29969 }
29970 {
29971 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29972 }
29973 {
29974 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29975 }
29976 {
29977 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29978 }
29979 {
29980 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29981 }
29982 {
29983 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29984 }
29985 {
29986 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29987 }
29988 {
29989 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL)));
29990 }
29991 {
29992 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL)));
29993 }
29994 {
29995 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29996 }
29997 {
29998 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
29999 }
30000 {
30001 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
30002 }
30003 {
30004 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
30005 }
30006 {
30007 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
30008 }
30009 {
30010 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
30011 }
30012 {
30013 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
30014 }
30015 {
30016 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
30017 }
30018 {
30019 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
30020 }
30021 {
30022 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
30023 }
30024 {
30025 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
30026 }
30027 {
30028 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
30029 }
30030 {
30031 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
30032 }
30033 {
30034 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
30035 }
30036 {
30037 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
30038 }
30039 {
30040 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
30041 }
30042 {
30043 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
30044 }
30045 {
30046 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
30047 }
30048 {
30049 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
30050 }
30051 {
30052 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
30053 }
30054 {
30055 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
30056 }
30057 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
30058 {
30059 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
30060 }
30061 {
30062 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
30063 }
30064 {
30065 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
30066 }
30067 {
30068 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
30069 }
30070 {
30071 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30072 }
30073 {
30074 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30075 }
30076 {
30077 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30078 }
30079 {
30080 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30081 }
30082 {
30083 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30084 }
30085 {
30086 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30087 }
30088 {
30089 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30090 }
30091 {
30092 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30093 }
30094 {
30095 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30096 }
30097 {
30098 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30099 }
30100 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30101 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30102 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30103 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30104 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30105 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30106 {
30107 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30108 }
30109 {
30110 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30111 }
30112 {
30113 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30114 }
30115 {
30116 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30117 }
30118 {
30119 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30120 }
30121 {
30122 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30123 }
30124 {
30125 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30126 }
30127 {
30128 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30129 }
30130 {
30131 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30132 }
30133 {
30134 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30135 }
30136 {
30137 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30138 }
30139 {
30140 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30141 }
30142 {
30143 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30144 }
30145 {
30146 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30147 }
30148 {
30149 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30150 }
30151 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30152 {
30153 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30154 }
30155 {
30156 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30157 }
30158 {
30159 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30160 }
30161 {
30162 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30163 }
30164 {
30165 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30166 }
30167 {
30168 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30169 }
30170 {
30171 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30172 }
30173 {
30174 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30175 }
30176 {
30177 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30178 }
30179 {
30180 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30181 }
30182 {
30183 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30184 }
30185 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30186 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30187 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30188
30189 // Map renamed classes back to their common name for OOR
30190 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30191 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30192 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30193
30194 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30195 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30196 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30197 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30198 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30199 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30200 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30201 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30202 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30203 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30204 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30205 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30206 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30207 {
30208 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30209 }
30210 {
30211 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30212 }
30213 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30214 {
30215 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30216 }
30217 {
30218 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30219 }
30220 {
30221 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30222 }
30223 {
30224 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30225 }
30226 {
30227 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30228 }
30229 {
30230 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30231 }
30232 {
30233 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30234 }
30235 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30236 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30237 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30238 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30239 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30240 {
30241 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30242 }
30243 {
30244 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30245 }
30246 {
30247 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30248 }
30249 {
30250 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30251 }
30252 {
30253 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30254 }
30255 {
30256 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30257 }
30258 {
30259 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30260 }
30261 {
30262 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30263 }
30264 {
30265 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30266 }
30267 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30268 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30269 {
30270 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30271 }
30272 {
30273 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30274 }
30275 {
30276 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30277 }
30278 {
30279 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30280 }
30281 {
30282 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30283 }
30284 {
30285 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30286 }
30287 {
30288 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30289 }
30290 {
30291 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30292 }
30293 {
30294 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30295 }
30296 {
30297 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30298 }
30299 {
30300 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30301 }
30302 {
30303 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30304 }
30305 {
30306 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30307 }
30308 {
30309 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30310 }
30311 {
30312 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30313 }
30314 {
30315 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30316 }
30317 {
30318 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30319 }
30320 {
30321 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30322 }
30323 {
30324 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30325 }
30326 {
30327 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30328 }
30329 {
30330 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30331 }
30332 {
30333 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30334 }
30335 {
30336 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30337 }
30338 {
30339 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30340 }
30341 {
30342 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30343 }
30344 {
30345 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30346 }
30347 {
30348 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30349 }
30350 {
30351 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30352 }
30353 {
30354 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30355 }
30356 {
30357 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30358 }
30359 {
30360 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30361 }
30362 {
30363 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30364 }
30365 {
30366 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30367 }
30368 {
30369 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30370 }
30371 {
30372 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30373 }
30374 {
30375 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30376 }
30377 {
30378 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30379 }
30380 {
30381 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30382 }
30383 {
30384 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30385 }
30386
30387 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30388
30389}
30390