]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_core_wrap.cpp
Added --with-gnomeprint to configure command
[wxWidgets.git] / wxPython / src / msw / _core_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 3 * Version 1.3.24
d55e5bfc
RD
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
d55e5bfc
RD
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);
093d3ff1 26};
d55e5bfc
RD
27#endif
28
29
093d3ff1
RD
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
d55e5bfc 37
d55e5bfc 38
093d3ff1 39#include <Python.h>
d55e5bfc
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d55e5bfc 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d55e5bfc
RD
46 *
47 ************************************************************************/
48
093d3ff1
RD
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"
d55e5bfc 52
093d3ff1
RD
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)
d55e5bfc 58#else
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d55e5bfc
RD
60#endif
61
093d3ff1
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d55e5bfc 67#else
093d3ff1
RD
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
d55e5bfc
RD
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
093d3ff1
RD
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}
d55e5bfc 218
093d3ff1
RD
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}
d55e5bfc 283
093d3ff1
RD
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}
d55e5bfc
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
093d3ff1 436 * common.swg
d55e5bfc 437 *
093d3ff1
RD
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.
d55e5bfc 441 *
093d3ff1
RD
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.
d55e5bfc
RD
448 ************************************************************************/
449
093d3ff1
RD
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
d55e5bfc
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
514
093d3ff1
RD
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 */
d55e5bfc
RD
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
d55e5bfc
RD
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
093d3ff1
RD
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
d55e5bfc 592/* Common SWIG API */
093d3ff1
RD
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)
d55e5bfc 596
d55e5bfc 597
093d3ff1
RD
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)
d55e5bfc 601
d55e5bfc 602
093d3ff1
RD
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
d55e5bfc 614
093d3ff1
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 618
d55e5bfc
RD
619
620#ifdef __cplusplus
093d3ff1
RD
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 }
d55e5bfc 892}
093d3ff1
RD
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 */
d55e5bfc 941#endif
093d3ff1
RD
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 };
d55e5bfc 949
093d3ff1
RD
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 }
66af7a75
RD
1040 if (str)
1041 Py_DECREF(str);
093d3ff1
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049}
1050
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
1053{
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059}
1060
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
1085
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
1088{
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097}
1098
1099
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137#else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155#endif
1156
1157type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195}
1196
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209}
1210
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
1277
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293#endif
1294 return robj;
1295}
1296
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
1304
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
1323
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
1332
1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335#ifdef __cplusplus
1336}
1337#endif
d55e5bfc 1338
c32bde28 1339
d55e5bfc
RD
1340/* -------- TYPES TABLE (BEGIN) -------- */
1341
1342#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343#define SWIGTYPE_p_wxRealPoint swig_types[1]
1344#define SWIGTYPE_p_wxSizerItem swig_types[2]
1345#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346#define SWIGTYPE_p_wxScrollEvent swig_types[4]
ae8162c8
RD
1347#define SWIGTYPE_p_wxEventLoop swig_types[5]
1348#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349#define SWIGTYPE_p_wxSizer swig_types[7]
1350#define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351#define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352#define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353#define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354#define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
093d3ff1 1355#define SWIGTYPE_p_wxEvent swig_types[13]
ea939623
RD
1356#define SWIGTYPE_p_buffer swig_types[14]
1357#define SWIGTYPE_p_wxMenu swig_types[15]
1358#define SWIGTYPE_p_wxGridSizer swig_types[16]
1359#define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360#define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361#define SWIGTYPE_p_wxItemContainer swig_types[19]
1362#define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1363#define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368#define SWIGTYPE_p_wxControl swig_types[26]
1369#define SWIGTYPE_p_wxFont swig_types[27]
1370#define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371#define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372#define SWIGTYPE_p_wxFSFile swig_types[30]
1373#define SWIGTYPE_p_wxCaret swig_types[31]
1374#define SWIGTYPE_ptrdiff_t swig_types[32]
1375#define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376#define SWIGTYPE_p_wxRegion swig_types[34]
1377#define SWIGTYPE_p_wxPoint2D swig_types[35]
1378#define SWIGTYPE_p_int swig_types[36]
1379#define SWIGTYPE_p_wxSize swig_types[37]
1380#define SWIGTYPE_p_wxDC swig_types[38]
1381#define SWIGTYPE_p_wxPySizer swig_types[39]
1382#define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1383#define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1384#define SWIGTYPE_p_wxPyEvent swig_types[42]
1385#define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1386#define SWIGTYPE_p_form_ops_t swig_types[44]
1387#define SWIGTYPE_p_wxAppTraits swig_types[45]
1388#define SWIGTYPE_p_wxArrayString swig_types[46]
1389#define SWIGTYPE_p_wxShowEvent swig_types[47]
1390#define SWIGTYPE_p_wxToolTip swig_types[48]
1391#define SWIGTYPE_p_wxMoveEvent swig_types[49]
1392#define SWIGTYPE_p_wxSizeEvent swig_types[50]
1393#define SWIGTYPE_p_wxActivateEvent swig_types[51]
1394#define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1395#define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1396#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1397#define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1398#define SWIGTYPE_p_wxIdleEvent swig_types[56]
1399#define SWIGTYPE_p_wxDateEvent swig_types[57]
1400#define SWIGTYPE_p_wxMenuItem swig_types[58]
1401#define SWIGTYPE_p_wxStaticBox swig_types[59]
1402#define SWIGTYPE_p_long swig_types[60]
1403#define SWIGTYPE_p_wxDuplexMode swig_types[61]
1404#define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1405#define SWIGTYPE_p_wxXPMHandler swig_types[63]
1406#define SWIGTYPE_p_wxPNMHandler swig_types[64]
1407#define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1408#define SWIGTYPE_p_wxPCXHandler swig_types[66]
1409#define SWIGTYPE_p_wxGIFHandler swig_types[67]
1410#define SWIGTYPE_p_wxPNGHandler swig_types[68]
1411#define SWIGTYPE_p_wxANIHandler swig_types[69]
1412#define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1413#define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1414#define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1415#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1416#define SWIGTYPE_p_wxEvtHandler swig_types[74]
1417#define SWIGTYPE_p_wxCURHandler swig_types[75]
1418#define SWIGTYPE_p_wxICOHandler swig_types[76]
1419#define SWIGTYPE_p_wxBMPHandler swig_types[77]
1420#define SWIGTYPE_p_wxImageHandler swig_types[78]
1421#define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1422#define SWIGTYPE_p_wxRect swig_types[80]
1423#define SWIGTYPE_p_wxButton swig_types[81]
1424#define SWIGTYPE_p_wxGBSpan swig_types[82]
1425#define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1426#define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1427#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1428#define SWIGTYPE_p_char swig_types[86]
1429#define SWIGTYPE_p_wxGBPosition swig_types[87]
1430#define SWIGTYPE_p_wxImage swig_types[88]
1431#define SWIGTYPE_p_wxFrame swig_types[89]
1432#define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1433#define SWIGTYPE_p_wxPaperSize swig_types[91]
1434#define SWIGTYPE_p_wxImageHistogram swig_types[92]
1435#define SWIGTYPE_p_wxPoint swig_types[93]
1436#define SWIGTYPE_p_wxCursor swig_types[94]
1437#define SWIGTYPE_p_wxObject swig_types[95]
1438#define SWIGTYPE_p_wxInputStream swig_types[96]
1439#define SWIGTYPE_p_wxOutputStream swig_types[97]
1440#define SWIGTYPE_p_wxPyInputStream swig_types[98]
1441#define SWIGTYPE_p_wxDateTime swig_types[99]
1442#define SWIGTYPE_p_wxKeyEvent swig_types[100]
1443#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1444#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1445#define SWIGTYPE_p_unsigned_long swig_types[103]
1446#define SWIGTYPE_p_wxWindow swig_types[104]
1447#define SWIGTYPE_p_wxMenuBar swig_types[105]
1448#define SWIGTYPE_p_wxFileSystem swig_types[106]
1449#define SWIGTYPE_p_wxBitmap swig_types[107]
1450#define SWIGTYPE_unsigned_int swig_types[108]
1451#define SWIGTYPE_p_unsigned_int swig_types[109]
1452#define SWIGTYPE_p_wxMenuEvent swig_types[110]
1453#define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1454#define SWIGTYPE_p_unsigned_char swig_types[112]
1455#define SWIGTYPE_p_wxEraseEvent swig_types[113]
1456#define SWIGTYPE_p_wxMouseEvent swig_types[114]
1457#define SWIGTYPE_p_wxCloseEvent swig_types[115]
1458#define SWIGTYPE_p_wxPyApp swig_types[116]
1459#define SWIGTYPE_p_wxCommandEvent swig_types[117]
1460#define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1461#define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1462#define SWIGTYPE_p_wxQuantize swig_types[120]
53aa7709 1463#define SWIGTYPE_p_wxFocusEvent swig_types[121]
ea939623
RD
1464#define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1465#define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1466#define SWIGTYPE_p_wxControlWithItems swig_types[124]
1467#define SWIGTYPE_p_wxColour swig_types[125]
1468#define SWIGTYPE_p_wxValidator swig_types[126]
1469#define SWIGTYPE_p_wxPyValidator swig_types[127]
1470static swig_type_info *swig_types[129];
d55e5bfc
RD
1471
1472/* -------- TYPES TABLE (END) -------- */
1473
1474
1475/*-----------------------------------------------
1476 @(target):= _core_.so
1477 ------------------------------------------------*/
1478#define SWIG_init init_core_
1479
1480#define SWIG_name "_core_"
1481
d55e5bfc
RD
1482#include "wx/wxPython/wxPython_int.h"
1483#include "wx/wxPython/pyclasses.h"
1484
1485
1486#ifndef wxPyUSE_EXPORT
1487// Helper functions for dealing with SWIG objects and such. These are
1488// located here so they know about the SWIG types and functions declared
1489// in the wrapper code.
1490
1491#include <wx/hashmap.h>
1492WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
1493
1494
1495// Maintains a hashmap of className to swig_type_info pointers. Given the
1496// name of a class either looks up the type info in the cache, or scans the
1497// SWIG tables for it.
1498extern PyObject* wxPyPtrTypeMap;
1499static
1500swig_type_info* wxPyFindSwigType(const wxChar* className) {
1501
1502 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
1503
1504 if (typeInfoCache == NULL)
1505 typeInfoCache = new wxPyTypeInfoHashMap;
1506
1507 wxString name(className);
1508 swig_type_info* swigType = (*typeInfoCache)[name];
1509
1510 if (! swigType) {
1511 // it wasn't in the cache, so look it up from SWIG
1512 name.Append(wxT(" *"));
093d3ff1 1513 swigType = SWIG_TypeQuery(name.mb_str());
d55e5bfc
RD
1514
1515 // if it still wasn't found, try looking for a mapped name
1516 if (!swigType) {
1517 PyObject* item;
1518 name = className;
1519
1520 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
1521 (char*)(const char*)name.mbc_str())) != NULL) {
1522 name = wxString(PyString_AsString(item), *wxConvCurrent);
1523 name.Append(wxT(" *"));
093d3ff1 1524 swigType = SWIG_TypeQuery(name.mb_str());
d55e5bfc
RD
1525 }
1526 }
1527 if (swigType) {
1528 // and add it to the map if found
1529 (*typeInfoCache)[className] = swigType;
1530 }
1531 }
1532 return swigType;
1533}
1534
1535
1536// Check if a class name is a type known to SWIG
1537bool wxPyCheckSwigType(const wxChar* className) {
1538
1539 swig_type_info* swigType = wxPyFindSwigType(className);
1540 return swigType != NULL;
1541}
1542
1543
1544// Given a pointer to a C++ object and a class name, construct a Python proxy
1545// object for it.
1546PyObject* wxPyConstructObject(void* ptr,
1547 const wxChar* className,
1548 int setThisOwn) {
1549
1550 swig_type_info* swigType = wxPyFindSwigType(className);
1551 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
1552
1553 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
1554}
1555
1556
1557// Extract a pointer to the wrapped C++ object from a Python proxy object.
1558// Ensures that the proxy object is of the specified (or derived) type. If
1559// not able to perform the conversion then a Python exception is set and the
1560// error should be handled properly in the caller. Returns True on success.
1561bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
1562 const wxChar* className) {
1563
1564 swig_type_info* swigType = wxPyFindSwigType(className);
ae8162c8 1565 wxCHECK_MSG(swigType != NULL, false, wxT("Unknown type in wxPyConvertSwigPtr"));
d55e5bfc
RD
1566
1567 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
1568}
1569
1570
1571// Make a SWIGified pointer object suitable for a .this attribute
1572PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
1573
1574 PyObject* robj = NULL;
1575
1576 swig_type_info* swigType = wxPyFindSwigType(className);
1577 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
1578
1579#ifdef SWIG_COBJECT_TYPES
093d3ff1 1580 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)swigType->name);
d55e5bfc
RD
1581#else
1582 {
1583 char result[1024];
093d3ff1
RD
1584 robj = SWIG_PackVoidPtr(result, ptr, swigType->name, sizeof(result)) ?
1585 PyString_FromString(result) : 0;
1586 }
d55e5bfc
RD
1587#endif
1588
1589 return robj;
1590}
1591
1592
1593
1594
1595// Export a C API in a struct. Other modules will be able to load this from
1596// the wx._core_ module and will then have safe access to these functions,
1597// even if they are located in another shared library.
1598static wxPyCoreAPI API = {
1599
d55e5bfc
RD
1600 wxPyCheckSwigType,
1601 wxPyConstructObject,
1602 wxPyConvertSwigPtr,
1603 wxPyMakeSwigPtr,
1604
1605 wxPyBeginAllowThreads,
1606 wxPyEndAllowThreads,
1607 wxPyBeginBlockThreads,
1608 wxPyEndBlockThreads,
1609
1610 wxPy_ConvertList,
1611
1612 wxString_in_helper,
1613 Py2wxString,
1614 wx2PyString,
1615
1616 byte_LIST_helper,
1617 int_LIST_helper,
1618 long_LIST_helper,
1619 string_LIST_helper,
1620 wxPoint_LIST_helper,
1621 wxBitmap_LIST_helper,
1622 wxString_LIST_helper,
1623 wxAcceleratorEntry_LIST_helper,
1624
1625 wxSize_helper,
1626 wxPoint_helper,
1627 wxRealPoint_helper,
1628 wxRect_helper,
1629 wxColour_helper,
1630 wxPoint2D_helper,
1631
1632 wxPySimple_typecheck,
1633 wxColour_typecheck,
1634
1635 wxPyCBH_setCallbackInfo,
1636 wxPyCBH_findCallback,
1637 wxPyCBH_callCallback,
1638 wxPyCBH_callCallbackObj,
1639 wxPyCBH_delete,
1640
1641 wxPyMake_wxObject,
1642 wxPyMake_wxSizer,
1643 wxPyPtrTypeMap_Add,
1644 wxPy2int_seq_helper,
1645 wxPy4int_seq_helper,
1646 wxArrayString2PyList_helper,
1647 wxArrayInt2PyList_helper,
1648
1649 wxPyClientData_dtor,
1650 wxPyUserData_dtor,
1651 wxPyOORClientData_dtor,
1652
1653 wxPyCBInputStream_create,
e2950dbb
RD
1654 wxPyCBInputStream_copy,
1655
d55e5bfc 1656 wxPyInstance_Check,
0439c23b
RD
1657 wxPySwigInstance_Check,
1658
1659 wxPyCheckForApp
d55e5bfc
RD
1660
1661};
1662
1663#endif
1664
1665
fef4c27a
RD
1666#if !WXWIN_COMPATIBILITY_2_4
1667 #define wxHIDE_READONLY 0
1668#endif
1669
1670
093d3ff1
RD
1671 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1672#define SWIG_From_int PyInt_FromLong
1673/*@@*/
1674
1675
d55e5bfc
RD
1676#if ! wxUSE_HOTKEY
1677enum wxHotkeyModifier
1678{
1679 wxMOD_NONE = 0,
1680 wxMOD_ALT = 1,
1681 wxMOD_CONTROL = 2,
1682 wxMOD_SHIFT = 4,
1683 wxMOD_WIN = 8
1684};
1685#define wxEVT_HOTKEY 9999
1686#endif
1687
1688 static const wxString wxPyEmptyString(wxEmptyString);
093d3ff1 1689static wxString wxObject_GetClassName(wxObject *self){
d55e5bfc
RD
1690 return self->GetClassInfo()->GetClassName();
1691 }
093d3ff1 1692static void wxObject_Destroy(wxObject *self){
d55e5bfc
RD
1693 delete self;
1694 }
1695
1696#ifndef __WXMAC__
1697#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1698#endif
1699
1700
1701#include <limits.h>
1702
1703
093d3ff1 1704SWIGINTERN int
c32bde28
RD
1705 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1706 const char *errmsg)
d55e5bfc 1707{
c32bde28
RD
1708 if (value < min_value) {
1709 if (errmsg) {
1710 PyErr_Format(PyExc_OverflowError,
1711 "value %ld is less than '%s' minimum %ld",
1712 value, errmsg, min_value);
1713 }
1714 return 0;
1715 } else if (value > max_value) {
1716 if (errmsg) {
1717 PyErr_Format(PyExc_OverflowError,
1718 "value %ld is greater than '%s' maximum %ld",
1719 value, errmsg, max_value);
d55e5bfc 1720 }
c32bde28 1721 return 0;
d55e5bfc 1722 }
c32bde28 1723 return 1;
d55e5bfc
RD
1724}
1725
1726
093d3ff1 1727SWIGINTERN int
c32bde28 1728SWIG_AsVal_long(PyObject* obj, long* val)
d55e5bfc 1729{
c32bde28
RD
1730 if (PyNumber_Check(obj)) {
1731 if (val) *val = PyInt_AsLong(obj);
1732 return 1;
1733 }
d55e5bfc 1734 else {
093d3ff1 1735 SWIG_type_error("number", obj);
d55e5bfc 1736 }
c32bde28 1737 return 0;
d55e5bfc
RD
1738}
1739
1740
1741#if INT_MAX != LONG_MAX
093d3ff1 1742SWIGINTERN int
c32bde28 1743 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 1744{
093d3ff1 1745 const char* errmsg = val ? "int" : (char*)0;
c32bde28
RD
1746 long v;
1747 if (SWIG_AsVal_long(obj, &v)) {
1748 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
093d3ff1 1749 if (val) *val = (int)(v);
c32bde28
RD
1750 return 1;
1751 } else {
1752 return 0;
1753 }
1754 } else {
1755 PyErr_Clear();
1756 }
1757 if (val) {
093d3ff1 1758 SWIG_type_error(errmsg, obj);
c32bde28
RD
1759 }
1760 return 0;
d55e5bfc
RD
1761}
1762#else
093d3ff1 1763SWIGINTERNSHORT int
c32bde28
RD
1764 SWIG_AsVal_int(PyObject *obj, int *val)
1765{
1766 return SWIG_AsVal_long(obj,(long*)val);
1767}
d55e5bfc
RD
1768#endif
1769
1770
093d3ff1 1771SWIGINTERNSHORT int
c32bde28 1772SWIG_As_int(PyObject* obj)
d55e5bfc 1773{
c32bde28
RD
1774 int v;
1775 if (!SWIG_AsVal_int(obj, &v)) {
1776 /*
093d3ff1 1777 this is needed to make valgrind/purify happier.
c32bde28
RD
1778 */
1779 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1780 }
c32bde28
RD
1781 return v;
1782}
1783
1784
093d3ff1 1785SWIGINTERNSHORT int
c32bde28
RD
1786SWIG_Check_int(PyObject* obj)
1787{
1788 return SWIG_AsVal_int(obj, (int*)0);
d55e5bfc
RD
1789}
1790
093d3ff1 1791static PyObject *wxSize_Get(wxSize *self){
5a446332 1792 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
1793 PyObject* tup = PyTuple_New(2);
1794 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1795 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1796 wxPyEndBlockThreads(blocked);
1797 return tup;
1798 }
1799
093d3ff1 1800SWIGINTERN int
c32bde28 1801SWIG_AsVal_double(PyObject *obj, double* val)
d55e5bfc 1802{
c32bde28
RD
1803 if (PyNumber_Check(obj)) {
1804 if (val) *val = PyFloat_AsDouble(obj);
1805 return 1;
1806 }
d55e5bfc 1807 else {
093d3ff1 1808 SWIG_type_error("number", obj);
d55e5bfc 1809 }
c32bde28 1810 return 0;
d55e5bfc
RD
1811}
1812
1813
093d3ff1 1814SWIGINTERNSHORT double
c32bde28 1815SWIG_As_double(PyObject* obj)
d55e5bfc 1816{
c32bde28
RD
1817 double v;
1818 if (!SWIG_AsVal_double(obj, &v)) {
1819 /*
093d3ff1 1820 this is needed to make valgrind/purify happier.
c32bde28
RD
1821 */
1822 memset((void*)&v, 0, sizeof(double));
d55e5bfc 1823 }
c32bde28
RD
1824 return v;
1825}
1826
1827
093d3ff1 1828SWIGINTERNSHORT int
c32bde28
RD
1829SWIG_Check_double(PyObject* obj)
1830{
1831 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
1832}
1833
093d3ff1
RD
1834
1835 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1836#define SWIG_From_double PyFloat_FromDouble
1837/*@@*/
1838
1839static void wxRealPoint_Set(wxRealPoint *self,double x,double y){
d55e5bfc
RD
1840 self->x = x;
1841 self->y = y;
1842 }
093d3ff1 1843static PyObject *wxRealPoint_Get(wxRealPoint *self){
5a446332 1844 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
1845 PyObject* tup = PyTuple_New(2);
1846 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
1847 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
1848 wxPyEndBlockThreads(blocked);
1849 return tup;
1850 }
1851
093d3ff1 1852SWIGINTERNSHORT long
c32bde28 1853SWIG_As_long(PyObject* obj)
d55e5bfc 1854{
c32bde28
RD
1855 long v;
1856 if (!SWIG_AsVal_long(obj, &v)) {
1857 /*
093d3ff1 1858 this is needed to make valgrind/purify happier.
c32bde28
RD
1859 */
1860 memset((void*)&v, 0, sizeof(long));
d55e5bfc 1861 }
c32bde28
RD
1862 return v;
1863}
1864
1865
093d3ff1 1866SWIGINTERNSHORT int
c32bde28
RD
1867SWIG_Check_long(PyObject* obj)
1868{
1869 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1870}
1871
093d3ff1 1872static void wxPoint_Set(wxPoint *self,long x,long y){
d55e5bfc
RD
1873 self->x = x;
1874 self->y = y;
1875 }
093d3ff1 1876static PyObject *wxPoint_Get(wxPoint *self){
5a446332 1877 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
1878 PyObject* tup = PyTuple_New(2);
1879 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1880 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1881 wxPyEndBlockThreads(blocked);
1882 return tup;
1883 }
093d3ff1 1884static void wxRect_Set(wxRect *self,int x=0,int y=0,int width=0,int height=0){
d55e5bfc
RD
1885 self->x = x;
1886 self->y = y;
1887 self->width = width;
1888 self->height = height;
1889 }
093d3ff1 1890static PyObject *wxRect_Get(wxRect *self){
5a446332 1891 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
1892 PyObject* tup = PyTuple_New(4);
1893 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1894 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1895 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
1896 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
1897 wxPyEndBlockThreads(blocked);
1898 return tup;
1899 }
1900
1901 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
1902 wxRegion reg1(*r1);
1903 wxRegion reg2(*r2);
1904 wxRect dest(0,0,0,0);
1905 PyObject* obj;
1906
1907 reg1.Intersect(reg2);
1908 dest = reg1.GetBox();
1909
1910 if (dest != wxRect(0,0,0,0)) {
5a446332 1911 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 1912 wxRect* newRect = new wxRect(dest);
ae8162c8 1913 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), true);
d55e5bfc
RD
1914 wxPyEndBlockThreads(blocked);
1915 return obj;
1916 }
1917 Py_INCREF(Py_None);
1918 return Py_None;
1919 }
1920
1921
c32bde28 1922 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
1923 PyObject* o2;
1924 PyObject* o3;
c32bde28 1925
d55e5bfc
RD
1926 if (!target) {
1927 target = o;
1928 } else if (target == Py_None) {
1929 Py_DECREF(Py_None);
1930 target = o;
7e63a440
RD
1931 } else {
1932 if (!PyTuple_Check(target)) {
1933 o2 = target;
1934 target = PyTuple_New(1);
1935 PyTuple_SetItem(target, 0, o2);
1936 }
d55e5bfc
RD
1937 o3 = PyTuple_New(1);
1938 PyTuple_SetItem(o3, 0, o);
1939
1940 o2 = target;
1941 target = PySequence_Concat(o2, o3);
1942 Py_DECREF(o2);
1943 Py_DECREF(o3);
1944 }
1945 return target;
7e63a440 1946 }
d55e5bfc 1947
c32bde28 1948
093d3ff1 1949static void wxPoint2D_Set(wxPoint2D *self,double x=0,double y=0){
d55e5bfc
RD
1950 self->m_x = x;
1951 self->m_y = y;
1952 }
093d3ff1 1953static PyObject *wxPoint2D_Get(wxPoint2D *self){
5a446332 1954 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
1955 PyObject* tup = PyTuple_New(2);
1956 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
1957 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
1958 wxPyEndBlockThreads(blocked);
1959 return tup;
1960 }
1961
1962#include "wx/wxPython/pyistream.h"
1963
093d3ff1 1964static wxPyInputStream *new_wxPyInputStream(PyObject *p){
d55e5bfc
RD
1965 wxInputStream* wxis = wxPyCBInputStream::create(p);
1966 if (wxis)
1967 return new wxPyInputStream(wxis);
1968 else
1969 return NULL;
1970 }
1971
093d3ff1 1972SWIGINTERNSHORT PyObject*
c32bde28 1973 SWIG_From_char(char c)
d55e5bfc
RD
1974{
1975 return PyString_FromStringAndSize(&c,1);
1976}
1977
1978
093d3ff1 1979SWIGINTERNSHORT PyObject*
c32bde28 1980 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1981{
1982 return (value > LONG_MAX) ?
1983 PyLong_FromUnsignedLong(value)
093d3ff1 1984 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1985}
1986
1987
c32bde28 1988/* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
093d3ff1 1989SWIGINTERN int
c32bde28 1990SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
d55e5bfc
RD
1991{
1992 static swig_type_info* pchar_info = 0;
c32bde28 1993 char* vptr = 0;
d55e5bfc 1994 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
c32bde28
RD
1995 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
1996 if (cptr) *cptr = vptr;
1997 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1998 return SWIG_OLDOBJ;
d55e5bfc 1999 } else {
093d3ff1 2000 PyErr_Clear();
c32bde28
RD
2001 if (PyString_Check(obj)) {
2002 if (cptr) {
2003 *cptr = PyString_AS_STRING(obj);
2004 if (psize) {
2005 *psize = PyString_GET_SIZE(obj) + 1;
2006 }
2007 }
2008 return SWIG_PYSTR;
2009 }
d55e5bfc 2010 }
c32bde28 2011 if (cptr) {
093d3ff1 2012 SWIG_type_error("char *", obj);
c32bde28
RD
2013 }
2014 return 0;
d55e5bfc
RD
2015}
2016
2017
093d3ff1 2018SWIGINTERN int
c32bde28 2019SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
d55e5bfc
RD
2020{
2021 char* cptr; size_t csize;
c32bde28
RD
2022 if (SWIG_AsCharPtrAndSize(obj, &cptr, &csize)) {
2023 /* in C you can do:
2024
d55e5bfc
RD
2025 char x[5] = "hello";
2026
2027 ie, assing the array using an extra '0' char.
2028 */
d55e5bfc 2029 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
c32bde28
RD
2030 if (csize <= size) {
2031 if (val) {
2032 if (csize) memcpy(val, cptr, csize);
2033 if (csize < size) memset(val + csize, 0, size - csize);
2034 }
2035 return 1;
d55e5bfc
RD
2036 }
2037 }
c32bde28 2038 if (val) {
093d3ff1
RD
2039 PyErr_Format(PyExc_TypeError,
2040 "a char array of maximum size %lu is expected",
2041 (unsigned long) size);
c32bde28
RD
2042 }
2043 return 0;
d55e5bfc
RD
2044}
2045
2046
093d3ff1 2047SWIGINTERN int
c32bde28
RD
2048 SWIG_AsVal_char(PyObject *obj, char *val)
2049{
093d3ff1 2050 const char* errmsg = val ? "char" : (char*)0;
c32bde28
RD
2051 long v;
2052 if (SWIG_AsVal_long(obj, &v)) {
2053 if (SWIG_CheckLongInRange(v, CHAR_MIN,CHAR_MAX, errmsg)) {
093d3ff1 2054 if (val) *val = (char)(v);
c32bde28
RD
2055 return 1;
2056 } else {
2057 return 0;
2058 }
2059 } else {
2060 PyErr_Clear();
2061 return SWIG_AsCharArray(obj, val, 1);
2062 }
2063 }
2064
2065
093d3ff1 2066SWIGINTERNSHORT char
c32bde28
RD
2067SWIG_As_char(PyObject* obj)
2068{
2069 char v;
2070 if (!SWIG_AsVal_char(obj, &v)) {
2071 /*
093d3ff1 2072 this is needed to make valgrind/purify happier.
c32bde28
RD
2073 */
2074 memset((void*)&v, 0, sizeof(char));
d55e5bfc 2075 }
c32bde28 2076 return v;
d55e5bfc
RD
2077}
2078
c32bde28 2079
093d3ff1 2080SWIGINTERNSHORT int
c32bde28 2081SWIG_Check_char(PyObject* obj)
d55e5bfc 2082{
c32bde28 2083 return SWIG_AsVal_char(obj, (char*)0);
d55e5bfc
RD
2084}
2085
093d3ff1
RD
2086
2087 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2088#define SWIG_From_long PyInt_FromLong
2089/*@@*/
2090
2091static void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
d55e5bfc
RD
2092 // We use only strings for the streams, not unicode
2093 PyObject* str = PyObject_Str(obj);
2094 if (! str) {
2095 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
2096 return;
2097 }
2098 self->Write(PyString_AS_STRING(str),
2099 PyString_GET_SIZE(str));
2100 Py_DECREF(str);
2101 }
2102
2103#include "wx/wxPython/pyistream.h"
2104
2105
2106class wxPyFileSystemHandler : public wxFileSystemHandler
2107{
2108public:
2109 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2110
2111 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
2112 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
2113 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
2114 DEC_PYCALLBACK_STRING__pure(FindNext);
2115
2116 wxString GetProtocol(const wxString& location) {
2117 return wxFileSystemHandler::GetProtocol(location);
2118 }
2119
2120 wxString GetLeftLocation(const wxString& location) {
2121 return wxFileSystemHandler::GetLeftLocation(location);
2122 }
2123
2124 wxString GetAnchor(const wxString& location) {
2125 return wxFileSystemHandler::GetAnchor(location);
2126 }
2127
2128 wxString GetRightLocation(const wxString& location) {
2129 return wxFileSystemHandler::GetRightLocation(location);
2130 }
2131
2132 wxString GetMimeTypeFromExt(const wxString& location) {
2133 return wxFileSystemHandler::GetMimeTypeFromExt(location);
2134 }
2135
2136 PYPRIVATE;
2137};
2138
2139
2140IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
2141IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
2142IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
2143IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
2144
2145
093d3ff1 2146SWIGINTERN int
c32bde28 2147 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 2148{
c32bde28
RD
2149 if (obj == Py_True) {
2150 if (val) *val = true;
2151 return 1;
2152 }
2153 if (obj == Py_False) {
2154 if (val) *val = false;
2155 return 1;
2156 }
2157 int res = 0;
2158 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 2159 if (val) *val = res ? true : false;
c32bde28 2160 return 1;
093d3ff1
RD
2161 } else {
2162 PyErr_Clear();
2163 }
c32bde28 2164 if (val) {
093d3ff1 2165 SWIG_type_error("bool", obj);
c32bde28
RD
2166 }
2167 return 0;
d55e5bfc
RD
2168}
2169
2170
093d3ff1 2171SWIGINTERNSHORT bool
c32bde28 2172SWIG_As_bool(PyObject* obj)
d55e5bfc 2173{
c32bde28
RD
2174 bool v;
2175 if (!SWIG_AsVal_bool(obj, &v)) {
2176 /*
093d3ff1 2177 this is needed to make valgrind/purify happier.
c32bde28
RD
2178 */
2179 memset((void*)&v, 0, sizeof(bool));
d55e5bfc 2180 }
c32bde28
RD
2181 return v;
2182}
2183
2184
093d3ff1 2185SWIGINTERNSHORT int
c32bde28
RD
2186SWIG_Check_bool(PyObject* obj)
2187{
2188 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
2189}
2190
093d3ff1 2191static wxString FileSystem_URLToFileName(wxString const &url){
ae8162c8
RD
2192 wxFileName fname = wxFileSystem::URLToFileName(url);
2193 return fname.GetFullPath();
2194 }
d55e5bfc
RD
2195
2196 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
2197 wxImage& image,
2198 long type) {
2199 wxMemoryFSHandler::AddFile(filename, image, type);
2200 }
2201
2202 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
2203 const wxBitmap& bitmap,
2204 long type) {
2205 wxMemoryFSHandler::AddFile(filename, bitmap, type);
2206 }
2207
2208 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
2209 PyObject* data) {
ae8162c8
RD
2210 if (! PyString_Check(data)) {
2211 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2212 "Expected string object"));
2213 return;
2214 }
2215
5a446332 2216 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8
RD
2217 void* ptr = (void*)PyString_AsString(data);
2218 size_t size = PyString_Size(data);
2219 wxPyEndBlockThreads(blocked);
2220
2221 wxMemoryFSHandler::AddFile(filename, ptr, size);
d55e5bfc
RD
2222 }
2223
2224
2225#include "wx/wxPython/pyistream.h"
2226
2227
093d3ff1 2228SWIGINTERN int
c32bde28 2229SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 2230{
c32bde28
RD
2231 long v = 0;
2232 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 2233 SWIG_type_error("unsigned number", obj);
d55e5bfc 2234 }
c32bde28
RD
2235 else if (val)
2236 *val = (unsigned long)v;
2237 return 1;
d55e5bfc
RD
2238}
2239
2240
093d3ff1 2241SWIGINTERNSHORT int
c32bde28
RD
2242 SWIG_CheckUnsignedLongInRange(unsigned long value,
2243 unsigned long max_value,
2244 const char *errmsg)
d55e5bfc 2245{
c32bde28
RD
2246 if (value > max_value) {
2247 if (errmsg) {
2248 PyErr_Format(PyExc_OverflowError,
093d3ff1 2249 "value %lu is greater than '%s' minimum %lu",
c32bde28 2250 value, errmsg, max_value);
d55e5bfc 2251 }
c32bde28 2252 return 0;
d55e5bfc 2253 }
c32bde28
RD
2254 return 1;
2255 }
d55e5bfc
RD
2256
2257
093d3ff1 2258SWIGINTERN int
c32bde28 2259 SWIG_AsVal_unsigned_SS_char(PyObject *obj, unsigned char *val)
d55e5bfc 2260{
093d3ff1 2261 const char* errmsg = val ? "unsigned char" : (char*)0;
c32bde28
RD
2262 unsigned long v;
2263 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2264 if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) {
093d3ff1 2265 if (val) *val = (unsigned char)(v);
c32bde28
RD
2266 return 1;
2267 } else {
2268 return 0;
2269 }
2270 } else {
2271 PyErr_Clear();
2272 }
2273 if (val) {
093d3ff1 2274 SWIG_type_error(errmsg, obj);
c32bde28
RD
2275 }
2276 return 0;
d55e5bfc
RD
2277}
2278
2279
093d3ff1 2280SWIGINTERNSHORT unsigned char
c32bde28 2281SWIG_As_unsigned_SS_char(PyObject* obj)
d55e5bfc 2282{
c32bde28
RD
2283 unsigned char v;
2284 if (!SWIG_AsVal_unsigned_SS_char(obj, &v)) {
2285 /*
093d3ff1 2286 this is needed to make valgrind/purify happier.
c32bde28
RD
2287 */
2288 memset((void*)&v, 0, sizeof(unsigned char));
d55e5bfc 2289 }
c32bde28 2290 return v;
d55e5bfc
RD
2291}
2292
c32bde28 2293
093d3ff1 2294SWIGINTERNSHORT int
c32bde28
RD
2295SWIG_Check_unsigned_SS_char(PyObject* obj)
2296{
2297 return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0);
2298}
2299
2300
093d3ff1
RD
2301 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2302#define SWIG_From_unsigned_SS_char PyInt_FromLong
2303/*@@*/
2304
2305
f1cbd8fa
RD
2306
2307SWIGINTERNSHORT unsigned long
2308SWIG_As_unsigned_SS_long(PyObject* obj)
2309{
2310 unsigned long v;
2311 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2312 /*
2313 this is needed to make valgrind/purify happier.
2314 */
2315 memset((void*)&v, 0, sizeof(unsigned long));
2316 }
2317 return v;
2318}
2319
2320
2321SWIGINTERNSHORT int
2322SWIG_Check_unsigned_SS_long(PyObject* obj)
2323{
2324 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2325}
2326
2327static unsigned long wxImageHistogram_GetCount(wxImageHistogram *self,unsigned long key){
2328 wxImageHistogramEntry e = (*self)[key];
2329 return e.value;
2330 }
7a27cf7c 2331static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram *self,byte r,byte g,byte b){
f1cbd8fa
RD
2332 unsigned long key = wxImageHistogram::MakeKey(r, g, b);
2333 wxImageHistogramEntry e = (*self)[key];
2334 return e.value;
2335 }
2336static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram *self,wxColour const &colour){
2337 unsigned long key = wxImageHistogram::MakeKey(colour.Red(),
2338 colour.Green(),
2339 colour.Blue());
2340 wxImageHistogramEntry e = (*self)[key];
2341 return e.value;
2342 }
ea939623
RD
2343
2344 typedef unsigned char* buffer;
2345
093d3ff1 2346static wxImage *new_wxImage(int width=0,int height=0,bool clear=true){
ea939623
RD
2347 if (width > 0 && height > 0)
2348 return new wxImage(width, height, clear);
2349 else
2350 return new wxImage;
d55e5bfc 2351 }
ea939623
RD
2352static wxImage *new_wxImage(wxBitmap const &bitmap){
2353 return new wxImage(bitmap.ConvertToImage());
c9c2cf70 2354 }
ea939623
RD
2355static wxImage *new_wxImage(int width,int height,buffer data,int DATASIZE){
2356 if (DATASIZE != width*height*3) {
2357 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2358 return NULL;
2359 }
2360
2361 // Copy the source data so the wxImage can clean it up later
2362 buffer copy = (buffer)malloc(DATASIZE);
2363 if (copy == NULL) {
2364 wxPyBLOCK_THREADS(PyErr_NoMemory());
2365 return NULL;
2366 }
2367 memcpy(copy, data, DATASIZE);
2368 return new wxImage(width, height, copy, false);
c9c2cf70 2369 }
ea939623
RD
2370static wxImage *new_wxImage(int width,int height,buffer data,int DATASIZE,buffer alpha,int ALPHASIZE){
2371 if (DATASIZE != width*height*3) {
2372 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2373 return NULL;
2374 }
2375 if (ALPHASIZE != width*height) {
2376 wxPyErr_SetString(PyExc_ValueError, "Invalid alpha buffer size.");
2377 return NULL;
2378 }
2379
2380 // Copy the source data so the wxImage can clean it up later
2381 buffer dcopy = (buffer)malloc(DATASIZE);
2382 if (dcopy == NULL) {
2383 wxPyBLOCK_THREADS(PyErr_NoMemory());
2384 return NULL;
2385 }
2386 memcpy(dcopy, data, DATASIZE);
c9c2cf70 2387
ea939623
RD
2388 buffer acopy = (buffer)malloc(ALPHASIZE);
2389 if (acopy == NULL) {
2390 wxPyBLOCK_THREADS(PyErr_NoMemory());
2391 return NULL;
2392 }
2393 memcpy(acopy, alpha, ALPHASIZE);
2394
2395 return new wxImage(width, height, dcopy, acopy, false);
2396 }
093d3ff1 2397static wxSize wxImage_GetSize(wxImage *self){
d55e5bfc
RD
2398 wxSize size(self->GetWidth(), self->GetHeight());
2399 return size;
2400 }
093d3ff1 2401static PyObject *wxImage_GetData(wxImage *self){
ea939623 2402 buffer data = self->GetData();
d55e5bfc
RD
2403 int len = self->GetWidth() * self->GetHeight() * 3;
2404 PyObject* rv;
2405 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
2406 return rv;
2407 }
ea939623
RD
2408static void wxImage_SetData(wxImage *self,buffer data,int DATASIZE){
2409 if (DATASIZE != self->GetWidth() * self->GetHeight() * 3) {
2410 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2411 return;
2412 }
2413 buffer copy = (buffer)malloc(DATASIZE);
2414 if (copy == NULL) {
2415 wxPyBLOCK_THREADS(PyErr_NoMemory());
2416 return;
2417 }
2418 memcpy(copy, data, DATASIZE);
2419 self->SetData(copy, false);
2420 // wxImage takes ownership of copy...
d55e5bfc 2421 }
093d3ff1 2422static PyObject *wxImage_GetDataBuffer(wxImage *self){
ea939623 2423 buffer data = self->GetData();
d55e5bfc
RD
2424 int len = self->GetWidth() * self->GetHeight() * 3;
2425 PyObject* rv;
2426 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
2427 return rv;
2428 }
ea939623
RD
2429static void wxImage_SetDataBuffer(wxImage *self,buffer data,int DATASIZE){
2430 if (DATASIZE != self->GetWidth() * self->GetHeight() * 3) {
2431 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2432 return;
d55e5bfc 2433 }
ea939623 2434 self->SetData(data, true);
d55e5bfc 2435 }
093d3ff1 2436static PyObject *wxImage_GetAlphaData(wxImage *self){
ea939623 2437 buffer data = self->GetAlpha();
d55e5bfc
RD
2438 if (! data) {
2439 RETURN_NONE();
2440 } else {
2441 int len = self->GetWidth() * self->GetHeight();
2442 PyObject* rv;
2443 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
2444 return rv;
2445 }
2446 }
ea939623
RD
2447static void wxImage_SetAlphaData(wxImage *self,buffer alpha,int ALPHASIZE){
2448 if (ALPHASIZE != self->GetWidth() * self->GetHeight()) {
2449 wxPyErr_SetString(PyExc_ValueError, "Invalid alpha buffer size.");
2450 return;
d55e5bfc 2451 }
ea939623
RD
2452 buffer acopy = (buffer)malloc(ALPHASIZE);
2453 if (acopy == NULL) {
2454 wxPyBLOCK_THREADS(PyErr_NoMemory());
2455 return;
2456 }
2457 memcpy(acopy, alpha, ALPHASIZE);
2458 self->SetAlpha(acopy, false);
2459 // wxImage takes ownership of acopy...
d55e5bfc 2460 }
093d3ff1 2461static PyObject *wxImage_GetAlphaBuffer(wxImage *self){
ea939623 2462 buffer data = self->GetAlpha();
d55e5bfc
RD
2463 int len = self->GetWidth() * self->GetHeight();
2464 PyObject* rv;
2465 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
2466 return rv;
2467 }
ea939623
RD
2468static void wxImage_SetAlphaBuffer(wxImage *self,buffer alpha,int ALPHASIZE){
2469 if (ALPHASIZE != self->GetWidth() * self->GetHeight()) {
2470 wxPyErr_SetString(PyExc_ValueError, "Invalid alpha buffer size.");
2471 return;
d55e5bfc 2472 }
ea939623 2473 self->SetAlpha(alpha, true);
d55e5bfc 2474 }
093d3ff1 2475static wxBitmap wxImage_ConvertToBitmap(wxImage *self,int depth=-1){
1fbf26be 2476 wxBitmap bitmap(*self, depth);
d55e5bfc
RD
2477 return bitmap;
2478 }
7a27cf7c 2479static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,byte red,byte green,byte blue){
d55e5bfc
RD
2480 wxImage mono = self->ConvertToMono( red, green, blue );
2481 wxBitmap bitmap( mono, 1 );
2482 return bitmap;
2483 }
68350608 2484 static const wxString wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME);
d55e5bfc
RD
2485 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
2486 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
2487 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
2488 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
68350608
RD
2489 static const wxString wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX);
2490 static const wxString wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY);
d55e5bfc 2491 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
24d7cbea 2492 static const wxString wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY);
68350608
RD
2493 static const wxString wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE);
2494 static const wxString wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL);
2495 static const wxString wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION);
2496 static const wxString wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR);
b9d6a5f3
RD
2497 static const wxString wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT);
2498 static const wxString wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH);
c0de73ae
RD
2499
2500#include <wx/quantize.h>
2501
093d3ff1 2502static bool Quantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){
c0de73ae
RD
2503 return wxQuantize::Quantize(src, dest,
2504 //NULL, // palette
2505 desiredNoColours,
2506 NULL, // eightBitData
2507 flags);
2508 }
093d3ff1 2509static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
d55e5bfc
RD
2510 if (PyCallable_Check(func)) {
2511 self->Connect(id, lastId, eventType,
2512 (wxObjectEventFunction) &wxPyCallback::EventThunker,
2513 new wxPyCallback(func));
2514 }
2515 else if (func == Py_None) {
2516 self->Disconnect(id, lastId, eventType,
2517 (wxObjectEventFunction)
2518 &wxPyCallback::EventThunker);
2519 }
2520 else {
2521 wxPyBLOCK_THREADS(
2522 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
2523 }
2524 }
093d3ff1 2525static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId=-1,wxEventType eventType=wxEVT_NULL){
d55e5bfc
RD
2526 return self->Disconnect(id, lastId, eventType,
2527 (wxObjectEventFunction)
2528 &wxPyCallback::EventThunker);
2529 }
093d3ff1 2530static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self,bool incref=true){
d55e5bfc 2531 if (_self && _self != Py_None) {
093d3ff1 2532 self->SetClientObject(new wxPyOORClientData(_self, incref));
d55e5bfc
RD
2533 }
2534 else {
2535 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
2536 if (data) {
2537 self->SetClientObject(NULL); // This will delete it too
2538 }
2539 }
2540 }
c32bde28 2541
093d3ff1 2542static int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){
d55e5bfc 2543 #if wxUSE_UNICODE
19272049 2544 return self->GetUnicodeKey();
d55e5bfc
RD
2545 #else
2546 return 0;
2547 #endif
2548 }
2549
2550#if UINT_MAX < LONG_MAX
093d3ff1 2551/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
2552#define SWIG_From_unsigned_SS_int SWIG_From_long
2553/*@@*/
d55e5bfc 2554#else
093d3ff1 2555/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
2556#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2557/*@@*/
d55e5bfc
RD
2558#endif
2559
2560
2561#if UINT_MAX != ULONG_MAX
093d3ff1 2562SWIGINTERN int
c32bde28 2563 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 2564{
093d3ff1 2565 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
2566 unsigned long v;
2567 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2568 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
093d3ff1 2569 if (val) *val = (unsigned int)(v);
c32bde28
RD
2570 return 1;
2571 }
2572 } else {
2573 PyErr_Clear();
2574 }
2575 if (val) {
093d3ff1 2576 SWIG_type_error(errmsg, obj);
c32bde28
RD
2577 }
2578 return 0;
d55e5bfc
RD
2579}
2580#else
093d3ff1 2581SWIGINTERNSHORT unsigned int
c32bde28
RD
2582 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2583{
2584 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2585}
d55e5bfc
RD
2586#endif
2587
2588
093d3ff1 2589SWIGINTERNSHORT unsigned int
c32bde28 2590SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2591{
c32bde28
RD
2592 unsigned int v;
2593 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2594 /*
093d3ff1 2595 this is needed to make valgrind/purify happier.
c32bde28
RD
2596 */
2597 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2598 }
c32bde28
RD
2599 return v;
2600}
2601
2602
093d3ff1 2603SWIGINTERNSHORT int
c32bde28
RD
2604SWIG_Check_unsigned_SS_int(PyObject* obj)
2605{
2606 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2607}
2608
093d3ff1 2609static void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
d55e5bfc
RD
2610 self->m_size = size;
2611 }
093d3ff1 2612static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
d55e5bfc
RD
2613 int count = self->GetNumberOfFiles();
2614 wxString* files = self->GetFiles();
5ba5649b 2615 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2616 PyObject* list = PyList_New(count);
2617
2618 if (!list) {
2619 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
5ba5649b 2620 wxPyEndBlockThreads(blocked);
d55e5bfc
RD
2621 return NULL;
2622 }
2623
2624 for (int i=0; i<count; i++) {
2625 PyList_SetItem(list, i, wx2PyString(files[i]));
2626 }
5ba5649b 2627 wxPyEndBlockThreads(blocked);
d55e5bfc
RD
2628 return list;
2629 }
2630
2631
093d3ff1 2632static wxPyApp *new_wxPyApp(){
d55e5bfc
RD
2633 wxPythonApp = new wxPyApp();
2634 return wxPythonApp;
2635 }
2636
2637 void wxApp_CleanUp() {
2638 __wxPyCleanup();
2639 }
2640
2641
caef1a4d 2642 wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
d55e5bfc
RD
2643
2644
093d3ff1 2645SWIGINTERNSHORT int
5cbf236d
RD
2646SWIG_AsCharPtr(PyObject *obj, char **val)
2647{
093d3ff1 2648 if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
5cbf236d
RD
2649 return 1;
2650 }
2651 if (val) {
093d3ff1
RD
2652 PyErr_Clear();
2653 SWIG_type_error("char *", obj);
5cbf236d
RD
2654 }
2655 return 0;
2656}
2657
2658
093d3ff1 2659SWIGINTERN PyObject *
5cbf236d
RD
2660SWIG_FromCharPtr(const char* cptr)
2661{
2662 if (cptr) {
2663 size_t size = strlen(cptr);
2664 if (size > INT_MAX) {
093d3ff1 2665 return SWIG_NewPointerObj((char*)(cptr),
5cbf236d
RD
2666 SWIG_TypeQuery("char *"), 0);
2667 } else {
2668 if (size != 0) {
2669 return PyString_FromStringAndSize(cptr, size);
2670 } else {
2671 return PyString_FromString(cptr);
2672 }
2673 }
2674 }
2675 Py_INCREF(Py_None);
2676 return Py_None;
2677}
2678
2679
ae8162c8
RD
2680#ifdef __WXMAC__
2681
2682// A dummy class that raises an exception if used...
2683class wxEventLoop
2684{
2685public:
2686 wxEventLoop() { wxPyRaiseNotImplemented(); }
2687 int Run() { return 0; }
2688 void Exit(int rc = 0) {}
2689 bool Pending() const { return false; }
2690 bool Dispatch() { return false; }
2691 bool IsRunning() const { return false; }
2692 static wxEventLoop *GetActive() { wxPyRaiseNotImplemented(); return NULL; }
2693 static void SetActive(wxEventLoop* loop) { wxPyRaiseNotImplemented(); }
2694};
2695
2696#else
2697
2698#include <wx/evtloop.h>
2699
2700#endif
2701
2702
d55e5bfc
RD
2703
2704 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1
RD
2705static wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
2706static void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
2707static PyObject *wxWindow_GetChildren(wxWindow *self){
d55e5bfc
RD
2708 wxWindowList& list = self->GetChildren();
2709 return wxPy_ConvertList(&list);
2710 }
093d3ff1 2711static bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
d55e5bfc
RD
2712 #if wxUSE_HOTKEY
2713 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
2714 #else
ae8162c8 2715 return false;
d55e5bfc
RD
2716 #endif
2717 }
093d3ff1 2718static bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
d55e5bfc
RD
2719
2720
2721
ae8162c8 2722 return false;
d55e5bfc
RD
2723
2724 }
093d3ff1 2725static long wxWindow_GetHandle(wxWindow *self){
d55e5bfc
RD
2726 return wxPyGetWinHandle(self);
2727 }
093d3ff1 2728static void wxWindow_AssociateHandle(wxWindow *self,long handle){
7e63a440
RD
2729 self->AssociateHandle((WXWidget)handle);
2730 }
d55e5bfc
RD
2731
2732wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
2733 return wxWindow::FindWindowById(id, parent);
2734}
2735
2736wxWindow* wxFindWindowByName( const wxString& name,
2737 const wxWindow *parent = NULL ) {
2738 return wxWindow::FindWindowByName(name, parent);
2739}
2740
2741wxWindow* wxFindWindowByLabel( const wxString& label,
2742 const wxWindow *parent = NULL ) {
2743 return wxWindow::FindWindowByLabel(label, parent);
2744}
2745
2746
2747#ifdef __WXMSW__
2748#include <wx/msw/private.h> // to get wxGetWindowId
2749#endif
2750
2751
2752 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
2753#ifdef __WXMSW__
2754 WXHWND hWnd = (WXHWND)_hWnd;
2755 long id = wxGetWindowId(hWnd);
2756 wxWindow* win = new wxWindow;
2757 parent->AddChild(win);
2758 win->SetEventHandler(win);
2759 win->SetHWND(hWnd);
2760 win->SetId(id);
2761 win->SubclassWin(hWnd);
2762 win->AdoptAttributesFromHWND();
2763 win->SetupColours();
2764 return win;
2765#else
2766 wxPyRaiseNotImplemented();
2767 return NULL;
2768#endif
2769 }
2770
2771
3215336e
RD
2772 PyObject* GetTopLevelWindows() {
2773 return wxPy_ConvertList(&wxTopLevelWindows);
2774 }
2775
2776
d55e5bfc
RD
2777IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
2778IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
2779IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
2780
2781IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
2782
093d3ff1
RD
2783static void wxMenu_Destroy(wxMenu *self){ delete self; }
2784static PyObject *wxMenu_GetMenuItems(wxMenu *self){
d55e5bfc
RD
2785 wxMenuItemList& list = self->GetMenuItems();
2786 return wxPy_ConvertList(&list);
2787 }
2788 static const wxString wxPyControlNameStr(wxControlNameStr);
093d3ff1 2789static int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData=NULL){
d55e5bfc
RD
2790 if (clientData) {
2791 wxPyClientData* data = new wxPyClientData(clientData);
2792 return self->Append(item, data);
2793 } else
2794 return self->Append(item);
2795 }
093d3ff1 2796static int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
RD
2797 if (clientData) {
2798 wxPyClientData* data = new wxPyClientData(clientData);
2799 return self->Insert(item, pos, data);
2800 } else
2801 return self->Insert(item, pos);
2802 }
093d3ff1 2803static PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
d55e5bfc
RD
2804 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
2805 if (data) {
2806 Py_INCREF(data->m_obj);
2807 return data->m_obj;
2808 } else {
2809 Py_INCREF(Py_None);
2810 return Py_None;
2811 }
2812 }
093d3ff1 2813static void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
d55e5bfc
RD
2814 wxPyClientData* data = new wxPyClientData(clientData);
2815 self->SetClientObject(n, data);
2816 }
2817
2818
093d3ff1 2819static wxSizerItem *new_wxSizerItem(wxWindow *window,int proportion,int flag,int border,PyObject *userData=NULL){
248ed943
RD
2820 wxPyUserData* data = NULL;
2821 if ( userData ) {
5a446332 2822 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
2823 data = new wxPyUserData(userData);
2824 wxPyEndBlockThreads(blocked);
2825 }
2826 return new wxSizerItem(window, proportion, flag, border, data);
2827 }
093d3ff1 2828static wxSizerItem *new_wxSizerItem(int width,int height,int proportion,int flag,int border,PyObject *userData=NULL){
248ed943
RD
2829 wxPyUserData* data = NULL;
2830 if ( userData ) {
5a446332 2831 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
2832 data = new wxPyUserData(userData);
2833 wxPyEndBlockThreads(blocked);
2834 }
2835 return new wxSizerItem(width, height, proportion, flag, border, data);
2836 }
093d3ff1 2837static wxSizerItem *new_wxSizerItem(wxSizer *sizer,int proportion,int flag,int border,PyObject *userData=NULL){
248ed943
RD
2838 wxPyUserData* data = NULL;
2839 if ( userData ) {
5a446332 2840 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
2841 data = new wxPyUserData(userData);
2842 wxPyEndBlockThreads(blocked);
2843 }
2844 return new wxSizerItem(sizer, proportion, flag, border, data);
2845 }
d55e5bfc
RD
2846
2847#include <float.h>
093d3ff1 2848SWIGINTERN int
c32bde28
RD
2849 SWIG_CheckDoubleInRange(double value, double min_value,
2850 double max_value, const char* errmsg)
2851{
2852 if (value < min_value) {
2853 if (errmsg) {
2854 PyErr_Format(PyExc_OverflowError,
2855 "value %g is less than %s minimum %g",
2856 value, errmsg, min_value);
2857 }
2858 return 0;
2859 } else if (value > max_value) {
2860 if (errmsg) {
2861 PyErr_Format(PyExc_OverflowError,
2862 "value %g is greater than %s maximum %g",
2863 value, errmsg, max_value);
2864 }
2865 return 0;
2866 }
2867 return 1;
2868}
2869
d55e5bfc 2870
093d3ff1 2871SWIGINTERN int
c32bde28 2872 SWIG_AsVal_float(PyObject *obj, float *val)
d55e5bfc 2873{
093d3ff1 2874 const char* errmsg = val ? "float" : (char*)0;
c32bde28
RD
2875 double v;
2876 if (SWIG_AsVal_double(obj, &v)) {
2877 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
093d3ff1 2878 if (val) *val = (float)(v);
c32bde28 2879 return 1;
d55e5bfc 2880 } else {
c32bde28 2881 return 0;
d55e5bfc 2882 }
c32bde28
RD
2883 } else {
2884 PyErr_Clear();
d55e5bfc 2885 }
c32bde28 2886 if (val) {
093d3ff1 2887 SWIG_type_error(errmsg, obj);
c32bde28
RD
2888 }
2889 return 0;
d55e5bfc
RD
2890}
2891
2892
093d3ff1 2893SWIGINTERNSHORT float
c32bde28 2894SWIG_As_float(PyObject* obj)
d55e5bfc 2895{
c32bde28
RD
2896 float v;
2897 if (!SWIG_AsVal_float(obj, &v)) {
2898 /*
093d3ff1 2899 this is needed to make valgrind/purify happier.
c32bde28
RD
2900 */
2901 memset((void*)&v, 0, sizeof(float));
2902 }
2903 return v;
d55e5bfc
RD
2904}
2905
c32bde28 2906
093d3ff1 2907SWIGINTERNSHORT int
c32bde28 2908SWIG_Check_float(PyObject* obj)
d55e5bfc 2909{
c32bde28 2910 return SWIG_AsVal_float(obj, (float*)0);
d55e5bfc
RD
2911}
2912
093d3ff1
RD
2913
2914 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2915#define SWIG_From_float PyFloat_FromDouble
2916/*@@*/
2917
2918static PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
d55e5bfc
RD
2919 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
2920 if (data) {
2921 Py_INCREF(data->m_obj);
2922 return data->m_obj;
2923 } else {
2924 Py_INCREF(Py_None);
2925 return Py_None;
2926 }
2927 }
2928
2929// Figure out the type of the sizer item
2930
2931struct wxPySizerItemInfo {
2932 wxPySizerItemInfo()
ae8162c8
RD
2933 : window(NULL), sizer(NULL), gotSize(false),
2934 size(wxDefaultSize), gotPos(false), pos(-1)
d55e5bfc 2935 {}
b9d6a5f3 2936
d55e5bfc
RD
2937 wxWindow* window;
2938 wxSizer* sizer;
2939 bool gotSize;
2940 wxSize size;
2941 bool gotPos;
2942 int pos;
2943};
b9d6a5f3 2944
d55e5bfc
RD
2945static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
2946
2947 wxPySizerItemInfo info;
2948 wxSize size;
2949 wxSize* sizePtr = &size;
2950
2951 // Find out what the type of the item is
2952 // try wxWindow
2953 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
2954 PyErr_Clear();
2955 info.window = NULL;
b9d6a5f3 2956
d55e5bfc
RD
2957 // try wxSizer
2958 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
2959 PyErr_Clear();
2960 info.sizer = NULL;
b9d6a5f3 2961
d55e5bfc
RD
2962 // try wxSize or (w,h)
2963 if ( checkSize && wxSize_helper(item, &sizePtr)) {
2964 info.size = *sizePtr;
ae8162c8 2965 info.gotSize = true;
d55e5bfc
RD
2966 }
2967
2968 // or a single int
2969 if (checkIdx && PyInt_Check(item)) {
2970 info.pos = PyInt_AsLong(item);
ae8162c8 2971 info.gotPos = true;
d55e5bfc
RD
2972 }
2973 }
2974 }
2975
2976 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
2977 // no expected type, figure out what kind of error message to generate
2978 if ( !checkSize && !checkIdx )
2979 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
2980 else if ( checkSize && !checkIdx )
2981 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2982 else if ( !checkSize && checkIdx)
2983 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
2984 else
2985 // can this one happen?
2986 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2987 }
2988
2989 return info;
2990}
2991
093d3ff1 2992static void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
b0f7404b
RD
2993 if (!self->GetClientObject())
2994 self->SetClientObject(new wxPyOORClientData(_self));
d55e5bfc 2995 }
093d3ff1 2996static wxSizerItem *wxSizer_Add(wxSizer *self,PyObject *item,int proportion=0,int flag=0,int border=0,PyObject *userData=NULL){
b9d6a5f3 2997
d55e5bfc 2998 wxPyUserData* data = NULL;
5a446332 2999 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3000 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d55e5bfc
RD
3001 if ( userData && (info.window || info.sizer || info.gotSize) )
3002 data = new wxPyUserData(userData);
3003 wxPyEndBlockThreads(blocked);
b9d6a5f3 3004
d55e5bfc
RD
3005 // Now call the real Add method if a valid item type was found
3006 if ( info.window )
c1cb24a4 3007 return self->Add(info.window, proportion, flag, border, data);
d55e5bfc 3008 else if ( info.sizer )
c1cb24a4 3009 return self->Add(info.sizer, proportion, flag, border, data);
d55e5bfc 3010 else if (info.gotSize)
c1cb24a4
RD
3011 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
3012 proportion, flag, border, data);
3013 else
3014 return NULL;
d55e5bfc 3015 }
093d3ff1 3016static wxSizerItem *wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion=0,int flag=0,int border=0,PyObject *userData=NULL){
d55e5bfc
RD
3017
3018 wxPyUserData* data = NULL;
5a446332 3019 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3020 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d55e5bfc
RD
3021 if ( userData && (info.window || info.sizer || info.gotSize) )
3022 data = new wxPyUserData(userData);
3023 wxPyEndBlockThreads(blocked);
b9d6a5f3 3024
d55e5bfc
RD
3025 // Now call the real Insert method if a valid item type was found
3026 if ( info.window )
c1cb24a4 3027 return self->Insert(before, info.window, proportion, flag, border, data);
d55e5bfc 3028 else if ( info.sizer )
c1cb24a4 3029 return self->Insert(before, info.sizer, proportion, flag, border, data);
d55e5bfc 3030 else if (info.gotSize)
c1cb24a4
RD
3031 return self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
3032 proportion, flag, border, data);
3033 else
3034 return NULL;
d55e5bfc 3035 }
093d3ff1 3036static wxSizerItem *wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion=0,int flag=0,int border=0,PyObject *userData=NULL){
d55e5bfc
RD
3037
3038 wxPyUserData* data = NULL;
5a446332 3039 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3040 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d55e5bfc
RD
3041 if ( userData && (info.window || info.sizer || info.gotSize) )
3042 data = new wxPyUserData(userData);
3043 wxPyEndBlockThreads(blocked);
b9d6a5f3 3044
d55e5bfc
RD
3045 // Now call the real Prepend method if a valid item type was found
3046 if ( info.window )
c1cb24a4 3047 return self->Prepend(info.window, proportion, flag, border, data);
d55e5bfc 3048 else if ( info.sizer )
c1cb24a4 3049 return self->Prepend(info.sizer, proportion, flag, border, data);
d55e5bfc 3050 else if (info.gotSize)
c1cb24a4
RD
3051 return self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
3052 proportion, flag, border, data);
3053 else
3054 return NULL;
d55e5bfc 3055 }
093d3ff1 3056static bool wxSizer_Remove(wxSizer *self,PyObject *item){
5a446332 3057 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3058 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
d55e5bfc
RD
3059 wxPyEndBlockThreads(blocked);
3060 if ( info.window )
3061 return self->Remove(info.window);
3062 else if ( info.sizer )
3063 return self->Remove(info.sizer);
3064 else if ( info.gotPos )
3065 return self->Remove(info.pos);
b9d6a5f3 3066 else
ae8162c8 3067 return false;
d55e5bfc 3068 }
093d3ff1 3069static bool wxSizer_Detach(wxSizer *self,PyObject *item){
5a446332 3070 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3071 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
1a6bba1e
RD
3072 wxPyEndBlockThreads(blocked);
3073 if ( info.window )
3074 return self->Detach(info.window);
3075 else if ( info.sizer )
3076 return self->Detach(info.sizer);
3077 else if ( info.gotPos )
3078 return self->Detach(info.pos);
b9d6a5f3 3079 else
ae8162c8 3080 return false;
1a6bba1e 3081 }
093d3ff1 3082static wxSizerItem *wxSizer_GetItem(wxSizer *self,PyObject *item){
5a446332 3083 wxPyBlock_t blocked = wxPyBeginBlockThreads();
c1cb24a4
RD
3084 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
3085 wxPyEndBlockThreads(blocked);
3086 if ( info.window )
3087 return self->GetItem(info.window);
3088 else if ( info.sizer )
3089 return self->GetItem(info.sizer);
3090 else if ( info.gotPos )
3091 return self->GetItem(info.pos);
3092 else
3093 return NULL;
3094 }
093d3ff1 3095static void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
5a446332 3096 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3097 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
d55e5bfc
RD
3098 wxPyEndBlockThreads(blocked);
3099 if ( info.window )
3100 self->SetItemMinSize(info.window, size);
3101 else if ( info.sizer )
3102 self->SetItemMinSize(info.sizer, size);
3103 else if ( info.gotPos )
3104 self->SetItemMinSize(info.pos, size);
3105 }
093d3ff1 3106static PyObject *wxSizer_GetChildren(wxSizer *self){
d55e5bfc
RD
3107 wxSizerItemList& list = self->GetChildren();
3108 return wxPy_ConvertList(&list);
3109 }
093d3ff1 3110static bool wxSizer_Show(wxSizer *self,PyObject *item,bool show=true,bool recursive=false){
5a446332 3111 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3112 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
c24da6d6 3113 wxPyEndBlockThreads(blocked);
d55e5bfc 3114 if ( info.window )
7e63a440 3115 return self->Show(info.window, show, recursive);
d55e5bfc 3116 else if ( info.sizer )
7e63a440 3117 return self->Show(info.sizer, show, recursive);
248ed943 3118 else if ( info.gotPos )
7e63a440 3119 return self->Show(info.pos, show);
ae8162c8
RD
3120 else
3121 return false;
d55e5bfc 3122 }
093d3ff1 3123static bool wxSizer_IsShown(wxSizer *self,PyObject *item){
5a446332 3124 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3125 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false);
c24da6d6 3126 wxPyEndBlockThreads(blocked);
b9d6a5f3 3127 if ( info.window )
d55e5bfc 3128 return self->IsShown(info.window);
b9d6a5f3 3129 else if ( info.sizer )
d55e5bfc 3130 return self->IsShown(info.sizer);
248ed943
RD
3131 else if ( info.gotPos )
3132 return self->IsShown(info.pos);
d55e5bfc 3133 else
ae8162c8 3134 return false;
d55e5bfc
RD
3135 }
3136
b9d6a5f3 3137// See pyclasses.h
d55e5bfc
RD
3138IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
3139IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
3140IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
3141
3142
3143
3144
3145bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
3146{
3147 if (source == Py_None) {
3148 **obj = wxGBPosition(-1,-1);
ae8162c8 3149 return true;
d55e5bfc
RD
3150 }
3151 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
3152}
3153
3154bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
3155{
3156 if (source == Py_None) {
3157 **obj = wxGBSpan(-1,-1);
ae8162c8 3158 return true;
d55e5bfc
RD
3159 }
3160 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
3161}
3162
3163
093d3ff1 3164static void wxGBPosition_Set(wxGBPosition *self,int row=0,int col=0){
d55e5bfc
RD
3165 self->SetRow(row);
3166 self->SetCol(col);
3167 }
093d3ff1 3168static PyObject *wxGBPosition_Get(wxGBPosition *self){
5a446332 3169 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3170 PyObject* tup = PyTuple_New(2);
3171 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
3172 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
3173 wxPyEndBlockThreads(blocked);
3174 return tup;
3175 }
093d3ff1 3176static void wxGBSpan_Set(wxGBSpan *self,int rowspan=1,int colspan=1){
d55e5bfc
RD
3177 self->SetRowspan(rowspan);
3178 self->SetColspan(colspan);
3179 }
093d3ff1 3180static PyObject *wxGBSpan_Get(wxGBSpan *self){
5a446332 3181 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3182 PyObject* tup = PyTuple_New(2);
3183 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
3184 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
3185 wxPyEndBlockThreads(blocked);
3186 return tup;
3187 }
093d3ff1 3188static wxGBSizerItem *new_wxGBSizerItem(wxWindow *window,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData=NULL){
248ed943
RD
3189 wxPyUserData* data = NULL;
3190 if ( userData ) {
5a446332 3191 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
3192 data = new wxPyUserData(userData);
3193 wxPyEndBlockThreads(blocked);
3194 }
3195 return new wxGBSizerItem(window, pos, span, flag, border, data);
3196 }
093d3ff1 3197static wxGBSizerItem *new_wxGBSizerItem(wxSizer *sizer,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData=NULL){
248ed943
RD
3198 wxPyUserData* data = NULL;
3199 if ( userData ) {
5a446332 3200 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
3201 data = new wxPyUserData(userData);
3202 wxPyEndBlockThreads(blocked);
3203 }
3204 return new wxGBSizerItem(sizer, pos, span, flag, border, data);
3205 }
093d3ff1 3206static wxGBSizerItem *new_wxGBSizerItem(int width,int height,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData=NULL){
248ed943
RD
3207 wxPyUserData* data = NULL;
3208 if ( userData ) {
5a446332 3209 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
3210 data = new wxPyUserData(userData);
3211 wxPyEndBlockThreads(blocked);
3212 }
3213 return new wxGBSizerItem(width, height, pos, span, flag, border, data);
3214 }
093d3ff1 3215static wxGBPosition wxGBSizerItem_GetEndPos(wxGBSizerItem *self){
248ed943
RD
3216 int row, col;
3217 self->GetEndPos(row, col);
3218 return wxGBPosition(row, col);
3219 }
093d3ff1 3220static wxGBSizerItem *wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span=wxDefaultSpan,int flag=0,int border=0,PyObject *userData=NULL){
d55e5bfc
RD
3221
3222 wxPyUserData* data = NULL;
5a446332 3223 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3224 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d55e5bfc
RD
3225 if ( userData && (info.window || info.sizer || info.gotSize) )
3226 data = new wxPyUserData(userData);
3227 wxPyEndBlockThreads(blocked);
3228
3229 // Now call the real Add method if a valid item type was found
3230 if ( info.window )
c1cb24a4 3231 return (wxGBSizerItem*)self->Add(info.window, pos, span, flag, border, data);
d55e5bfc 3232 else if ( info.sizer )
c1cb24a4 3233 return (wxGBSizerItem*)self->Add(info.sizer, pos, span, flag, border, data);
d55e5bfc 3234 else if (info.gotSize)
c1cb24a4
RD
3235 return (wxGBSizerItem*)self->Add(info.size.GetWidth(), info.size.GetHeight(),
3236 pos, span, flag, border, data);
3237 return NULL;
d55e5bfc
RD
3238 }
3239
3240
3241#ifdef __cplusplus
3242extern "C" {
3243#endif
c32bde28 3244static int _wrap_EmptyString_set(PyObject *) {
d55e5bfc
RD
3245 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
3246 return 1;
3247}
3248
3249
093d3ff1 3250static PyObject *_wrap_EmptyString_get(void) {
d55e5bfc
RD
3251 PyObject *pyobj;
3252
3253 {
3254#if wxUSE_UNICODE
3255 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
3256#else
3257 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
3258#endif
3259 }
3260 return pyobj;
3261}
3262
3263
c32bde28 3264static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3265 PyObject *resultobj;
3266 wxObject *arg1 = (wxObject *) 0 ;
3267 wxString result;
3268 PyObject * obj0 = 0 ;
3269 char *kwnames[] = {
3270 (char *) "self", NULL
3271 };
3272
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
093d3ff1
RD
3274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
3275 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 result = wxObject_GetClassName(arg1);
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 {
3284#if wxUSE_UNICODE
3285 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3286#else
3287 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3288#endif
3289 }
3290 return resultobj;
3291 fail:
3292 return NULL;
3293}
3294
3295
c32bde28 3296static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3297 PyObject *resultobj;
3298 wxObject *arg1 = (wxObject *) 0 ;
3299 PyObject * obj0 = 0 ;
3300 char *kwnames[] = {
3301 (char *) "self", NULL
3302 };
3303
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
3305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
3306 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3307 {
3308 PyThreadState* __tstate = wxPyBeginAllowThreads();
3309 wxObject_Destroy(arg1);
3310
3311 wxPyEndAllowThreads(__tstate);
3312 if (PyErr_Occurred()) SWIG_fail;
3313 }
3314 Py_INCREF(Py_None); resultobj = Py_None;
3315 return resultobj;
3316 fail:
3317 return NULL;
3318}
3319
3320
c32bde28 3321static PyObject * Object_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3322 PyObject *obj;
3323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3324 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
3325 Py_INCREF(obj);
3326 return Py_BuildValue((char *)"");
3327}
c32bde28 3328static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3329 PyObject *resultobj;
3330 wxSize *arg1 = (wxSize *) 0 ;
3331 int arg2 ;
3332 PyObject * obj0 = 0 ;
3333 PyObject * obj1 = 0 ;
3334 char *kwnames[] = {
3335 (char *) "self",(char *) "x", NULL
3336 };
3337
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3340 if (SWIG_arg_fail(1)) SWIG_fail;
3341 {
3342 arg2 = (int)(SWIG_As_int(obj1));
3343 if (SWIG_arg_fail(2)) SWIG_fail;
3344 }
d55e5bfc
RD
3345 if (arg1) (arg1)->x = arg2;
3346
3347 Py_INCREF(Py_None); resultobj = Py_None;
3348 return resultobj;
3349 fail:
3350 return NULL;
3351}
3352
3353
c32bde28 3354static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3355 PyObject *resultobj;
3356 wxSize *arg1 = (wxSize *) 0 ;
3357 int result;
3358 PyObject * obj0 = 0 ;
3359 char *kwnames[] = {
3360 (char *) "self", NULL
3361 };
3362
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
3364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3366 result = (int) ((arg1)->x);
3367
093d3ff1
RD
3368 {
3369 resultobj = SWIG_From_int((int)(result));
3370 }
d55e5bfc
RD
3371 return resultobj;
3372 fail:
3373 return NULL;
3374}
3375
3376
c32bde28 3377static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3378 PyObject *resultobj;
3379 wxSize *arg1 = (wxSize *) 0 ;
3380 int arg2 ;
3381 PyObject * obj0 = 0 ;
3382 PyObject * obj1 = 0 ;
3383 char *kwnames[] = {
3384 (char *) "self",(char *) "y", NULL
3385 };
3386
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3389 if (SWIG_arg_fail(1)) SWIG_fail;
3390 {
3391 arg2 = (int)(SWIG_As_int(obj1));
3392 if (SWIG_arg_fail(2)) SWIG_fail;
3393 }
d55e5bfc
RD
3394 if (arg1) (arg1)->y = arg2;
3395
3396 Py_INCREF(Py_None); resultobj = Py_None;
3397 return resultobj;
3398 fail:
3399 return NULL;
3400}
3401
3402
c32bde28 3403static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3404 PyObject *resultobj;
3405 wxSize *arg1 = (wxSize *) 0 ;
3406 int result;
3407 PyObject * obj0 = 0 ;
3408 char *kwnames[] = {
3409 (char *) "self", NULL
3410 };
3411
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
3413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3414 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3415 result = (int) ((arg1)->y);
3416
093d3ff1
RD
3417 {
3418 resultobj = SWIG_From_int((int)(result));
3419 }
d55e5bfc
RD
3420 return resultobj;
3421 fail:
3422 return NULL;
3423}
3424
3425
c32bde28 3426static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3427 PyObject *resultobj;
3428 int arg1 = (int) 0 ;
3429 int arg2 = (int) 0 ;
3430 wxSize *result;
3431 PyObject * obj0 = 0 ;
3432 PyObject * obj1 = 0 ;
3433 char *kwnames[] = {
3434 (char *) "w",(char *) "h", NULL
3435 };
3436
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
3438 if (obj0) {
093d3ff1
RD
3439 {
3440 arg1 = (int)(SWIG_As_int(obj0));
3441 if (SWIG_arg_fail(1)) SWIG_fail;
3442 }
d55e5bfc
RD
3443 }
3444 if (obj1) {
093d3ff1
RD
3445 {
3446 arg2 = (int)(SWIG_As_int(obj1));
3447 if (SWIG_arg_fail(2)) SWIG_fail;
3448 }
d55e5bfc
RD
3449 }
3450 {
3451 PyThreadState* __tstate = wxPyBeginAllowThreads();
3452 result = (wxSize *)new wxSize(arg1,arg2);
3453
3454 wxPyEndAllowThreads(__tstate);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
3458 return resultobj;
3459 fail:
3460 return NULL;
3461}
3462
3463
c32bde28 3464static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3465 PyObject *resultobj;
3466 wxSize *arg1 = (wxSize *) 0 ;
3467 PyObject * obj0 = 0 ;
3468 char *kwnames[] = {
3469 (char *) "self", NULL
3470 };
3471
3472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
093d3ff1
RD
3473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3474 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 delete arg1;
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 Py_INCREF(Py_None); resultobj = Py_None;
3483 return resultobj;
3484 fail:
3485 return NULL;
3486}
3487
3488
c32bde28 3489static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3490 PyObject *resultobj;
3491 wxSize *arg1 = (wxSize *) 0 ;
3492 wxSize *arg2 = 0 ;
3493 bool result;
3494 wxSize temp2 ;
3495 PyObject * obj0 = 0 ;
3496 PyObject * obj1 = 0 ;
3497 char *kwnames[] = {
3498 (char *) "self",(char *) "sz", NULL
3499 };
3500
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3504 {
3505 arg2 = &temp2;
3506 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3507 }
3508 {
3509 PyThreadState* __tstate = wxPyBeginAllowThreads();
3510 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
3511
3512 wxPyEndAllowThreads(__tstate);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 {
3516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3517 }
3518 return resultobj;
3519 fail:
3520 return NULL;
3521}
3522
3523
c32bde28 3524static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3525 PyObject *resultobj;
3526 wxSize *arg1 = (wxSize *) 0 ;
3527 wxSize *arg2 = 0 ;
3528 bool result;
3529 wxSize temp2 ;
3530 PyObject * obj0 = 0 ;
3531 PyObject * obj1 = 0 ;
3532 char *kwnames[] = {
3533 (char *) "self",(char *) "sz", NULL
3534 };
3535
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3539 {
3540 arg2 = &temp2;
3541 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3542 }
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 {
3551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3552 }
3553 return resultobj;
3554 fail:
3555 return NULL;
3556}
3557
3558
c32bde28 3559static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3560 PyObject *resultobj;
3561 wxSize *arg1 = (wxSize *) 0 ;
3562 wxSize *arg2 = 0 ;
3563 wxSize result;
3564 wxSize temp2 ;
3565 PyObject * obj0 = 0 ;
3566 PyObject * obj1 = 0 ;
3567 char *kwnames[] = {
3568 (char *) "self",(char *) "sz", NULL
3569 };
3570
3571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3573 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3574 {
3575 arg2 = &temp2;
3576 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3577 }
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 result = (arg1)->operator +((wxSize const &)*arg2);
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 {
3586 wxSize * resultptr;
093d3ff1 3587 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
3588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3589 }
3590 return resultobj;
3591 fail:
3592 return NULL;
3593}
3594
3595
c32bde28 3596static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3597 PyObject *resultobj;
3598 wxSize *arg1 = (wxSize *) 0 ;
3599 wxSize *arg2 = 0 ;
3600 wxSize result;
3601 wxSize temp2 ;
3602 PyObject * obj0 = 0 ;
3603 PyObject * obj1 = 0 ;
3604 char *kwnames[] = {
3605 (char *) "self",(char *) "sz", NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3611 {
3612 arg2 = &temp2;
3613 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3614 }
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 result = (arg1)->operator -((wxSize const &)*arg2);
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 {
3623 wxSize * resultptr;
093d3ff1 3624 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
3625 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3626 }
3627 return resultobj;
3628 fail:
3629 return NULL;
3630}
3631
3632
c32bde28 3633static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3634 PyObject *resultobj;
3635 wxSize *arg1 = (wxSize *) 0 ;
3636 wxSize *arg2 = 0 ;
3637 wxSize temp2 ;
3638 PyObject * obj0 = 0 ;
3639 PyObject * obj1 = 0 ;
3640 char *kwnames[] = {
3641 (char *) "self",(char *) "sz", NULL
3642 };
3643
3644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3647 {
3648 arg2 = &temp2;
3649 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3650 }
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
3653 (arg1)->IncTo((wxSize const &)*arg2);
3654
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 }
3658 Py_INCREF(Py_None); resultobj = Py_None;
3659 return resultobj;
3660 fail:
3661 return NULL;
3662}
3663
3664
c32bde28 3665static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3666 PyObject *resultobj;
3667 wxSize *arg1 = (wxSize *) 0 ;
3668 wxSize *arg2 = 0 ;
3669 wxSize temp2 ;
3670 PyObject * obj0 = 0 ;
3671 PyObject * obj1 = 0 ;
3672 char *kwnames[] = {
3673 (char *) "self",(char *) "sz", NULL
3674 };
3675
3676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3678 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3679 {
3680 arg2 = &temp2;
3681 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3682 }
3683 {
3684 PyThreadState* __tstate = wxPyBeginAllowThreads();
3685 (arg1)->DecTo((wxSize const &)*arg2);
3686
3687 wxPyEndAllowThreads(__tstate);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 }
3690 Py_INCREF(Py_None); resultobj = Py_None;
3691 return resultobj;
3692 fail:
3693 return NULL;
3694}
3695
3696
c32bde28 3697static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3698 PyObject *resultobj;
3699 wxSize *arg1 = (wxSize *) 0 ;
3700 int arg2 ;
3701 int arg3 ;
3702 PyObject * obj0 = 0 ;
3703 PyObject * obj1 = 0 ;
3704 PyObject * obj2 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self",(char *) "w",(char *) "h", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3711 if (SWIG_arg_fail(1)) SWIG_fail;
3712 {
3713 arg2 = (int)(SWIG_As_int(obj1));
3714 if (SWIG_arg_fail(2)) SWIG_fail;
3715 }
3716 {
3717 arg3 = (int)(SWIG_As_int(obj2));
3718 if (SWIG_arg_fail(3)) SWIG_fail;
3719 }
d55e5bfc
RD
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 (arg1)->Set(arg2,arg3);
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 Py_INCREF(Py_None); resultobj = Py_None;
3728 return resultobj;
3729 fail:
3730 return NULL;
3731}
3732
3733
c32bde28 3734static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3735 PyObject *resultobj;
3736 wxSize *arg1 = (wxSize *) 0 ;
3737 int arg2 ;
3738 PyObject * obj0 = 0 ;
3739 PyObject * obj1 = 0 ;
3740 char *kwnames[] = {
3741 (char *) "self",(char *) "w", NULL
3742 };
3743
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3746 if (SWIG_arg_fail(1)) SWIG_fail;
3747 {
3748 arg2 = (int)(SWIG_As_int(obj1));
3749 if (SWIG_arg_fail(2)) SWIG_fail;
3750 }
d55e5bfc
RD
3751 {
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 (arg1)->SetWidth(arg2);
3754
3755 wxPyEndAllowThreads(__tstate);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 }
3758 Py_INCREF(Py_None); resultobj = Py_None;
3759 return resultobj;
3760 fail:
3761 return NULL;
3762}
3763
3764
c32bde28 3765static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3766 PyObject *resultobj;
3767 wxSize *arg1 = (wxSize *) 0 ;
3768 int arg2 ;
3769 PyObject * obj0 = 0 ;
3770 PyObject * obj1 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self",(char *) "h", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3777 if (SWIG_arg_fail(1)) SWIG_fail;
3778 {
3779 arg2 = (int)(SWIG_As_int(obj1));
3780 if (SWIG_arg_fail(2)) SWIG_fail;
3781 }
d55e5bfc
RD
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 (arg1)->SetHeight(arg2);
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 Py_INCREF(Py_None); resultobj = Py_None;
3790 return resultobj;
3791 fail:
3792 return NULL;
3793}
3794
3795
c32bde28 3796static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3797 PyObject *resultobj;
3798 wxSize *arg1 = (wxSize *) 0 ;
3799 int result;
3800 PyObject * obj0 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
3806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 result = (int)((wxSize const *)arg1)->GetWidth();
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
093d3ff1
RD
3815 {
3816 resultobj = SWIG_From_int((int)(result));
3817 }
d55e5bfc
RD
3818 return resultobj;
3819 fail:
3820 return NULL;
3821}
3822
3823
c32bde28 3824static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3825 PyObject *resultobj;
3826 wxSize *arg1 = (wxSize *) 0 ;
3827 int result;
3828 PyObject * obj0 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "self", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
3834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3835 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 result = (int)((wxSize const *)arg1)->GetHeight();
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
093d3ff1
RD
3843 {
3844 resultobj = SWIG_From_int((int)(result));
3845 }
d55e5bfc
RD
3846 return resultobj;
3847 fail:
3848 return NULL;
3849}
3850
3851
c32bde28 3852static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3853 PyObject *resultobj;
3854 wxSize *arg1 = (wxSize *) 0 ;
3855 bool result;
3856 PyObject * obj0 = 0 ;
3857 char *kwnames[] = {
3858 (char *) "self", NULL
3859 };
3860
3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
093d3ff1
RD
3862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 {
3872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3873 }
3874 return resultobj;
3875 fail:
3876 return NULL;
3877}
3878
3879
c32bde28 3880static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3881 PyObject *resultobj;
3882 wxSize *arg1 = (wxSize *) 0 ;
3883 wxSize *arg2 = 0 ;
3884 wxSize temp2 ;
3885 PyObject * obj0 = 0 ;
3886 PyObject * obj1 = 0 ;
3887 char *kwnames[] = {
3888 (char *) "self",(char *) "size", NULL
3889 };
3890
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3893 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3894 {
3895 arg2 = &temp2;
3896 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3897 }
3898 {
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
3900 (arg1)->SetDefaults((wxSize const &)*arg2);
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 Py_INCREF(Py_None); resultobj = Py_None;
3906 return resultobj;
3907 fail:
3908 return NULL;
3909}
3910
3911
c32bde28 3912static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3913 PyObject *resultobj;
3914 wxSize *arg1 = (wxSize *) 0 ;
3915 PyObject *result;
3916 PyObject * obj0 = 0 ;
3917 char *kwnames[] = {
3918 (char *) "self", NULL
3919 };
3920
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
3922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 result = (PyObject *)wxSize_Get(arg1);
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 resultobj = result;
3932 return resultobj;
3933 fail:
3934 return NULL;
3935}
3936
3937
c32bde28 3938static PyObject * Size_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3939 PyObject *obj;
3940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3941 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
3942 Py_INCREF(obj);
3943 return Py_BuildValue((char *)"");
3944}
c32bde28 3945static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3946 PyObject *resultobj;
3947 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3948 double arg2 ;
3949 PyObject * obj0 = 0 ;
3950 PyObject * obj1 = 0 ;
3951 char *kwnames[] = {
3952 (char *) "self",(char *) "x", NULL
3953 };
3954
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
3957 if (SWIG_arg_fail(1)) SWIG_fail;
3958 {
3959 arg2 = (double)(SWIG_As_double(obj1));
3960 if (SWIG_arg_fail(2)) SWIG_fail;
3961 }
d55e5bfc
RD
3962 if (arg1) (arg1)->x = arg2;
3963
3964 Py_INCREF(Py_None); resultobj = Py_None;
3965 return resultobj;
3966 fail:
3967 return NULL;
3968}
3969
3970
c32bde28 3971static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3972 PyObject *resultobj;
3973 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3974 double result;
3975 PyObject * obj0 = 0 ;
3976 char *kwnames[] = {
3977 (char *) "self", NULL
3978 };
3979
3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
3981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
3982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3983 result = (double) ((arg1)->x);
3984
093d3ff1
RD
3985 {
3986 resultobj = SWIG_From_double((double)(result));
3987 }
d55e5bfc
RD
3988 return resultobj;
3989 fail:
3990 return NULL;
3991}
3992
3993
c32bde28 3994static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3995 PyObject *resultobj;
3996 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3997 double arg2 ;
3998 PyObject * obj0 = 0 ;
3999 PyObject * obj1 = 0 ;
4000 char *kwnames[] = {
4001 (char *) "self",(char *) "y", NULL
4002 };
4003
4004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4006 if (SWIG_arg_fail(1)) SWIG_fail;
4007 {
4008 arg2 = (double)(SWIG_As_double(obj1));
4009 if (SWIG_arg_fail(2)) SWIG_fail;
4010 }
d55e5bfc
RD
4011 if (arg1) (arg1)->y = arg2;
4012
4013 Py_INCREF(Py_None); resultobj = Py_None;
4014 return resultobj;
4015 fail:
4016 return NULL;
4017}
4018
4019
c32bde28 4020static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4021 PyObject *resultobj;
4022 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4023 double result;
4024 PyObject * obj0 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "self", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4032 result = (double) ((arg1)->y);
4033
093d3ff1
RD
4034 {
4035 resultobj = SWIG_From_double((double)(result));
4036 }
d55e5bfc
RD
4037 return resultobj;
4038 fail:
4039 return NULL;
4040}
4041
4042
c32bde28 4043static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4044 PyObject *resultobj;
4045 double arg1 = (double) 0.0 ;
4046 double arg2 = (double) 0.0 ;
4047 wxRealPoint *result;
4048 PyObject * obj0 = 0 ;
4049 PyObject * obj1 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "x",(char *) "y", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
4055 if (obj0) {
093d3ff1
RD
4056 {
4057 arg1 = (double)(SWIG_As_double(obj0));
4058 if (SWIG_arg_fail(1)) SWIG_fail;
4059 }
d55e5bfc
RD
4060 }
4061 if (obj1) {
093d3ff1
RD
4062 {
4063 arg2 = (double)(SWIG_As_double(obj1));
4064 if (SWIG_arg_fail(2)) SWIG_fail;
4065 }
d55e5bfc
RD
4066 }
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
4075 return resultobj;
4076 fail:
4077 return NULL;
4078}
4079
4080
c32bde28 4081static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4082 PyObject *resultobj;
4083 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4084 PyObject * obj0 = 0 ;
4085 char *kwnames[] = {
4086 (char *) "self", NULL
4087 };
4088
4089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
4090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4091 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 delete arg1;
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 Py_INCREF(Py_None); resultobj = Py_None;
4100 return resultobj;
4101 fail:
4102 return NULL;
4103}
4104
4105
c32bde28 4106static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4107 PyObject *resultobj;
4108 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4109 wxRealPoint *arg2 = 0 ;
4110 bool result;
4111 wxRealPoint temp2 ;
4112 PyObject * obj0 = 0 ;
4113 PyObject * obj1 = 0 ;
4114 char *kwnames[] = {
4115 (char *) "self",(char *) "pt", NULL
4116 };
4117
4118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4120 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4121 {
4122 arg2 = &temp2;
4123 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4124 }
4125 {
4126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4127 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
4128
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 {
4133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4134 }
4135 return resultobj;
4136 fail:
4137 return NULL;
4138}
4139
4140
c32bde28 4141static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4142 PyObject *resultobj;
4143 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4144 wxRealPoint *arg2 = 0 ;
4145 bool result;
4146 wxRealPoint temp2 ;
4147 PyObject * obj0 = 0 ;
4148 PyObject * obj1 = 0 ;
4149 char *kwnames[] = {
4150 (char *) "self",(char *) "pt", NULL
4151 };
4152
4153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4156 {
4157 arg2 = &temp2;
4158 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4159 }
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 {
4168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4169 }
4170 return resultobj;
4171 fail:
4172 return NULL;
4173}
4174
4175
c32bde28 4176static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4177 PyObject *resultobj;
4178 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4179 wxRealPoint *arg2 = 0 ;
4180 wxRealPoint result;
4181 wxRealPoint temp2 ;
4182 PyObject * obj0 = 0 ;
4183 PyObject * obj1 = 0 ;
4184 char *kwnames[] = {
4185 (char *) "self",(char *) "pt", NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4191 {
4192 arg2 = &temp2;
4193 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4194 }
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 result = (arg1)->operator +((wxRealPoint const &)*arg2);
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 {
4203 wxRealPoint * resultptr;
093d3ff1 4204 resultptr = new wxRealPoint((wxRealPoint &)(result));
d55e5bfc
RD
4205 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
4206 }
4207 return resultobj;
4208 fail:
4209 return NULL;
4210}
4211
4212
c32bde28 4213static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4214 PyObject *resultobj;
4215 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4216 wxRealPoint *arg2 = 0 ;
4217 wxRealPoint result;
4218 wxRealPoint temp2 ;
4219 PyObject * obj0 = 0 ;
4220 PyObject * obj1 = 0 ;
4221 char *kwnames[] = {
4222 (char *) "self",(char *) "pt", NULL
4223 };
4224
4225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4227 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4228 {
4229 arg2 = &temp2;
4230 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4231 }
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 result = (arg1)->operator -((wxRealPoint const &)*arg2);
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 {
4240 wxRealPoint * resultptr;
093d3ff1 4241 resultptr = new wxRealPoint((wxRealPoint &)(result));
d55e5bfc
RD
4242 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
4243 }
4244 return resultobj;
4245 fail:
4246 return NULL;
4247}
4248
4249
c32bde28 4250static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4251 PyObject *resultobj;
4252 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4253 double arg2 ;
4254 double arg3 ;
4255 PyObject * obj0 = 0 ;
4256 PyObject * obj1 = 0 ;
4257 PyObject * obj2 = 0 ;
4258 char *kwnames[] = {
4259 (char *) "self",(char *) "x",(char *) "y", NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4264 if (SWIG_arg_fail(1)) SWIG_fail;
4265 {
4266 arg2 = (double)(SWIG_As_double(obj1));
4267 if (SWIG_arg_fail(2)) SWIG_fail;
4268 }
4269 {
4270 arg3 = (double)(SWIG_As_double(obj2));
4271 if (SWIG_arg_fail(3)) SWIG_fail;
4272 }
d55e5bfc
RD
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 wxRealPoint_Set(arg1,arg2,arg3);
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 Py_INCREF(Py_None); resultobj = Py_None;
4281 return resultobj;
4282 fail:
4283 return NULL;
4284}
4285
4286
c32bde28 4287static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4288 PyObject *resultobj;
4289 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4290 PyObject *result;
4291 PyObject * obj0 = 0 ;
4292 char *kwnames[] = {
4293 (char *) "self", NULL
4294 };
4295
4296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4299 {
4300 PyThreadState* __tstate = wxPyBeginAllowThreads();
4301 result = (PyObject *)wxRealPoint_Get(arg1);
4302
4303 wxPyEndAllowThreads(__tstate);
4304 if (PyErr_Occurred()) SWIG_fail;
4305 }
4306 resultobj = result;
4307 return resultobj;
4308 fail:
4309 return NULL;
4310}
4311
4312
c32bde28 4313static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4314 PyObject *obj;
4315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4316 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
4317 Py_INCREF(obj);
4318 return Py_BuildValue((char *)"");
4319}
c32bde28 4320static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4321 PyObject *resultobj;
4322 wxPoint *arg1 = (wxPoint *) 0 ;
4323 int arg2 ;
4324 PyObject * obj0 = 0 ;
4325 PyObject * obj1 = 0 ;
4326 char *kwnames[] = {
4327 (char *) "self",(char *) "x", NULL
4328 };
4329
4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4332 if (SWIG_arg_fail(1)) SWIG_fail;
4333 {
4334 arg2 = (int)(SWIG_As_int(obj1));
4335 if (SWIG_arg_fail(2)) SWIG_fail;
4336 }
d55e5bfc
RD
4337 if (arg1) (arg1)->x = arg2;
4338
4339 Py_INCREF(Py_None); resultobj = Py_None;
4340 return resultobj;
4341 fail:
4342 return NULL;
4343}
4344
4345
c32bde28 4346static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4347 PyObject *resultobj;
4348 wxPoint *arg1 = (wxPoint *) 0 ;
4349 int result;
4350 PyObject * obj0 = 0 ;
4351 char *kwnames[] = {
4352 (char *) "self", NULL
4353 };
4354
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4357 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4358 result = (int) ((arg1)->x);
4359
093d3ff1
RD
4360 {
4361 resultobj = SWIG_From_int((int)(result));
4362 }
d55e5bfc
RD
4363 return resultobj;
4364 fail:
4365 return NULL;
4366}
4367
4368
c32bde28 4369static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4370 PyObject *resultobj;
4371 wxPoint *arg1 = (wxPoint *) 0 ;
4372 int arg2 ;
4373 PyObject * obj0 = 0 ;
4374 PyObject * obj1 = 0 ;
4375 char *kwnames[] = {
4376 (char *) "self",(char *) "y", NULL
4377 };
4378
4379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4381 if (SWIG_arg_fail(1)) SWIG_fail;
4382 {
4383 arg2 = (int)(SWIG_As_int(obj1));
4384 if (SWIG_arg_fail(2)) SWIG_fail;
4385 }
d55e5bfc
RD
4386 if (arg1) (arg1)->y = arg2;
4387
4388 Py_INCREF(Py_None); resultobj = Py_None;
4389 return resultobj;
4390 fail:
4391 return NULL;
4392}
4393
4394
c32bde28 4395static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4396 PyObject *resultobj;
4397 wxPoint *arg1 = (wxPoint *) 0 ;
4398 int result;
4399 PyObject * obj0 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4407 result = (int) ((arg1)->y);
4408
093d3ff1
RD
4409 {
4410 resultobj = SWIG_From_int((int)(result));
4411 }
d55e5bfc
RD
4412 return resultobj;
4413 fail:
4414 return NULL;
4415}
4416
4417
c32bde28 4418static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4419 PyObject *resultobj;
4420 int arg1 = (int) 0 ;
4421 int arg2 = (int) 0 ;
4422 wxPoint *result;
4423 PyObject * obj0 = 0 ;
4424 PyObject * obj1 = 0 ;
4425 char *kwnames[] = {
4426 (char *) "x",(char *) "y", NULL
4427 };
4428
4429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
4430 if (obj0) {
093d3ff1
RD
4431 {
4432 arg1 = (int)(SWIG_As_int(obj0));
4433 if (SWIG_arg_fail(1)) SWIG_fail;
4434 }
d55e5bfc
RD
4435 }
4436 if (obj1) {
093d3ff1
RD
4437 {
4438 arg2 = (int)(SWIG_As_int(obj1));
4439 if (SWIG_arg_fail(2)) SWIG_fail;
4440 }
d55e5bfc
RD
4441 }
4442 {
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 result = (wxPoint *)new wxPoint(arg1,arg2);
4445
4446 wxPyEndAllowThreads(__tstate);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 }
4449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
4450 return resultobj;
4451 fail:
4452 return NULL;
4453}
4454
4455
c32bde28 4456static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4457 PyObject *resultobj;
4458 wxPoint *arg1 = (wxPoint *) 0 ;
4459 PyObject * obj0 = 0 ;
4460 char *kwnames[] = {
4461 (char *) "self", NULL
4462 };
4463
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
093d3ff1
RD
4465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4466 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 delete arg1;
4470
4471 wxPyEndAllowThreads(__tstate);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 }
4474 Py_INCREF(Py_None); resultobj = Py_None;
4475 return resultobj;
4476 fail:
4477 return NULL;
4478}
4479
4480
c32bde28 4481static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4482 PyObject *resultobj;
4483 wxPoint *arg1 = (wxPoint *) 0 ;
4484 wxPoint *arg2 = 0 ;
4485 bool result;
4486 wxPoint temp2 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 char *kwnames[] = {
4490 (char *) "self",(char *) "pt", NULL
4491 };
4492
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4495 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4496 {
4497 arg2 = &temp2;
4498 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4499 }
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
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
c32bde28 4516static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4517 PyObject *resultobj;
4518 wxPoint *arg1 = (wxPoint *) 0 ;
4519 wxPoint *arg2 = 0 ;
4520 bool result;
4521 wxPoint temp2 ;
4522 PyObject * obj0 = 0 ;
4523 PyObject * obj1 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "self",(char *) "pt", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4531 {
4532 arg2 = &temp2;
4533 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4534 }
4535 {
4536 PyThreadState* __tstate = wxPyBeginAllowThreads();
4537 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
4538
4539 wxPyEndAllowThreads(__tstate);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 {
4543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4544 }
4545 return resultobj;
4546 fail:
4547 return NULL;
4548}
4549
4550
c32bde28 4551static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4552 PyObject *resultobj;
4553 wxPoint *arg1 = (wxPoint *) 0 ;
4554 wxPoint *arg2 = 0 ;
4555 wxPoint result;
4556 wxPoint temp2 ;
4557 PyObject * obj0 = 0 ;
4558 PyObject * obj1 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "self",(char *) "pt", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4566 {
4567 arg2 = &temp2;
4568 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4569 }
4570 {
4571 PyThreadState* __tstate = wxPyBeginAllowThreads();
4572 result = (arg1)->operator +((wxPoint const &)*arg2);
4573
4574 wxPyEndAllowThreads(__tstate);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 }
4577 {
4578 wxPoint * resultptr;
093d3ff1 4579 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
4580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4581 }
4582 return resultobj;
4583 fail:
4584 return NULL;
4585}
4586
4587
c32bde28 4588static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4589 PyObject *resultobj;
4590 wxPoint *arg1 = (wxPoint *) 0 ;
4591 wxPoint *arg2 = 0 ;
4592 wxPoint result;
4593 wxPoint temp2 ;
4594 PyObject * obj0 = 0 ;
4595 PyObject * obj1 = 0 ;
4596 char *kwnames[] = {
4597 (char *) "self",(char *) "pt", NULL
4598 };
4599
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4603 {
4604 arg2 = &temp2;
4605 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4606 }
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 result = (arg1)->operator -((wxPoint const &)*arg2);
4610
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 {
4615 wxPoint * resultptr;
093d3ff1 4616 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
4617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4618 }
4619 return resultobj;
4620 fail:
4621 return NULL;
4622}
4623
4624
c32bde28 4625static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4626 PyObject *resultobj;
4627 wxPoint *arg1 = (wxPoint *) 0 ;
4628 wxPoint *arg2 = 0 ;
4629 wxPoint *result;
4630 wxPoint temp2 ;
4631 PyObject * obj0 = 0 ;
4632 PyObject * obj1 = 0 ;
4633 char *kwnames[] = {
4634 (char *) "self",(char *) "pt", NULL
4635 };
4636
4637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4639 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4640 {
4641 arg2 = &temp2;
4642 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4643 }
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 {
4647 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
4648 result = (wxPoint *) &_result_ref;
4649 }
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
c32bde28 4654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d55e5bfc
RD
4655 return resultobj;
4656 fail:
4657 return NULL;
4658}
4659
4660
c32bde28 4661static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4662 PyObject *resultobj;
4663 wxPoint *arg1 = (wxPoint *) 0 ;
4664 wxPoint *arg2 = 0 ;
4665 wxPoint *result;
4666 wxPoint temp2 ;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 char *kwnames[] = {
4670 (char *) "self",(char *) "pt", NULL
4671 };
4672
4673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4676 {
4677 arg2 = &temp2;
4678 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4679 }
4680 {
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 {
4683 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
4684 result = (wxPoint *) &_result_ref;
4685 }
4686
4687 wxPyEndAllowThreads(__tstate);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
c32bde28 4690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d55e5bfc
RD
4691 return resultobj;
4692 fail:
4693 return NULL;
4694}
4695
4696
c32bde28 4697static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4698 PyObject *resultobj;
4699 wxPoint *arg1 = (wxPoint *) 0 ;
4700 long arg2 ;
4701 long arg3 ;
4702 PyObject * obj0 = 0 ;
4703 PyObject * obj1 = 0 ;
4704 PyObject * obj2 = 0 ;
4705 char *kwnames[] = {
4706 (char *) "self",(char *) "x",(char *) "y", NULL
4707 };
4708
4709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4711 if (SWIG_arg_fail(1)) SWIG_fail;
4712 {
4713 arg2 = (long)(SWIG_As_long(obj1));
4714 if (SWIG_arg_fail(2)) SWIG_fail;
4715 }
4716 {
4717 arg3 = (long)(SWIG_As_long(obj2));
4718 if (SWIG_arg_fail(3)) SWIG_fail;
4719 }
d55e5bfc
RD
4720 {
4721 PyThreadState* __tstate = wxPyBeginAllowThreads();
4722 wxPoint_Set(arg1,arg2,arg3);
4723
4724 wxPyEndAllowThreads(__tstate);
4725 if (PyErr_Occurred()) SWIG_fail;
4726 }
4727 Py_INCREF(Py_None); resultobj = Py_None;
4728 return resultobj;
4729 fail:
4730 return NULL;
4731}
4732
4733
c32bde28 4734static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4735 PyObject *resultobj;
4736 wxPoint *arg1 = (wxPoint *) 0 ;
4737 PyObject *result;
4738 PyObject * obj0 = 0 ;
4739 char *kwnames[] = {
4740 (char *) "self", NULL
4741 };
4742
4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (PyObject *)wxPoint_Get(arg1);
4749
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 resultobj = result;
4754 return resultobj;
4755 fail:
4756 return NULL;
4757}
4758
4759
c32bde28 4760static PyObject * Point_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4761 PyObject *obj;
4762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4763 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
4764 Py_INCREF(obj);
4765 return Py_BuildValue((char *)"");
4766}
c32bde28 4767static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4768 PyObject *resultobj;
4769 int arg1 = (int) 0 ;
4770 int arg2 = (int) 0 ;
4771 int arg3 = (int) 0 ;
4772 int arg4 = (int) 0 ;
4773 wxRect *result;
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 PyObject * obj2 = 0 ;
4777 PyObject * obj3 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4783 if (obj0) {
093d3ff1
RD
4784 {
4785 arg1 = (int)(SWIG_As_int(obj0));
4786 if (SWIG_arg_fail(1)) SWIG_fail;
4787 }
d55e5bfc
RD
4788 }
4789 if (obj1) {
093d3ff1
RD
4790 {
4791 arg2 = (int)(SWIG_As_int(obj1));
4792 if (SWIG_arg_fail(2)) SWIG_fail;
4793 }
d55e5bfc
RD
4794 }
4795 if (obj2) {
093d3ff1
RD
4796 {
4797 arg3 = (int)(SWIG_As_int(obj2));
4798 if (SWIG_arg_fail(3)) SWIG_fail;
4799 }
d55e5bfc
RD
4800 }
4801 if (obj3) {
093d3ff1
RD
4802 {
4803 arg4 = (int)(SWIG_As_int(obj3));
4804 if (SWIG_arg_fail(4)) SWIG_fail;
4805 }
d55e5bfc
RD
4806 }
4807 {
4808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4809 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
4815 return resultobj;
4816 fail:
4817 return NULL;
4818}
4819
4820
c32bde28 4821static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4822 PyObject *resultobj;
4823 wxPoint *arg1 = 0 ;
4824 wxPoint *arg2 = 0 ;
4825 wxRect *result;
4826 wxPoint temp1 ;
4827 wxPoint temp2 ;
4828 PyObject * obj0 = 0 ;
4829 PyObject * obj1 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "topLeft",(char *) "bottomRight", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
4835 {
4836 arg1 = &temp1;
4837 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4838 }
4839 {
4840 arg2 = &temp2;
4841 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4842 }
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
4851 return resultobj;
4852 fail:
4853 return NULL;
4854}
4855
4856
c32bde28 4857static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4858 PyObject *resultobj;
4859 wxPoint *arg1 = 0 ;
4860 wxSize *arg2 = 0 ;
4861 wxRect *result;
4862 wxPoint temp1 ;
4863 wxSize temp2 ;
4864 PyObject * obj0 = 0 ;
4865 PyObject * obj1 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "pos",(char *) "size", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
4871 {
4872 arg1 = &temp1;
4873 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4874 }
4875 {
4876 arg2 = &temp2;
4877 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4878 }
4879 {
4880 PyThreadState* __tstate = wxPyBeginAllowThreads();
4881 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
4882
4883 wxPyEndAllowThreads(__tstate);
4884 if (PyErr_Occurred()) SWIG_fail;
4885 }
4886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
4887 return resultobj;
4888 fail:
4889 return NULL;
4890}
4891
4892
c1cb24a4
RD
4893static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) {
4894 PyObject *resultobj;
4895 wxSize *arg1 = 0 ;
4896 wxRect *result;
4897 wxSize temp1 ;
4898 PyObject * obj0 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "size", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RectS",kwnames,&obj0)) goto fail;
4904 {
4905 arg1 = &temp1;
4906 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
4907 }
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = (wxRect *)new wxRect((wxSize const &)*arg1);
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
4916 return resultobj;
4917 fail:
4918 return NULL;
4919}
4920
4921
c32bde28 4922static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4923 PyObject *resultobj;
4924 wxRect *arg1 = (wxRect *) 0 ;
4925 PyObject * obj0 = 0 ;
4926 char *kwnames[] = {
4927 (char *) "self", NULL
4928 };
4929
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
093d3ff1
RD
4931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
4932 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4933 {
4934 PyThreadState* __tstate = wxPyBeginAllowThreads();
4935 delete arg1;
4936
4937 wxPyEndAllowThreads(__tstate);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 }
4940 Py_INCREF(Py_None); resultobj = Py_None;
4941 return resultobj;
4942 fail:
4943 return NULL;
4944}
4945
4946
c32bde28 4947static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4948 PyObject *resultobj;
4949 wxRect *arg1 = (wxRect *) 0 ;
4950 int result;
4951 PyObject * obj0 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "self", NULL
4954 };
4955
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
4957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
4958 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 result = (int)((wxRect const *)arg1)->GetX();
4962
4963 wxPyEndAllowThreads(__tstate);
4964 if (PyErr_Occurred()) SWIG_fail;
4965 }
093d3ff1
RD
4966 {
4967 resultobj = SWIG_From_int((int)(result));
4968 }
d55e5bfc
RD
4969 return resultobj;
4970 fail:
4971 return NULL;
4972}
4973
4974
c32bde28 4975static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4976 PyObject *resultobj;
4977 wxRect *arg1 = (wxRect *) 0 ;
4978 int arg2 ;
4979 PyObject * obj0 = 0 ;
4980 PyObject * obj1 = 0 ;
4981 char *kwnames[] = {
4982 (char *) "self",(char *) "x", NULL
4983 };
4984
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
4987 if (SWIG_arg_fail(1)) SWIG_fail;
4988 {
4989 arg2 = (int)(SWIG_As_int(obj1));
4990 if (SWIG_arg_fail(2)) SWIG_fail;
4991 }
d55e5bfc
RD
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 (arg1)->SetX(arg2);
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 Py_INCREF(Py_None); resultobj = Py_None;
5000 return resultobj;
5001 fail:
5002 return NULL;
5003}
5004
5005
c32bde28 5006static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5007 PyObject *resultobj;
5008 wxRect *arg1 = (wxRect *) 0 ;
5009 int result;
5010 PyObject * obj0 = 0 ;
5011 char *kwnames[] = {
5012 (char *) "self", NULL
5013 };
5014
5015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
5016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5017 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 result = (int)(arg1)->GetY();
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
093d3ff1
RD
5025 {
5026 resultobj = SWIG_From_int((int)(result));
5027 }
d55e5bfc
RD
5028 return resultobj;
5029 fail:
5030 return NULL;
5031}
5032
5033
c32bde28 5034static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5035 PyObject *resultobj;
5036 wxRect *arg1 = (wxRect *) 0 ;
5037 int arg2 ;
5038 PyObject * obj0 = 0 ;
5039 PyObject * obj1 = 0 ;
5040 char *kwnames[] = {
5041 (char *) "self",(char *) "y", NULL
5042 };
5043
5044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5046 if (SWIG_arg_fail(1)) SWIG_fail;
5047 {
5048 arg2 = (int)(SWIG_As_int(obj1));
5049 if (SWIG_arg_fail(2)) SWIG_fail;
5050 }
d55e5bfc
RD
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 (arg1)->SetY(arg2);
5054
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 Py_INCREF(Py_None); resultobj = Py_None;
5059 return resultobj;
5060 fail:
5061 return NULL;
5062}
5063
5064
c32bde28 5065static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5066 PyObject *resultobj;
5067 wxRect *arg1 = (wxRect *) 0 ;
5068 int result;
5069 PyObject * obj0 = 0 ;
5070 char *kwnames[] = {
5071 (char *) "self", NULL
5072 };
5073
5074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 result = (int)((wxRect const *)arg1)->GetWidth();
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
093d3ff1
RD
5084 {
5085 resultobj = SWIG_From_int((int)(result));
5086 }
d55e5bfc
RD
5087 return resultobj;
5088 fail:
5089 return NULL;
5090}
5091
5092
c32bde28 5093static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5094 PyObject *resultobj;
5095 wxRect *arg1 = (wxRect *) 0 ;
5096 int arg2 ;
5097 PyObject * obj0 = 0 ;
5098 PyObject * obj1 = 0 ;
5099 char *kwnames[] = {
5100 (char *) "self",(char *) "w", NULL
5101 };
5102
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5105 if (SWIG_arg_fail(1)) SWIG_fail;
5106 {
5107 arg2 = (int)(SWIG_As_int(obj1));
5108 if (SWIG_arg_fail(2)) SWIG_fail;
5109 }
d55e5bfc
RD
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 (arg1)->SetWidth(arg2);
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 Py_INCREF(Py_None); resultobj = Py_None;
5118 return resultobj;
5119 fail:
5120 return NULL;
5121}
5122
5123
c32bde28 5124static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5125 PyObject *resultobj;
5126 wxRect *arg1 = (wxRect *) 0 ;
5127 int result;
5128 PyObject * obj0 = 0 ;
5129 char *kwnames[] = {
5130 (char *) "self", NULL
5131 };
5132
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
5134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5135 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5136 {
5137 PyThreadState* __tstate = wxPyBeginAllowThreads();
5138 result = (int)((wxRect const *)arg1)->GetHeight();
5139
5140 wxPyEndAllowThreads(__tstate);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
093d3ff1
RD
5143 {
5144 resultobj = SWIG_From_int((int)(result));
5145 }
d55e5bfc
RD
5146 return resultobj;
5147 fail:
5148 return NULL;
5149}
5150
5151
c32bde28 5152static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5153 PyObject *resultobj;
5154 wxRect *arg1 = (wxRect *) 0 ;
5155 int arg2 ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self",(char *) "h", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail;
5165 {
5166 arg2 = (int)(SWIG_As_int(obj1));
5167 if (SWIG_arg_fail(2)) SWIG_fail;
5168 }
d55e5bfc
RD
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 (arg1)->SetHeight(arg2);
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 Py_INCREF(Py_None); resultobj = Py_None;
5177 return resultobj;
5178 fail:
5179 return NULL;
5180}
5181
5182
c32bde28 5183static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5184 PyObject *resultobj;
5185 wxRect *arg1 = (wxRect *) 0 ;
5186 wxPoint result;
5187 PyObject * obj0 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
5193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 result = ((wxRect const *)arg1)->GetPosition();
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 {
5203 wxPoint * resultptr;
093d3ff1 5204 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
5205 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5206 }
5207 return resultobj;
5208 fail:
5209 return NULL;
5210}
5211
5212
c32bde28 5213static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5214 PyObject *resultobj;
5215 wxRect *arg1 = (wxRect *) 0 ;
5216 wxPoint *arg2 = 0 ;
5217 wxPoint temp2 ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 char *kwnames[] = {
5221 (char *) "self",(char *) "p", NULL
5222 };
5223
5224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5227 {
5228 arg2 = &temp2;
5229 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5230 }
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 (arg1)->SetPosition((wxPoint const &)*arg2);
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 Py_INCREF(Py_None); resultobj = Py_None;
5239 return resultobj;
5240 fail:
5241 return NULL;
5242}
5243
5244
c32bde28 5245static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5246 PyObject *resultobj;
5247 wxRect *arg1 = (wxRect *) 0 ;
5248 wxSize result;
5249 PyObject * obj0 = 0 ;
5250 char *kwnames[] = {
5251 (char *) "self", NULL
5252 };
5253
5254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
5255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = ((wxRect const *)arg1)->GetSize();
5260
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
5264 {
5265 wxSize * resultptr;
093d3ff1 5266 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
5267 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5268 }
5269 return resultobj;
5270 fail:
5271 return NULL;
5272}
5273
5274
c32bde28 5275static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5276 PyObject *resultobj;
5277 wxRect *arg1 = (wxRect *) 0 ;
5278 wxSize *arg2 = 0 ;
5279 wxSize temp2 ;
5280 PyObject * obj0 = 0 ;
5281 PyObject * obj1 = 0 ;
5282 char *kwnames[] = {
5283 (char *) "self",(char *) "s", NULL
5284 };
5285
5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5289 {
5290 arg2 = &temp2;
5291 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5292 }
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 (arg1)->SetSize((wxSize const &)*arg2);
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 Py_INCREF(Py_None); resultobj = Py_None;
5301 return resultobj;
5302 fail:
5303 return NULL;
5304}
5305
5306
aff4cc5c
RD
5307static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj;
5309 wxRect *arg1 = (wxRect *) 0 ;
5310 bool result;
5311 PyObject * obj0 = 0 ;
5312 char *kwnames[] = {
5313 (char *) "self", NULL
5314 };
5315
5316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_IsEmpty",kwnames,&obj0)) goto fail;
5317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5318 if (SWIG_arg_fail(1)) SWIG_fail;
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 result = (bool)((wxRect const *)arg1)->IsEmpty();
5322
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 }
5326 {
5327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5328 }
5329 return resultobj;
5330 fail:
5331 return NULL;
5332}
5333
5334
c32bde28 5335static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5336 PyObject *resultobj;
5337 wxRect *arg1 = (wxRect *) 0 ;
5338 wxPoint result;
5339 PyObject * obj0 = 0 ;
5340 char *kwnames[] = {
5341 (char *) "self", NULL
5342 };
5343
5344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
5345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5346 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 result = ((wxRect const *)arg1)->GetTopLeft();
5350
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 {
5355 wxPoint * resultptr;
093d3ff1 5356 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
5357 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5358 }
5359 return resultobj;
5360 fail:
5361 return NULL;
5362}
5363
5364
c32bde28 5365static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5366 PyObject *resultobj;
5367 wxRect *arg1 = (wxRect *) 0 ;
5368 wxPoint *arg2 = 0 ;
5369 wxPoint temp2 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self",(char *) "p", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5379 {
5380 arg2 = &temp2;
5381 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5382 }
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 (arg1)->SetTopLeft((wxPoint const &)*arg2);
5386
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 Py_INCREF(Py_None); resultobj = Py_None;
5391 return resultobj;
5392 fail:
5393 return NULL;
5394}
5395
5396
c32bde28 5397static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5398 PyObject *resultobj;
5399 wxRect *arg1 = (wxRect *) 0 ;
5400 wxPoint result;
5401 PyObject * obj0 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
5407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5408 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 result = ((wxRect const *)arg1)->GetBottomRight();
5412
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 {
5417 wxPoint * resultptr;
093d3ff1 5418 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
5419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5420 }
5421 return resultobj;
5422 fail:
5423 return NULL;
5424}
5425
5426
c32bde28 5427static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5428 PyObject *resultobj;
5429 wxRect *arg1 = (wxRect *) 0 ;
5430 wxPoint *arg2 = 0 ;
5431 wxPoint temp2 ;
5432 PyObject * obj0 = 0 ;
5433 PyObject * obj1 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "self",(char *) "p", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5441 {
5442 arg2 = &temp2;
5443 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5444 }
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 (arg1)->SetBottomRight((wxPoint const &)*arg2);
5448
5449 wxPyEndAllowThreads(__tstate);
5450 if (PyErr_Occurred()) SWIG_fail;
5451 }
5452 Py_INCREF(Py_None); resultobj = Py_None;
5453 return resultobj;
5454 fail:
5455 return NULL;
5456}
5457
5458
c32bde28 5459static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5460 PyObject *resultobj;
5461 wxRect *arg1 = (wxRect *) 0 ;
5462 int result;
5463 PyObject * obj0 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self", NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
5469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (int)((wxRect const *)arg1)->GetLeft();
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
093d3ff1
RD
5478 {
5479 resultobj = SWIG_From_int((int)(result));
5480 }
d55e5bfc
RD
5481 return resultobj;
5482 fail:
5483 return NULL;
5484}
5485
5486
c32bde28 5487static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5488 PyObject *resultobj;
5489 wxRect *arg1 = (wxRect *) 0 ;
5490 int result;
5491 PyObject * obj0 = 0 ;
5492 char *kwnames[] = {
5493 (char *) "self", NULL
5494 };
5495
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
093d3ff1
RD
5497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5498 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 result = (int)((wxRect const *)arg1)->GetTop();
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
093d3ff1
RD
5506 {
5507 resultobj = SWIG_From_int((int)(result));
5508 }
d55e5bfc
RD
5509 return resultobj;
5510 fail:
5511 return NULL;
5512}
5513
5514
c32bde28 5515static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5516 PyObject *resultobj;
5517 wxRect *arg1 = (wxRect *) 0 ;
5518 int result;
5519 PyObject * obj0 = 0 ;
5520 char *kwnames[] = {
5521 (char *) "self", NULL
5522 };
5523
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
093d3ff1
RD
5525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 result = (int)((wxRect const *)arg1)->GetBottom();
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
093d3ff1
RD
5534 {
5535 resultobj = SWIG_From_int((int)(result));
5536 }
d55e5bfc
RD
5537 return resultobj;
5538 fail:
5539 return NULL;
5540}
5541
5542
c32bde28 5543static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5544 PyObject *resultobj;
5545 wxRect *arg1 = (wxRect *) 0 ;
5546 int result;
5547 PyObject * obj0 = 0 ;
5548 char *kwnames[] = {
5549 (char *) "self", NULL
5550 };
5551
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
5553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5554 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 result = (int)((wxRect const *)arg1)->GetRight();
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
093d3ff1
RD
5562 {
5563 resultobj = SWIG_From_int((int)(result));
5564 }
d55e5bfc
RD
5565 return resultobj;
5566 fail:
5567 return NULL;
5568}
5569
5570
c32bde28 5571static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5572 PyObject *resultobj;
5573 wxRect *arg1 = (wxRect *) 0 ;
5574 int arg2 ;
5575 PyObject * obj0 = 0 ;
5576 PyObject * obj1 = 0 ;
5577 char *kwnames[] = {
5578 (char *) "self",(char *) "left", NULL
5579 };
5580
5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5583 if (SWIG_arg_fail(1)) SWIG_fail;
5584 {
5585 arg2 = (int)(SWIG_As_int(obj1));
5586 if (SWIG_arg_fail(2)) SWIG_fail;
5587 }
d55e5bfc
RD
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 (arg1)->SetLeft(arg2);
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 Py_INCREF(Py_None); resultobj = Py_None;
5596 return resultobj;
5597 fail:
5598 return NULL;
5599}
5600
5601
c32bde28 5602static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5603 PyObject *resultobj;
5604 wxRect *arg1 = (wxRect *) 0 ;
5605 int arg2 ;
5606 PyObject * obj0 = 0 ;
5607 PyObject * obj1 = 0 ;
5608 char *kwnames[] = {
5609 (char *) "self",(char *) "right", NULL
5610 };
5611
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5614 if (SWIG_arg_fail(1)) SWIG_fail;
5615 {
5616 arg2 = (int)(SWIG_As_int(obj1));
5617 if (SWIG_arg_fail(2)) SWIG_fail;
5618 }
d55e5bfc
RD
5619 {
5620 PyThreadState* __tstate = wxPyBeginAllowThreads();
5621 (arg1)->SetRight(arg2);
5622
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 Py_INCREF(Py_None); resultobj = Py_None;
5627 return resultobj;
5628 fail:
5629 return NULL;
5630}
5631
5632
c32bde28 5633static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5634 PyObject *resultobj;
5635 wxRect *arg1 = (wxRect *) 0 ;
5636 int arg2 ;
5637 PyObject * obj0 = 0 ;
5638 PyObject * obj1 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self",(char *) "top", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail;
5646 {
5647 arg2 = (int)(SWIG_As_int(obj1));
5648 if (SWIG_arg_fail(2)) SWIG_fail;
5649 }
d55e5bfc
RD
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 (arg1)->SetTop(arg2);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 Py_INCREF(Py_None); resultobj = Py_None;
5658 return resultobj;
5659 fail:
5660 return NULL;
5661}
5662
5663
c32bde28 5664static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5665 PyObject *resultobj;
5666 wxRect *arg1 = (wxRect *) 0 ;
5667 int arg2 ;
5668 PyObject * obj0 = 0 ;
5669 PyObject * obj1 = 0 ;
5670 char *kwnames[] = {
5671 (char *) "self",(char *) "bottom", NULL
5672 };
5673
5674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5676 if (SWIG_arg_fail(1)) SWIG_fail;
5677 {
5678 arg2 = (int)(SWIG_As_int(obj1));
5679 if (SWIG_arg_fail(2)) SWIG_fail;
5680 }
d55e5bfc
RD
5681 {
5682 PyThreadState* __tstate = wxPyBeginAllowThreads();
5683 (arg1)->SetBottom(arg2);
5684
5685 wxPyEndAllowThreads(__tstate);
5686 if (PyErr_Occurred()) SWIG_fail;
5687 }
5688 Py_INCREF(Py_None); resultobj = Py_None;
5689 return resultobj;
5690 fail:
5691 return NULL;
5692}
5693
5694
c32bde28 5695static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5696 PyObject *resultobj;
5697 wxRect *arg1 = (wxRect *) 0 ;
5698 int arg2 ;
5699 int arg3 ;
5700 wxRect *result;
5701 PyObject * obj0 = 0 ;
5702 PyObject * obj1 = 0 ;
5703 PyObject * obj2 = 0 ;
5704 char *kwnames[] = {
5705 (char *) "self",(char *) "dx",(char *) "dy", NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5710 if (SWIG_arg_fail(1)) SWIG_fail;
5711 {
5712 arg2 = (int)(SWIG_As_int(obj1));
5713 if (SWIG_arg_fail(2)) SWIG_fail;
5714 }
5715 {
5716 arg3 = (int)(SWIG_As_int(obj2));
5717 if (SWIG_arg_fail(3)) SWIG_fail;
5718 }
d55e5bfc
RD
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 {
5722 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
5723 result = (wxRect *) &_result_ref;
5724 }
5725
5726 wxPyEndAllowThreads(__tstate);
5727 if (PyErr_Occurred()) SWIG_fail;
5728 }
5729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
5730 return resultobj;
5731 fail:
5732 return NULL;
5733}
5734
5735
c32bde28 5736static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5737 PyObject *resultobj;
5738 wxRect *arg1 = (wxRect *) 0 ;
5739 int arg2 ;
5740 int arg3 ;
5741 wxRect *result;
5742 PyObject * obj0 = 0 ;
5743 PyObject * obj1 = 0 ;
5744 PyObject * obj2 = 0 ;
5745 char *kwnames[] = {
5746 (char *) "self",(char *) "dx",(char *) "dy", NULL
5747 };
5748
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail;
5752 {
5753 arg2 = (int)(SWIG_As_int(obj1));
5754 if (SWIG_arg_fail(2)) SWIG_fail;
5755 }
5756 {
5757 arg3 = (int)(SWIG_As_int(obj2));
5758 if (SWIG_arg_fail(3)) SWIG_fail;
5759 }
d55e5bfc
RD
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 {
5763 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
5764 result = (wxRect *) &_result_ref;
5765 }
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
5771 return resultobj;
5772 fail:
5773 return NULL;
5774}
5775
5776
c32bde28 5777static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5778 PyObject *resultobj;
5779 wxRect *arg1 = (wxRect *) 0 ;
5780 int arg2 ;
5781 int arg3 ;
5782 PyObject * obj0 = 0 ;
5783 PyObject * obj1 = 0 ;
5784 PyObject * obj2 = 0 ;
5785 char *kwnames[] = {
5786 (char *) "self",(char *) "dx",(char *) "dy", NULL
5787 };
5788
5789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5791 if (SWIG_arg_fail(1)) SWIG_fail;
5792 {
5793 arg2 = (int)(SWIG_As_int(obj1));
5794 if (SWIG_arg_fail(2)) SWIG_fail;
5795 }
5796 {
5797 arg3 = (int)(SWIG_As_int(obj2));
5798 if (SWIG_arg_fail(3)) SWIG_fail;
5799 }
d55e5bfc
RD
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 (arg1)->Offset(arg2,arg3);
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
5807 Py_INCREF(Py_None); resultobj = Py_None;
5808 return resultobj;
5809 fail:
5810 return NULL;
5811}
5812
5813
c32bde28 5814static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5815 PyObject *resultobj;
5816 wxRect *arg1 = (wxRect *) 0 ;
5817 wxPoint *arg2 = 0 ;
5818 wxPoint temp2 ;
5819 PyObject * obj0 = 0 ;
5820 PyObject * obj1 = 0 ;
5821 char *kwnames[] = {
5822 (char *) "self",(char *) "pt", NULL
5823 };
5824
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5827 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5828 {
5829 arg2 = &temp2;
5830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5831 }
5832 {
5833 PyThreadState* __tstate = wxPyBeginAllowThreads();
5834 (arg1)->Offset((wxPoint const &)*arg2);
5835
5836 wxPyEndAllowThreads(__tstate);
5837 if (PyErr_Occurred()) SWIG_fail;
5838 }
5839 Py_INCREF(Py_None); resultobj = Py_None;
5840 return resultobj;
5841 fail:
5842 return NULL;
5843}
5844
5845
c32bde28 5846static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5847 PyObject *resultobj;
5848 wxRect *arg1 = (wxRect *) 0 ;
5849 wxRect *arg2 = 0 ;
b519803b 5850 wxRect result;
d55e5bfc
RD
5851 wxRect temp2 ;
5852 PyObject * obj0 = 0 ;
5853 PyObject * obj1 = 0 ;
5854 char *kwnames[] = {
5855 (char *) "self",(char *) "rect", NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5860 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5861 {
5862 arg2 = &temp2;
5863 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5864 }
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
b519803b 5867 result = (arg1)->Intersect((wxRect const &)*arg2);
d55e5bfc
RD
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
b519803b
RD
5872 {
5873 wxRect * resultptr;
093d3ff1 5874 resultptr = new wxRect((wxRect &)(result));
b519803b
RD
5875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5876 }
5877 return resultobj;
5878 fail:
5879 return NULL;
5880}
5881
5882
5883static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxRect *arg1 = (wxRect *) 0 ;
5886 wxRect *arg2 = 0 ;
5887 wxRect result;
5888 wxRect temp2 ;
5889 PyObject * obj0 = 0 ;
5890 PyObject * obj1 = 0 ;
5891 char *kwnames[] = {
5892 (char *) "self",(char *) "rect", NULL
5893 };
5894
5895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Union",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5897 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
5898 {
5899 arg2 = &temp2;
5900 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5901 }
5902 {
5903 PyThreadState* __tstate = wxPyBeginAllowThreads();
5904 result = (arg1)->Union((wxRect const &)*arg2);
5905
5906 wxPyEndAllowThreads(__tstate);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 }
5909 {
5910 wxRect * resultptr;
093d3ff1 5911 resultptr = new wxRect((wxRect &)(result));
b519803b
RD
5912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5913 }
d55e5bfc
RD
5914 return resultobj;
5915 fail:
5916 return NULL;
5917}
5918
5919
c32bde28 5920static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5921 PyObject *resultobj;
5922 wxRect *arg1 = (wxRect *) 0 ;
5923 wxRect *arg2 = 0 ;
5924 wxRect result;
5925 wxRect temp2 ;
5926 PyObject * obj0 = 0 ;
5927 PyObject * obj1 = 0 ;
5928 char *kwnames[] = {
5929 (char *) "self",(char *) "rect", NULL
5930 };
5931
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5934 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5935 {
5936 arg2 = &temp2;
5937 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5938 }
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
5942
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 {
5947 wxRect * resultptr;
093d3ff1 5948 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
5949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5950 }
5951 return resultobj;
5952 fail:
5953 return NULL;
5954}
5955
5956
c32bde28 5957static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5958 PyObject *resultobj;
5959 wxRect *arg1 = (wxRect *) 0 ;
5960 wxRect *arg2 = 0 ;
5961 wxRect *result;
5962 wxRect temp2 ;
5963 PyObject * obj0 = 0 ;
5964 PyObject * obj1 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self",(char *) "rect", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
5971 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5972 {
5973 arg2 = &temp2;
5974 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5975 }
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 {
5979 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
5980 result = (wxRect *) &_result_ref;
5981 }
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
c32bde28 5986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d55e5bfc
RD
5987 return resultobj;
5988 fail:
5989 return NULL;
5990}
5991
5992
c32bde28 5993static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5994 PyObject *resultobj;
5995 wxRect *arg1 = (wxRect *) 0 ;
5996 wxRect *arg2 = 0 ;
5997 bool result;
5998 wxRect temp2 ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj1 = 0 ;
6001 char *kwnames[] = {
6002 (char *) "self",(char *) "rect", NULL
6003 };
6004
6005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6007 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6008 {
6009 arg2 = &temp2;
6010 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6011 }
6012 {
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6014 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
6015
6016 wxPyEndAllowThreads(__tstate);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
6019 {
6020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6021 }
6022 return resultobj;
6023 fail:
6024 return NULL;
6025}
6026
6027
c32bde28 6028static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6029 PyObject *resultobj;
6030 wxRect *arg1 = (wxRect *) 0 ;
6031 wxRect *arg2 = 0 ;
6032 bool result;
6033 wxRect temp2 ;
6034 PyObject * obj0 = 0 ;
6035 PyObject * obj1 = 0 ;
6036 char *kwnames[] = {
6037 (char *) "self",(char *) "rect", NULL
6038 };
6039
6040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6043 {
6044 arg2 = &temp2;
6045 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6046 }
6047 {
6048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6049 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
6050
6051 wxPyEndAllowThreads(__tstate);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 {
6055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6056 }
6057 return resultobj;
6058 fail:
6059 return NULL;
6060}
6061
6062
c32bde28 6063static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6064 PyObject *resultobj;
6065 wxRect *arg1 = (wxRect *) 0 ;
6066 int arg2 ;
6067 int arg3 ;
6068 bool result;
6069 PyObject * obj0 = 0 ;
6070 PyObject * obj1 = 0 ;
6071 PyObject * obj2 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self",(char *) "x",(char *) "y", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6078 if (SWIG_arg_fail(1)) SWIG_fail;
6079 {
6080 arg2 = (int)(SWIG_As_int(obj1));
6081 if (SWIG_arg_fail(2)) SWIG_fail;
6082 }
6083 {
6084 arg3 = (int)(SWIG_As_int(obj2));
6085 if (SWIG_arg_fail(3)) SWIG_fail;
6086 }
d55e5bfc
RD
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
6090
6091 wxPyEndAllowThreads(__tstate);
6092 if (PyErr_Occurred()) SWIG_fail;
6093 }
6094 {
6095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6096 }
6097 return resultobj;
6098 fail:
6099 return NULL;
6100}
6101
6102
c32bde28 6103static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6104 PyObject *resultobj;
6105 wxRect *arg1 = (wxRect *) 0 ;
6106 wxPoint *arg2 = 0 ;
6107 bool result;
6108 wxPoint temp2 ;
6109 PyObject * obj0 = 0 ;
6110 PyObject * obj1 = 0 ;
6111 char *kwnames[] = {
6112 (char *) "self",(char *) "pt", NULL
6113 };
6114
6115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6118 {
6119 arg2 = &temp2;
6120 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6121 }
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
6125
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 {
6130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6131 }
6132 return resultobj;
6133 fail:
6134 return NULL;
6135}
6136
6137
c32bde28 6138static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6139 PyObject *resultobj;
6140 wxRect *arg1 = (wxRect *) 0 ;
6141 wxRect *arg2 = 0 ;
6142 bool result;
6143 wxRect temp2 ;
6144 PyObject * obj0 = 0 ;
6145 PyObject * obj1 = 0 ;
6146 char *kwnames[] = {
6147 (char *) "self",(char *) "rect", NULL
6148 };
6149
6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6153 {
6154 arg2 = &temp2;
6155 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6156 }
6157 {
6158 PyThreadState* __tstate = wxPyBeginAllowThreads();
6159 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
6160
6161 wxPyEndAllowThreads(__tstate);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 {
6165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6166 }
6167 return resultobj;
6168 fail:
6169 return NULL;
6170}
6171
6172
c32bde28 6173static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6174 PyObject *resultobj;
6175 wxRect *arg1 = (wxRect *) 0 ;
6176 int arg2 ;
6177 PyObject * obj0 = 0 ;
6178 PyObject * obj1 = 0 ;
6179 char *kwnames[] = {
6180 (char *) "self",(char *) "x", NULL
6181 };
6182
6183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6185 if (SWIG_arg_fail(1)) SWIG_fail;
6186 {
6187 arg2 = (int)(SWIG_As_int(obj1));
6188 if (SWIG_arg_fail(2)) SWIG_fail;
6189 }
d55e5bfc
RD
6190 if (arg1) (arg1)->x = arg2;
6191
6192 Py_INCREF(Py_None); resultobj = Py_None;
6193 return resultobj;
6194 fail:
6195 return NULL;
6196}
6197
6198
c32bde28 6199static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6200 PyObject *resultobj;
6201 wxRect *arg1 = (wxRect *) 0 ;
6202 int result;
6203 PyObject * obj0 = 0 ;
6204 char *kwnames[] = {
6205 (char *) "self", NULL
6206 };
6207
6208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
6209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6210 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6211 result = (int) ((arg1)->x);
6212
093d3ff1
RD
6213 {
6214 resultobj = SWIG_From_int((int)(result));
6215 }
d55e5bfc
RD
6216 return resultobj;
6217 fail:
6218 return NULL;
6219}
6220
6221
c32bde28 6222static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6223 PyObject *resultobj;
6224 wxRect *arg1 = (wxRect *) 0 ;
6225 int arg2 ;
6226 PyObject * obj0 = 0 ;
6227 PyObject * obj1 = 0 ;
6228 char *kwnames[] = {
6229 (char *) "self",(char *) "y", NULL
6230 };
6231
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6234 if (SWIG_arg_fail(1)) SWIG_fail;
6235 {
6236 arg2 = (int)(SWIG_As_int(obj1));
6237 if (SWIG_arg_fail(2)) SWIG_fail;
6238 }
d55e5bfc
RD
6239 if (arg1) (arg1)->y = arg2;
6240
6241 Py_INCREF(Py_None); resultobj = Py_None;
6242 return resultobj;
6243 fail:
6244 return NULL;
6245}
6246
6247
c32bde28 6248static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6249 PyObject *resultobj;
6250 wxRect *arg1 = (wxRect *) 0 ;
6251 int result;
6252 PyObject * obj0 = 0 ;
6253 char *kwnames[] = {
6254 (char *) "self", NULL
6255 };
6256
6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
6258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6259 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6260 result = (int) ((arg1)->y);
6261
093d3ff1
RD
6262 {
6263 resultobj = SWIG_From_int((int)(result));
6264 }
d55e5bfc
RD
6265 return resultobj;
6266 fail:
6267 return NULL;
6268}
6269
6270
c32bde28 6271static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6272 PyObject *resultobj;
6273 wxRect *arg1 = (wxRect *) 0 ;
6274 int arg2 ;
6275 PyObject * obj0 = 0 ;
6276 PyObject * obj1 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "self",(char *) "width", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6283 if (SWIG_arg_fail(1)) SWIG_fail;
6284 {
6285 arg2 = (int)(SWIG_As_int(obj1));
6286 if (SWIG_arg_fail(2)) SWIG_fail;
6287 }
d55e5bfc
RD
6288 if (arg1) (arg1)->width = arg2;
6289
6290 Py_INCREF(Py_None); resultobj = Py_None;
6291 return resultobj;
6292 fail:
6293 return NULL;
6294}
6295
6296
c32bde28 6297static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6298 PyObject *resultobj;
6299 wxRect *arg1 = (wxRect *) 0 ;
6300 int result;
6301 PyObject * obj0 = 0 ;
6302 char *kwnames[] = {
6303 (char *) "self", NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
6307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6309 result = (int) ((arg1)->width);
6310
093d3ff1
RD
6311 {
6312 resultobj = SWIG_From_int((int)(result));
6313 }
d55e5bfc
RD
6314 return resultobj;
6315 fail:
6316 return NULL;
6317}
6318
6319
c32bde28 6320static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6321 PyObject *resultobj;
6322 wxRect *arg1 = (wxRect *) 0 ;
6323 int arg2 ;
6324 PyObject * obj0 = 0 ;
6325 PyObject * obj1 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "self",(char *) "height", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6332 if (SWIG_arg_fail(1)) SWIG_fail;
6333 {
6334 arg2 = (int)(SWIG_As_int(obj1));
6335 if (SWIG_arg_fail(2)) SWIG_fail;
6336 }
d55e5bfc
RD
6337 if (arg1) (arg1)->height = arg2;
6338
6339 Py_INCREF(Py_None); resultobj = Py_None;
6340 return resultobj;
6341 fail:
6342 return NULL;
6343}
6344
6345
c32bde28 6346static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6347 PyObject *resultobj;
6348 wxRect *arg1 = (wxRect *) 0 ;
6349 int result;
6350 PyObject * obj0 = 0 ;
6351 char *kwnames[] = {
6352 (char *) "self", NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
6356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6357 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6358 result = (int) ((arg1)->height);
6359
093d3ff1
RD
6360 {
6361 resultobj = SWIG_From_int((int)(result));
6362 }
d55e5bfc
RD
6363 return resultobj;
6364 fail:
6365 return NULL;
6366}
6367
6368
c32bde28 6369static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6370 PyObject *resultobj;
6371 wxRect *arg1 = (wxRect *) 0 ;
6372 int arg2 = (int) 0 ;
6373 int arg3 = (int) 0 ;
6374 int arg4 = (int) 0 ;
6375 int arg5 = (int) 0 ;
6376 PyObject * obj0 = 0 ;
6377 PyObject * obj1 = 0 ;
6378 PyObject * obj2 = 0 ;
6379 PyObject * obj3 = 0 ;
6380 PyObject * obj4 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6388 if (obj1) {
093d3ff1
RD
6389 {
6390 arg2 = (int)(SWIG_As_int(obj1));
6391 if (SWIG_arg_fail(2)) SWIG_fail;
6392 }
d55e5bfc
RD
6393 }
6394 if (obj2) {
093d3ff1
RD
6395 {
6396 arg3 = (int)(SWIG_As_int(obj2));
6397 if (SWIG_arg_fail(3)) SWIG_fail;
6398 }
d55e5bfc
RD
6399 }
6400 if (obj3) {
093d3ff1
RD
6401 {
6402 arg4 = (int)(SWIG_As_int(obj3));
6403 if (SWIG_arg_fail(4)) SWIG_fail;
6404 }
d55e5bfc
RD
6405 }
6406 if (obj4) {
093d3ff1
RD
6407 {
6408 arg5 = (int)(SWIG_As_int(obj4));
6409 if (SWIG_arg_fail(5)) SWIG_fail;
6410 }
d55e5bfc
RD
6411 }
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
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
c32bde28 6426static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6427 PyObject *resultobj;
6428 wxRect *arg1 = (wxRect *) 0 ;
6429 PyObject *result;
6430 PyObject * obj0 = 0 ;
6431 char *kwnames[] = {
6432 (char *) "self", NULL
6433 };
6434
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
6436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 result = (PyObject *)wxRect_Get(arg1);
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 resultobj = result;
6446 return resultobj;
6447 fail:
6448 return NULL;
6449}
6450
6451
c32bde28 6452static PyObject * Rect_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6453 PyObject *obj;
6454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6455 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
6456 Py_INCREF(obj);
6457 return Py_BuildValue((char *)"");
6458}
c32bde28 6459static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6460 PyObject *resultobj;
6461 wxRect *arg1 = (wxRect *) 0 ;
6462 wxRect *arg2 = (wxRect *) 0 ;
6463 PyObject *result;
6464 PyObject * obj0 = 0 ;
6465 PyObject * obj1 = 0 ;
6466 char *kwnames[] = {
6467 (char *) "r1",(char *) "r2", NULL
6468 };
6469
6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6472 if (SWIG_arg_fail(1)) SWIG_fail;
6473 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6474 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 6475 {
0439c23b 6476 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 result = (PyObject *)wxIntersectRect(arg1,arg2);
6479
6480 wxPyEndAllowThreads(__tstate);
110da5b0 6481 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6482 }
6483 resultobj = result;
6484 return resultobj;
6485 fail:
6486 return NULL;
6487}
6488
6489
c32bde28 6490static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6491 PyObject *resultobj;
6492 double arg1 = (double) 0.0 ;
6493 double arg2 = (double) 0.0 ;
6494 wxPoint2D *result;
6495 PyObject * obj0 = 0 ;
6496 PyObject * obj1 = 0 ;
6497 char *kwnames[] = {
6498 (char *) "x",(char *) "y", NULL
6499 };
6500
6501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
6502 if (obj0) {
093d3ff1
RD
6503 {
6504 arg1 = (double)(SWIG_As_double(obj0));
6505 if (SWIG_arg_fail(1)) SWIG_fail;
6506 }
d55e5bfc
RD
6507 }
6508 if (obj1) {
093d3ff1
RD
6509 {
6510 arg2 = (double)(SWIG_As_double(obj1));
6511 if (SWIG_arg_fail(2)) SWIG_fail;
6512 }
d55e5bfc
RD
6513 }
6514 {
6515 PyThreadState* __tstate = wxPyBeginAllowThreads();
6516 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
6517
6518 wxPyEndAllowThreads(__tstate);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 }
6521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
6522 return resultobj;
6523 fail:
6524 return NULL;
6525}
6526
6527
c32bde28 6528static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6529 PyObject *resultobj;
6530 wxPoint2D *arg1 = 0 ;
6531 wxPoint2D *result;
6532 wxPoint2D temp1 ;
6533 PyObject * obj0 = 0 ;
6534 char *kwnames[] = {
6535 (char *) "pt", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
6539 {
6540 arg1 = &temp1;
6541 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
6542 }
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
6551 return resultobj;
6552 fail:
6553 return NULL;
6554}
6555
6556
c32bde28 6557static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6558 PyObject *resultobj;
6559 wxPoint *arg1 = 0 ;
6560 wxPoint2D *result;
6561 wxPoint temp1 ;
6562 PyObject * obj0 = 0 ;
6563 char *kwnames[] = {
6564 (char *) "pt", NULL
6565 };
6566
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
6568 {
6569 arg1 = &temp1;
6570 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
6571 }
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
6580 return resultobj;
6581 fail:
6582 return NULL;
6583}
6584
6585
c32bde28 6586static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6587 PyObject *resultobj;
6588 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6589 int *arg2 = (int *) 0 ;
6590 int *arg3 = (int *) 0 ;
6591 int temp2 ;
c32bde28 6592 int res2 = 0 ;
d55e5bfc 6593 int temp3 ;
c32bde28 6594 int res3 = 0 ;
d55e5bfc
RD
6595 PyObject * obj0 = 0 ;
6596 char *kwnames[] = {
6597 (char *) "self", NULL
6598 };
6599
c32bde28
RD
6600 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6601 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
093d3ff1
RD
6603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6613 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6614 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6615 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6616 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
6617 return resultobj;
6618 fail:
6619 return NULL;
6620}
6621
6622
c32bde28 6623static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6624 PyObject *resultobj;
6625 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6626 int *arg2 = (int *) 0 ;
6627 int *arg3 = (int *) 0 ;
6628 int temp2 ;
c32bde28 6629 int res2 = 0 ;
d55e5bfc 6630 int temp3 ;
c32bde28 6631 int res3 = 0 ;
d55e5bfc
RD
6632 PyObject * obj0 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self", NULL
6635 };
6636
c32bde28
RD
6637 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6638 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 6639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
093d3ff1
RD
6640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6641 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6650 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6651 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6652 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6653 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
6654 return resultobj;
6655 fail:
6656 return NULL;
6657}
6658
6659
c32bde28 6660static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6661 PyObject *resultobj;
6662 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6663 double result;
6664 PyObject * obj0 = 0 ;
6665 char *kwnames[] = {
6666 (char *) "self", NULL
6667 };
6668
6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
6670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6671 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
093d3ff1
RD
6679 {
6680 resultobj = SWIG_From_double((double)(result));
6681 }
d55e5bfc
RD
6682 return resultobj;
6683 fail:
6684 return NULL;
6685}
6686
6687
c32bde28 6688static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6689 PyObject *resultobj;
6690 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6691 double result;
6692 PyObject * obj0 = 0 ;
6693 char *kwnames[] = {
6694 (char *) "self", NULL
6695 };
6696
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
093d3ff1
RD
6698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6699 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6700 {
6701 PyThreadState* __tstate = wxPyBeginAllowThreads();
6702 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
6703
6704 wxPyEndAllowThreads(__tstate);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 }
093d3ff1
RD
6707 {
6708 resultobj = SWIG_From_double((double)(result));
6709 }
d55e5bfc
RD
6710 return resultobj;
6711 fail:
6712 return NULL;
6713}
6714
6715
c32bde28 6716static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6717 PyObject *resultobj;
6718 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6719 double arg2 ;
6720 PyObject * obj0 = 0 ;
6721 PyObject * obj1 = 0 ;
6722 char *kwnames[] = {
6723 (char *) "self",(char *) "length", NULL
6724 };
6725
6726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6728 if (SWIG_arg_fail(1)) SWIG_fail;
6729 {
6730 arg2 = (double)(SWIG_As_double(obj1));
6731 if (SWIG_arg_fail(2)) SWIG_fail;
6732 }
d55e5bfc
RD
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 (arg1)->SetVectorLength(arg2);
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 Py_INCREF(Py_None); resultobj = Py_None;
6741 return resultobj;
6742 fail:
6743 return NULL;
6744}
6745
6746
c32bde28 6747static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6748 PyObject *resultobj;
6749 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6750 double arg2 ;
6751 PyObject * obj0 = 0 ;
6752 PyObject * obj1 = 0 ;
6753 char *kwnames[] = {
6754 (char *) "self",(char *) "degrees", NULL
6755 };
6756
6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6759 if (SWIG_arg_fail(1)) SWIG_fail;
6760 {
6761 arg2 = (double)(SWIG_As_double(obj1));
6762 if (SWIG_arg_fail(2)) SWIG_fail;
6763 }
d55e5bfc
RD
6764 {
6765 PyThreadState* __tstate = wxPyBeginAllowThreads();
6766 (arg1)->SetVectorAngle(arg2);
6767
6768 wxPyEndAllowThreads(__tstate);
6769 if (PyErr_Occurred()) SWIG_fail;
6770 }
6771 Py_INCREF(Py_None); resultobj = Py_None;
6772 return resultobj;
6773 fail:
6774 return NULL;
6775}
6776
6777
c32bde28 6778static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6779 PyObject *resultobj;
6780 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6781 wxPoint2D *arg2 = 0 ;
6782 double result;
6783 wxPoint2D temp2 ;
6784 PyObject * obj0 = 0 ;
6785 PyObject * obj1 = 0 ;
6786 char *kwnames[] = {
6787 (char *) "self",(char *) "pt", NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6793 {
6794 arg2 = &temp2;
6795 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6796 }
6797 {
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
093d3ff1
RD
6804 {
6805 resultobj = SWIG_From_double((double)(result));
6806 }
d55e5bfc
RD
6807 return resultobj;
6808 fail:
6809 return NULL;
6810}
6811
6812
c32bde28 6813static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6814 PyObject *resultobj;
6815 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6816 wxPoint2D *arg2 = 0 ;
6817 double result;
6818 wxPoint2D temp2 ;
6819 PyObject * obj0 = 0 ;
6820 PyObject * obj1 = 0 ;
6821 char *kwnames[] = {
6822 (char *) "self",(char *) "pt", NULL
6823 };
6824
6825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6827 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6828 {
6829 arg2 = &temp2;
6830 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6831 }
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
093d3ff1
RD
6839 {
6840 resultobj = SWIG_From_double((double)(result));
6841 }
d55e5bfc
RD
6842 return resultobj;
6843 fail:
6844 return NULL;
6845}
6846
6847
c32bde28 6848static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6849 PyObject *resultobj;
6850 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6851 wxPoint2D *arg2 = 0 ;
6852 double result;
6853 wxPoint2D temp2 ;
6854 PyObject * obj0 = 0 ;
6855 PyObject * obj1 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self",(char *) "vec", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6863 {
6864 arg2 = &temp2;
6865 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6866 }
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
093d3ff1
RD
6874 {
6875 resultobj = SWIG_From_double((double)(result));
6876 }
d55e5bfc
RD
6877 return resultobj;
6878 fail:
6879 return NULL;
6880}
6881
6882
c32bde28 6883static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6884 PyObject *resultobj;
6885 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6886 wxPoint2D *arg2 = 0 ;
6887 double result;
6888 wxPoint2D temp2 ;
6889 PyObject * obj0 = 0 ;
6890 PyObject * obj1 = 0 ;
6891 char *kwnames[] = {
6892 (char *) "self",(char *) "vec", NULL
6893 };
6894
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6897 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6898 {
6899 arg2 = &temp2;
6900 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6901 }
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
6905
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
093d3ff1
RD
6909 {
6910 resultobj = SWIG_From_double((double)(result));
6911 }
d55e5bfc
RD
6912 return resultobj;
6913 fail:
6914 return NULL;
6915}
6916
6917
c32bde28 6918static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6919 PyObject *resultobj;
6920 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6921 wxPoint2D result;
6922 PyObject * obj0 = 0 ;
6923 char *kwnames[] = {
6924 (char *) "self", NULL
6925 };
6926
6927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
6928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6929 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 result = (arg1)->operator -();
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 {
6938 wxPoint2D * resultptr;
093d3ff1 6939 resultptr = new wxPoint2D((wxPoint2D &)(result));
d55e5bfc
RD
6940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
6941 }
6942 return resultobj;
6943 fail:
6944 return NULL;
6945}
6946
6947
c32bde28 6948static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6949 PyObject *resultobj;
6950 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6951 wxPoint2D *arg2 = 0 ;
6952 wxPoint2D *result;
6953 wxPoint2D temp2 ;
6954 PyObject * obj0 = 0 ;
6955 PyObject * obj1 = 0 ;
6956 char *kwnames[] = {
6957 (char *) "self",(char *) "pt", NULL
6958 };
6959
6960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
6962 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6963 {
6964 arg2 = &temp2;
6965 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6966 }
6967 {
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 {
6970 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
6971 result = (wxPoint2D *) &_result_ref;
6972 }
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
c32bde28 6977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d55e5bfc
RD
6978 return resultobj;
6979 fail:
6980 return NULL;
6981}
6982
6983
c32bde28 6984static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6985 PyObject *resultobj;
6986 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6987 wxPoint2D *arg2 = 0 ;
6988 wxPoint2D *result;
6989 wxPoint2D temp2 ;
6990 PyObject * obj0 = 0 ;
6991 PyObject * obj1 = 0 ;
6992 char *kwnames[] = {
6993 (char *) "self",(char *) "pt", NULL
6994 };
6995
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
6998 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6999 {
7000 arg2 = &temp2;
7001 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7002 }
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 {
7006 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
7007 result = (wxPoint2D *) &_result_ref;
7008 }
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
c32bde28 7013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d55e5bfc
RD
7014 return resultobj;
7015 fail:
7016 return NULL;
7017}
7018
7019
c32bde28 7020static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7021 PyObject *resultobj;
7022 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7023 wxPoint2D *arg2 = 0 ;
7024 wxPoint2D *result;
7025 wxPoint2D temp2 ;
7026 PyObject * obj0 = 0 ;
7027 PyObject * obj1 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "self",(char *) "pt", NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
7034 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7035 {
7036 arg2 = &temp2;
7037 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7038 }
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 {
7042 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
7043 result = (wxPoint2D *) &_result_ref;
7044 }
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
c32bde28 7049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d55e5bfc
RD
7050 return resultobj;
7051 fail:
7052 return NULL;
7053}
7054
7055
c32bde28 7056static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7057 PyObject *resultobj;
7058 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7059 wxPoint2D *arg2 = 0 ;
7060 wxPoint2D *result;
7061 wxPoint2D temp2 ;
7062 PyObject * obj0 = 0 ;
7063 PyObject * obj1 = 0 ;
7064 char *kwnames[] = {
7065 (char *) "self",(char *) "pt", NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
7070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7071 {
7072 arg2 = &temp2;
7073 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7074 }
7075 {
7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
7077 {
7078 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
7079 result = (wxPoint2D *) &_result_ref;
7080 }
7081
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
c32bde28 7085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d55e5bfc
RD
7086 return resultobj;
7087 fail:
7088 return NULL;
7089}
7090
7091
c32bde28 7092static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7093 PyObject *resultobj;
7094 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7095 wxPoint2D *arg2 = 0 ;
7096 bool result;
7097 wxPoint2D temp2 ;
7098 PyObject * obj0 = 0 ;
7099 PyObject * obj1 = 0 ;
7100 char *kwnames[] = {
7101 (char *) "self",(char *) "pt", NULL
7102 };
7103
7104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7107 {
7108 arg2 = &temp2;
7109 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7110 }
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 {
7119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7120 }
7121 return resultobj;
7122 fail:
7123 return NULL;
7124}
7125
7126
c32bde28 7127static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7128 PyObject *resultobj;
7129 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7130 wxPoint2D *arg2 = 0 ;
7131 bool result;
7132 wxPoint2D temp2 ;
7133 PyObject * obj0 = 0 ;
7134 PyObject * obj1 = 0 ;
7135 char *kwnames[] = {
7136 (char *) "self",(char *) "pt", NULL
7137 };
7138
7139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7141 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7142 {
7143 arg2 = &temp2;
7144 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7145 }
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 {
7154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7155 }
7156 return resultobj;
7157 fail:
7158 return NULL;
7159}
7160
7161
c32bde28 7162static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7163 PyObject *resultobj;
7164 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7165 double arg2 ;
7166 PyObject * obj0 = 0 ;
7167 PyObject * obj1 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "m_x", NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7174 if (SWIG_arg_fail(1)) SWIG_fail;
7175 {
7176 arg2 = (double)(SWIG_As_double(obj1));
7177 if (SWIG_arg_fail(2)) SWIG_fail;
7178 }
d55e5bfc
RD
7179 if (arg1) (arg1)->m_x = arg2;
7180
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 return resultobj;
7183 fail:
7184 return NULL;
7185}
7186
7187
c32bde28 7188static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7189 PyObject *resultobj;
7190 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7191 double result;
7192 PyObject * obj0 = 0 ;
7193 char *kwnames[] = {
7194 (char *) "self", NULL
7195 };
7196
7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
7198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7200 result = (double) ((arg1)->m_x);
7201
093d3ff1
RD
7202 {
7203 resultobj = SWIG_From_double((double)(result));
7204 }
d55e5bfc
RD
7205 return resultobj;
7206 fail:
7207 return NULL;
7208}
7209
7210
c32bde28 7211static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7212 PyObject *resultobj;
7213 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7214 double arg2 ;
7215 PyObject * obj0 = 0 ;
7216 PyObject * obj1 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "self",(char *) "m_y", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7223 if (SWIG_arg_fail(1)) SWIG_fail;
7224 {
7225 arg2 = (double)(SWIG_As_double(obj1));
7226 if (SWIG_arg_fail(2)) SWIG_fail;
7227 }
d55e5bfc
RD
7228 if (arg1) (arg1)->m_y = arg2;
7229
7230 Py_INCREF(Py_None); resultobj = Py_None;
7231 return resultobj;
7232 fail:
7233 return NULL;
7234}
7235
7236
c32bde28 7237static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7238 PyObject *resultobj;
7239 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7240 double result;
7241 PyObject * obj0 = 0 ;
7242 char *kwnames[] = {
7243 (char *) "self", NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
7247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7249 result = (double) ((arg1)->m_y);
7250
093d3ff1
RD
7251 {
7252 resultobj = SWIG_From_double((double)(result));
7253 }
d55e5bfc
RD
7254 return resultobj;
7255 fail:
7256 return NULL;
7257}
7258
7259
c32bde28 7260static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7261 PyObject *resultobj;
7262 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7263 double arg2 = (double) 0 ;
7264 double arg3 = (double) 0 ;
7265 PyObject * obj0 = 0 ;
7266 PyObject * obj1 = 0 ;
7267 PyObject * obj2 = 0 ;
7268 char *kwnames[] = {
7269 (char *) "self",(char *) "x",(char *) "y", NULL
7270 };
7271
7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7275 if (obj1) {
093d3ff1
RD
7276 {
7277 arg2 = (double)(SWIG_As_double(obj1));
7278 if (SWIG_arg_fail(2)) SWIG_fail;
7279 }
d55e5bfc
RD
7280 }
7281 if (obj2) {
093d3ff1
RD
7282 {
7283 arg3 = (double)(SWIG_As_double(obj2));
7284 if (SWIG_arg_fail(3)) SWIG_fail;
7285 }
d55e5bfc
RD
7286 }
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 wxPoint2D_Set(arg1,arg2,arg3);
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 Py_INCREF(Py_None); resultobj = Py_None;
7295 return resultobj;
7296 fail:
7297 return NULL;
7298}
7299
7300
c32bde28 7301static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7302 PyObject *resultobj;
7303 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7304 PyObject *result;
7305 PyObject * obj0 = 0 ;
7306 char *kwnames[] = {
7307 (char *) "self", NULL
7308 };
7309
7310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
7311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7312 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7313 {
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 result = (PyObject *)wxPoint2D_Get(arg1);
7316
7317 wxPyEndAllowThreads(__tstate);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 }
7320 resultobj = result;
7321 return resultobj;
7322 fail:
7323 return NULL;
7324}
7325
7326
c32bde28 7327static PyObject * Point2D_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7328 PyObject *obj;
7329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7330 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
7331 Py_INCREF(obj);
7332 return Py_BuildValue((char *)"");
7333}
c32bde28 7334static int _wrap_DefaultPosition_set(PyObject *) {
d55e5bfc
RD
7335 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
7336 return 1;
7337}
7338
7339
093d3ff1 7340static PyObject *_wrap_DefaultPosition_get(void) {
d55e5bfc
RD
7341 PyObject *pyobj;
7342
7343 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
7344 return pyobj;
7345}
7346
7347
c32bde28 7348static int _wrap_DefaultSize_set(PyObject *) {
d55e5bfc
RD
7349 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
7350 return 1;
7351}
7352
7353
093d3ff1 7354static PyObject *_wrap_DefaultSize_get(void) {
d55e5bfc
RD
7355 PyObject *pyobj;
7356
7357 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
7358 return pyobj;
7359}
7360
7361
c32bde28 7362static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7363 PyObject *resultobj;
7364 PyObject *arg1 = (PyObject *) 0 ;
7365 wxPyInputStream *result;
7366 PyObject * obj0 = 0 ;
7367 char *kwnames[] = {
7368 (char *) "p", NULL
7369 };
7370
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
7372 arg1 = obj0;
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
7376
7377 wxPyEndAllowThreads(__tstate);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
7381 return resultobj;
7382 fail:
7383 return NULL;
7384}
7385
7386
8fb0e70a
RD
7387static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7390 PyObject * obj0 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_InputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
7396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7397 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 delete arg1;
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 Py_INCREF(Py_None); resultobj = Py_None;
7406 return resultobj;
7407 fail:
7408 return NULL;
7409}
7410
7411
c32bde28 7412static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7413 PyObject *resultobj;
7414 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7415 PyObject * obj0 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
093d3ff1
RD
7421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 (arg1)->close();
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 Py_INCREF(Py_None); resultobj = Py_None;
7431 return resultobj;
7432 fail:
7433 return NULL;
7434}
7435
7436
c32bde28 7437static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7438 PyObject *resultobj;
7439 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7440 PyObject * obj0 = 0 ;
7441 char *kwnames[] = {
7442 (char *) "self", NULL
7443 };
7444
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
7446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 (arg1)->flush();
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 Py_INCREF(Py_None); resultobj = Py_None;
7456 return resultobj;
7457 fail:
7458 return NULL;
7459}
7460
7461
c32bde28 7462static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7463 PyObject *resultobj;
7464 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7465 bool result;
7466 PyObject * obj0 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
093d3ff1
RD
7472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 result = (bool)(arg1)->eof();
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 {
7482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7483 }
7484 return resultobj;
7485 fail:
7486 return NULL;
7487}
7488
7489
c32bde28 7490static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7491 PyObject *resultobj;
7492 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7493 int arg2 = (int) -1 ;
7494 PyObject *result;
7495 PyObject * obj0 = 0 ;
7496 PyObject * obj1 = 0 ;
7497 char *kwnames[] = {
7498 (char *) "self",(char *) "size", NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7504 if (obj1) {
093d3ff1
RD
7505 {
7506 arg2 = (int)(SWIG_As_int(obj1));
7507 if (SWIG_arg_fail(2)) SWIG_fail;
7508 }
d55e5bfc
RD
7509 }
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 result = (PyObject *)(arg1)->read(arg2);
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 resultobj = result;
7518 return resultobj;
7519 fail:
7520 return NULL;
7521}
7522
7523
c32bde28 7524static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7525 PyObject *resultobj;
7526 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7527 int arg2 = (int) -1 ;
7528 PyObject *result;
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self",(char *) "size", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7538 if (obj1) {
093d3ff1
RD
7539 {
7540 arg2 = (int)(SWIG_As_int(obj1));
7541 if (SWIG_arg_fail(2)) SWIG_fail;
7542 }
d55e5bfc
RD
7543 }
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (PyObject *)(arg1)->readline(arg2);
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 resultobj = result;
7552 return resultobj;
7553 fail:
7554 return NULL;
7555}
7556
7557
c32bde28 7558static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7559 PyObject *resultobj;
7560 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7561 int arg2 = (int) -1 ;
7562 PyObject *result;
7563 PyObject * obj0 = 0 ;
7564 PyObject * obj1 = 0 ;
7565 char *kwnames[] = {
7566 (char *) "self",(char *) "sizehint", NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7571 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7572 if (obj1) {
093d3ff1
RD
7573 {
7574 arg2 = (int)(SWIG_As_int(obj1));
7575 if (SWIG_arg_fail(2)) SWIG_fail;
7576 }
d55e5bfc
RD
7577 }
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 result = (PyObject *)(arg1)->readlines(arg2);
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 resultobj = result;
7586 return resultobj;
7587 fail:
7588 return NULL;
7589}
7590
7591
c32bde28 7592static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7593 PyObject *resultobj;
7594 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7595 int arg2 ;
7596 int arg3 = (int) 0 ;
7597 PyObject * obj0 = 0 ;
7598 PyObject * obj1 = 0 ;
7599 PyObject * obj2 = 0 ;
7600 char *kwnames[] = {
7601 (char *) "self",(char *) "offset",(char *) "whence", NULL
7602 };
7603
7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7606 if (SWIG_arg_fail(1)) SWIG_fail;
7607 {
7608 arg2 = (int)(SWIG_As_int(obj1));
7609 if (SWIG_arg_fail(2)) SWIG_fail;
7610 }
d55e5bfc 7611 if (obj2) {
093d3ff1
RD
7612 {
7613 arg3 = (int)(SWIG_As_int(obj2));
7614 if (SWIG_arg_fail(3)) SWIG_fail;
7615 }
d55e5bfc
RD
7616 }
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 (arg1)->seek(arg2,arg3);
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 Py_INCREF(Py_None); resultobj = Py_None;
7625 return resultobj;
7626 fail:
7627 return NULL;
7628}
7629
7630
c32bde28 7631static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7632 PyObject *resultobj;
7633 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7634 int result;
7635 PyObject * obj0 = 0 ;
7636 char *kwnames[] = {
7637 (char *) "self", NULL
7638 };
7639
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
093d3ff1
RD
7641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7642 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 result = (int)(arg1)->tell();
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
093d3ff1
RD
7650 {
7651 resultobj = SWIG_From_int((int)(result));
7652 }
d55e5bfc
RD
7653 return resultobj;
7654 fail:
7655 return NULL;
7656}
7657
7658
c32bde28 7659static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7660 PyObject *resultobj;
7661 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7662 char result;
7663 PyObject * obj0 = 0 ;
7664 char *kwnames[] = {
7665 (char *) "self", NULL
7666 };
7667
7668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
093d3ff1
RD
7669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (char)(arg1)->Peek();
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
093d3ff1
RD
7678 {
7679 resultobj = SWIG_From_char((char)(result));
7680 }
d55e5bfc
RD
7681 return resultobj;
7682 fail:
7683 return NULL;
7684}
7685
7686
c32bde28 7687static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7688 PyObject *resultobj;
7689 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7690 char result;
7691 PyObject * obj0 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
093d3ff1
RD
7697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 result = (char)(arg1)->GetC();
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
093d3ff1
RD
7706 {
7707 resultobj = SWIG_From_char((char)(result));
7708 }
d55e5bfc
RD
7709 return resultobj;
7710 fail:
7711 return NULL;
7712}
7713
7714
c32bde28 7715static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7716 PyObject *resultobj;
7717 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7718 size_t result;
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
093d3ff1
RD
7725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7726 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (size_t)(arg1)->LastRead();
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
093d3ff1
RD
7734 {
7735 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
7736 }
d55e5bfc
RD
7737 return resultobj;
7738 fail:
7739 return NULL;
7740}
7741
7742
c32bde28 7743static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7744 PyObject *resultobj;
7745 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7746 bool result;
7747 PyObject * obj0 = 0 ;
7748 char *kwnames[] = {
7749 (char *) "self", NULL
7750 };
7751
7752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
093d3ff1
RD
7753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (bool)(arg1)->CanRead();
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 {
7763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7764 }
7765 return resultobj;
7766 fail:
7767 return NULL;
7768}
7769
7770
c32bde28 7771static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7772 PyObject *resultobj;
7773 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7774 bool result;
7775 PyObject * obj0 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
093d3ff1
RD
7781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (bool)(arg1)->Eof();
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 {
7791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7792 }
7793 return resultobj;
7794 fail:
7795 return NULL;
7796}
7797
7798
c32bde28 7799static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7800 PyObject *resultobj;
7801 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7802 char arg2 ;
7803 bool result;
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806 char *kwnames[] = {
7807 (char *) "self",(char *) "c", NULL
7808 };
7809
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail;
7813 {
7814 arg2 = (char)(SWIG_As_char(obj1));
7815 if (SWIG_arg_fail(2)) SWIG_fail;
7816 }
d55e5bfc
RD
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (bool)(arg1)->Ungetch(arg2);
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 {
7825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7826 }
7827 return resultobj;
7828 fail:
7829 return NULL;
7830}
7831
7832
c32bde28 7833static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7834 PyObject *resultobj;
7835 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7836 long arg2 ;
093d3ff1 7837 wxSeekMode arg3 = (wxSeekMode) wxFromStart ;
d55e5bfc
RD
7838 long result;
7839 PyObject * obj0 = 0 ;
7840 PyObject * obj1 = 0 ;
7841 PyObject * obj2 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "self",(char *) "pos",(char *) "mode", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail;
7849 {
7850 arg2 = (long)(SWIG_As_long(obj1));
7851 if (SWIG_arg_fail(2)) SWIG_fail;
7852 }
d55e5bfc 7853 if (obj2) {
093d3ff1
RD
7854 {
7855 arg3 = (wxSeekMode)(SWIG_As_int(obj2));
7856 if (SWIG_arg_fail(3)) SWIG_fail;
7857 }
d55e5bfc
RD
7858 }
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
7862
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
093d3ff1
RD
7866 {
7867 resultobj = SWIG_From_long((long)(result));
7868 }
d55e5bfc
RD
7869 return resultobj;
7870 fail:
7871 return NULL;
7872}
7873
7874
c32bde28 7875static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7876 PyObject *resultobj;
7877 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7878 long result;
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
093d3ff1
RD
7885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (long)(arg1)->TellI();
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
093d3ff1
RD
7894 {
7895 resultobj = SWIG_From_long((long)(result));
7896 }
d55e5bfc
RD
7897 return resultobj;
7898 fail:
7899 return NULL;
7900}
7901
7902
c32bde28 7903static PyObject * InputStream_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7904 PyObject *obj;
7905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7906 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
7907 Py_INCREF(obj);
7908 return Py_BuildValue((char *)"");
7909}
c32bde28 7910static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7911 PyObject *resultobj;
7912 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
7913 PyObject *arg2 = (PyObject *) 0 ;
7914 PyObject * obj0 = 0 ;
7915 PyObject * obj1 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self",(char *) "obj", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxOutputStream, SWIG_POINTER_EXCEPTION | 0);
7922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7923 arg2 = obj1;
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 wxOutputStream_write(arg1,arg2);
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 Py_INCREF(Py_None); resultobj = Py_None;
7932 return resultobj;
7933 fail:
7934 return NULL;
7935}
7936
7937
c32bde28 7938static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7939 PyObject *obj;
7940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7941 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
7942 Py_INCREF(obj);
7943 return Py_BuildValue((char *)"");
7944}
c32bde28 7945static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7946 PyObject *resultobj;
7947 wxInputStream *arg1 = (wxInputStream *) 0 ;
7948 wxString *arg2 = 0 ;
7949 wxString *arg3 = 0 ;
7950 wxString *arg4 = 0 ;
7951 wxDateTime arg5 ;
7952 wxFSFile *result;
7953 wxPyInputStream *temp1 ;
ae8162c8
RD
7954 bool temp2 = false ;
7955 bool temp3 = false ;
7956 bool temp4 = false ;
d55e5bfc
RD
7957 PyObject * obj0 = 0 ;
7958 PyObject * obj1 = 0 ;
7959 PyObject * obj2 = 0 ;
7960 PyObject * obj3 = 0 ;
7961 PyObject * obj4 = 0 ;
7962 char *kwnames[] = {
7963 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7964 };
7965
7966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7967 {
7968 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
e2950dbb 7969 arg1 = wxPyCBInputStream_copy((wxPyCBInputStream*)temp1->m_wxis);
d55e5bfc
RD
7970 } else {
7971 PyErr_Clear(); // clear the failure of the wxPyConvert above
e2950dbb 7972 arg1 = wxPyCBInputStream_create(obj0, true);
d55e5bfc 7973 if (arg1 == NULL) {
e2950dbb 7974 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d55e5bfc
RD
7975 SWIG_fail;
7976 }
d55e5bfc
RD
7977 }
7978 }
7979 {
7980 arg2 = wxString_in_helper(obj1);
7981 if (arg2 == NULL) SWIG_fail;
ae8162c8 7982 temp2 = true;
d55e5bfc
RD
7983 }
7984 {
7985 arg3 = wxString_in_helper(obj2);
7986 if (arg3 == NULL) SWIG_fail;
ae8162c8 7987 temp3 = true;
d55e5bfc
RD
7988 }
7989 {
7990 arg4 = wxString_in_helper(obj3);
7991 if (arg4 == NULL) SWIG_fail;
ae8162c8 7992 temp4 = true;
d55e5bfc 7993 }
093d3ff1
RD
7994 {
7995 wxDateTime * argp;
7996 SWIG_Python_ConvertPtr(obj4, (void **)&argp, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION);
7997 if (SWIG_arg_fail(5)) SWIG_fail;
7998 if (argp == NULL) {
7999 SWIG_null_ref("wxDateTime");
8000 }
8001 if (SWIG_arg_fail(5)) SWIG_fail;
8002 arg5 = *argp;
8003 }
d55e5bfc
RD
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
8007
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 {
412d302d 8012 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc 8013 }
d55e5bfc
RD
8014 {
8015 if (temp2)
8016 delete arg2;
8017 }
8018 {
8019 if (temp3)
8020 delete arg3;
8021 }
8022 {
8023 if (temp4)
8024 delete arg4;
8025 }
8026 return resultobj;
8027 fail:
d55e5bfc
RD
8028 {
8029 if (temp2)
8030 delete arg2;
8031 }
8032 {
8033 if (temp3)
8034 delete arg3;
8035 }
8036 {
8037 if (temp4)
8038 delete arg4;
8039 }
8040 return NULL;
8041}
8042
8043
c32bde28 8044static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8045 PyObject *resultobj;
8046 wxFSFile *arg1 = (wxFSFile *) 0 ;
8047 PyObject * obj0 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
8053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 delete arg1;
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 Py_INCREF(Py_None); resultobj = Py_None;
8063 return resultobj;
8064 fail:
8065 return NULL;
8066}
8067
8068
c32bde28 8069static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8070 PyObject *resultobj;
8071 wxFSFile *arg1 = (wxFSFile *) 0 ;
8072 wxInputStream *result;
8073 PyObject * obj0 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "self", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
8079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8081 {
8082 PyThreadState* __tstate = wxPyBeginAllowThreads();
8083 result = (wxInputStream *)(arg1)->GetStream();
8084
8085 wxPyEndAllowThreads(__tstate);
8086 if (PyErr_Occurred()) SWIG_fail;
8087 }
8088 {
8089 wxPyInputStream * _ptr = NULL;
8090
8091 if (result) {
8092 _ptr = new wxPyInputStream(result);
8093 }
fc71d09b 8094 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
8095 }
8096 return resultobj;
8097 fail:
8098 return NULL;
8099}
8100
8101
c32bde28 8102static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8103 PyObject *resultobj;
8104 wxFSFile *arg1 = (wxFSFile *) 0 ;
8105 wxString *result;
8106 PyObject * obj0 = 0 ;
8107 char *kwnames[] = {
8108 (char *) "self", NULL
8109 };
8110
8111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
8112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8114 {
8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
8116 {
8117 wxString const &_result_ref = (arg1)->GetMimeType();
8118 result = (wxString *) &_result_ref;
8119 }
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 {
8125#if wxUSE_UNICODE
8126 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8127#else
8128 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8129#endif
8130 }
8131 return resultobj;
8132 fail:
8133 return NULL;
8134}
8135
8136
c32bde28 8137static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8138 PyObject *resultobj;
8139 wxFSFile *arg1 = (wxFSFile *) 0 ;
8140 wxString *result;
8141 PyObject * obj0 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
093d3ff1
RD
8147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 {
8152 wxString const &_result_ref = (arg1)->GetLocation();
8153 result = (wxString *) &_result_ref;
8154 }
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 {
8160#if wxUSE_UNICODE
8161 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8162#else
8163 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8164#endif
8165 }
8166 return resultobj;
8167 fail:
8168 return NULL;
8169}
8170
8171
c32bde28 8172static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8173 PyObject *resultobj;
8174 wxFSFile *arg1 = (wxFSFile *) 0 ;
8175 wxString *result;
8176 PyObject * obj0 = 0 ;
8177 char *kwnames[] = {
8178 (char *) "self", NULL
8179 };
8180
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
093d3ff1
RD
8182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 {
8187 wxString const &_result_ref = (arg1)->GetAnchor();
8188 result = (wxString *) &_result_ref;
8189 }
8190
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 }
8194 {
8195#if wxUSE_UNICODE
8196 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8197#else
8198 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8199#endif
8200 }
8201 return resultobj;
8202 fail:
8203 return NULL;
8204}
8205
8206
c32bde28 8207static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8208 PyObject *resultobj;
8209 wxFSFile *arg1 = (wxFSFile *) 0 ;
8210 wxDateTime result;
8211 PyObject * obj0 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
8217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 result = (arg1)->GetModificationTime();
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 {
8227 wxDateTime * resultptr;
093d3ff1 8228 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
8229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
8230 }
8231 return resultobj;
8232 fail:
8233 return NULL;
8234}
8235
8236
c32bde28 8237static PyObject * FSFile_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8238 PyObject *obj;
8239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8240 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
8241 Py_INCREF(obj);
8242 return Py_BuildValue((char *)"");
8243}
c32bde28 8244static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8245 PyObject *obj;
8246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8247 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
8248 Py_INCREF(obj);
8249 return Py_BuildValue((char *)"");
8250}
c32bde28 8251static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8252 PyObject *resultobj;
8253 wxPyFileSystemHandler *result;
8254 char *kwnames[] = {
8255 NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
8267 return resultobj;
8268 fail:
8269 return NULL;
8270}
8271
8272
c32bde28 8273static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8274 PyObject *resultobj;
8275 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8276 PyObject *arg2 = (PyObject *) 0 ;
8277 PyObject *arg3 = (PyObject *) 0 ;
8278 PyObject * obj0 = 0 ;
8279 PyObject * obj1 = 0 ;
8280 PyObject * obj2 = 0 ;
8281 char *kwnames[] = {
8282 (char *) "self",(char *) "self",(char *) "_class", NULL
8283 };
8284
8285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8287 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8288 arg2 = obj1;
8289 arg3 = obj2;
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 (arg1)->_setCallbackInfo(arg2,arg3);
8293
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 }
8297 Py_INCREF(Py_None); resultobj = Py_None;
8298 return resultobj;
8299 fail:
8300 return NULL;
8301}
8302
8303
c32bde28 8304static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8305 PyObject *resultobj;
8306 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8307 wxString *arg2 = 0 ;
8308 bool result;
ae8162c8 8309 bool temp2 = false ;
d55e5bfc
RD
8310 PyObject * obj0 = 0 ;
8311 PyObject * obj1 = 0 ;
8312 char *kwnames[] = {
8313 (char *) "self",(char *) "location", NULL
8314 };
8315
8316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8318 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8319 {
8320 arg2 = wxString_in_helper(obj1);
8321 if (arg2 == NULL) SWIG_fail;
ae8162c8 8322 temp2 = true;
d55e5bfc
RD
8323 }
8324 {
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
8327
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 {
8332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8333 }
8334 {
8335 if (temp2)
8336 delete arg2;
8337 }
8338 return resultobj;
8339 fail:
8340 {
8341 if (temp2)
8342 delete arg2;
8343 }
8344 return NULL;
8345}
8346
8347
c32bde28 8348static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8349 PyObject *resultobj;
8350 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8351 wxFileSystem *arg2 = 0 ;
8352 wxString *arg3 = 0 ;
8353 wxFSFile *result;
ae8162c8 8354 bool temp3 = false ;
d55e5bfc
RD
8355 PyObject * obj0 = 0 ;
8356 PyObject * obj1 = 0 ;
8357 PyObject * obj2 = 0 ;
8358 char *kwnames[] = {
8359 (char *) "self",(char *) "fs",(char *) "location", NULL
8360 };
8361
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8364 if (SWIG_arg_fail(1)) SWIG_fail;
8365 {
8366 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8367 if (SWIG_arg_fail(2)) SWIG_fail;
8368 if (arg2 == NULL) {
8369 SWIG_null_ref("wxFileSystem");
8370 }
8371 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8372 }
8373 {
8374 arg3 = wxString_in_helper(obj2);
8375 if (arg3 == NULL) SWIG_fail;
ae8162c8 8376 temp3 = true;
d55e5bfc
RD
8377 }
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 {
4cf4100f 8386 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
8387 }
8388 {
8389 if (temp3)
8390 delete arg3;
8391 }
8392 return resultobj;
8393 fail:
8394 {
8395 if (temp3)
8396 delete arg3;
8397 }
8398 return NULL;
8399}
8400
8401
c32bde28 8402static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8403 PyObject *resultobj;
8404 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8405 wxString *arg2 = 0 ;
8406 int arg3 = (int) 0 ;
8407 wxString result;
ae8162c8 8408 bool temp2 = false ;
d55e5bfc
RD
8409 PyObject * obj0 = 0 ;
8410 PyObject * obj1 = 0 ;
8411 PyObject * obj2 = 0 ;
8412 char *kwnames[] = {
8413 (char *) "self",(char *) "spec",(char *) "flags", NULL
8414 };
8415
8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8419 {
8420 arg2 = wxString_in_helper(obj1);
8421 if (arg2 == NULL) SWIG_fail;
ae8162c8 8422 temp2 = true;
d55e5bfc
RD
8423 }
8424 if (obj2) {
093d3ff1
RD
8425 {
8426 arg3 = (int)(SWIG_As_int(obj2));
8427 if (SWIG_arg_fail(3)) SWIG_fail;
8428 }
d55e5bfc
RD
8429 }
8430 {
8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
8432 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8433
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 {
8438#if wxUSE_UNICODE
8439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8440#else
8441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8442#endif
8443 }
8444 {
8445 if (temp2)
8446 delete arg2;
8447 }
8448 return resultobj;
8449 fail:
8450 {
8451 if (temp2)
8452 delete arg2;
8453 }
8454 return NULL;
8455}
8456
8457
c32bde28 8458static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8459 PyObject *resultobj;
8460 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8461 wxString result;
8462 PyObject * obj0 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
8468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (arg1)->FindNext();
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 {
8478#if wxUSE_UNICODE
8479 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8480#else
8481 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8482#endif
8483 }
8484 return resultobj;
8485 fail:
8486 return NULL;
8487}
8488
8489
c32bde28 8490static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8491 PyObject *resultobj;
8492 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8493 wxString *arg2 = 0 ;
8494 wxString result;
ae8162c8 8495 bool temp2 = false ;
d55e5bfc
RD
8496 PyObject * obj0 = 0 ;
8497 PyObject * obj1 = 0 ;
8498 char *kwnames[] = {
8499 (char *) "self",(char *) "location", NULL
8500 };
8501
8502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8504 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8505 {
8506 arg2 = wxString_in_helper(obj1);
8507 if (arg2 == NULL) SWIG_fail;
ae8162c8 8508 temp2 = true;
d55e5bfc
RD
8509 }
8510 {
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 result = (arg1)->GetProtocol((wxString const &)*arg2);
8513
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 {
8518#if wxUSE_UNICODE
8519 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8520#else
8521 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8522#endif
8523 }
8524 {
8525 if (temp2)
8526 delete arg2;
8527 }
8528 return resultobj;
8529 fail:
8530 {
8531 if (temp2)
8532 delete arg2;
8533 }
8534 return NULL;
8535}
8536
8537
c32bde28 8538static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8539 PyObject *resultobj;
8540 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8541 wxString *arg2 = 0 ;
8542 wxString result;
ae8162c8 8543 bool temp2 = false ;
d55e5bfc
RD
8544 PyObject * obj0 = 0 ;
8545 PyObject * obj1 = 0 ;
8546 char *kwnames[] = {
8547 (char *) "self",(char *) "location", NULL
8548 };
8549
8550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8553 {
8554 arg2 = wxString_in_helper(obj1);
8555 if (arg2 == NULL) SWIG_fail;
ae8162c8 8556 temp2 = true;
d55e5bfc
RD
8557 }
8558 {
8559 PyThreadState* __tstate = wxPyBeginAllowThreads();
8560 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
8561
8562 wxPyEndAllowThreads(__tstate);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 {
8566#if wxUSE_UNICODE
8567 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8568#else
8569 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8570#endif
8571 }
8572 {
8573 if (temp2)
8574 delete arg2;
8575 }
8576 return resultobj;
8577 fail:
8578 {
8579 if (temp2)
8580 delete arg2;
8581 }
8582 return NULL;
8583}
8584
8585
c32bde28 8586static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8587 PyObject *resultobj;
8588 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8589 wxString *arg2 = 0 ;
8590 wxString result;
ae8162c8 8591 bool temp2 = false ;
d55e5bfc
RD
8592 PyObject * obj0 = 0 ;
8593 PyObject * obj1 = 0 ;
8594 char *kwnames[] = {
8595 (char *) "self",(char *) "location", NULL
8596 };
8597
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8601 {
8602 arg2 = wxString_in_helper(obj1);
8603 if (arg2 == NULL) SWIG_fail;
ae8162c8 8604 temp2 = true;
d55e5bfc
RD
8605 }
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = (arg1)->GetAnchor((wxString const &)*arg2);
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 {
8614#if wxUSE_UNICODE
8615 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8616#else
8617 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8618#endif
8619 }
8620 {
8621 if (temp2)
8622 delete arg2;
8623 }
8624 return resultobj;
8625 fail:
8626 {
8627 if (temp2)
8628 delete arg2;
8629 }
8630 return NULL;
8631}
8632
8633
c32bde28 8634static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8635 PyObject *resultobj;
8636 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8637 wxString *arg2 = 0 ;
8638 wxString result;
ae8162c8 8639 bool temp2 = false ;
d55e5bfc
RD
8640 PyObject * obj0 = 0 ;
8641 PyObject * obj1 = 0 ;
8642 char *kwnames[] = {
8643 (char *) "self",(char *) "location", NULL
8644 };
8645
8646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8649 {
8650 arg2 = wxString_in_helper(obj1);
8651 if (arg2 == NULL) SWIG_fail;
ae8162c8 8652 temp2 = true;
d55e5bfc
RD
8653 }
8654 {
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 result = (arg1)->GetRightLocation((wxString const &)*arg2);
8657
8658 wxPyEndAllowThreads(__tstate);
8659 if (PyErr_Occurred()) SWIG_fail;
8660 }
8661 {
8662#if wxUSE_UNICODE
8663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8664#else
8665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8666#endif
8667 }
8668 {
8669 if (temp2)
8670 delete arg2;
8671 }
8672 return resultobj;
8673 fail:
8674 {
8675 if (temp2)
8676 delete arg2;
8677 }
8678 return NULL;
8679}
8680
8681
c32bde28 8682static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8683 PyObject *resultobj;
8684 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8685 wxString *arg2 = 0 ;
8686 wxString result;
ae8162c8 8687 bool temp2 = false ;
d55e5bfc
RD
8688 PyObject * obj0 = 0 ;
8689 PyObject * obj1 = 0 ;
8690 char *kwnames[] = {
8691 (char *) "self",(char *) "location", NULL
8692 };
8693
8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8696 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8697 {
8698 arg2 = wxString_in_helper(obj1);
8699 if (arg2 == NULL) SWIG_fail;
ae8162c8 8700 temp2 = true;
d55e5bfc
RD
8701 }
8702 {
8703 PyThreadState* __tstate = wxPyBeginAllowThreads();
8704 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
8705
8706 wxPyEndAllowThreads(__tstate);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 {
8710#if wxUSE_UNICODE
8711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8712#else
8713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8714#endif
8715 }
8716 {
8717 if (temp2)
8718 delete arg2;
8719 }
8720 return resultobj;
8721 fail:
8722 {
8723 if (temp2)
8724 delete arg2;
8725 }
8726 return NULL;
8727}
8728
8729
c32bde28 8730static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8731 PyObject *obj;
8732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8733 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
8734 Py_INCREF(obj);
8735 return Py_BuildValue((char *)"");
8736}
c32bde28 8737static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8738 PyObject *resultobj;
8739 wxFileSystem *result;
8740 char *kwnames[] = {
8741 NULL
8742 };
8743
8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 result = (wxFileSystem *)new wxFileSystem();
8748
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 }
8752 {
412d302d 8753 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
8754 }
8755 return resultobj;
8756 fail:
8757 return NULL;
8758}
8759
8760
c32bde28 8761static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8762 PyObject *resultobj;
8763 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8764 PyObject * obj0 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "self", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
093d3ff1
RD
8770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8771 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8772 {
8773 PyThreadState* __tstate = wxPyBeginAllowThreads();
8774 delete arg1;
8775
8776 wxPyEndAllowThreads(__tstate);
8777 if (PyErr_Occurred()) SWIG_fail;
8778 }
8779 Py_INCREF(Py_None); resultobj = Py_None;
8780 return resultobj;
8781 fail:
8782 return NULL;
8783}
8784
8785
c32bde28 8786static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8787 PyObject *resultobj;
8788 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8789 wxString *arg2 = 0 ;
ae8162c8
RD
8790 bool arg3 = (bool) false ;
8791 bool temp2 = false ;
d55e5bfc
RD
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 PyObject * obj2 = 0 ;
8795 char *kwnames[] = {
8796 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8797 };
8798
8799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8801 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8802 {
8803 arg2 = wxString_in_helper(obj1);
8804 if (arg2 == NULL) SWIG_fail;
ae8162c8 8805 temp2 = true;
d55e5bfc
RD
8806 }
8807 if (obj2) {
093d3ff1
RD
8808 {
8809 arg3 = (bool)(SWIG_As_bool(obj2));
8810 if (SWIG_arg_fail(3)) SWIG_fail;
8811 }
d55e5bfc
RD
8812 }
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 Py_INCREF(Py_None); resultobj = Py_None;
8821 {
8822 if (temp2)
8823 delete arg2;
8824 }
8825 return resultobj;
8826 fail:
8827 {
8828 if (temp2)
8829 delete arg2;
8830 }
8831 return NULL;
8832}
8833
8834
c32bde28 8835static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8836 PyObject *resultobj;
8837 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8838 wxString result;
8839 PyObject * obj0 = 0 ;
8840 char *kwnames[] = {
8841 (char *) "self", NULL
8842 };
8843
8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
8845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8846 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 result = (arg1)->GetPath();
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 {
8855#if wxUSE_UNICODE
8856 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8857#else
8858 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8859#endif
8860 }
8861 return resultobj;
8862 fail:
8863 return NULL;
8864}
8865
8866
c32bde28 8867static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8868 PyObject *resultobj;
8869 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8870 wxString *arg2 = 0 ;
8871 wxFSFile *result;
ae8162c8 8872 bool temp2 = false ;
d55e5bfc
RD
8873 PyObject * obj0 = 0 ;
8874 PyObject * obj1 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "self",(char *) "location", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8881 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8882 {
8883 arg2 = wxString_in_helper(obj1);
8884 if (arg2 == NULL) SWIG_fail;
ae8162c8 8885 temp2 = true;
d55e5bfc
RD
8886 }
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
8890
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
8894 {
4cf4100f 8895 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
8896 }
8897 {
8898 if (temp2)
8899 delete arg2;
8900 }
8901 return resultobj;
8902 fail:
8903 {
8904 if (temp2)
8905 delete arg2;
8906 }
8907 return NULL;
8908}
8909
8910
c32bde28 8911static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8912 PyObject *resultobj;
8913 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8914 wxString *arg2 = 0 ;
8915 int arg3 = (int) 0 ;
8916 wxString result;
ae8162c8 8917 bool temp2 = false ;
d55e5bfc
RD
8918 PyObject * obj0 = 0 ;
8919 PyObject * obj1 = 0 ;
8920 PyObject * obj2 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "self",(char *) "spec",(char *) "flags", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8928 {
8929 arg2 = wxString_in_helper(obj1);
8930 if (arg2 == NULL) SWIG_fail;
ae8162c8 8931 temp2 = true;
d55e5bfc
RD
8932 }
8933 if (obj2) {
093d3ff1
RD
8934 {
8935 arg3 = (int)(SWIG_As_int(obj2));
8936 if (SWIG_arg_fail(3)) SWIG_fail;
8937 }
d55e5bfc
RD
8938 }
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8942
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 {
8947#if wxUSE_UNICODE
8948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8949#else
8950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8951#endif
8952 }
8953 {
8954 if (temp2)
8955 delete arg2;
8956 }
8957 return resultobj;
8958 fail:
8959 {
8960 if (temp2)
8961 delete arg2;
8962 }
8963 return NULL;
8964}
8965
8966
c32bde28 8967static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8968 PyObject *resultobj;
8969 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8970 wxString result;
8971 PyObject * obj0 = 0 ;
8972 char *kwnames[] = {
8973 (char *) "self", NULL
8974 };
8975
8976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
8977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 result = (arg1)->FindNext();
8982
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 {
8987#if wxUSE_UNICODE
8988 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8989#else
8990 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8991#endif
8992 }
8993 return resultobj;
8994 fail:
8995 return NULL;
8996}
8997
8998
c32bde28 8999static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9000 PyObject *resultobj;
9001 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
9002 PyObject * obj0 = 0 ;
9003 char *kwnames[] = {
9004 (char *) "handler", NULL
9005 };
9006
9007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
9008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
9009 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9010 {
9011 PyThreadState* __tstate = wxPyBeginAllowThreads();
9012 wxFileSystem::AddHandler(arg1);
9013
9014 wxPyEndAllowThreads(__tstate);
9015 if (PyErr_Occurred()) SWIG_fail;
9016 }
9017 Py_INCREF(Py_None); resultobj = Py_None;
9018 return resultobj;
9019 fail:
9020 return NULL;
9021}
9022
9023
c32bde28 9024static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9025 PyObject *resultobj;
9026 char *kwnames[] = {
9027 NULL
9028 };
9029
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 wxFileSystem::CleanUpHandlers();
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 Py_INCREF(Py_None); resultobj = Py_None;
9039 return resultobj;
9040 fail:
9041 return NULL;
9042}
9043
9044
c32bde28 9045static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9046 PyObject *resultobj;
9047 wxString *arg1 = 0 ;
9048 wxString result;
ae8162c8 9049 bool temp1 = false ;
d55e5bfc
RD
9050 PyObject * obj0 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "filename", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
9056 {
9057 arg1 = wxString_in_helper(obj0);
9058 if (arg1 == NULL) SWIG_fail;
ae8162c8 9059 temp1 = true;
d55e5bfc
RD
9060 }
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 {
9069#if wxUSE_UNICODE
9070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9071#else
9072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9073#endif
9074 }
9075 {
9076 if (temp1)
9077 delete arg1;
9078 }
9079 return resultobj;
9080 fail:
9081 {
9082 if (temp1)
9083 delete arg1;
9084 }
9085 return NULL;
9086}
9087
9088
c32bde28 9089static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9090 PyObject *resultobj;
9091 wxString *arg1 = 0 ;
9092 wxString result;
ae8162c8 9093 bool temp1 = false ;
d55e5bfc
RD
9094 PyObject * obj0 = 0 ;
9095 char *kwnames[] = {
9096 (char *) "url", NULL
9097 };
9098
9099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
9100 {
9101 arg1 = wxString_in_helper(obj0);
9102 if (arg1 == NULL) SWIG_fail;
ae8162c8 9103 temp1 = true;
d55e5bfc
RD
9104 }
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 9107 result = FileSystem_URLToFileName((wxString const &)*arg1);
d55e5bfc
RD
9108
9109 wxPyEndAllowThreads(__tstate);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 {
9113#if wxUSE_UNICODE
9114 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9115#else
9116 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9117#endif
9118 }
9119 {
9120 if (temp1)
9121 delete arg1;
9122 }
9123 return resultobj;
9124 fail:
9125 {
9126 if (temp1)
9127 delete arg1;
9128 }
9129 return NULL;
9130}
9131
9132
ae8162c8
RD
9133static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
9134 PyObject *obj;
9135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9136 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
9137 Py_INCREF(obj);
9138 return Py_BuildValue((char *)"");
9139}
c32bde28 9140static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9141 PyObject *resultobj;
9142 wxInternetFSHandler *result;
9143 char *kwnames[] = {
9144 NULL
9145 };
9146
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 result = (wxInternetFSHandler *)new wxInternetFSHandler();
9151
9152 wxPyEndAllowThreads(__tstate);
9153 if (PyErr_Occurred()) SWIG_fail;
9154 }
9155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
9156 return resultobj;
9157 fail:
9158 return NULL;
9159}
9160
9161
c32bde28 9162static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9163 PyObject *resultobj;
9164 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
9165 wxString *arg2 = 0 ;
9166 bool result;
ae8162c8 9167 bool temp2 = false ;
d55e5bfc
RD
9168 PyObject * obj0 = 0 ;
9169 PyObject * obj1 = 0 ;
9170 char *kwnames[] = {
9171 (char *) "self",(char *) "location", NULL
9172 };
9173
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxInternetFSHandler, SWIG_POINTER_EXCEPTION | 0);
9176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9177 {
9178 arg2 = wxString_in_helper(obj1);
9179 if (arg2 == NULL) SWIG_fail;
ae8162c8 9180 temp2 = true;
d55e5bfc
RD
9181 }
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 {
9190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9191 }
9192 {
9193 if (temp2)
9194 delete arg2;
9195 }
9196 return resultobj;
9197 fail:
9198 {
9199 if (temp2)
9200 delete arg2;
9201 }
9202 return NULL;
9203}
9204
9205
c32bde28 9206static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9207 PyObject *resultobj;
9208 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
9209 wxFileSystem *arg2 = 0 ;
9210 wxString *arg3 = 0 ;
9211 wxFSFile *result;
ae8162c8 9212 bool temp3 = false ;
d55e5bfc
RD
9213 PyObject * obj0 = 0 ;
9214 PyObject * obj1 = 0 ;
9215 PyObject * obj2 = 0 ;
9216 char *kwnames[] = {
9217 (char *) "self",(char *) "fs",(char *) "location", NULL
9218 };
9219
9220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxInternetFSHandler, SWIG_POINTER_EXCEPTION | 0);
9222 if (SWIG_arg_fail(1)) SWIG_fail;
9223 {
9224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9225 if (SWIG_arg_fail(2)) SWIG_fail;
9226 if (arg2 == NULL) {
9227 SWIG_null_ref("wxFileSystem");
9228 }
9229 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
9230 }
9231 {
9232 arg3 = wxString_in_helper(obj2);
9233 if (arg3 == NULL) SWIG_fail;
ae8162c8 9234 temp3 = true;
d55e5bfc
RD
9235 }
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 {
4cf4100f 9244 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
9245 }
9246 {
9247 if (temp3)
9248 delete arg3;
9249 }
9250 return resultobj;
9251 fail:
9252 {
9253 if (temp3)
9254 delete arg3;
9255 }
9256 return NULL;
9257}
9258
9259
c32bde28 9260static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9261 PyObject *obj;
9262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9263 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
9264 Py_INCREF(obj);
9265 return Py_BuildValue((char *)"");
9266}
c32bde28 9267static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9268 PyObject *resultobj;
9269 wxZipFSHandler *result;
9270 char *kwnames[] = {
9271 NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 result = (wxZipFSHandler *)new wxZipFSHandler();
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
9283 return resultobj;
9284 fail:
9285 return NULL;
9286}
9287
9288
c32bde28 9289static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9290 PyObject *resultobj;
9291 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9292 wxString *arg2 = 0 ;
9293 bool result;
ae8162c8 9294 bool temp2 = false ;
d55e5bfc
RD
9295 PyObject * obj0 = 0 ;
9296 PyObject * obj1 = 0 ;
9297 char *kwnames[] = {
9298 (char *) "self",(char *) "location", NULL
9299 };
9300
9301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9303 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9304 {
9305 arg2 = wxString_in_helper(obj1);
9306 if (arg2 == NULL) SWIG_fail;
ae8162c8 9307 temp2 = true;
d55e5bfc
RD
9308 }
9309 {
9310 PyThreadState* __tstate = wxPyBeginAllowThreads();
9311 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
9312
9313 wxPyEndAllowThreads(__tstate);
9314 if (PyErr_Occurred()) SWIG_fail;
9315 }
9316 {
9317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9318 }
9319 {
9320 if (temp2)
9321 delete arg2;
9322 }
9323 return resultobj;
9324 fail:
9325 {
9326 if (temp2)
9327 delete arg2;
9328 }
9329 return NULL;
9330}
9331
9332
c32bde28 9333static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9334 PyObject *resultobj;
9335 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9336 wxFileSystem *arg2 = 0 ;
9337 wxString *arg3 = 0 ;
9338 wxFSFile *result;
ae8162c8 9339 bool temp3 = false ;
d55e5bfc
RD
9340 PyObject * obj0 = 0 ;
9341 PyObject * obj1 = 0 ;
9342 PyObject * obj2 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "self",(char *) "fs",(char *) "location", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9349 if (SWIG_arg_fail(1)) SWIG_fail;
9350 {
9351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9352 if (SWIG_arg_fail(2)) SWIG_fail;
9353 if (arg2 == NULL) {
9354 SWIG_null_ref("wxFileSystem");
9355 }
9356 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
9357 }
9358 {
9359 arg3 = wxString_in_helper(obj2);
9360 if (arg3 == NULL) SWIG_fail;
ae8162c8 9361 temp3 = true;
d55e5bfc
RD
9362 }
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 {
4cf4100f 9371 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
9372 }
9373 {
9374 if (temp3)
9375 delete arg3;
9376 }
9377 return resultobj;
9378 fail:
9379 {
9380 if (temp3)
9381 delete arg3;
9382 }
9383 return NULL;
9384}
9385
9386
c32bde28 9387static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9388 PyObject *resultobj;
9389 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9390 wxString *arg2 = 0 ;
9391 int arg3 = (int) 0 ;
9392 wxString result;
ae8162c8 9393 bool temp2 = false ;
d55e5bfc
RD
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 PyObject * obj2 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self",(char *) "spec",(char *) "flags", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9403 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9404 {
9405 arg2 = wxString_in_helper(obj1);
9406 if (arg2 == NULL) SWIG_fail;
ae8162c8 9407 temp2 = true;
d55e5bfc
RD
9408 }
9409 if (obj2) {
093d3ff1
RD
9410 {
9411 arg3 = (int)(SWIG_As_int(obj2));
9412 if (SWIG_arg_fail(3)) SWIG_fail;
9413 }
d55e5bfc
RD
9414 }
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 {
9423#if wxUSE_UNICODE
9424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9425#else
9426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9427#endif
9428 }
9429 {
9430 if (temp2)
9431 delete arg2;
9432 }
9433 return resultobj;
9434 fail:
9435 {
9436 if (temp2)
9437 delete arg2;
9438 }
9439 return NULL;
9440}
9441
9442
c32bde28 9443static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9444 PyObject *resultobj;
9445 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9446 wxString result;
9447 PyObject * obj0 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
9453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 result = (arg1)->FindNext();
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
9462 {
9463#if wxUSE_UNICODE
9464 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9465#else
9466 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9467#endif
9468 }
9469 return resultobj;
9470 fail:
9471 return NULL;
9472}
9473
9474
c32bde28 9475static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9476 PyObject *obj;
9477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9478 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
9479 Py_INCREF(obj);
9480 return Py_BuildValue((char *)"");
9481}
c32bde28 9482static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9483 PyObject *resultobj;
9484 wxString *arg1 = 0 ;
9485 wxImage *arg2 = 0 ;
9486 long arg3 ;
ae8162c8 9487 bool temp1 = false ;
d55e5bfc
RD
9488 PyObject * obj0 = 0 ;
9489 PyObject * obj1 = 0 ;
9490 PyObject * obj2 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "filename",(char *) "image",(char *) "type", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
9496 {
9497 arg1 = wxString_in_helper(obj0);
9498 if (arg1 == NULL) SWIG_fail;
ae8162c8 9499 temp1 = true;
d55e5bfc 9500 }
093d3ff1
RD
9501 {
9502 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
9503 if (SWIG_arg_fail(2)) SWIG_fail;
9504 if (arg2 == NULL) {
9505 SWIG_null_ref("wxImage");
9506 }
9507 if (SWIG_arg_fail(2)) SWIG_fail;
9508 }
9509 {
9510 arg3 = (long)(SWIG_As_long(obj2));
9511 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 9512 }
d55e5bfc
RD
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 Py_INCREF(Py_None); resultobj = Py_None;
9521 {
9522 if (temp1)
9523 delete arg1;
9524 }
9525 return resultobj;
9526 fail:
9527 {
9528 if (temp1)
9529 delete arg1;
9530 }
9531 return NULL;
9532}
9533
9534
c32bde28 9535static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9536 PyObject *resultobj;
9537 wxString *arg1 = 0 ;
9538 wxBitmap *arg2 = 0 ;
9539 long arg3 ;
ae8162c8 9540 bool temp1 = false ;
d55e5bfc
RD
9541 PyObject * obj0 = 0 ;
9542 PyObject * obj1 = 0 ;
9543 PyObject * obj2 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
9549 {
9550 arg1 = wxString_in_helper(obj0);
9551 if (arg1 == NULL) SWIG_fail;
ae8162c8 9552 temp1 = true;
d55e5bfc 9553 }
093d3ff1
RD
9554 {
9555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
9556 if (SWIG_arg_fail(2)) SWIG_fail;
9557 if (arg2 == NULL) {
9558 SWIG_null_ref("wxBitmap");
9559 }
9560 if (SWIG_arg_fail(2)) SWIG_fail;
9561 }
9562 {
9563 arg3 = (long)(SWIG_As_long(obj2));
9564 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 9565 }
d55e5bfc
RD
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 Py_INCREF(Py_None); resultobj = Py_None;
9574 {
9575 if (temp1)
9576 delete arg1;
9577 }
9578 return resultobj;
9579 fail:
9580 {
9581 if (temp1)
9582 delete arg1;
9583 }
9584 return NULL;
9585}
9586
9587
c32bde28 9588static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9589 PyObject *resultobj;
9590 wxString *arg1 = 0 ;
9591 PyObject *arg2 = (PyObject *) 0 ;
ae8162c8 9592 bool temp1 = false ;
d55e5bfc
RD
9593 PyObject * obj0 = 0 ;
9594 PyObject * obj1 = 0 ;
9595 char *kwnames[] = {
9596 (char *) "filename",(char *) "data", NULL
9597 };
9598
9599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
9600 {
9601 arg1 = wxString_in_helper(obj0);
9602 if (arg1 == NULL) SWIG_fail;
ae8162c8 9603 temp1 = true;
d55e5bfc
RD
9604 }
9605 arg2 = obj1;
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
9613 Py_INCREF(Py_None); resultobj = Py_None;
9614 {
9615 if (temp1)
9616 delete arg1;
9617 }
9618 return resultobj;
9619 fail:
9620 {
9621 if (temp1)
9622 delete arg1;
9623 }
9624 return NULL;
9625}
9626
9627
c32bde28 9628static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9629 PyObject *resultobj;
9630 wxMemoryFSHandler *result;
9631 char *kwnames[] = {
9632 NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
9644 return resultobj;
9645 fail:
9646 return NULL;
9647}
9648
9649
c32bde28 9650static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9651 PyObject *resultobj;
9652 wxString *arg1 = 0 ;
ae8162c8 9653 bool temp1 = false ;
d55e5bfc
RD
9654 PyObject * obj0 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "filename", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
9660 {
9661 arg1 = wxString_in_helper(obj0);
9662 if (arg1 == NULL) SWIG_fail;
ae8162c8 9663 temp1 = true;
d55e5bfc
RD
9664 }
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 Py_INCREF(Py_None); resultobj = Py_None;
9673 {
9674 if (temp1)
9675 delete arg1;
9676 }
9677 return resultobj;
9678 fail:
9679 {
9680 if (temp1)
9681 delete arg1;
9682 }
9683 return NULL;
9684}
9685
9686
c32bde28 9687static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9688 PyObject *resultobj;
9689 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9690 wxString *arg2 = 0 ;
9691 bool result;
ae8162c8 9692 bool temp2 = false ;
d55e5bfc
RD
9693 PyObject * obj0 = 0 ;
9694 PyObject * obj1 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self",(char *) "location", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
9701 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9702 {
9703 arg2 = wxString_in_helper(obj1);
9704 if (arg2 == NULL) SWIG_fail;
ae8162c8 9705 temp2 = true;
d55e5bfc
RD
9706 }
9707 {
9708 PyThreadState* __tstate = wxPyBeginAllowThreads();
9709 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
9710
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
9714 {
9715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9716 }
9717 {
9718 if (temp2)
9719 delete arg2;
9720 }
9721 return resultobj;
9722 fail:
9723 {
9724 if (temp2)
9725 delete arg2;
9726 }
9727 return NULL;
9728}
9729
9730
c32bde28 9731static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9732 PyObject *resultobj;
9733 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9734 wxFileSystem *arg2 = 0 ;
9735 wxString *arg3 = 0 ;
9736 wxFSFile *result;
ae8162c8 9737 bool temp3 = false ;
d55e5bfc
RD
9738 PyObject * obj0 = 0 ;
9739 PyObject * obj1 = 0 ;
9740 PyObject * obj2 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self",(char *) "fs",(char *) "location", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail;
9748 {
9749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9750 if (SWIG_arg_fail(2)) SWIG_fail;
9751 if (arg2 == NULL) {
9752 SWIG_null_ref("wxFileSystem");
9753 }
9754 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
9755 }
9756 {
9757 arg3 = wxString_in_helper(obj2);
9758 if (arg3 == NULL) SWIG_fail;
ae8162c8 9759 temp3 = true;
d55e5bfc
RD
9760 }
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
9764
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 {
4cf4100f 9769 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
9770 }
9771 {
9772 if (temp3)
9773 delete arg3;
9774 }
9775 return resultobj;
9776 fail:
9777 {
9778 if (temp3)
9779 delete arg3;
9780 }
9781 return NULL;
9782}
9783
9784
c32bde28 9785static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9786 PyObject *resultobj;
9787 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9788 wxString *arg2 = 0 ;
9789 int arg3 = (int) 0 ;
9790 wxString result;
ae8162c8 9791 bool temp2 = false ;
d55e5bfc
RD
9792 PyObject * obj0 = 0 ;
9793 PyObject * obj1 = 0 ;
9794 PyObject * obj2 = 0 ;
9795 char *kwnames[] = {
9796 (char *) "self",(char *) "spec",(char *) "flags", NULL
9797 };
9798
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
9801 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9802 {
9803 arg2 = wxString_in_helper(obj1);
9804 if (arg2 == NULL) SWIG_fail;
ae8162c8 9805 temp2 = true;
d55e5bfc
RD
9806 }
9807 if (obj2) {
093d3ff1
RD
9808 {
9809 arg3 = (int)(SWIG_As_int(obj2));
9810 if (SWIG_arg_fail(3)) SWIG_fail;
9811 }
d55e5bfc
RD
9812 }
9813 {
9814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9815 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
9816
9817 wxPyEndAllowThreads(__tstate);
9818 if (PyErr_Occurred()) SWIG_fail;
9819 }
9820 {
9821#if wxUSE_UNICODE
9822 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9823#else
9824 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9825#endif
9826 }
9827 {
9828 if (temp2)
9829 delete arg2;
9830 }
9831 return resultobj;
9832 fail:
9833 {
9834 if (temp2)
9835 delete arg2;
9836 }
9837 return NULL;
9838}
9839
9840
c32bde28 9841static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9842 PyObject *resultobj;
9843 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9844 wxString result;
9845 PyObject * obj0 = 0 ;
9846 char *kwnames[] = {
9847 (char *) "self", NULL
9848 };
9849
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
9851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
9852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (arg1)->FindNext();
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 {
9861#if wxUSE_UNICODE
9862 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9863#else
9864 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9865#endif
9866 }
9867 return resultobj;
9868 fail:
9869 return NULL;
9870}
9871
9872
c32bde28 9873static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9874 PyObject *obj;
9875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9876 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
9877 Py_INCREF(obj);
9878 return Py_BuildValue((char *)"");
9879}
c32bde28 9880static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9881 PyObject *resultobj;
9882 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9883 wxString result;
9884 PyObject * obj0 = 0 ;
9885 char *kwnames[] = {
9886 (char *) "self", NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
9890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9892 {
9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
9894 result = (arg1)->GetName();
9895
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
9899 {
9900#if wxUSE_UNICODE
9901 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9902#else
9903 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9904#endif
9905 }
9906 return resultobj;
9907 fail:
9908 return NULL;
9909}
9910
9911
c32bde28 9912static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9913 PyObject *resultobj;
9914 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9915 wxString result;
9916 PyObject * obj0 = 0 ;
9917 char *kwnames[] = {
9918 (char *) "self", NULL
9919 };
9920
9921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
093d3ff1
RD
9922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
9923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9924 {
9925 PyThreadState* __tstate = wxPyBeginAllowThreads();
9926 result = (arg1)->GetExtension();
9927
9928 wxPyEndAllowThreads(__tstate);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 }
9931 {
9932#if wxUSE_UNICODE
9933 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9934#else
9935 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9936#endif
9937 }
9938 return resultobj;
9939 fail:
9940 return NULL;
9941}
9942
9943
c32bde28 9944static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9945 PyObject *resultobj;
9946 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9947 long result;
9948 PyObject * obj0 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
093d3ff1
RD
9954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
9955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 result = (long)(arg1)->GetType();
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
093d3ff1
RD
9963 {
9964 resultobj = SWIG_From_long((long)(result));
9965 }
d55e5bfc
RD
9966 return resultobj;
9967 fail:
9968 return NULL;
9969}
9970
9971
c32bde28 9972static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9973 PyObject *resultobj;
9974 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9975 wxString result;
9976 PyObject * obj0 = 0 ;
9977 char *kwnames[] = {
9978 (char *) "self", NULL
9979 };
9980
9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
9982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
9983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 result = (arg1)->GetMimeType();
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 {
9992#if wxUSE_UNICODE
9993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9994#else
9995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9996#endif
9997 }
9998 return resultobj;
9999 fail:
10000 return NULL;
10001}
10002
10003
c32bde28 10004static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10005 PyObject *resultobj;
10006 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10007 wxString *arg2 = 0 ;
10008 bool result;
ae8162c8 10009 bool temp2 = false ;
d55e5bfc
RD
10010 PyObject * obj0 = 0 ;
10011 PyObject * obj1 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self",(char *) "name", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10019 {
10020 arg2 = wxString_in_helper(obj1);
10021 if (arg2 == NULL) SWIG_fail;
ae8162c8 10022 temp2 = true;
d55e5bfc
RD
10023 }
10024 {
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
10026 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
10027
10028 wxPyEndAllowThreads(__tstate);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
10031 {
10032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10033 }
10034 {
10035 if (temp2)
10036 delete arg2;
10037 }
10038 return resultobj;
10039 fail:
10040 {
10041 if (temp2)
10042 delete arg2;
10043 }
10044 return NULL;
10045}
10046
10047
c32bde28 10048static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10049 PyObject *resultobj;
10050 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10051 wxString *arg2 = 0 ;
ae8162c8 10052 bool temp2 = false ;
d55e5bfc
RD
10053 PyObject * obj0 = 0 ;
10054 PyObject * obj1 = 0 ;
10055 char *kwnames[] = {
10056 (char *) "self",(char *) "name", NULL
10057 };
10058
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10062 {
10063 arg2 = wxString_in_helper(obj1);
10064 if (arg2 == NULL) SWIG_fail;
ae8162c8 10065 temp2 = true;
d55e5bfc
RD
10066 }
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 (arg1)->SetName((wxString const &)*arg2);
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 Py_INCREF(Py_None); resultobj = Py_None;
10075 {
10076 if (temp2)
10077 delete arg2;
10078 }
10079 return resultobj;
10080 fail:
10081 {
10082 if (temp2)
10083 delete arg2;
10084 }
10085 return NULL;
10086}
10087
10088
c32bde28 10089static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10090 PyObject *resultobj;
10091 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10092 wxString *arg2 = 0 ;
ae8162c8 10093 bool temp2 = false ;
d55e5bfc
RD
10094 PyObject * obj0 = 0 ;
10095 PyObject * obj1 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self",(char *) "extension", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10102 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10103 {
10104 arg2 = wxString_in_helper(obj1);
10105 if (arg2 == NULL) SWIG_fail;
ae8162c8 10106 temp2 = true;
d55e5bfc
RD
10107 }
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->SetExtension((wxString const &)*arg2);
10111
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 Py_INCREF(Py_None); resultobj = Py_None;
10116 {
10117 if (temp2)
10118 delete arg2;
10119 }
10120 return resultobj;
10121 fail:
10122 {
10123 if (temp2)
10124 delete arg2;
10125 }
10126 return NULL;
10127}
10128
10129
c32bde28 10130static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10131 PyObject *resultobj;
10132 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10133 long arg2 ;
10134 PyObject * obj0 = 0 ;
10135 PyObject * obj1 = 0 ;
10136 char *kwnames[] = {
10137 (char *) "self",(char *) "type", NULL
10138 };
10139
10140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10142 if (SWIG_arg_fail(1)) SWIG_fail;
10143 {
10144 arg2 = (long)(SWIG_As_long(obj1));
10145 if (SWIG_arg_fail(2)) SWIG_fail;
10146 }
d55e5bfc
RD
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 (arg1)->SetType(arg2);
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
10154 Py_INCREF(Py_None); resultobj = Py_None;
10155 return resultobj;
10156 fail:
10157 return NULL;
10158}
10159
10160
c32bde28 10161static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10162 PyObject *resultobj;
10163 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10164 wxString *arg2 = 0 ;
ae8162c8 10165 bool temp2 = false ;
d55e5bfc
RD
10166 PyObject * obj0 = 0 ;
10167 PyObject * obj1 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "self",(char *) "mimetype", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10174 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10175 {
10176 arg2 = wxString_in_helper(obj1);
10177 if (arg2 == NULL) SWIG_fail;
ae8162c8 10178 temp2 = true;
d55e5bfc
RD
10179 }
10180 {
10181 PyThreadState* __tstate = wxPyBeginAllowThreads();
10182 (arg1)->SetMimeType((wxString const &)*arg2);
10183
10184 wxPyEndAllowThreads(__tstate);
10185 if (PyErr_Occurred()) SWIG_fail;
10186 }
10187 Py_INCREF(Py_None); resultobj = Py_None;
10188 {
10189 if (temp2)
10190 delete arg2;
10191 }
10192 return resultobj;
10193 fail:
10194 {
10195 if (temp2)
10196 delete arg2;
10197 }
10198 return NULL;
10199}
10200
10201
c32bde28 10202static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10203 PyObject *obj;
10204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10205 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
10206 Py_INCREF(obj);
10207 return Py_BuildValue((char *)"");
10208}
c32bde28 10209static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10210 PyObject *resultobj;
10211 wxImageHistogram *result;
10212 char *kwnames[] = {
10213 NULL
10214 };
10215
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 result = (wxImageHistogram *)new wxImageHistogram();
10220
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
10225 return resultobj;
10226 fail:
10227 return NULL;
10228}
10229
10230
c32bde28 10231static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 10232 PyObject *resultobj;
7a27cf7c
RD
10233 byte arg1 ;
10234 byte arg2 ;
10235 byte arg3 ;
d55e5bfc
RD
10236 unsigned long result;
10237 PyObject * obj0 = 0 ;
10238 PyObject * obj1 = 0 ;
10239 PyObject * obj2 = 0 ;
10240 char *kwnames[] = {
10241 (char *) "r",(char *) "g",(char *) "b", NULL
10242 };
10243
10244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 10245 {
7a27cf7c 10246 arg1 = (byte)(SWIG_As_unsigned_SS_char(obj0));
093d3ff1
RD
10247 if (SWIG_arg_fail(1)) SWIG_fail;
10248 }
10249 {
7a27cf7c 10250 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
10251 if (SWIG_arg_fail(2)) SWIG_fail;
10252 }
10253 {
7a27cf7c 10254 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
10255 if (SWIG_arg_fail(3)) SWIG_fail;
10256 }
d55e5bfc
RD
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
093d3ff1
RD
10264 {
10265 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10266 }
d55e5bfc
RD
10267 return resultobj;
10268 fail:
10269 return NULL;
10270}
10271
10272
c32bde28 10273static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10274 PyObject *resultobj;
10275 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7a27cf7c
RD
10276 byte *arg2 = (byte *) 0 ;
10277 byte *arg3 = (byte *) 0 ;
10278 byte *arg4 = (byte *) 0 ;
10279 byte arg5 = (byte) 1 ;
10280 byte arg6 = (byte) 0 ;
10281 byte arg7 = (byte) 0 ;
d55e5bfc 10282 bool result;
7a27cf7c 10283 byte temp2 ;
c32bde28 10284 int res2 = 0 ;
7a27cf7c 10285 byte temp3 ;
c32bde28 10286 int res3 = 0 ;
7a27cf7c 10287 byte temp4 ;
c32bde28 10288 int res4 = 0 ;
d55e5bfc
RD
10289 PyObject * obj0 = 0 ;
10290 PyObject * obj1 = 0 ;
10291 PyObject * obj2 = 0 ;
10292 PyObject * obj3 = 0 ;
10293 char *kwnames[] = {
10294 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10295 };
10296
c32bde28
RD
10297 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10298 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10299 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10303 if (obj1) {
093d3ff1 10304 {
7a27cf7c 10305 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
10306 if (SWIG_arg_fail(5)) SWIG_fail;
10307 }
d55e5bfc
RD
10308 }
10309 if (obj2) {
093d3ff1 10310 {
7a27cf7c 10311 arg6 = (byte)(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
10312 if (SWIG_arg_fail(6)) SWIG_fail;
10313 }
d55e5bfc
RD
10314 }
10315 if (obj3) {
093d3ff1 10316 {
7a27cf7c 10317 arg7 = (byte)(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
10318 if (SWIG_arg_fail(7)) SWIG_fail;
10319 }
d55e5bfc
RD
10320 }
10321 {
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
10324
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 {
10329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10330 }
c32bde28
RD
10331 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10332 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
10333 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10334 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
10335 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10336 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
d55e5bfc
RD
10337 return resultobj;
10338 fail:
10339 return NULL;
10340}
10341
10342
f1cbd8fa
RD
10343static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
10344 PyObject *resultobj;
10345 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
10346 unsigned long arg2 ;
10347 unsigned long result;
10348 PyObject * obj0 = 0 ;
10349 PyObject * obj1 = 0 ;
10350 char *kwnames[] = {
10351 (char *) "self",(char *) "key", NULL
10352 };
10353
10354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHistogram_GetCount",kwnames,&obj0,&obj1)) goto fail;
10355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10356 if (SWIG_arg_fail(1)) SWIG_fail;
10357 {
10358 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10359 if (SWIG_arg_fail(2)) SWIG_fail;
10360 }
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (unsigned long)wxImageHistogram_GetCount(arg1,arg2);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 {
10369 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10370 }
10371 return resultobj;
10372 fail:
10373 return NULL;
10374}
10375
10376
10377static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj;
10379 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7a27cf7c
RD
10380 byte arg2 ;
10381 byte arg3 ;
10382 byte arg4 ;
f1cbd8fa
RD
10383 unsigned long result;
10384 PyObject * obj0 = 0 ;
10385 PyObject * obj1 = 0 ;
10386 PyObject * obj2 = 0 ;
10387 PyObject * obj3 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail;
10395 {
7a27cf7c 10396 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
f1cbd8fa
RD
10397 if (SWIG_arg_fail(2)) SWIG_fail;
10398 }
10399 {
7a27cf7c 10400 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
f1cbd8fa
RD
10401 if (SWIG_arg_fail(3)) SWIG_fail;
10402 }
10403 {
7a27cf7c 10404 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
f1cbd8fa
RD
10405 if (SWIG_arg_fail(4)) SWIG_fail;
10406 }
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 result = (unsigned long)wxImageHistogram_GetCountRGB(arg1,arg2,arg3,arg4);
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 {
10415 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10416 }
10417 return resultobj;
10418 fail:
10419 return NULL;
10420}
10421
10422
10423static PyObject *_wrap_ImageHistogram_GetCountColour(PyObject *, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
10426 wxColour *arg2 = 0 ;
10427 unsigned long result;
10428 wxColour temp2 ;
10429 PyObject * obj0 = 0 ;
10430 PyObject * obj1 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "self",(char *) "colour", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHistogram_GetCountColour",kwnames,&obj0,&obj1)) goto fail;
10436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10437 if (SWIG_arg_fail(1)) SWIG_fail;
10438 {
10439 arg2 = &temp2;
10440 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10441 }
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 result = (unsigned long)wxImageHistogram_GetCountColour(arg1,(wxColour const &)*arg2);
10445
10446 wxPyEndAllowThreads(__tstate);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
10449 {
10450 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10451 }
10452 return resultobj;
10453 fail:
10454 return NULL;
10455}
10456
10457
c32bde28 10458static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10459 PyObject *obj;
10460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10461 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
10462 Py_INCREF(obj);
10463 return Py_BuildValue((char *)"");
10464}
c32bde28 10465static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10466 PyObject *resultobj;
10467 wxString *arg1 = 0 ;
10468 long arg2 = (long) wxBITMAP_TYPE_ANY ;
10469 int arg3 = (int) -1 ;
10470 wxImage *result;
ae8162c8 10471 bool temp1 = false ;
d55e5bfc
RD
10472 PyObject * obj0 = 0 ;
10473 PyObject * obj1 = 0 ;
10474 PyObject * obj2 = 0 ;
10475 char *kwnames[] = {
10476 (char *) "name",(char *) "type",(char *) "index", NULL
10477 };
10478
10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
10480 {
10481 arg1 = wxString_in_helper(obj0);
10482 if (arg1 == NULL) SWIG_fail;
ae8162c8 10483 temp1 = true;
d55e5bfc
RD
10484 }
10485 if (obj1) {
093d3ff1
RD
10486 {
10487 arg2 = (long)(SWIG_As_long(obj1));
10488 if (SWIG_arg_fail(2)) SWIG_fail;
10489 }
d55e5bfc
RD
10490 }
10491 if (obj2) {
093d3ff1
RD
10492 {
10493 arg3 = (int)(SWIG_As_int(obj2));
10494 if (SWIG_arg_fail(3)) SWIG_fail;
10495 }
d55e5bfc
RD
10496 }
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10505 {
10506 if (temp1)
10507 delete arg1;
10508 }
10509 return resultobj;
10510 fail:
10511 {
10512 if (temp1)
10513 delete arg1;
10514 }
10515 return NULL;
10516}
10517
10518
c32bde28 10519static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10520 PyObject *resultobj;
10521 wxImage *arg1 = (wxImage *) 0 ;
10522 PyObject * obj0 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
093d3ff1
RD
10528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
10529 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 delete arg1;
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 Py_INCREF(Py_None); resultobj = Py_None;
10538 return resultobj;
10539 fail:
10540 return NULL;
10541}
10542
10543
c32bde28 10544static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10545 PyObject *resultobj;
10546 wxString *arg1 = 0 ;
10547 wxString *arg2 = 0 ;
10548 int arg3 = (int) -1 ;
10549 wxImage *result;
ae8162c8
RD
10550 bool temp1 = false ;
10551 bool temp2 = false ;
d55e5bfc
RD
10552 PyObject * obj0 = 0 ;
10553 PyObject * obj1 = 0 ;
10554 PyObject * obj2 = 0 ;
10555 char *kwnames[] = {
10556 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10557 };
10558
10559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
10560 {
10561 arg1 = wxString_in_helper(obj0);
10562 if (arg1 == NULL) SWIG_fail;
ae8162c8 10563 temp1 = true;
d55e5bfc
RD
10564 }
10565 {
10566 arg2 = wxString_in_helper(obj1);
10567 if (arg2 == NULL) SWIG_fail;
ae8162c8 10568 temp2 = true;
d55e5bfc
RD
10569 }
10570 if (obj2) {
093d3ff1
RD
10571 {
10572 arg3 = (int)(SWIG_As_int(obj2));
10573 if (SWIG_arg_fail(3)) SWIG_fail;
10574 }
d55e5bfc
RD
10575 }
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10584 {
10585 if (temp1)
10586 delete arg1;
10587 }
10588 {
10589 if (temp2)
10590 delete arg2;
10591 }
10592 return resultobj;
10593 fail:
10594 {
10595 if (temp1)
10596 delete arg1;
10597 }
10598 {
10599 if (temp2)
10600 delete arg2;
10601 }
10602 return NULL;
10603}
10604
10605
c32bde28 10606static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10607 PyObject *resultobj;
10608 wxInputStream *arg1 = 0 ;
10609 long arg2 = (long) wxBITMAP_TYPE_ANY ;
10610 int arg3 = (int) -1 ;
10611 wxImage *result;
10612 wxPyInputStream *temp1 ;
10613 bool created1 ;
10614 PyObject * obj0 = 0 ;
10615 PyObject * obj1 = 0 ;
10616 PyObject * obj2 = 0 ;
10617 char *kwnames[] = {
10618 (char *) "stream",(char *) "type",(char *) "index", NULL
10619 };
10620
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
10622 {
10623 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
10624 arg1 = temp1->m_wxis;
ae8162c8 10625 created1 = false;
d55e5bfc
RD
10626 } else {
10627 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10628 arg1 = wxPyCBInputStream_create(obj0, false);
d55e5bfc 10629 if (arg1 == NULL) {
e2950dbb 10630 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d55e5bfc
RD
10631 SWIG_fail;
10632 }
ae8162c8 10633 created1 = true;
d55e5bfc
RD
10634 }
10635 }
10636 if (obj1) {
093d3ff1
RD
10637 {
10638 arg2 = (long)(SWIG_As_long(obj1));
10639 if (SWIG_arg_fail(2)) SWIG_fail;
10640 }
d55e5bfc
RD
10641 }
10642 if (obj2) {
093d3ff1
RD
10643 {
10644 arg3 = (int)(SWIG_As_int(obj2));
10645 if (SWIG_arg_fail(3)) SWIG_fail;
10646 }
d55e5bfc
RD
10647 }
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10656 {
e2950dbb 10657 if (created1) delete arg1;
d55e5bfc
RD
10658 }
10659 return resultobj;
10660 fail:
10661 {
e2950dbb 10662 if (created1) delete arg1;
d55e5bfc
RD
10663 }
10664 return NULL;
10665}
10666
10667
c32bde28 10668static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10669 PyObject *resultobj;
10670 wxInputStream *arg1 = 0 ;
10671 wxString *arg2 = 0 ;
10672 int arg3 = (int) -1 ;
10673 wxImage *result;
10674 wxPyInputStream *temp1 ;
10675 bool created1 ;
ae8162c8 10676 bool temp2 = false ;
d55e5bfc
RD
10677 PyObject * obj0 = 0 ;
10678 PyObject * obj1 = 0 ;
10679 PyObject * obj2 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
10685 {
10686 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
10687 arg1 = temp1->m_wxis;
ae8162c8 10688 created1 = false;
d55e5bfc
RD
10689 } else {
10690 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10691 arg1 = wxPyCBInputStream_create(obj0, false);
d55e5bfc 10692 if (arg1 == NULL) {
e2950dbb 10693 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d55e5bfc
RD
10694 SWIG_fail;
10695 }
ae8162c8 10696 created1 = true;
d55e5bfc
RD
10697 }
10698 }
10699 {
10700 arg2 = wxString_in_helper(obj1);
10701 if (arg2 == NULL) SWIG_fail;
ae8162c8 10702 temp2 = true;
d55e5bfc
RD
10703 }
10704 if (obj2) {
093d3ff1
RD
10705 {
10706 arg3 = (int)(SWIG_As_int(obj2));
10707 if (SWIG_arg_fail(3)) SWIG_fail;
10708 }
d55e5bfc
RD
10709 }
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10718 {
e2950dbb 10719 if (created1) delete arg1;
d55e5bfc
RD
10720 }
10721 {
10722 if (temp2)
10723 delete arg2;
10724 }
10725 return resultobj;
10726 fail:
10727 {
e2950dbb 10728 if (created1) delete arg1;
d55e5bfc
RD
10729 }
10730 {
10731 if (temp2)
10732 delete arg2;
10733 }
10734 return NULL;
10735}
10736
10737
c32bde28 10738static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10739 PyObject *resultobj;
10740 int arg1 = (int) 0 ;
10741 int arg2 = (int) 0 ;
ae8162c8 10742 bool arg3 = (bool) true ;
d55e5bfc
RD
10743 wxImage *result;
10744 PyObject * obj0 = 0 ;
10745 PyObject * obj1 = 0 ;
10746 PyObject * obj2 = 0 ;
c24da6d6
RD
10747 char *kwnames[] = {
10748 (char *) "width",(char *) "height",(char *) "clear", NULL
10749 };
d55e5bfc 10750
c24da6d6 10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc 10752 if (obj0) {
093d3ff1
RD
10753 {
10754 arg1 = (int)(SWIG_As_int(obj0));
10755 if (SWIG_arg_fail(1)) SWIG_fail;
10756 }
d55e5bfc
RD
10757 }
10758 if (obj1) {
093d3ff1
RD
10759 {
10760 arg2 = (int)(SWIG_As_int(obj1));
10761 if (SWIG_arg_fail(2)) SWIG_fail;
10762 }
d55e5bfc
RD
10763 }
10764 if (obj2) {
093d3ff1
RD
10765 {
10766 arg3 = (bool)(SWIG_As_bool(obj2));
10767 if (SWIG_arg_fail(3)) SWIG_fail;
10768 }
d55e5bfc
RD
10769 }
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
c24da6d6 10772 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d55e5bfc
RD
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10778 return resultobj;
10779 fail:
10780 return NULL;
10781}
10782
10783
c32bde28 10784static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10785 PyObject *resultobj;
10786 wxBitmap *arg1 = 0 ;
10787 wxImage *result;
10788 PyObject * obj0 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "bitmap", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
10794 {
10795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
10796 if (SWIG_arg_fail(1)) SWIG_fail;
10797 if (arg1 == NULL) {
10798 SWIG_null_ref("wxBitmap");
10799 }
10800 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10801 }
10802 {
0439c23b 10803 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
10805 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
10806
10807 wxPyEndAllowThreads(__tstate);
110da5b0 10808 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10809 }
10810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10811 return resultobj;
10812 fail:
10813 return NULL;
10814}
10815
10816
c32bde28 10817static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10818 PyObject *resultobj;
10819 int arg1 ;
10820 int arg2 ;
ea939623
RD
10821 buffer arg3 ;
10822 int arg4 ;
d55e5bfc
RD
10823 wxImage *result;
10824 PyObject * obj0 = 0 ;
10825 PyObject * obj1 = 0 ;
10826 PyObject * obj2 = 0 ;
10827 char *kwnames[] = {
10828 (char *) "width",(char *) "height",(char *) "data", NULL
10829 };
10830
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10832 {
10833 arg1 = (int)(SWIG_As_int(obj0));
10834 if (SWIG_arg_fail(1)) SWIG_fail;
10835 }
10836 {
10837 arg2 = (int)(SWIG_As_int(obj1));
10838 if (SWIG_arg_fail(2)) SWIG_fail;
10839 }
ea939623
RD
10840 {
10841 if (!PyArg_Parse(obj2, "t#", &arg3, &arg4)) SWIG_fail;
10842 }
d55e5bfc
RD
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
ea939623 10845 result = (wxImage *)new_wxImage(arg1,arg2,arg3,arg4);
d55e5bfc
RD
10846
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10851 return resultobj;
10852 fail:
10853 return NULL;
10854}
10855
10856
c9c2cf70
RD
10857static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
10858 PyObject *resultobj;
10859 int arg1 ;
10860 int arg2 ;
ea939623
RD
10861 buffer arg3 ;
10862 int arg4 ;
10863 buffer arg5 ;
10864 int arg6 ;
c9c2cf70
RD
10865 wxImage *result;
10866 PyObject * obj0 = 0 ;
10867 PyObject * obj1 = 0 ;
10868 PyObject * obj2 = 0 ;
10869 PyObject * obj3 = 0 ;
10870 char *kwnames[] = {
10871 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10872 };
10873
10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10875 {
10876 arg1 = (int)(SWIG_As_int(obj0));
10877 if (SWIG_arg_fail(1)) SWIG_fail;
10878 }
10879 {
10880 arg2 = (int)(SWIG_As_int(obj1));
10881 if (SWIG_arg_fail(2)) SWIG_fail;
10882 }
ea939623
RD
10883 {
10884 if (!PyArg_Parse(obj2, "t#", &arg3, &arg4)) SWIG_fail;
10885 }
10886 {
10887 if (!PyArg_Parse(obj3, "t#", &arg5, &arg6)) SWIG_fail;
10888 }
c9c2cf70
RD
10889 {
10890 PyThreadState* __tstate = wxPyBeginAllowThreads();
ea939623 10891 result = (wxImage *)new_wxImage(arg1,arg2,arg3,arg4,arg5,arg6);
c9c2cf70
RD
10892
10893 wxPyEndAllowThreads(__tstate);
10894 if (PyErr_Occurred()) SWIG_fail;
10895 }
10896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
10897 return resultobj;
10898 fail:
10899 return NULL;
10900}
10901
10902
c32bde28 10903static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10904 PyObject *resultobj;
10905 wxImage *arg1 = (wxImage *) 0 ;
10906 int arg2 ;
10907 int arg3 ;
7a27cf7c 10908 bool arg4 = (bool) true ;
d55e5bfc
RD
10909 PyObject * obj0 = 0 ;
10910 PyObject * obj1 = 0 ;
10911 PyObject * obj2 = 0 ;
7a27cf7c 10912 PyObject * obj3 = 0 ;
d55e5bfc 10913 char *kwnames[] = {
7a27cf7c 10914 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
d55e5bfc
RD
10915 };
10916
7a27cf7c 10917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
10919 if (SWIG_arg_fail(1)) SWIG_fail;
10920 {
10921 arg2 = (int)(SWIG_As_int(obj1));
10922 if (SWIG_arg_fail(2)) SWIG_fail;
10923 }
10924 {
10925 arg3 = (int)(SWIG_As_int(obj2));
10926 if (SWIG_arg_fail(3)) SWIG_fail;
10927 }
7a27cf7c
RD
10928 if (obj3) {
10929 {
10930 arg4 = (bool)(SWIG_As_bool(obj3));
10931 if (SWIG_arg_fail(4)) SWIG_fail;
10932 }
10933 }
d55e5bfc
RD
10934 {
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 10936 (arg1)->Create(arg2,arg3,arg4);
d55e5bfc
RD
10937
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) SWIG_fail;
10940 }
10941 Py_INCREF(Py_None); resultobj = Py_None;
10942 return resultobj;
10943 fail:
10944 return NULL;
10945}
10946
10947
c32bde28 10948static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10949 PyObject *resultobj;
10950 wxImage *arg1 = (wxImage *) 0 ;
10951 PyObject * obj0 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
10957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
10958 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 (arg1)->Destroy();
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 Py_INCREF(Py_None); resultobj = Py_None;
10967 return resultobj;
10968 fail:
10969 return NULL;
10970}
10971
10972
c32bde28 10973static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10974 PyObject *resultobj;
10975 wxImage *arg1 = (wxImage *) 0 ;
10976 int arg2 ;
10977 int arg3 ;
093d3ff1 10978 SwigValueWrapper<wxImage > result;
d55e5bfc
RD
10979 PyObject * obj0 = 0 ;
10980 PyObject * obj1 = 0 ;
10981 PyObject * obj2 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "self",(char *) "width",(char *) "height", NULL
10984 };
10985
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
10988 if (SWIG_arg_fail(1)) SWIG_fail;
10989 {
10990 arg2 = (int)(SWIG_As_int(obj1));
10991 if (SWIG_arg_fail(2)) SWIG_fail;
10992 }
10993 {
10994 arg3 = (int)(SWIG_As_int(obj2));
10995 if (SWIG_arg_fail(3)) SWIG_fail;
10996 }
d55e5bfc
RD
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 result = (arg1)->Scale(arg2,arg3);
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 {
11005 wxImage * resultptr;
093d3ff1 11006 resultptr = new wxImage((wxImage &)(result));
d55e5bfc
RD
11007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
11008 }
11009 return resultobj;
11010 fail:
11011 return NULL;
11012}
11013
11014
c32bde28 11015static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11016 PyObject *resultobj;
11017 wxImage *arg1 = (wxImage *) 0 ;
11018 int arg2 ;
11019 int arg3 ;
093d3ff1 11020 SwigValueWrapper<wxImage > result;
d55e5bfc
RD
11021 PyObject * obj0 = 0 ;
11022 PyObject * obj1 = 0 ;
11023 PyObject * obj2 = 0 ;
11024 char *kwnames[] = {
11025 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11026 };
11027
11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail;
11031 {
11032 arg2 = (int)(SWIG_As_int(obj1));
11033 if (SWIG_arg_fail(2)) SWIG_fail;
11034 }
11035 {
11036 arg3 = (int)(SWIG_As_int(obj2));
11037 if (SWIG_arg_fail(3)) SWIG_fail;
11038 }
d55e5bfc
RD
11039 {
11040 PyThreadState* __tstate = wxPyBeginAllowThreads();
11041 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
11042
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 {
11047 wxImage * resultptr;
093d3ff1 11048 resultptr = new wxImage((wxImage &)(result));
d55e5bfc
RD
11049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
11050 }
11051 return resultobj;
11052 fail:
11053 return NULL;
11054}
11055
11056
c32bde28 11057static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11058 PyObject *resultobj;
11059 wxImage *arg1 = (wxImage *) 0 ;
11060 int arg2 ;
11061 int arg3 ;
11062 wxImage *result;
11063 PyObject * obj0 = 0 ;
11064 PyObject * obj1 = 0 ;
11065 PyObject * obj2 = 0 ;
11066 char *kwnames[] = {
11067 (char *) "self",(char *) "width",(char *) "height", NULL
11068 };
11069
11070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11072 if (SWIG_arg_fail(1)) SWIG_fail;
11073 {
11074 arg2 = (int)(SWIG_As_int(obj1));
11075 if (SWIG_arg_fail(2)) SWIG_fail;
11076 }
11077 {
11078 arg3 = (int)(SWIG_As_int(obj2));
11079 if (SWIG_arg_fail(3)) SWIG_fail;
11080 }
d55e5bfc
RD
11081 {
11082 PyThreadState* __tstate = wxPyBeginAllowThreads();
11083 {
11084 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
11085 result = (wxImage *) &_result_ref;
11086 }
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
11092 return resultobj;
11093 fail:
11094 return NULL;
11095}
11096
11097
aff4cc5c
RD
11098static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs) {
11099 PyObject *resultobj;
11100 wxImage *arg1 = (wxImage *) 0 ;
11101 wxSize *arg2 = 0 ;
11102 wxPoint *arg3 = 0 ;
11103 int arg4 = (int) -1 ;
11104 int arg5 = (int) -1 ;
11105 int arg6 = (int) -1 ;
11106 wxImage *result;
11107 wxSize temp2 ;
11108 wxPoint temp3 ;
11109 PyObject * obj0 = 0 ;
11110 PyObject * obj1 = 0 ;
11111 PyObject * obj2 = 0 ;
11112 PyObject * obj3 = 0 ;
11113 PyObject * obj4 = 0 ;
11114 PyObject * obj5 = 0 ;
11115 char *kwnames[] = {
11116 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11117 };
11118
11119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:Image_Resize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail;
11122 {
11123 arg2 = &temp2;
11124 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11125 }
11126 {
11127 arg3 = &temp3;
11128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11129 }
11130 if (obj3) {
11131 {
11132 arg4 = (int)(SWIG_As_int(obj3));
11133 if (SWIG_arg_fail(4)) SWIG_fail;
11134 }
11135 }
11136 if (obj4) {
11137 {
11138 arg5 = (int)(SWIG_As_int(obj4));
11139 if (SWIG_arg_fail(5)) SWIG_fail;
11140 }
11141 }
11142 if (obj5) {
11143 {
11144 arg6 = (int)(SWIG_As_int(obj5));
11145 if (SWIG_arg_fail(6)) SWIG_fail;
11146 }
11147 }
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 {
11151 wxImage &_result_ref = (arg1)->Resize((wxSize const &)*arg2,(wxPoint const &)*arg3,arg4,arg5,arg6);
11152 result = (wxImage *) &_result_ref;
11153 }
11154
11155 wxPyEndAllowThreads(__tstate);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
11159 return resultobj;
11160 fail:
11161 return NULL;
11162}
11163
11164
c32bde28 11165static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11166 PyObject *resultobj;
11167 wxImage *arg1 = (wxImage *) 0 ;
11168 int arg2 ;
11169 int arg3 ;
7a27cf7c
RD
11170 byte arg4 ;
11171 byte arg5 ;
11172 byte arg6 ;
d55e5bfc
RD
11173 PyObject * obj0 = 0 ;
11174 PyObject * obj1 = 0 ;
11175 PyObject * obj2 = 0 ;
11176 PyObject * obj3 = 0 ;
11177 PyObject * obj4 = 0 ;
11178 PyObject * obj5 = 0 ;
11179 char *kwnames[] = {
11180 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11181 };
11182
11183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11185 if (SWIG_arg_fail(1)) SWIG_fail;
11186 {
11187 arg2 = (int)(SWIG_As_int(obj1));
11188 if (SWIG_arg_fail(2)) SWIG_fail;
11189 }
11190 {
11191 arg3 = (int)(SWIG_As_int(obj2));
11192 if (SWIG_arg_fail(3)) SWIG_fail;
11193 }
11194 {
7a27cf7c 11195 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
11196 if (SWIG_arg_fail(4)) SWIG_fail;
11197 }
11198 {
7a27cf7c 11199 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4));
093d3ff1
RD
11200 if (SWIG_arg_fail(5)) SWIG_fail;
11201 }
11202 {
7a27cf7c 11203 arg6 = (byte)(SWIG_As_unsigned_SS_char(obj5));
093d3ff1
RD
11204 if (SWIG_arg_fail(6)) SWIG_fail;
11205 }
d55e5bfc
RD
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 Py_INCREF(Py_None); resultobj = Py_None;
11214 return resultobj;
11215 fail:
11216 return NULL;
11217}
11218
11219
aff4cc5c
RD
11220static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxImage *arg1 = (wxImage *) 0 ;
11223 wxRect *arg2 = 0 ;
7a27cf7c
RD
11224 byte arg3 ;
11225 byte arg4 ;
11226 byte arg5 ;
aff4cc5c
RD
11227 wxRect temp2 ;
11228 PyObject * obj0 = 0 ;
11229 PyObject * obj1 = 0 ;
11230 PyObject * obj2 = 0 ;
11231 PyObject * obj3 = 0 ;
11232 PyObject * obj4 = 0 ;
11233 char *kwnames[] = {
11234 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11235 };
11236
11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetRGBRect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11239 if (SWIG_arg_fail(1)) SWIG_fail;
11240 {
11241 arg2 = &temp2;
11242 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11243 }
11244 {
7a27cf7c 11245 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
aff4cc5c
RD
11246 if (SWIG_arg_fail(3)) SWIG_fail;
11247 }
11248 {
7a27cf7c 11249 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
aff4cc5c
RD
11250 if (SWIG_arg_fail(4)) SWIG_fail;
11251 }
11252 {
7a27cf7c 11253 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4));
aff4cc5c
RD
11254 if (SWIG_arg_fail(5)) SWIG_fail;
11255 }
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 (arg1)->SetRGB((wxRect const &)*arg2,arg3,arg4,arg5);
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 Py_INCREF(Py_None); resultobj = Py_None;
11264 return resultobj;
11265 fail:
11266 return NULL;
11267}
11268
11269
c32bde28 11270static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11271 PyObject *resultobj;
11272 wxImage *arg1 = (wxImage *) 0 ;
11273 int arg2 ;
11274 int arg3 ;
7a27cf7c 11275 byte result;
d55e5bfc
RD
11276 PyObject * obj0 = 0 ;
11277 PyObject * obj1 = 0 ;
11278 PyObject * obj2 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self",(char *) "x",(char *) "y", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11285 if (SWIG_arg_fail(1)) SWIG_fail;
11286 {
11287 arg2 = (int)(SWIG_As_int(obj1));
11288 if (SWIG_arg_fail(2)) SWIG_fail;
11289 }
11290 {
11291 arg3 = (int)(SWIG_As_int(obj2));
11292 if (SWIG_arg_fail(3)) SWIG_fail;
11293 }
d55e5bfc
RD
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 11296 result = (byte)(arg1)->GetRed(arg2,arg3);
d55e5bfc
RD
11297
11298 wxPyEndAllowThreads(__tstate);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
093d3ff1
RD
11301 {
11302 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
11303 }
d55e5bfc
RD
11304 return resultobj;
11305 fail:
11306 return NULL;
11307}
11308
11309
c32bde28 11310static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11311 PyObject *resultobj;
11312 wxImage *arg1 = (wxImage *) 0 ;
11313 int arg2 ;
11314 int arg3 ;
7a27cf7c 11315 byte result;
d55e5bfc
RD
11316 PyObject * obj0 = 0 ;
11317 PyObject * obj1 = 0 ;
11318 PyObject * obj2 = 0 ;
11319 char *kwnames[] = {
11320 (char *) "self",(char *) "x",(char *) "y", NULL
11321 };
11322
11323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11325 if (SWIG_arg_fail(1)) SWIG_fail;
11326 {
11327 arg2 = (int)(SWIG_As_int(obj1));
11328 if (SWIG_arg_fail(2)) SWIG_fail;
11329 }
11330 {
11331 arg3 = (int)(SWIG_As_int(obj2));
11332 if (SWIG_arg_fail(3)) SWIG_fail;
11333 }
d55e5bfc
RD
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 11336 result = (byte)(arg1)->GetGreen(arg2,arg3);
d55e5bfc
RD
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
093d3ff1
RD
11341 {
11342 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
11343 }
d55e5bfc
RD
11344 return resultobj;
11345 fail:
11346 return NULL;
11347}
11348
11349
c32bde28 11350static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11351 PyObject *resultobj;
11352 wxImage *arg1 = (wxImage *) 0 ;
11353 int arg2 ;
11354 int arg3 ;
7a27cf7c 11355 byte result;
d55e5bfc
RD
11356 PyObject * obj0 = 0 ;
11357 PyObject * obj1 = 0 ;
11358 PyObject * obj2 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "self",(char *) "x",(char *) "y", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11365 if (SWIG_arg_fail(1)) SWIG_fail;
11366 {
11367 arg2 = (int)(SWIG_As_int(obj1));
11368 if (SWIG_arg_fail(2)) SWIG_fail;
11369 }
11370 {
11371 arg3 = (int)(SWIG_As_int(obj2));
11372 if (SWIG_arg_fail(3)) SWIG_fail;
11373 }
d55e5bfc
RD
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 11376 result = (byte)(arg1)->GetBlue(arg2,arg3);
d55e5bfc
RD
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
093d3ff1
RD
11381 {
11382 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
11383 }
d55e5bfc
RD
11384 return resultobj;
11385 fail:
11386 return NULL;
11387}
11388
11389
c32bde28 11390static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11391 PyObject *resultobj;
11392 wxImage *arg1 = (wxImage *) 0 ;
11393 int arg2 ;
11394 int arg3 ;
7a27cf7c 11395 byte arg4 ;
d55e5bfc
RD
11396 PyObject * obj0 = 0 ;
11397 PyObject * obj1 = 0 ;
11398 PyObject * obj2 = 0 ;
11399 PyObject * obj3 = 0 ;
11400 char *kwnames[] = {
11401 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11402 };
11403
11404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11406 if (SWIG_arg_fail(1)) SWIG_fail;
11407 {
11408 arg2 = (int)(SWIG_As_int(obj1));
11409 if (SWIG_arg_fail(2)) SWIG_fail;
11410 }
11411 {
11412 arg3 = (int)(SWIG_As_int(obj2));
11413 if (SWIG_arg_fail(3)) SWIG_fail;
11414 }
11415 {
7a27cf7c 11416 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
11417 if (SWIG_arg_fail(4)) SWIG_fail;
11418 }
d55e5bfc
RD
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 (arg1)->SetAlpha(arg2,arg3,arg4);
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 Py_INCREF(Py_None); resultobj = Py_None;
11427 return resultobj;
11428 fail:
11429 return NULL;
11430}
11431
11432
c32bde28 11433static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11434 PyObject *resultobj;
11435 wxImage *arg1 = (wxImage *) 0 ;
11436 int arg2 ;
11437 int arg3 ;
7a27cf7c 11438 byte result;
d55e5bfc
RD
11439 PyObject * obj0 = 0 ;
11440 PyObject * obj1 = 0 ;
11441 PyObject * obj2 = 0 ;
11442 char *kwnames[] = {
11443 (char *) "self",(char *) "x",(char *) "y", NULL
11444 };
11445
11446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11448 if (SWIG_arg_fail(1)) SWIG_fail;
11449 {
11450 arg2 = (int)(SWIG_As_int(obj1));
11451 if (SWIG_arg_fail(2)) SWIG_fail;
11452 }
11453 {
11454 arg3 = (int)(SWIG_As_int(obj2));
11455 if (SWIG_arg_fail(3)) SWIG_fail;
11456 }
d55e5bfc
RD
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 11459 result = (byte)(arg1)->GetAlpha(arg2,arg3);
d55e5bfc
RD
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
093d3ff1
RD
11464 {
11465 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
11466 }
d55e5bfc
RD
11467 return resultobj;
11468 fail:
11469 return NULL;
11470}
11471
11472
c32bde28 11473static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11474 PyObject *resultobj;
11475 wxImage *arg1 = (wxImage *) 0 ;
11476 bool result;
11477 PyObject * obj0 = 0 ;
11478 char *kwnames[] = {
11479 (char *) "self", NULL
11480 };
11481
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
093d3ff1
RD
11483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 result = (bool)(arg1)->HasAlpha();
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 {
11493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11494 }
11495 return resultobj;
11496 fail:
11497 return NULL;
11498}
11499
11500
68350608
RD
11501static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj;
11503 wxImage *arg1 = (wxImage *) 0 ;
11504 PyObject * obj0 = 0 ;
11505 char *kwnames[] = {
11506 (char *) "self", NULL
11507 };
11508
11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InitAlpha",kwnames,&obj0)) goto fail;
11510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11511 if (SWIG_arg_fail(1)) SWIG_fail;
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 (arg1)->InitAlpha();
11515
11516 wxPyEndAllowThreads(__tstate);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
11519 Py_INCREF(Py_None); resultobj = Py_None;
11520 return resultobj;
11521 fail:
11522 return NULL;
11523}
11524
11525
57133d5c
RD
11526static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject *kwargs) {
11527 PyObject *resultobj;
11528 wxImage *arg1 = (wxImage *) 0 ;
11529 int arg2 ;
11530 int arg3 ;
7a27cf7c 11531 byte arg4 = (byte) wxIMAGE_ALPHA_THRESHOLD ;
57133d5c
RD
11532 bool result;
11533 PyObject * obj0 = 0 ;
11534 PyObject * obj1 = 0 ;
11535 PyObject * obj2 = 0 ;
11536 PyObject * obj3 = 0 ;
11537 char *kwnames[] = {
11538 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11539 };
11540
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_IsTransparent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail;
11544 {
11545 arg2 = (int)(SWIG_As_int(obj1));
11546 if (SWIG_arg_fail(2)) SWIG_fail;
11547 }
11548 {
11549 arg3 = (int)(SWIG_As_int(obj2));
11550 if (SWIG_arg_fail(3)) SWIG_fail;
11551 }
11552 if (obj3) {
11553 {
7a27cf7c 11554 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
57133d5c
RD
11555 if (SWIG_arg_fail(4)) SWIG_fail;
11556 }
11557 }
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 result = (bool)((wxImage const *)arg1)->IsTransparent(arg2,arg3,arg4);
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 {
11566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11567 }
11568 return resultobj;
11569 fail:
11570 return NULL;
11571}
11572
11573
c32bde28 11574static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11575 PyObject *resultobj;
11576 wxImage *arg1 = (wxImage *) 0 ;
11577 byte *arg2 = (byte *) 0 ;
11578 byte *arg3 = (byte *) 0 ;
11579 byte *arg4 = (byte *) 0 ;
11580 byte arg5 = (byte) 0 ;
11581 byte arg6 = (byte) 0 ;
11582 byte arg7 = (byte) 0 ;
11583 bool result;
11584 byte temp2 ;
c32bde28 11585 int res2 = 0 ;
d55e5bfc 11586 byte temp3 ;
c32bde28 11587 int res3 = 0 ;
d55e5bfc 11588 byte temp4 ;
c32bde28 11589 int res4 = 0 ;
d55e5bfc
RD
11590 PyObject * obj0 = 0 ;
11591 PyObject * obj1 = 0 ;
11592 PyObject * obj2 = 0 ;
11593 PyObject * obj3 = 0 ;
11594 char *kwnames[] = {
11595 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11596 };
11597
c32bde28
RD
11598 arg2 = &temp2; res2 = SWIG_NEWOBJ;
11599 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11600 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11604 if (obj1) {
093d3ff1
RD
11605 {
11606 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj1));
11607 if (SWIG_arg_fail(5)) SWIG_fail;
11608 }
d55e5bfc
RD
11609 }
11610 if (obj2) {
093d3ff1
RD
11611 {
11612 arg6 = (byte)(SWIG_As_unsigned_SS_char(obj2));
11613 if (SWIG_arg_fail(6)) SWIG_fail;
11614 }
d55e5bfc
RD
11615 }
11616 if (obj3) {
093d3ff1
RD
11617 {
11618 arg7 = (byte)(SWIG_As_unsigned_SS_char(obj3));
11619 if (SWIG_arg_fail(7)) SWIG_fail;
11620 }
d55e5bfc
RD
11621 }
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
11625
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
11629 {
11630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11631 }
c32bde28 11632 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
093d3ff1 11633 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
c32bde28 11634 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
093d3ff1 11635 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
c32bde28 11636 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
093d3ff1 11637 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
d55e5bfc
RD
11638 return resultobj;
11639 fail:
11640 return NULL;
11641}
11642
11643
c32bde28 11644static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) {
4cf4100f
RD
11645 PyObject *resultobj;
11646 wxImage *arg1 = (wxImage *) 0 ;
57133d5c 11647 byte arg2 = (byte) wxIMAGE_ALPHA_THRESHOLD ;
4cf4100f
RD
11648 bool result;
11649 PyObject * obj0 = 0 ;
11650 PyObject * obj1 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "self",(char *) "threshold", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertAlphaToMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail;
4cf4100f 11658 if (obj1) {
093d3ff1
RD
11659 {
11660 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
11661 if (SWIG_arg_fail(2)) SWIG_fail;
11662 }
4cf4100f
RD
11663 }
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (bool)(arg1)->ConvertAlphaToMask(arg2);
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 {
11672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11673 }
11674 return resultobj;
11675 fail:
11676 return NULL;
11677}
11678
11679
8fb0e70a
RD
11680static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
11681 PyObject *resultobj;
11682 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
11683 byte arg2 ;
11684 byte arg3 ;
11685 byte arg4 ;
8fb0e70a
RD
11686 bool result;
11687 PyObject * obj0 = 0 ;
11688 PyObject * obj1 = 0 ;
11689 PyObject * obj2 = 0 ;
11690 PyObject * obj3 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11697 if (SWIG_arg_fail(1)) SWIG_fail;
11698 {
7a27cf7c 11699 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
11700 if (SWIG_arg_fail(2)) SWIG_fail;
11701 }
11702 {
7a27cf7c 11703 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
11704 if (SWIG_arg_fail(3)) SWIG_fail;
11705 }
11706 {
7a27cf7c 11707 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
11708 if (SWIG_arg_fail(4)) SWIG_fail;
11709 }
8fb0e70a
RD
11710 {
11711 PyThreadState* __tstate = wxPyBeginAllowThreads();
11712 result = (bool)(arg1)->ConvertColourToAlpha(arg2,arg3,arg4);
11713
11714 wxPyEndAllowThreads(__tstate);
11715 if (PyErr_Occurred()) SWIG_fail;
11716 }
11717 {
11718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11719 }
11720 return resultobj;
11721 fail:
11722 return NULL;
11723}
11724
11725
c32bde28 11726static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11727 PyObject *resultobj;
11728 wxImage *arg1 = (wxImage *) 0 ;
11729 wxImage *arg2 = 0 ;
11730 byte arg3 ;
11731 byte arg4 ;
11732 byte arg5 ;
11733 bool result;
11734 PyObject * obj0 = 0 ;
11735 PyObject * obj1 = 0 ;
11736 PyObject * obj2 = 0 ;
11737 PyObject * obj3 = 0 ;
11738 PyObject * obj4 = 0 ;
11739 char *kwnames[] = {
11740 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11741 };
11742
11743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
11744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11745 if (SWIG_arg_fail(1)) SWIG_fail;
11746 {
11747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11748 if (SWIG_arg_fail(2)) SWIG_fail;
11749 if (arg2 == NULL) {
11750 SWIG_null_ref("wxImage");
11751 }
11752 if (SWIG_arg_fail(2)) SWIG_fail;
11753 }
11754 {
11755 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
11756 if (SWIG_arg_fail(3)) SWIG_fail;
11757 }
11758 {
11759 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
11760 if (SWIG_arg_fail(4)) SWIG_fail;
11761 }
11762 {
11763 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4));
11764 if (SWIG_arg_fail(5)) SWIG_fail;
11765 }
d55e5bfc
RD
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 {
11774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11775 }
11776 return resultobj;
11777 fail:
11778 return NULL;
11779}
11780
11781
c32bde28 11782static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11783 PyObject *resultobj;
11784 wxString *arg1 = 0 ;
11785 bool result;
ae8162c8 11786 bool temp1 = false ;
d55e5bfc
RD
11787 PyObject * obj0 = 0 ;
11788 char *kwnames[] = {
7a27cf7c 11789 (char *) "filename", NULL
d55e5bfc
RD
11790 };
11791
11792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
11793 {
11794 arg1 = wxString_in_helper(obj0);
11795 if (arg1 == NULL) SWIG_fail;
ae8162c8 11796 temp1 = true;
d55e5bfc
RD
11797 }
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 result = (bool)wxImage::CanRead((wxString const &)*arg1);
11801
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 {
11806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11807 }
11808 {
11809 if (temp1)
11810 delete arg1;
11811 }
11812 return resultobj;
11813 fail:
11814 {
11815 if (temp1)
11816 delete arg1;
11817 }
11818 return NULL;
11819}
11820
11821
c32bde28 11822static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11823 PyObject *resultobj;
11824 wxString *arg1 = 0 ;
11825 long arg2 = (long) wxBITMAP_TYPE_ANY ;
11826 int result;
ae8162c8 11827 bool temp1 = false ;
d55e5bfc
RD
11828 PyObject * obj0 = 0 ;
11829 PyObject * obj1 = 0 ;
11830 char *kwnames[] = {
7a27cf7c 11831 (char *) "filename",(char *) "type", NULL
d55e5bfc
RD
11832 };
11833
11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
11835 {
11836 arg1 = wxString_in_helper(obj0);
11837 if (arg1 == NULL) SWIG_fail;
ae8162c8 11838 temp1 = true;
d55e5bfc
RD
11839 }
11840 if (obj1) {
093d3ff1
RD
11841 {
11842 arg2 = (long)(SWIG_As_long(obj1));
11843 if (SWIG_arg_fail(2)) SWIG_fail;
11844 }
d55e5bfc
RD
11845 }
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
11849
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
093d3ff1
RD
11853 {
11854 resultobj = SWIG_From_int((int)(result));
11855 }
d55e5bfc
RD
11856 {
11857 if (temp1)
11858 delete arg1;
11859 }
11860 return resultobj;
11861 fail:
11862 {
11863 if (temp1)
11864 delete arg1;
11865 }
11866 return NULL;
11867}
11868
11869
c32bde28 11870static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11871 PyObject *resultobj;
11872 wxImage *arg1 = (wxImage *) 0 ;
11873 wxString *arg2 = 0 ;
11874 long arg3 = (long) wxBITMAP_TYPE_ANY ;
11875 int arg4 = (int) -1 ;
11876 bool result;
ae8162c8 11877 bool temp2 = false ;
d55e5bfc
RD
11878 PyObject * obj0 = 0 ;
11879 PyObject * obj1 = 0 ;
11880 PyObject * obj2 = 0 ;
11881 PyObject * obj3 = 0 ;
11882 char *kwnames[] = {
11883 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11884 };
11885
11886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11889 {
11890 arg2 = wxString_in_helper(obj1);
11891 if (arg2 == NULL) SWIG_fail;
ae8162c8 11892 temp2 = true;
d55e5bfc
RD
11893 }
11894 if (obj2) {
093d3ff1
RD
11895 {
11896 arg3 = (long)(SWIG_As_long(obj2));
11897 if (SWIG_arg_fail(3)) SWIG_fail;
11898 }
d55e5bfc
RD
11899 }
11900 if (obj3) {
093d3ff1
RD
11901 {
11902 arg4 = (int)(SWIG_As_int(obj3));
11903 if (SWIG_arg_fail(4)) SWIG_fail;
11904 }
d55e5bfc
RD
11905 }
11906 {
11907 PyThreadState* __tstate = wxPyBeginAllowThreads();
11908 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
11909
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 }
11913 {
11914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11915 }
11916 {
11917 if (temp2)
11918 delete arg2;
11919 }
11920 return resultobj;
11921 fail:
11922 {
11923 if (temp2)
11924 delete arg2;
11925 }
11926 return NULL;
11927}
11928
11929
c32bde28 11930static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11931 PyObject *resultobj;
11932 wxImage *arg1 = (wxImage *) 0 ;
11933 wxString *arg2 = 0 ;
11934 wxString *arg3 = 0 ;
11935 int arg4 = (int) -1 ;
11936 bool result;
ae8162c8
RD
11937 bool temp2 = false ;
11938 bool temp3 = false ;
d55e5bfc
RD
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 PyObject * obj2 = 0 ;
11942 PyObject * obj3 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11950 {
11951 arg2 = wxString_in_helper(obj1);
11952 if (arg2 == NULL) SWIG_fail;
ae8162c8 11953 temp2 = true;
d55e5bfc
RD
11954 }
11955 {
11956 arg3 = wxString_in_helper(obj2);
11957 if (arg3 == NULL) SWIG_fail;
ae8162c8 11958 temp3 = true;
d55e5bfc
RD
11959 }
11960 if (obj3) {
093d3ff1
RD
11961 {
11962 arg4 = (int)(SWIG_As_int(obj3));
11963 if (SWIG_arg_fail(4)) SWIG_fail;
11964 }
d55e5bfc
RD
11965 }
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 {
11974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11975 }
11976 {
11977 if (temp2)
11978 delete arg2;
11979 }
11980 {
11981 if (temp3)
11982 delete arg3;
11983 }
11984 return resultobj;
11985 fail:
11986 {
11987 if (temp2)
11988 delete arg2;
11989 }
11990 {
11991 if (temp3)
11992 delete arg3;
11993 }
11994 return NULL;
11995}
11996
11997
c32bde28 11998static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11999 PyObject *resultobj;
12000 wxImage *arg1 = (wxImage *) 0 ;
12001 wxString *arg2 = 0 ;
12002 int arg3 ;
12003 bool result;
ae8162c8 12004 bool temp2 = false ;
d55e5bfc
RD
12005 PyObject * obj0 = 0 ;
12006 PyObject * obj1 = 0 ;
12007 PyObject * obj2 = 0 ;
12008 char *kwnames[] = {
12009 (char *) "self",(char *) "name",(char *) "type", NULL
12010 };
12011
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12015 {
12016 arg2 = wxString_in_helper(obj1);
12017 if (arg2 == NULL) SWIG_fail;
ae8162c8 12018 temp2 = true;
d55e5bfc 12019 }
093d3ff1
RD
12020 {
12021 arg3 = (int)(SWIG_As_int(obj2));
12022 if (SWIG_arg_fail(3)) SWIG_fail;
12023 }
d55e5bfc
RD
12024 {
12025 PyThreadState* __tstate = wxPyBeginAllowThreads();
12026 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12027
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 {
12032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12033 }
12034 {
12035 if (temp2)
12036 delete arg2;
12037 }
12038 return resultobj;
12039 fail:
12040 {
12041 if (temp2)
12042 delete arg2;
12043 }
12044 return NULL;
12045}
12046
12047
c32bde28 12048static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12049 PyObject *resultobj;
12050 wxImage *arg1 = (wxImage *) 0 ;
12051 wxString *arg2 = 0 ;
12052 wxString *arg3 = 0 ;
12053 bool result;
ae8162c8
RD
12054 bool temp2 = false ;
12055 bool temp3 = false ;
d55e5bfc
RD
12056 PyObject * obj0 = 0 ;
12057 PyObject * obj1 = 0 ;
12058 PyObject * obj2 = 0 ;
12059 char *kwnames[] = {
12060 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12061 };
12062
12063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12065 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12066 {
12067 arg2 = wxString_in_helper(obj1);
12068 if (arg2 == NULL) SWIG_fail;
ae8162c8 12069 temp2 = true;
d55e5bfc
RD
12070 }
12071 {
12072 arg3 = wxString_in_helper(obj2);
12073 if (arg3 == NULL) SWIG_fail;
ae8162c8 12074 temp3 = true;
d55e5bfc
RD
12075 }
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 {
12084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12085 }
12086 {
12087 if (temp2)
12088 delete arg2;
12089 }
12090 {
12091 if (temp3)
12092 delete arg3;
12093 }
12094 return resultobj;
12095 fail:
12096 {
12097 if (temp2)
12098 delete arg2;
12099 }
12100 {
12101 if (temp3)
12102 delete arg3;
12103 }
12104 return NULL;
12105}
12106
12107
c32bde28 12108static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12109 PyObject *resultobj;
12110 wxInputStream *arg1 = 0 ;
12111 bool result;
12112 wxPyInputStream *temp1 ;
12113 bool created1 ;
12114 PyObject * obj0 = 0 ;
12115 char *kwnames[] = {
12116 (char *) "stream", NULL
12117 };
12118
12119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
12120 {
12121 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
12122 arg1 = temp1->m_wxis;
ae8162c8 12123 created1 = false;
d55e5bfc
RD
12124 } else {
12125 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 12126 arg1 = wxPyCBInputStream_create(obj0, false);
d55e5bfc 12127 if (arg1 == NULL) {
e2950dbb 12128 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d55e5bfc
RD
12129 SWIG_fail;
12130 }
ae8162c8 12131 created1 = true;
d55e5bfc
RD
12132 }
12133 }
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 result = (bool)wxImage::CanRead(*arg1);
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 {
12142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12143 }
12144 {
e2950dbb 12145 if (created1) delete arg1;
d55e5bfc
RD
12146 }
12147 return resultobj;
12148 fail:
12149 {
e2950dbb 12150 if (created1) delete arg1;
d55e5bfc
RD
12151 }
12152 return NULL;
12153}
12154
12155
c32bde28 12156static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12157 PyObject *resultobj;
12158 wxImage *arg1 = (wxImage *) 0 ;
12159 wxInputStream *arg2 = 0 ;
12160 long arg3 = (long) wxBITMAP_TYPE_ANY ;
12161 int arg4 = (int) -1 ;
12162 bool result;
12163 wxPyInputStream *temp2 ;
12164 bool created2 ;
12165 PyObject * obj0 = 0 ;
12166 PyObject * obj1 = 0 ;
12167 PyObject * obj2 = 0 ;
12168 PyObject * obj3 = 0 ;
12169 char *kwnames[] = {
12170 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12171 };
12172
12173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12175 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12176 {
12177 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
12178 arg2 = temp2->m_wxis;
ae8162c8 12179 created2 = false;
d55e5bfc
RD
12180 } else {
12181 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 12182 arg2 = wxPyCBInputStream_create(obj1, false);
d55e5bfc 12183 if (arg2 == NULL) {
e2950dbb 12184 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d55e5bfc
RD
12185 SWIG_fail;
12186 }
ae8162c8 12187 created2 = true;
d55e5bfc
RD
12188 }
12189 }
12190 if (obj2) {
093d3ff1
RD
12191 {
12192 arg3 = (long)(SWIG_As_long(obj2));
12193 if (SWIG_arg_fail(3)) SWIG_fail;
12194 }
d55e5bfc
RD
12195 }
12196 if (obj3) {
093d3ff1
RD
12197 {
12198 arg4 = (int)(SWIG_As_int(obj3));
12199 if (SWIG_arg_fail(4)) SWIG_fail;
12200 }
d55e5bfc
RD
12201 }
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 {
12210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12211 }
12212 {
e2950dbb 12213 if (created2) delete arg2;
d55e5bfc
RD
12214 }
12215 return resultobj;
12216 fail:
12217 {
e2950dbb 12218 if (created2) delete arg2;
d55e5bfc
RD
12219 }
12220 return NULL;
12221}
12222
12223
c32bde28 12224static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12225 PyObject *resultobj;
12226 wxImage *arg1 = (wxImage *) 0 ;
12227 wxInputStream *arg2 = 0 ;
12228 wxString *arg3 = 0 ;
12229 int arg4 = (int) -1 ;
12230 bool result;
12231 wxPyInputStream *temp2 ;
12232 bool created2 ;
ae8162c8 12233 bool temp3 = false ;
d55e5bfc
RD
12234 PyObject * obj0 = 0 ;
12235 PyObject * obj1 = 0 ;
12236 PyObject * obj2 = 0 ;
12237 PyObject * obj3 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12245 {
12246 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
12247 arg2 = temp2->m_wxis;
ae8162c8 12248 created2 = false;
d55e5bfc
RD
12249 } else {
12250 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 12251 arg2 = wxPyCBInputStream_create(obj1, false);
d55e5bfc 12252 if (arg2 == NULL) {
e2950dbb 12253 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d55e5bfc
RD
12254 SWIG_fail;
12255 }
ae8162c8 12256 created2 = true;
d55e5bfc
RD
12257 }
12258 }
12259 {
12260 arg3 = wxString_in_helper(obj2);
12261 if (arg3 == NULL) SWIG_fail;
ae8162c8 12262 temp3 = true;
d55e5bfc
RD
12263 }
12264 if (obj3) {
093d3ff1
RD
12265 {
12266 arg4 = (int)(SWIG_As_int(obj3));
12267 if (SWIG_arg_fail(4)) SWIG_fail;
12268 }
d55e5bfc
RD
12269 }
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 {
12278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12279 }
12280 {
e2950dbb 12281 if (created2) delete arg2;
d55e5bfc
RD
12282 }
12283 {
12284 if (temp3)
12285 delete arg3;
12286 }
12287 return resultobj;
12288 fail:
12289 {
e2950dbb 12290 if (created2) delete arg2;
d55e5bfc
RD
12291 }
12292 {
12293 if (temp3)
12294 delete arg3;
12295 }
12296 return NULL;
12297}
12298
12299
c32bde28 12300static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12301 PyObject *resultobj;
12302 wxImage *arg1 = (wxImage *) 0 ;
12303 bool result;
12304 PyObject * obj0 = 0 ;
12305 char *kwnames[] = {
12306 (char *) "self", NULL
12307 };
12308
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
12310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12311 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (bool)(arg1)->Ok();
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 {
12320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12321 }
12322 return resultobj;
12323 fail:
12324 return NULL;
12325}
12326
12327
c32bde28 12328static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12329 PyObject *resultobj;
12330 wxImage *arg1 = (wxImage *) 0 ;
12331 int result;
12332 PyObject * obj0 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
12338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12339 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12340 {
12341 PyThreadState* __tstate = wxPyBeginAllowThreads();
12342 result = (int)(arg1)->GetWidth();
12343
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
093d3ff1
RD
12347 {
12348 resultobj = SWIG_From_int((int)(result));
12349 }
d55e5bfc
RD
12350 return resultobj;
12351 fail:
12352 return NULL;
12353}
12354
12355
c32bde28 12356static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12357 PyObject *resultobj;
12358 wxImage *arg1 = (wxImage *) 0 ;
12359 int result;
12360 PyObject * obj0 = 0 ;
12361 char *kwnames[] = {
12362 (char *) "self", NULL
12363 };
12364
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
12366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12367 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12368 {
12369 PyThreadState* __tstate = wxPyBeginAllowThreads();
12370 result = (int)(arg1)->GetHeight();
12371
12372 wxPyEndAllowThreads(__tstate);
12373 if (PyErr_Occurred()) SWIG_fail;
12374 }
093d3ff1
RD
12375 {
12376 resultobj = SWIG_From_int((int)(result));
12377 }
d55e5bfc
RD
12378 return resultobj;
12379 fail:
12380 return NULL;
12381}
12382
12383
c32bde28 12384static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12385 PyObject *resultobj;
12386 wxImage *arg1 = (wxImage *) 0 ;
12387 wxSize result;
12388 PyObject * obj0 = 0 ;
12389 char *kwnames[] = {
12390 (char *) "self", NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 result = wxImage_GetSize(arg1);
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 {
12404 wxSize * resultptr;
093d3ff1 12405 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
12406 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
12407 }
12408 return resultobj;
12409 fail:
12410 return NULL;
12411}
12412
12413
c32bde28 12414static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12415 PyObject *resultobj;
12416 wxImage *arg1 = (wxImage *) 0 ;
12417 wxRect *arg2 = 0 ;
093d3ff1 12418 SwigValueWrapper<wxImage > result;
d55e5bfc
RD
12419 wxRect temp2 ;
12420 PyObject * obj0 = 0 ;
12421 PyObject * obj1 = 0 ;
12422 char *kwnames[] = {
12423 (char *) "self",(char *) "rect", NULL
12424 };
12425
12426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12429 {
12430 arg2 = &temp2;
12431 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12432 }
12433 {
12434 PyThreadState* __tstate = wxPyBeginAllowThreads();
12435 result = (arg1)->GetSubImage((wxRect const &)*arg2);
12436
12437 wxPyEndAllowThreads(__tstate);
12438 if (PyErr_Occurred()) SWIG_fail;
12439 }
12440 {
12441 wxImage * resultptr;
093d3ff1 12442 resultptr = new wxImage((wxImage &)(result));
d55e5bfc
RD
12443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
12444 }
12445 return resultobj;
12446 fail:
12447 return NULL;
12448}
12449
12450
aff4cc5c
RD
12451static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) {
12452 PyObject *resultobj;
12453 wxImage *arg1 = (wxImage *) 0 ;
12454 wxSize *arg2 = 0 ;
12455 wxPoint *arg3 = 0 ;
12456 int arg4 = (int) -1 ;
12457 int arg5 = (int) -1 ;
12458 int arg6 = (int) -1 ;
12459 SwigValueWrapper<wxImage > result;
12460 wxSize temp2 ;
12461 wxPoint temp3 ;
12462 PyObject * obj0 = 0 ;
12463 PyObject * obj1 = 0 ;
12464 PyObject * obj2 = 0 ;
12465 PyObject * obj3 = 0 ;
12466 PyObject * obj4 = 0 ;
12467 PyObject * obj5 = 0 ;
12468 char *kwnames[] = {
12469 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12470 };
12471
12472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:Image_Size",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12474 if (SWIG_arg_fail(1)) SWIG_fail;
12475 {
12476 arg2 = &temp2;
12477 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12478 }
12479 {
12480 arg3 = &temp3;
12481 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12482 }
12483 if (obj3) {
12484 {
12485 arg4 = (int)(SWIG_As_int(obj3));
12486 if (SWIG_arg_fail(4)) SWIG_fail;
12487 }
12488 }
12489 if (obj4) {
12490 {
12491 arg5 = (int)(SWIG_As_int(obj4));
12492 if (SWIG_arg_fail(5)) SWIG_fail;
12493 }
12494 }
12495 if (obj5) {
12496 {
12497 arg6 = (int)(SWIG_As_int(obj5));
12498 if (SWIG_arg_fail(6)) SWIG_fail;
12499 }
12500 }
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 result = ((wxImage const *)arg1)->Size((wxSize const &)*arg2,(wxPoint const &)*arg3,arg4,arg5,arg6);
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 {
12509 wxImage * resultptr;
12510 resultptr = new wxImage((wxImage &)(result));
12511 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
12512 }
12513 return resultobj;
12514 fail:
12515 return NULL;
12516}
12517
12518
c32bde28 12519static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12520 PyObject *resultobj;
12521 wxImage *arg1 = (wxImage *) 0 ;
093d3ff1 12522 SwigValueWrapper<wxImage > result;
d55e5bfc
RD
12523 PyObject * obj0 = 0 ;
12524 char *kwnames[] = {
12525 (char *) "self", NULL
12526 };
12527
12528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
12529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 result = (arg1)->Copy();
12534
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 {
12539 wxImage * resultptr;
093d3ff1 12540 resultptr = new wxImage((wxImage &)(result));
d55e5bfc
RD
12541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
12542 }
12543 return resultobj;
12544 fail:
12545 return NULL;
12546}
12547
12548
c32bde28 12549static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12550 PyObject *resultobj;
12551 wxImage *arg1 = (wxImage *) 0 ;
12552 wxImage *arg2 = 0 ;
12553 int arg3 ;
12554 int arg4 ;
12555 PyObject * obj0 = 0 ;
12556 PyObject * obj1 = 0 ;
12557 PyObject * obj2 = 0 ;
12558 PyObject * obj3 = 0 ;
12559 char *kwnames[] = {
12560 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12561 };
12562
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail;
12566 {
12567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12568 if (SWIG_arg_fail(2)) SWIG_fail;
12569 if (arg2 == NULL) {
12570 SWIG_null_ref("wxImage");
12571 }
12572 if (SWIG_arg_fail(2)) SWIG_fail;
12573 }
12574 {
12575 arg3 = (int)(SWIG_As_int(obj2));
12576 if (SWIG_arg_fail(3)) SWIG_fail;
12577 }
12578 {
12579 arg4 = (int)(SWIG_As_int(obj3));
12580 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 12581 }
d55e5bfc
RD
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 Py_INCREF(Py_None); resultobj = Py_None;
12590 return resultobj;
12591 fail:
12592 return NULL;
12593}
12594
12595
c32bde28 12596static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12597 PyObject *resultobj;
12598 wxImage *arg1 = (wxImage *) 0 ;
12599 PyObject *result;
12600 PyObject * obj0 = 0 ;
12601 char *kwnames[] = {
12602 (char *) "self", NULL
12603 };
12604
12605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
12606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12607 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 result = (PyObject *)wxImage_GetData(arg1);
12611
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 resultobj = result;
12616 return resultobj;
12617 fail:
12618 return NULL;
12619}
12620
12621
c32bde28 12622static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12623 PyObject *resultobj;
12624 wxImage *arg1 = (wxImage *) 0 ;
ea939623
RD
12625 buffer arg2 ;
12626 int arg3 ;
d55e5bfc
RD
12627 PyObject * obj0 = 0 ;
12628 PyObject * obj1 = 0 ;
12629 char *kwnames[] = {
12630 (char *) "self",(char *) "data", NULL
12631 };
12632
12633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail;
ea939623
RD
12636 {
12637 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
12638 }
d55e5bfc
RD
12639 {
12640 PyThreadState* __tstate = wxPyBeginAllowThreads();
ea939623 12641 wxImage_SetData(arg1,arg2,arg3);
d55e5bfc
RD
12642
12643 wxPyEndAllowThreads(__tstate);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
12646 Py_INCREF(Py_None); resultobj = Py_None;
12647 return resultobj;
12648 fail:
12649 return NULL;
12650}
12651
12652
c32bde28 12653static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12654 PyObject *resultobj;
12655 wxImage *arg1 = (wxImage *) 0 ;
12656 PyObject *result;
12657 PyObject * obj0 = 0 ;
12658 char *kwnames[] = {
12659 (char *) "self", NULL
12660 };
12661
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
093d3ff1
RD
12663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 result = (PyObject *)wxImage_GetDataBuffer(arg1);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 resultobj = result;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676}
12677
12678
c32bde28 12679static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12680 PyObject *resultobj;
12681 wxImage *arg1 = (wxImage *) 0 ;
ea939623
RD
12682 buffer arg2 ;
12683 int arg3 ;
d55e5bfc
RD
12684 PyObject * obj0 = 0 ;
12685 PyObject * obj1 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "self",(char *) "data", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12692 if (SWIG_arg_fail(1)) SWIG_fail;
ea939623
RD
12693 {
12694 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
12695 }
d55e5bfc
RD
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
ea939623 12698 wxImage_SetDataBuffer(arg1,arg2,arg3);
d55e5bfc
RD
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 Py_INCREF(Py_None); resultobj = Py_None;
12704 return resultobj;
12705 fail:
12706 return NULL;
12707}
12708
12709
c32bde28 12710static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12711 PyObject *resultobj;
12712 wxImage *arg1 = (wxImage *) 0 ;
12713 PyObject *result;
12714 PyObject * obj0 = 0 ;
12715 char *kwnames[] = {
12716 (char *) "self", NULL
12717 };
12718
12719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
093d3ff1
RD
12720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12721 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 result = (PyObject *)wxImage_GetAlphaData(arg1);
12725
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
12729 resultobj = result;
12730 return resultobj;
12731 fail:
12732 return NULL;
12733}
12734
12735
c32bde28 12736static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12737 PyObject *resultobj;
12738 wxImage *arg1 = (wxImage *) 0 ;
ea939623
RD
12739 buffer arg2 ;
12740 int arg3 ;
d55e5bfc
RD
12741 PyObject * obj0 = 0 ;
12742 PyObject * obj1 = 0 ;
12743 char *kwnames[] = {
ea939623 12744 (char *) "self",(char *) "alpha", NULL
d55e5bfc
RD
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12749 if (SWIG_arg_fail(1)) SWIG_fail;
ea939623
RD
12750 {
12751 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
12752 }
d55e5bfc
RD
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
ea939623 12755 wxImage_SetAlphaData(arg1,arg2,arg3);
d55e5bfc
RD
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 Py_INCREF(Py_None); resultobj = Py_None;
12761 return resultobj;
12762 fail:
12763 return NULL;
12764}
12765
12766
c32bde28 12767static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12768 PyObject *resultobj;
12769 wxImage *arg1 = (wxImage *) 0 ;
12770 PyObject *result;
12771 PyObject * obj0 = 0 ;
12772 char *kwnames[] = {
12773 (char *) "self", NULL
12774 };
12775
12776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
093d3ff1
RD
12777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12778 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 resultobj = result;
12787 return resultobj;
12788 fail:
12789 return NULL;
12790}
12791
12792
c32bde28 12793static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12794 PyObject *resultobj;
12795 wxImage *arg1 = (wxImage *) 0 ;
ea939623
RD
12796 buffer arg2 ;
12797 int arg3 ;
d55e5bfc
RD
12798 PyObject * obj0 = 0 ;
12799 PyObject * obj1 = 0 ;
12800 char *kwnames[] = {
ea939623 12801 (char *) "self",(char *) "alpha", NULL
d55e5bfc
RD
12802 };
12803
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12806 if (SWIG_arg_fail(1)) SWIG_fail;
ea939623
RD
12807 {
12808 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
12809 }
d55e5bfc
RD
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
ea939623 12812 wxImage_SetAlphaBuffer(arg1,arg2,arg3);
d55e5bfc
RD
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
12817 Py_INCREF(Py_None); resultobj = Py_None;
12818 return resultobj;
12819 fail:
12820 return NULL;
12821}
12822
12823
c32bde28 12824static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12825 PyObject *resultobj;
12826 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
12827 byte arg2 ;
12828 byte arg3 ;
12829 byte arg4 ;
d55e5bfc
RD
12830 PyObject * obj0 = 0 ;
12831 PyObject * obj1 = 0 ;
12832 PyObject * obj2 = 0 ;
12833 PyObject * obj3 = 0 ;
12834 char *kwnames[] = {
12835 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12836 };
12837
12838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12840 if (SWIG_arg_fail(1)) SWIG_fail;
12841 {
7a27cf7c 12842 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
12843 if (SWIG_arg_fail(2)) SWIG_fail;
12844 }
12845 {
7a27cf7c 12846 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
12847 if (SWIG_arg_fail(3)) SWIG_fail;
12848 }
12849 {
7a27cf7c 12850 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
12851 if (SWIG_arg_fail(4)) SWIG_fail;
12852 }
d55e5bfc
RD
12853 {
12854 PyThreadState* __tstate = wxPyBeginAllowThreads();
12855 (arg1)->SetMaskColour(arg2,arg3,arg4);
12856
12857 wxPyEndAllowThreads(__tstate);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 }
12860 Py_INCREF(Py_None); resultobj = Py_None;
12861 return resultobj;
12862 fail:
12863 return NULL;
12864}
12865
12866
aff4cc5c
RD
12867static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
12870 byte *arg2 = (byte *) 0 ;
12871 byte *arg3 = (byte *) 0 ;
12872 byte *arg4 = (byte *) 0 ;
12873 byte temp2 ;
aff4cc5c 12874 int res2 = 0 ;
7a27cf7c 12875 byte temp3 ;
aff4cc5c 12876 int res3 = 0 ;
7a27cf7c 12877 byte temp4 ;
aff4cc5c
RD
12878 int res4 = 0 ;
12879 PyObject * obj0 = 0 ;
12880 char *kwnames[] = {
12881 (char *) "self", NULL
12882 };
12883
12884 arg2 = &temp2; res2 = SWIG_NEWOBJ;
12885 arg3 = &temp3; res3 = SWIG_NEWOBJ;
12886 arg4 = &temp4; res4 = SWIG_NEWOBJ;
12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetOrFindMaskColour",kwnames,&obj0)) goto fail;
12888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12889 if (SWIG_arg_fail(1)) SWIG_fail;
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 ((wxImage const *)arg1)->GetOrFindMaskColour(arg2,arg3,arg4);
12893
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 Py_INCREF(Py_None); resultobj = Py_None;
12898 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
12899 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
12900 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
12901 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
12902 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
12903 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
12904 return resultobj;
12905 fail:
12906 return NULL;
12907}
12908
12909
c32bde28 12910static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12911 PyObject *resultobj;
12912 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c 12913 byte result;
d55e5bfc
RD
12914 PyObject * obj0 = 0 ;
12915 char *kwnames[] = {
12916 (char *) "self", NULL
12917 };
12918
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
093d3ff1
RD
12920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12921 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12922 {
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 12924 result = (byte)(arg1)->GetMaskRed();
d55e5bfc
RD
12925
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
093d3ff1
RD
12929 {
12930 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
12931 }
d55e5bfc
RD
12932 return resultobj;
12933 fail:
12934 return NULL;
12935}
12936
12937
c32bde28 12938static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12939 PyObject *resultobj;
12940 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c 12941 byte result;
d55e5bfc
RD
12942 PyObject * obj0 = 0 ;
12943 char *kwnames[] = {
12944 (char *) "self", NULL
12945 };
12946
12947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
12948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12950 {
12951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 12952 result = (byte)(arg1)->GetMaskGreen();
d55e5bfc
RD
12953
12954 wxPyEndAllowThreads(__tstate);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 }
093d3ff1
RD
12957 {
12958 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
12959 }
d55e5bfc
RD
12960 return resultobj;
12961 fail:
12962 return NULL;
12963}
12964
12965
c32bde28 12966static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12967 PyObject *resultobj;
12968 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c 12969 byte result;
d55e5bfc
RD
12970 PyObject * obj0 = 0 ;
12971 char *kwnames[] = {
12972 (char *) "self", NULL
12973 };
12974
12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
093d3ff1
RD
12976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12977 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 12980 result = (byte)(arg1)->GetMaskBlue();
d55e5bfc
RD
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
093d3ff1
RD
12985 {
12986 resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result));
12987 }
d55e5bfc
RD
12988 return resultobj;
12989 fail:
12990 return NULL;
12991}
12992
12993
c32bde28 12994static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12995 PyObject *resultobj;
12996 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 12997 bool arg2 = (bool) true ;
d55e5bfc
RD
12998 PyObject * obj0 = 0 ;
12999 PyObject * obj1 = 0 ;
13000 char *kwnames[] = {
13001 (char *) "self",(char *) "mask", NULL
13002 };
13003
13004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13006 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13007 if (obj1) {
093d3ff1
RD
13008 {
13009 arg2 = (bool)(SWIG_As_bool(obj1));
13010 if (SWIG_arg_fail(2)) SWIG_fail;
13011 }
d55e5bfc
RD
13012 }
13013 {
13014 PyThreadState* __tstate = wxPyBeginAllowThreads();
13015 (arg1)->SetMask(arg2);
13016
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 Py_INCREF(Py_None); resultobj = Py_None;
13021 return resultobj;
13022 fail:
13023 return NULL;
13024}
13025
13026
c32bde28 13027static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13028 PyObject *resultobj;
13029 wxImage *arg1 = (wxImage *) 0 ;
13030 bool result;
13031 PyObject * obj0 = 0 ;
13032 char *kwnames[] = {
13033 (char *) "self", NULL
13034 };
13035
13036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
13037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13038 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (bool)(arg1)->HasMask();
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 {
13047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13048 }
13049 return resultobj;
13050 fail:
13051 return NULL;
13052}
13053
13054
c32bde28 13055static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13056 PyObject *resultobj;
13057 wxImage *arg1 = (wxImage *) 0 ;
13058 double arg2 ;
13059 wxPoint *arg3 = 0 ;
ae8162c8 13060 bool arg4 = (bool) true ;
d55e5bfc 13061 wxPoint *arg5 = (wxPoint *) NULL ;
093d3ff1 13062 SwigValueWrapper<wxImage > result;
d55e5bfc
RD
13063 wxPoint temp3 ;
13064 PyObject * obj0 = 0 ;
13065 PyObject * obj1 = 0 ;
13066 PyObject * obj2 = 0 ;
13067 PyObject * obj3 = 0 ;
13068 PyObject * obj4 = 0 ;
13069 char *kwnames[] = {
13070 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13071 };
13072
13073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
13074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13075 if (SWIG_arg_fail(1)) SWIG_fail;
13076 {
13077 arg2 = (double)(SWIG_As_double(obj1));
13078 if (SWIG_arg_fail(2)) SWIG_fail;
13079 }
d55e5bfc
RD
13080 {
13081 arg3 = &temp3;
13082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13083 }
13084 if (obj3) {
093d3ff1
RD
13085 {
13086 arg4 = (bool)(SWIG_As_bool(obj3));
13087 if (SWIG_arg_fail(4)) SWIG_fail;
13088 }
d55e5bfc
RD
13089 }
13090 if (obj4) {
093d3ff1
RD
13091 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
13092 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
13093 }
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 {
13102 wxImage * resultptr;
093d3ff1 13103 resultptr = new wxImage((wxImage &)(result));
d55e5bfc
RD
13104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
13105 }
13106 return resultobj;
13107 fail:
13108 return NULL;
13109}
13110
13111
c32bde28 13112static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13113 PyObject *resultobj;
13114 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 13115 bool arg2 = (bool) true ;
093d3ff1 13116 SwigValueWrapper<wxImage > result;
d55e5bfc
RD
13117 PyObject * obj0 = 0 ;
13118 PyObject * obj1 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self",(char *) "clockwise", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13126 if (obj1) {
093d3ff1
RD
13127 {
13128 arg2 = (bool)(SWIG_As_bool(obj1));
13129 if (SWIG_arg_fail(2)) SWIG_fail;
13130 }
d55e5bfc
RD
13131 }
13132 {
13133 PyThreadState* __tstate = wxPyBeginAllowThreads();
13134 result = (arg1)->Rotate90(arg2);
13135
13136 wxPyEndAllowThreads(__tstate);
13137 if (PyErr_Occurred()) SWIG_fail;
13138 }
13139 {
13140 wxImage * resultptr;
093d3ff1 13141 resultptr = new wxImage((wxImage &)(result));
d55e5bfc
RD
13142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
13143 }
13144 return resultobj;
13145 fail:
13146 return NULL;
13147}
13148
13149
c32bde28 13150static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13151 PyObject *resultobj;
13152 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 13153 bool arg2 = (bool) true ;
093d3ff1 13154 SwigValueWrapper<wxImage > result;
d55e5bfc
RD
13155 PyObject * obj0 = 0 ;
13156 PyObject * obj1 = 0 ;
13157 char *kwnames[] = {
13158 (char *) "self",(char *) "horizontally", NULL
13159 };
13160
13161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13163 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13164 if (obj1) {
093d3ff1
RD
13165 {
13166 arg2 = (bool)(SWIG_As_bool(obj1));
13167 if (SWIG_arg_fail(2)) SWIG_fail;
13168 }
d55e5bfc
RD
13169 }
13170 {
13171 PyThreadState* __tstate = wxPyBeginAllowThreads();
13172 result = (arg1)->Mirror(arg2);
13173
13174 wxPyEndAllowThreads(__tstate);
13175 if (PyErr_Occurred()) SWIG_fail;
13176 }
13177 {
13178 wxImage * resultptr;
093d3ff1 13179 resultptr = new wxImage((wxImage &)(result));
d55e5bfc
RD
13180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
13181 }
13182 return resultobj;
13183 fail:
13184 return NULL;
13185}
13186
13187
c32bde28 13188static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13189 PyObject *resultobj;
13190 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
13191 byte arg2 ;
13192 byte arg3 ;
13193 byte arg4 ;
13194 byte arg5 ;
13195 byte arg6 ;
13196 byte arg7 ;
d55e5bfc
RD
13197 PyObject * obj0 = 0 ;
13198 PyObject * obj1 = 0 ;
13199 PyObject * obj2 = 0 ;
13200 PyObject * obj3 = 0 ;
13201 PyObject * obj4 = 0 ;
13202 PyObject * obj5 = 0 ;
13203 PyObject * obj6 = 0 ;
13204 char *kwnames[] = {
13205 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail;
13211 {
7a27cf7c 13212 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
13213 if (SWIG_arg_fail(2)) SWIG_fail;
13214 }
13215 {
7a27cf7c 13216 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
13217 if (SWIG_arg_fail(3)) SWIG_fail;
13218 }
13219 {
7a27cf7c 13220 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
13221 if (SWIG_arg_fail(4)) SWIG_fail;
13222 }
13223 {
7a27cf7c 13224 arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4));
093d3ff1
RD
13225 if (SWIG_arg_fail(5)) SWIG_fail;
13226 }
13227 {
7a27cf7c 13228 arg6 = (byte)(SWIG_As_unsigned_SS_char(obj5));
093d3ff1
RD
13229 if (SWIG_arg_fail(6)) SWIG_fail;
13230 }
13231 {
7a27cf7c 13232 arg7 = (byte)(SWIG_As_unsigned_SS_char(obj6));
093d3ff1
RD
13233 if (SWIG_arg_fail(7)) SWIG_fail;
13234 }
d55e5bfc
RD
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 Py_INCREF(Py_None); resultobj = Py_None;
13243 return resultobj;
13244 fail:
13245 return NULL;
13246}
13247
13248
c32bde28 13249static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13250 PyObject *resultobj;
13251 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
13252 byte arg2 ;
13253 byte arg3 ;
13254 byte arg4 ;
093d3ff1 13255 SwigValueWrapper<wxImage > result;
d55e5bfc
RD
13256 PyObject * obj0 = 0 ;
13257 PyObject * obj1 = 0 ;
13258 PyObject * obj2 = 0 ;
13259 PyObject * obj3 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
13265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail;
13267 {
7a27cf7c 13268 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
13269 if (SWIG_arg_fail(2)) SWIG_fail;
13270 }
13271 {
7a27cf7c 13272 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
13273 if (SWIG_arg_fail(3)) SWIG_fail;
13274 }
13275 {
7a27cf7c 13276 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
13277 if (SWIG_arg_fail(4)) SWIG_fail;
13278 }
d55e5bfc
RD
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
13282
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 {
13287 wxImage * resultptr;
093d3ff1 13288 resultptr = new wxImage((wxImage &)(result));
d55e5bfc
RD
13289 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
13290 }
13291 return resultobj;
13292 fail:
13293 return NULL;
13294}
13295
13296
c32bde28 13297static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13298 PyObject *resultobj;
13299 wxImage *arg1 = (wxImage *) 0 ;
13300 wxString *arg2 = 0 ;
13301 wxString *arg3 = 0 ;
ae8162c8
RD
13302 bool temp2 = false ;
13303 bool temp3 = false ;
d55e5bfc
RD
13304 PyObject * obj0 = 0 ;
13305 PyObject * obj1 = 0 ;
13306 PyObject * obj2 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "self",(char *) "name",(char *) "value", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13313 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13314 {
13315 arg2 = wxString_in_helper(obj1);
13316 if (arg2 == NULL) SWIG_fail;
ae8162c8 13317 temp2 = true;
d55e5bfc
RD
13318 }
13319 {
13320 arg3 = wxString_in_helper(obj2);
13321 if (arg3 == NULL) SWIG_fail;
ae8162c8 13322 temp3 = true;
d55e5bfc
RD
13323 }
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
13327
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 Py_INCREF(Py_None); resultobj = Py_None;
13332 {
13333 if (temp2)
13334 delete arg2;
13335 }
13336 {
13337 if (temp3)
13338 delete arg3;
13339 }
13340 return resultobj;
13341 fail:
13342 {
13343 if (temp2)
13344 delete arg2;
13345 }
13346 {
13347 if (temp3)
13348 delete arg3;
13349 }
13350 return NULL;
13351}
13352
13353
c32bde28 13354static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13355 PyObject *resultobj;
13356 wxImage *arg1 = (wxImage *) 0 ;
13357 wxString *arg2 = 0 ;
13358 int arg3 ;
ae8162c8 13359 bool temp2 = false ;
d55e5bfc
RD
13360 PyObject * obj0 = 0 ;
13361 PyObject * obj1 = 0 ;
13362 PyObject * obj2 = 0 ;
13363 char *kwnames[] = {
13364 (char *) "self",(char *) "name",(char *) "value", NULL
13365 };
13366
13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13370 {
13371 arg2 = wxString_in_helper(obj1);
13372 if (arg2 == NULL) SWIG_fail;
ae8162c8 13373 temp2 = true;
d55e5bfc 13374 }
093d3ff1
RD
13375 {
13376 arg3 = (int)(SWIG_As_int(obj2));
13377 if (SWIG_arg_fail(3)) SWIG_fail;
13378 }
d55e5bfc
RD
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 (arg1)->SetOption((wxString const &)*arg2,arg3);
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
13386 Py_INCREF(Py_None); resultobj = Py_None;
13387 {
13388 if (temp2)
13389 delete arg2;
13390 }
13391 return resultobj;
13392 fail:
13393 {
13394 if (temp2)
13395 delete arg2;
13396 }
13397 return NULL;
13398}
13399
13400
c32bde28 13401static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13402 PyObject *resultobj;
13403 wxImage *arg1 = (wxImage *) 0 ;
13404 wxString *arg2 = 0 ;
13405 wxString result;
ae8162c8 13406 bool temp2 = false ;
d55e5bfc
RD
13407 PyObject * obj0 = 0 ;
13408 PyObject * obj1 = 0 ;
13409 char *kwnames[] = {
13410 (char *) "self",(char *) "name", NULL
13411 };
13412
13413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13416 {
13417 arg2 = wxString_in_helper(obj1);
13418 if (arg2 == NULL) SWIG_fail;
ae8162c8 13419 temp2 = true;
d55e5bfc
RD
13420 }
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 {
13429#if wxUSE_UNICODE
13430 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13431#else
13432 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13433#endif
13434 }
13435 {
13436 if (temp2)
13437 delete arg2;
13438 }
13439 return resultobj;
13440 fail:
13441 {
13442 if (temp2)
13443 delete arg2;
13444 }
13445 return NULL;
13446}
13447
13448
c32bde28 13449static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13450 PyObject *resultobj;
13451 wxImage *arg1 = (wxImage *) 0 ;
13452 wxString *arg2 = 0 ;
13453 int result;
ae8162c8 13454 bool temp2 = false ;
d55e5bfc
RD
13455 PyObject * obj0 = 0 ;
13456 PyObject * obj1 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self",(char *) "name", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13464 {
13465 arg2 = wxString_in_helper(obj1);
13466 if (arg2 == NULL) SWIG_fail;
ae8162c8 13467 temp2 = true;
d55e5bfc
RD
13468 }
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
093d3ff1
RD
13476 {
13477 resultobj = SWIG_From_int((int)(result));
13478 }
d55e5bfc
RD
13479 {
13480 if (temp2)
13481 delete arg2;
13482 }
13483 return resultobj;
13484 fail:
13485 {
13486 if (temp2)
13487 delete arg2;
13488 }
13489 return NULL;
13490}
13491
13492
c32bde28 13493static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13494 PyObject *resultobj;
13495 wxImage *arg1 = (wxImage *) 0 ;
13496 wxString *arg2 = 0 ;
13497 bool result;
ae8162c8 13498 bool temp2 = false ;
d55e5bfc
RD
13499 PyObject * obj0 = 0 ;
13500 PyObject * obj1 = 0 ;
13501 char *kwnames[] = {
13502 (char *) "self",(char *) "name", NULL
13503 };
13504
13505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13508 {
13509 arg2 = wxString_in_helper(obj1);
13510 if (arg2 == NULL) SWIG_fail;
ae8162c8 13511 temp2 = true;
d55e5bfc
RD
13512 }
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
13520 {
13521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13522 }
13523 {
13524 if (temp2)
13525 delete arg2;
13526 }
13527 return resultobj;
13528 fail:
13529 {
13530 if (temp2)
13531 delete arg2;
13532 }
13533 return NULL;
13534}
13535
13536
c32bde28 13537static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13538 PyObject *resultobj;
13539 wxImage *arg1 = (wxImage *) 0 ;
13540 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
13541 unsigned long result;
13542 PyObject * obj0 = 0 ;
13543 PyObject * obj1 = 0 ;
13544 char *kwnames[] = {
13545 (char *) "self",(char *) "stopafter", NULL
13546 };
13547
13548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13550 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13551 if (obj1) {
093d3ff1
RD
13552 {
13553 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
13554 if (SWIG_arg_fail(2)) SWIG_fail;
13555 }
d55e5bfc
RD
13556 }
13557 {
13558 PyThreadState* __tstate = wxPyBeginAllowThreads();
13559 result = (unsigned long)(arg1)->CountColours(arg2);
13560
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
093d3ff1
RD
13564 {
13565 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
13566 }
d55e5bfc
RD
13567 return resultobj;
13568 fail:
13569 return NULL;
13570}
13571
13572
c32bde28 13573static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13574 PyObject *resultobj;
13575 wxImage *arg1 = (wxImage *) 0 ;
13576 wxImageHistogram *arg2 = 0 ;
13577 unsigned long result;
13578 PyObject * obj0 = 0 ;
13579 PyObject * obj1 = 0 ;
13580 char *kwnames[] = {
13581 (char *) "self",(char *) "h", NULL
13582 };
13583
13584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13586 if (SWIG_arg_fail(1)) SWIG_fail;
13587 {
13588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
13589 if (SWIG_arg_fail(2)) SWIG_fail;
13590 if (arg2 == NULL) {
13591 SWIG_null_ref("wxImageHistogram");
13592 }
13593 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13594 }
13595 {
13596 PyThreadState* __tstate = wxPyBeginAllowThreads();
13597 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
13598
13599 wxPyEndAllowThreads(__tstate);
13600 if (PyErr_Occurred()) SWIG_fail;
13601 }
093d3ff1
RD
13602 {
13603 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
13604 }
d55e5bfc
RD
13605 return resultobj;
13606 fail:
13607 return NULL;
13608}
13609
13610
c32bde28 13611static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13612 PyObject *resultobj;
13613 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
13614 PyObject * obj0 = 0 ;
13615 char *kwnames[] = {
13616 (char *) "handler", NULL
13617 };
13618
13619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
13620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
13621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13622 {
13623 PyThreadState* __tstate = wxPyBeginAllowThreads();
13624 wxImage::AddHandler(arg1);
13625
13626 wxPyEndAllowThreads(__tstate);
13627 if (PyErr_Occurred()) SWIG_fail;
13628 }
13629 Py_INCREF(Py_None); resultobj = Py_None;
13630 return resultobj;
13631 fail:
13632 return NULL;
13633}
13634
13635
c32bde28 13636static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13637 PyObject *resultobj;
13638 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
13639 PyObject * obj0 = 0 ;
13640 char *kwnames[] = {
13641 (char *) "handler", NULL
13642 };
13643
13644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
13645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
13646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13647 {
13648 PyThreadState* __tstate = wxPyBeginAllowThreads();
13649 wxImage::InsertHandler(arg1);
13650
13651 wxPyEndAllowThreads(__tstate);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 }
13654 Py_INCREF(Py_None); resultobj = Py_None;
13655 return resultobj;
13656 fail:
13657 return NULL;
13658}
13659
13660
c32bde28 13661static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13662 PyObject *resultobj;
13663 wxString *arg1 = 0 ;
13664 bool result;
ae8162c8 13665 bool temp1 = false ;
d55e5bfc
RD
13666 PyObject * obj0 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "name", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
13672 {
13673 arg1 = wxString_in_helper(obj0);
13674 if (arg1 == NULL) SWIG_fail;
ae8162c8 13675 temp1 = true;
d55e5bfc
RD
13676 }
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
13680
13681 wxPyEndAllowThreads(__tstate);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 {
13685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13686 }
13687 {
13688 if (temp1)
13689 delete arg1;
13690 }
13691 return resultobj;
13692 fail:
13693 {
13694 if (temp1)
13695 delete arg1;
13696 }
13697 return NULL;
13698}
13699
13700
c32bde28 13701static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13702 PyObject *resultobj;
13703 wxString result;
13704 char *kwnames[] = {
13705 NULL
13706 };
13707
13708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 result = wxImage::GetImageExtWildcard();
13712
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 {
13717#if wxUSE_UNICODE
13718 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13719#else
13720 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13721#endif
13722 }
13723 return resultobj;
13724 fail:
13725 return NULL;
13726}
13727
13728
c32bde28 13729static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13730 PyObject *resultobj;
13731 wxImage *arg1 = (wxImage *) 0 ;
1fbf26be 13732 int arg2 = (int) -1 ;
d55e5bfc
RD
13733 wxBitmap result;
13734 PyObject * obj0 = 0 ;
1fbf26be 13735 PyObject * obj1 = 0 ;
d55e5bfc 13736 char *kwnames[] = {
1fbf26be 13737 (char *) "self",(char *) "depth", NULL
d55e5bfc
RD
13738 };
13739
1fbf26be 13740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertToBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13742 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be 13743 if (obj1) {
093d3ff1
RD
13744 {
13745 arg2 = (int)(SWIG_As_int(obj1));
13746 if (SWIG_arg_fail(2)) SWIG_fail;
13747 }
1fbf26be 13748 }
d55e5bfc 13749 {
0439c23b 13750 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13751 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fbf26be 13752 result = wxImage_ConvertToBitmap(arg1,arg2);
d55e5bfc
RD
13753
13754 wxPyEndAllowThreads(__tstate);
110da5b0 13755 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13756 }
13757 {
13758 wxBitmap * resultptr;
093d3ff1 13759 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
13760 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13761 }
13762 return resultobj;
13763 fail:
13764 return NULL;
13765}
13766
13767
c32bde28 13768static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13769 PyObject *resultobj;
13770 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
13771 byte arg2 ;
13772 byte arg3 ;
13773 byte arg4 ;
d55e5bfc
RD
13774 wxBitmap result;
13775 PyObject * obj0 = 0 ;
13776 PyObject * obj1 = 0 ;
13777 PyObject * obj2 = 0 ;
13778 PyObject * obj3 = 0 ;
13779 char *kwnames[] = {
13780 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13781 };
13782
13783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
13784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13785 if (SWIG_arg_fail(1)) SWIG_fail;
13786 {
7a27cf7c 13787 arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
13788 if (SWIG_arg_fail(2)) SWIG_fail;
13789 }
13790 {
7a27cf7c 13791 arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
13792 if (SWIG_arg_fail(3)) SWIG_fail;
13793 }
13794 {
7a27cf7c 13795 arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
13796 if (SWIG_arg_fail(4)) SWIG_fail;
13797 }
d55e5bfc 13798 {
0439c23b 13799 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
13802
13803 wxPyEndAllowThreads(__tstate);
110da5b0 13804 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13805 }
13806 {
13807 wxBitmap * resultptr;
093d3ff1 13808 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
13809 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
13810 }
13811 return resultobj;
13812 fail:
13813 return NULL;
13814}
13815
13816
c32bde28 13817static PyObject * Image_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13818 PyObject *obj;
13819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13820 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
13821 Py_INCREF(obj);
13822 return Py_BuildValue((char *)"");
13823}
c32bde28 13824static int _wrap_NullImage_set(PyObject *) {
d55e5bfc
RD
13825 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
13826 return 1;
13827}
13828
13829
093d3ff1 13830static PyObject *_wrap_NullImage_get(void) {
d55e5bfc
RD
13831 PyObject *pyobj;
13832
13833 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
13834 return pyobj;
13835}
13836
13837
68350608
RD
13838static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject *) {
13839 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_FILENAME is read-only.");
13840 return 1;
13841}
13842
13843
13844static PyObject *_wrap_IMAGE_OPTION_FILENAME_get(void) {
13845 PyObject *pyobj;
13846
13847 {
13848#if wxUSE_UNICODE
13849 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME)->c_str(), (&wxPyIMAGE_OPTION_FILENAME)->Len());
13850#else
13851 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME)->c_str(), (&wxPyIMAGE_OPTION_FILENAME)->Len());
13852#endif
13853 }
13854 return pyobj;
13855}
13856
13857
c32bde28 13858static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) {
d55e5bfc
RD
13859 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13860 return 1;
13861}
13862
13863
093d3ff1 13864static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
d55e5bfc
RD
13865 PyObject *pyobj;
13866
13867 {
13868#if wxUSE_UNICODE
13869 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
13870#else
13871 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
13872#endif
13873 }
13874 return pyobj;
13875}
13876
13877
c32bde28 13878static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) {
d55e5bfc
RD
13879 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13880 return 1;
13881}
13882
13883
093d3ff1 13884static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
d55e5bfc
RD
13885 PyObject *pyobj;
13886
13887 {
13888#if wxUSE_UNICODE
13889 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
13890#else
13891 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
13892#endif
13893 }
13894 return pyobj;
13895}
13896
13897
c32bde28 13898static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) {
d55e5bfc
RD
13899 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13900 return 1;
13901}
13902
13903
093d3ff1 13904static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
d55e5bfc
RD
13905 PyObject *pyobj;
13906
13907 {
13908#if wxUSE_UNICODE
13909 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
13910#else
13911 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
13912#endif
13913 }
13914 return pyobj;
13915}
13916
13917
c32bde28 13918static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) {
d55e5bfc
RD
13919 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13920 return 1;
13921}
13922
13923
093d3ff1 13924static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
d55e5bfc
RD
13925 PyObject *pyobj;
13926
13927 {
13928#if wxUSE_UNICODE
13929 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
13930#else
13931 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
13932#endif
13933 }
13934 return pyobj;
13935}
13936
13937
68350608
RD
13938static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject *) {
13939 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13940 return 1;
13941}
13942
13943
13944static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13945 PyObject *pyobj;
13946
13947 {
13948#if wxUSE_UNICODE
13949 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX)->Len());
13950#else
13951 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX)->Len());
13952#endif
13953 }
13954 return pyobj;
13955}
13956
13957
13958static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject *) {
13959 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13960 return 1;
13961}
13962
13963
13964static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13965 PyObject *pyobj;
13966
13967 {
13968#if wxUSE_UNICODE
13969 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY)->Len());
13970#else
13971 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY)->Len());
13972#endif
13973 }
13974 return pyobj;
13975}
13976
13977
c32bde28 13978static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) {
d55e5bfc
RD
13979 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13980 return 1;
13981}
13982
13983
093d3ff1 13984static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
d55e5bfc
RD
13985 PyObject *pyobj;
13986
13987 {
13988#if wxUSE_UNICODE
13989 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
13990#else
13991 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
13992#endif
13993 }
13994 return pyobj;
13995}
13996
13997
24d7cbea
RD
13998static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject *) {
13999 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_QUALITY is read-only.");
14000 return 1;
14001}
14002
14003
14004static PyObject *_wrap_IMAGE_OPTION_QUALITY_get(void) {
14005 PyObject *pyobj;
14006
14007 {
14008#if wxUSE_UNICODE
14009 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len());
14010#else
14011 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len());
14012#endif
14013 }
14014 return pyobj;
14015}
14016
14017
68350608
RD
14018static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject *) {
14019 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14020 return 1;
14021}
14022
14023
14024static PyObject *_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14025 PyObject *pyobj;
14026
14027 {
14028#if wxUSE_UNICODE
14029 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE)->Len());
14030#else
14031 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE)->Len());
14032#endif
14033 }
14034 return pyobj;
14035}
14036
14037
14038static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject *) {
14039 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14040 return 1;
14041}
14042
14043
14044static PyObject *_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14045 PyObject *pyobj;
14046
14047 {
14048#if wxUSE_UNICODE
14049 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->Len());
14050#else
14051 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->Len());
14052#endif
14053 }
14054 return pyobj;
14055}
14056
14057
14058static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject *) {
14059 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14060 return 1;
14061}
14062
14063
14064static PyObject *_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14065 PyObject *pyobj;
14066
14067 {
14068#if wxUSE_UNICODE
14069 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION)->Len());
14070#else
14071 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION)->Len());
14072#endif
14073 }
14074 return pyobj;
14075}
14076
14077
14078static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject *) {
14079 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14080 return 1;
14081}
14082
14083
14084static PyObject *_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14085 PyObject *pyobj;
14086
14087 {
14088#if wxUSE_UNICODE
14089 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->Len());
14090#else
14091 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->Len());
14092#endif
14093 }
14094 return pyobj;
14095}
14096
14097
b9d6a5f3
RD
14098static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject *) {
14099 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14100 return 1;
14101}
14102
14103
14104static PyObject *_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14105 PyObject *pyobj;
14106
14107 {
14108#if wxUSE_UNICODE
14109 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT)->Len());
14110#else
14111 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT)->Len());
14112#endif
14113 }
14114 return pyobj;
14115}
14116
14117
14118static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject *) {
14119 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14120 return 1;
14121}
14122
14123
14124static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14125 PyObject *pyobj;
14126
14127 {
14128#if wxUSE_UNICODE
14129 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH)->Len());
14130#else
14131 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH)->Len());
14132#endif
14133 }
14134 return pyobj;
14135}
14136
14137
c32bde28 14138static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14139 PyObject *resultobj;
14140 wxBMPHandler *result;
14141 char *kwnames[] = {
14142 NULL
14143 };
14144
14145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 result = (wxBMPHandler *)new wxBMPHandler();
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
14154 return resultobj;
14155 fail:
14156 return NULL;
14157}
14158
14159
c32bde28 14160static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14161 PyObject *obj;
14162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14163 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
14164 Py_INCREF(obj);
14165 return Py_BuildValue((char *)"");
14166}
c32bde28 14167static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14168 PyObject *resultobj;
14169 wxICOHandler *result;
14170 char *kwnames[] = {
14171 NULL
14172 };
14173
14174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 result = (wxICOHandler *)new wxICOHandler();
14178
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
14183 return resultobj;
14184 fail:
14185 return NULL;
14186}
14187
14188
c32bde28 14189static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14190 PyObject *obj;
14191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14192 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
14193 Py_INCREF(obj);
14194 return Py_BuildValue((char *)"");
14195}
c32bde28 14196static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14197 PyObject *resultobj;
14198 wxCURHandler *result;
14199 char *kwnames[] = {
14200 NULL
14201 };
14202
14203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 result = (wxCURHandler *)new wxCURHandler();
14207
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
14212 return resultobj;
14213 fail:
14214 return NULL;
14215}
14216
14217
c32bde28 14218static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14219 PyObject *obj;
14220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14221 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
14222 Py_INCREF(obj);
14223 return Py_BuildValue((char *)"");
14224}
c32bde28 14225static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14226 PyObject *resultobj;
14227 wxANIHandler *result;
14228 char *kwnames[] = {
14229 NULL
14230 };
14231
14232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (wxANIHandler *)new wxANIHandler();
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
14241 return resultobj;
14242 fail:
14243 return NULL;
14244}
14245
14246
c32bde28 14247static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14248 PyObject *obj;
14249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14250 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
14251 Py_INCREF(obj);
14252 return Py_BuildValue((char *)"");
14253}
c32bde28 14254static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14255 PyObject *resultobj;
14256 wxPNGHandler *result;
14257 char *kwnames[] = {
14258 NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (wxPNGHandler *)new wxPNGHandler();
14265
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
14269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
14270 return resultobj;
14271 fail:
14272 return NULL;
14273}
14274
14275
c32bde28 14276static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14277 PyObject *obj;
14278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14279 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
14280 Py_INCREF(obj);
14281 return Py_BuildValue((char *)"");
14282}
c32bde28 14283static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14284 PyObject *resultobj;
14285 wxGIFHandler *result;
14286 char *kwnames[] = {
14287 NULL
14288 };
14289
14290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
14291 {
14292 PyThreadState* __tstate = wxPyBeginAllowThreads();
14293 result = (wxGIFHandler *)new wxGIFHandler();
14294
14295 wxPyEndAllowThreads(__tstate);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
14299 return resultobj;
14300 fail:
14301 return NULL;
14302}
14303
14304
c32bde28 14305static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14306 PyObject *obj;
14307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14308 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
14309 Py_INCREF(obj);
14310 return Py_BuildValue((char *)"");
14311}
c32bde28 14312static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14313 PyObject *resultobj;
14314 wxPCXHandler *result;
14315 char *kwnames[] = {
14316 NULL
14317 };
14318
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 result = (wxPCXHandler *)new wxPCXHandler();
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
14328 return resultobj;
14329 fail:
14330 return NULL;
14331}
14332
14333
c32bde28 14334static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14335 PyObject *obj;
14336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14337 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
14338 Py_INCREF(obj);
14339 return Py_BuildValue((char *)"");
14340}
c32bde28 14341static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14342 PyObject *resultobj;
14343 wxJPEGHandler *result;
14344 char *kwnames[] = {
14345 NULL
14346 };
14347
14348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
14349 {
14350 PyThreadState* __tstate = wxPyBeginAllowThreads();
14351 result = (wxJPEGHandler *)new wxJPEGHandler();
14352
14353 wxPyEndAllowThreads(__tstate);
14354 if (PyErr_Occurred()) SWIG_fail;
14355 }
14356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
14357 return resultobj;
14358 fail:
14359 return NULL;
14360}
14361
14362
c32bde28 14363static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14364 PyObject *obj;
14365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14366 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
14367 Py_INCREF(obj);
14368 return Py_BuildValue((char *)"");
14369}
c32bde28 14370static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14371 PyObject *resultobj;
14372 wxPNMHandler *result;
14373 char *kwnames[] = {
14374 NULL
14375 };
14376
14377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 result = (wxPNMHandler *)new wxPNMHandler();
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
14386 return resultobj;
14387 fail:
14388 return NULL;
14389}
14390
14391
c32bde28 14392static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14393 PyObject *obj;
14394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14395 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
14396 Py_INCREF(obj);
14397 return Py_BuildValue((char *)"");
14398}
c32bde28 14399static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14400 PyObject *resultobj;
14401 wxXPMHandler *result;
14402 char *kwnames[] = {
14403 NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (wxXPMHandler *)new wxXPMHandler();
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
14415 return resultobj;
14416 fail:
14417 return NULL;
14418}
14419
14420
c32bde28 14421static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14422 PyObject *obj;
14423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14424 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
14425 Py_INCREF(obj);
14426 return Py_BuildValue((char *)"");
14427}
c32bde28 14428static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14429 PyObject *resultobj;
14430 wxTIFFHandler *result;
14431 char *kwnames[] = {
14432 NULL
14433 };
14434
14435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 result = (wxTIFFHandler *)new wxTIFFHandler();
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
14444 return resultobj;
14445 fail:
14446 return NULL;
14447}
14448
14449
c32bde28 14450static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14451 PyObject *obj;
14452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14453 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
14454 Py_INCREF(obj);
14455 return Py_BuildValue((char *)"");
14456}
c32bde28 14457static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) {
c0de73ae
RD
14458 PyObject *resultobj;
14459 wxImage *arg1 = 0 ;
14460 wxImage *arg2 = 0 ;
14461 int arg3 = (int) 236 ;
14462 int arg4 = (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE ;
14463 bool result;
14464 PyObject * obj0 = 0 ;
14465 PyObject * obj1 = 0 ;
14466 PyObject * obj2 = 0 ;
14467 PyObject * obj3 = 0 ;
14468 char *kwnames[] = {
14469 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14470 };
14471
14472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Quantize_Quantize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14473 {
14474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14475 if (SWIG_arg_fail(1)) SWIG_fail;
14476 if (arg1 == NULL) {
14477 SWIG_null_ref("wxImage");
14478 }
14479 if (SWIG_arg_fail(1)) SWIG_fail;
14480 }
14481 {
14482 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14483 if (SWIG_arg_fail(2)) SWIG_fail;
14484 if (arg2 == NULL) {
14485 SWIG_null_ref("wxImage");
14486 }
14487 if (SWIG_arg_fail(2)) SWIG_fail;
c0de73ae
RD
14488 }
14489 if (obj2) {
093d3ff1
RD
14490 {
14491 arg3 = (int)(SWIG_As_int(obj2));
14492 if (SWIG_arg_fail(3)) SWIG_fail;
14493 }
c0de73ae
RD
14494 }
14495 if (obj3) {
093d3ff1
RD
14496 {
14497 arg4 = (int)(SWIG_As_int(obj3));
14498 if (SWIG_arg_fail(4)) SWIG_fail;
14499 }
c0de73ae
RD
14500 }
14501 {
14502 PyThreadState* __tstate = wxPyBeginAllowThreads();
14503 result = (bool)Quantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4);
14504
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 {
14509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14510 }
14511 return resultobj;
14512 fail:
14513 return NULL;
14514}
14515
14516
c32bde28 14517static PyObject * Quantize_swigregister(PyObject *, PyObject *args) {
c0de73ae
RD
14518 PyObject *obj;
14519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14520 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize, obj);
14521 Py_INCREF(obj);
14522 return Py_BuildValue((char *)"");
14523}
c32bde28 14524static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14525 PyObject *resultobj;
14526 wxEvtHandler *result;
14527 char *kwnames[] = {
14528 NULL
14529 };
14530
14531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 result = (wxEvtHandler *)new wxEvtHandler();
14535
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
b0f7404b 14539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvtHandler, 1);
d55e5bfc
RD
14540 return resultobj;
14541 fail:
14542 return NULL;
14543}
14544
14545
c32bde28 14546static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14547 PyObject *resultobj;
14548 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14549 wxEvtHandler *result;
14550 PyObject * obj0 = 0 ;
14551 char *kwnames[] = {
14552 (char *) "self", NULL
14553 };
14554
14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
14556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 result = (wxEvtHandler *)(arg1)->GetNextHandler();
14561
14562 wxPyEndAllowThreads(__tstate);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 {
412d302d 14566 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
14567 }
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
c32bde28 14574static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14575 PyObject *resultobj;
14576 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14577 wxEvtHandler *result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
14584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 {
412d302d 14594 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
14595 }
14596 return resultobj;
14597 fail:
14598 return NULL;
14599}
14600
14601
c32bde28 14602static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14603 PyObject *resultobj;
14604 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14605 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
14606 PyObject * obj0 = 0 ;
14607 PyObject * obj1 = 0 ;
14608 char *kwnames[] = {
14609 (char *) "self",(char *) "handler", NULL
14610 };
14611
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14614 if (SWIG_arg_fail(1)) SWIG_fail;
14615 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14616 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
14617 {
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
14619 (arg1)->SetNextHandler(arg2);
14620
14621 wxPyEndAllowThreads(__tstate);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
14624 Py_INCREF(Py_None); resultobj = Py_None;
14625 return resultobj;
14626 fail:
14627 return NULL;
14628}
14629
14630
c32bde28 14631static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14632 PyObject *resultobj;
14633 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14634 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
14635 PyObject * obj0 = 0 ;
14636 PyObject * obj1 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self",(char *) "handler", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail;
14644 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14645 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
14646 {
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 (arg1)->SetPreviousHandler(arg2);
14649
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 Py_INCREF(Py_None); resultobj = Py_None;
14654 return resultobj;
14655 fail:
14656 return NULL;
14657}
14658
14659
c32bde28 14660static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14661 PyObject *resultobj;
14662 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14663 bool result;
14664 PyObject * obj0 = 0 ;
14665 char *kwnames[] = {
14666 (char *) "self", NULL
14667 };
14668
14669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
14670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14671 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14672 {
14673 PyThreadState* __tstate = wxPyBeginAllowThreads();
14674 result = (bool)(arg1)->GetEvtHandlerEnabled();
14675
14676 wxPyEndAllowThreads(__tstate);
14677 if (PyErr_Occurred()) SWIG_fail;
14678 }
14679 {
14680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14681 }
14682 return resultobj;
14683 fail:
14684 return NULL;
14685}
14686
14687
c32bde28 14688static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14689 PyObject *resultobj;
14690 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14691 bool arg2 ;
14692 PyObject * obj0 = 0 ;
14693 PyObject * obj1 = 0 ;
14694 char *kwnames[] = {
14695 (char *) "self",(char *) "enabled", NULL
14696 };
14697
14698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14700 if (SWIG_arg_fail(1)) SWIG_fail;
14701 {
14702 arg2 = (bool)(SWIG_As_bool(obj1));
14703 if (SWIG_arg_fail(2)) SWIG_fail;
14704 }
d55e5bfc
RD
14705 {
14706 PyThreadState* __tstate = wxPyBeginAllowThreads();
14707 (arg1)->SetEvtHandlerEnabled(arg2);
14708
14709 wxPyEndAllowThreads(__tstate);
14710 if (PyErr_Occurred()) SWIG_fail;
14711 }
14712 Py_INCREF(Py_None); resultobj = Py_None;
14713 return resultobj;
14714 fail:
14715 return NULL;
14716}
14717
14718
c32bde28 14719static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14720 PyObject *resultobj;
14721 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14722 wxEvent *arg2 = 0 ;
14723 bool result;
14724 PyObject * obj0 = 0 ;
14725 PyObject * obj1 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self",(char *) "event", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14732 if (SWIG_arg_fail(1)) SWIG_fail;
14733 {
14734 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
14735 if (SWIG_arg_fail(2)) SWIG_fail;
14736 if (arg2 == NULL) {
14737 SWIG_null_ref("wxEvent");
14738 }
14739 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
14740 }
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 result = (bool)(arg1)->ProcessEvent(*arg2);
14744
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 {
14749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14750 }
14751 return resultobj;
14752 fail:
14753 return NULL;
14754}
14755
14756
c32bde28 14757static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14758 PyObject *resultobj;
14759 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14760 wxEvent *arg2 = 0 ;
14761 PyObject * obj0 = 0 ;
14762 PyObject * obj1 = 0 ;
14763 char *kwnames[] = {
14764 (char *) "self",(char *) "event", NULL
14765 };
14766
14767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14769 if (SWIG_arg_fail(1)) SWIG_fail;
14770 {
14771 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
14772 if (SWIG_arg_fail(2)) SWIG_fail;
14773 if (arg2 == NULL) {
14774 SWIG_null_ref("wxEvent");
14775 }
14776 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
14777 }
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 (arg1)->AddPendingEvent(*arg2);
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 Py_INCREF(Py_None); resultobj = Py_None;
14786 return resultobj;
14787 fail:
14788 return NULL;
14789}
14790
14791
c32bde28 14792static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14793 PyObject *resultobj;
14794 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14795 PyObject * obj0 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
093d3ff1
RD
14801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 (arg1)->ProcessPendingEvents();
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 Py_INCREF(Py_None); resultobj = Py_None;
14811 return resultobj;
14812 fail:
14813 return NULL;
14814}
14815
14816
c32bde28 14817static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14818 PyObject *resultobj;
14819 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14820 int arg2 ;
14821 int arg3 ;
14822 int arg4 ;
14823 PyObject *arg5 = (PyObject *) 0 ;
14824 PyObject * obj0 = 0 ;
14825 PyObject * obj1 = 0 ;
14826 PyObject * obj2 = 0 ;
14827 PyObject * obj3 = 0 ;
14828 PyObject * obj4 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
14834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14835 if (SWIG_arg_fail(1)) SWIG_fail;
14836 {
14837 arg2 = (int)(SWIG_As_int(obj1));
14838 if (SWIG_arg_fail(2)) SWIG_fail;
14839 }
14840 {
14841 arg3 = (int)(SWIG_As_int(obj2));
14842 if (SWIG_arg_fail(3)) SWIG_fail;
14843 }
14844 {
14845 arg4 = (int)(SWIG_As_int(obj3));
14846 if (SWIG_arg_fail(4)) SWIG_fail;
14847 }
d55e5bfc
RD
14848 arg5 = obj4;
14849 {
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
14852
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 Py_INCREF(Py_None); resultobj = Py_None;
14857 return resultobj;
14858 fail:
14859 return NULL;
14860}
14861
14862
c32bde28 14863static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14864 PyObject *resultobj;
14865 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14866 int arg2 ;
14867 int arg3 = (int) -1 ;
14868 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
14869 bool result;
14870 PyObject * obj0 = 0 ;
14871 PyObject * obj1 = 0 ;
14872 PyObject * obj2 = 0 ;
14873 PyObject * obj3 = 0 ;
14874 char *kwnames[] = {
14875 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14876 };
14877
14878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14880 if (SWIG_arg_fail(1)) SWIG_fail;
14881 {
14882 arg2 = (int)(SWIG_As_int(obj1));
14883 if (SWIG_arg_fail(2)) SWIG_fail;
14884 }
d55e5bfc 14885 if (obj2) {
093d3ff1
RD
14886 {
14887 arg3 = (int)(SWIG_As_int(obj2));
14888 if (SWIG_arg_fail(3)) SWIG_fail;
14889 }
d55e5bfc
RD
14890 }
14891 if (obj3) {
093d3ff1
RD
14892 {
14893 arg4 = (wxEventType)(SWIG_As_int(obj3));
14894 if (SWIG_arg_fail(4)) SWIG_fail;
14895 }
d55e5bfc
RD
14896 }
14897 {
14898 PyThreadState* __tstate = wxPyBeginAllowThreads();
14899 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
14900
14901 wxPyEndAllowThreads(__tstate);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 {
14905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14906 }
14907 return resultobj;
14908 fail:
14909 return NULL;
14910}
14911
14912
c32bde28 14913static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14914 PyObject *resultobj;
14915 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
14916 PyObject *arg2 = (PyObject *) 0 ;
093d3ff1 14917 bool arg3 = (bool) true ;
d55e5bfc
RD
14918 PyObject * obj0 = 0 ;
14919 PyObject * obj1 = 0 ;
093d3ff1 14920 PyObject * obj2 = 0 ;
d55e5bfc 14921 char *kwnames[] = {
093d3ff1 14922 (char *) "self",(char *) "_self",(char *) "incref", NULL
d55e5bfc
RD
14923 };
14924
093d3ff1
RD
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:EvtHandler__setOORInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
14927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14928 arg2 = obj1;
093d3ff1
RD
14929 if (obj2) {
14930 {
14931 arg3 = (bool)(SWIG_As_bool(obj2));
14932 if (SWIG_arg_fail(3)) SWIG_fail;
14933 }
14934 }
d55e5bfc
RD
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14937 wxEvtHandler__setOORInfo(arg1,arg2,arg3);
d55e5bfc
RD
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 Py_INCREF(Py_None); resultobj = Py_None;
14943 return resultobj;
14944 fail:
14945 return NULL;
14946}
14947
14948
c32bde28 14949static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14950 PyObject *obj;
14951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14952 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
14953 Py_INCREF(obj);
14954 return Py_BuildValue((char *)"");
14955}
c32bde28 14956static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14957 PyObject *resultobj;
14958 wxEventType result;
14959 char *kwnames[] = {
14960 NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
14964 {
14965 PyThreadState* __tstate = wxPyBeginAllowThreads();
14966 result = (wxEventType)wxNewEventType();
14967
14968 wxPyEndAllowThreads(__tstate);
14969 if (PyErr_Occurred()) SWIG_fail;
14970 }
093d3ff1
RD
14971 {
14972 resultobj = SWIG_From_int((int)(result));
14973 }
d55e5bfc
RD
14974 return resultobj;
14975 fail:
14976 return NULL;
14977}
14978
14979
c32bde28 14980static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14981 PyObject *resultobj;
14982 wxEvent *arg1 = (wxEvent *) 0 ;
14983 PyObject * obj0 = 0 ;
14984 char *kwnames[] = {
14985 (char *) "self", NULL
14986 };
14987
14988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
093d3ff1
RD
14989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
14990 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14991 {
14992 PyThreadState* __tstate = wxPyBeginAllowThreads();
14993 delete arg1;
14994
14995 wxPyEndAllowThreads(__tstate);
14996 if (PyErr_Occurred()) SWIG_fail;
14997 }
14998 Py_INCREF(Py_None); resultobj = Py_None;
14999 return resultobj;
15000 fail:
15001 return NULL;
15002}
15003
15004
c32bde28 15005static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15006 PyObject *resultobj;
15007 wxEvent *arg1 = (wxEvent *) 0 ;
15008 wxEventType arg2 ;
15009 PyObject * obj0 = 0 ;
15010 PyObject * obj1 = 0 ;
15011 char *kwnames[] = {
15012 (char *) "self",(char *) "typ", NULL
15013 };
15014
15015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15017 if (SWIG_arg_fail(1)) SWIG_fail;
15018 {
15019 arg2 = (wxEventType)(SWIG_As_int(obj1));
15020 if (SWIG_arg_fail(2)) SWIG_fail;
15021 }
d55e5bfc
RD
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 (arg1)->SetEventType(arg2);
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 Py_INCREF(Py_None); resultobj = Py_None;
15030 return resultobj;
15031 fail:
15032 return NULL;
15033}
15034
15035
c32bde28 15036static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15037 PyObject *resultobj;
15038 wxEvent *arg1 = (wxEvent *) 0 ;
15039 wxEventType result;
15040 PyObject * obj0 = 0 ;
15041 char *kwnames[] = {
15042 (char *) "self", NULL
15043 };
15044
15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
093d3ff1
RD
15046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15048 {
15049 PyThreadState* __tstate = wxPyBeginAllowThreads();
15050 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
15051
15052 wxPyEndAllowThreads(__tstate);
15053 if (PyErr_Occurred()) SWIG_fail;
15054 }
093d3ff1
RD
15055 {
15056 resultobj = SWIG_From_int((int)(result));
15057 }
d55e5bfc
RD
15058 return resultobj;
15059 fail:
15060 return NULL;
15061}
15062
15063
c32bde28 15064static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15065 PyObject *resultobj;
15066 wxEvent *arg1 = (wxEvent *) 0 ;
15067 wxObject *result;
15068 PyObject * obj0 = 0 ;
15069 char *kwnames[] = {
15070 (char *) "self", NULL
15071 };
15072
15073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
15074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15075 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 {
412d302d 15084 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15085 }
15086 return resultobj;
15087 fail:
15088 return NULL;
15089}
15090
15091
c32bde28 15092static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15093 PyObject *resultobj;
15094 wxEvent *arg1 = (wxEvent *) 0 ;
15095 wxObject *arg2 = (wxObject *) 0 ;
15096 PyObject * obj0 = 0 ;
15097 PyObject * obj1 = 0 ;
15098 char *kwnames[] = {
15099 (char *) "self",(char *) "obj", NULL
15100 };
15101
15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15104 if (SWIG_arg_fail(1)) SWIG_fail;
15105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
15106 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
15109 (arg1)->SetEventObject(arg2);
15110
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 Py_INCREF(Py_None); resultobj = Py_None;
15115 return resultobj;
15116 fail:
15117 return NULL;
15118}
15119
15120
c32bde28 15121static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15122 PyObject *resultobj;
15123 wxEvent *arg1 = (wxEvent *) 0 ;
15124 long result;
15125 PyObject * obj0 = 0 ;
15126 char *kwnames[] = {
15127 (char *) "self", NULL
15128 };
15129
15130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
093d3ff1
RD
15131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15132 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 result = (long)((wxEvent const *)arg1)->GetTimestamp();
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
093d3ff1
RD
15140 {
15141 resultobj = SWIG_From_long((long)(result));
15142 }
d55e5bfc
RD
15143 return resultobj;
15144 fail:
15145 return NULL;
15146}
15147
15148
c32bde28 15149static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15150 PyObject *resultobj;
15151 wxEvent *arg1 = (wxEvent *) 0 ;
15152 long arg2 = (long) 0 ;
15153 PyObject * obj0 = 0 ;
15154 PyObject * obj1 = 0 ;
15155 char *kwnames[] = {
15156 (char *) "self",(char *) "ts", NULL
15157 };
15158
15159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 15162 if (obj1) {
093d3ff1
RD
15163 {
15164 arg2 = (long)(SWIG_As_long(obj1));
15165 if (SWIG_arg_fail(2)) SWIG_fail;
15166 }
d55e5bfc
RD
15167 }
15168 {
15169 PyThreadState* __tstate = wxPyBeginAllowThreads();
15170 (arg1)->SetTimestamp(arg2);
15171
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 Py_INCREF(Py_None); resultobj = Py_None;
15176 return resultobj;
15177 fail:
15178 return NULL;
15179}
15180
15181
c32bde28 15182static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15183 PyObject *resultobj;
15184 wxEvent *arg1 = (wxEvent *) 0 ;
15185 int result;
15186 PyObject * obj0 = 0 ;
15187 char *kwnames[] = {
15188 (char *) "self", NULL
15189 };
15190
15191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
15192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15193 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 result = (int)((wxEvent const *)arg1)->GetId();
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
093d3ff1
RD
15201 {
15202 resultobj = SWIG_From_int((int)(result));
15203 }
d55e5bfc
RD
15204 return resultobj;
15205 fail:
15206 return NULL;
15207}
15208
15209
c32bde28 15210static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15211 PyObject *resultobj;
15212 wxEvent *arg1 = (wxEvent *) 0 ;
15213 int arg2 ;
15214 PyObject * obj0 = 0 ;
15215 PyObject * obj1 = 0 ;
15216 char *kwnames[] = {
15217 (char *) "self",(char *) "Id", NULL
15218 };
15219
15220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15222 if (SWIG_arg_fail(1)) SWIG_fail;
15223 {
15224 arg2 = (int)(SWIG_As_int(obj1));
15225 if (SWIG_arg_fail(2)) SWIG_fail;
15226 }
d55e5bfc
RD
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 (arg1)->SetId(arg2);
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 Py_INCREF(Py_None); resultobj = Py_None;
15235 return resultobj;
15236 fail:
15237 return NULL;
15238}
15239
15240
c32bde28 15241static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15242 PyObject *resultobj;
15243 wxEvent *arg1 = (wxEvent *) 0 ;
15244 bool result;
15245 PyObject * obj0 = 0 ;
15246 char *kwnames[] = {
15247 (char *) "self", NULL
15248 };
15249
15250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
15251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 {
15261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15262 }
15263 return resultobj;
15264 fail:
15265 return NULL;
15266}
15267
15268
c32bde28 15269static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15270 PyObject *resultobj;
15271 wxEvent *arg1 = (wxEvent *) 0 ;
ae8162c8 15272 bool arg2 = (bool) true ;
d55e5bfc
RD
15273 PyObject * obj0 = 0 ;
15274 PyObject * obj1 = 0 ;
15275 char *kwnames[] = {
15276 (char *) "self",(char *) "skip", NULL
15277 };
15278
15279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 15282 if (obj1) {
093d3ff1
RD
15283 {
15284 arg2 = (bool)(SWIG_As_bool(obj1));
15285 if (SWIG_arg_fail(2)) SWIG_fail;
15286 }
d55e5bfc
RD
15287 }
15288 {
15289 PyThreadState* __tstate = wxPyBeginAllowThreads();
15290 (arg1)->Skip(arg2);
15291
15292 wxPyEndAllowThreads(__tstate);
15293 if (PyErr_Occurred()) SWIG_fail;
15294 }
15295 Py_INCREF(Py_None); resultobj = Py_None;
15296 return resultobj;
15297 fail:
15298 return NULL;
15299}
15300
15301
c32bde28 15302static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15303 PyObject *resultobj;
15304 wxEvent *arg1 = (wxEvent *) 0 ;
15305 bool result;
15306 PyObject * obj0 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
093d3ff1
RD
15312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = (bool)((wxEvent const *)arg1)->GetSkipped();
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 {
15322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15323 }
15324 return resultobj;
15325 fail:
15326 return NULL;
15327}
15328
15329
c32bde28 15330static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15331 PyObject *resultobj;
15332 wxEvent *arg1 = (wxEvent *) 0 ;
15333 bool result;
15334 PyObject * obj0 = 0 ;
15335 char *kwnames[] = {
15336 (char *) "self", NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
093d3ff1
RD
15340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15342 {
15343 PyThreadState* __tstate = wxPyBeginAllowThreads();
15344 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
15345
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 {
15350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15351 }
15352 return resultobj;
15353 fail:
15354 return NULL;
15355}
15356
15357
c32bde28 15358static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15359 PyObject *resultobj;
15360 wxEvent *arg1 = (wxEvent *) 0 ;
15361 int result;
15362 PyObject * obj0 = 0 ;
15363 char *kwnames[] = {
15364 (char *) "self", NULL
15365 };
15366
15367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
093d3ff1
RD
15368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15370 {
15371 PyThreadState* __tstate = wxPyBeginAllowThreads();
15372 result = (int)(arg1)->StopPropagation();
15373
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
093d3ff1
RD
15377 {
15378 resultobj = SWIG_From_int((int)(result));
15379 }
d55e5bfc
RD
15380 return resultobj;
15381 fail:
15382 return NULL;
15383}
15384
15385
c32bde28 15386static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15387 PyObject *resultobj;
15388 wxEvent *arg1 = (wxEvent *) 0 ;
15389 int arg2 ;
15390 PyObject * obj0 = 0 ;
15391 PyObject * obj1 = 0 ;
15392 char *kwnames[] = {
15393 (char *) "self",(char *) "propagationLevel", NULL
15394 };
15395
15396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15398 if (SWIG_arg_fail(1)) SWIG_fail;
15399 {
15400 arg2 = (int)(SWIG_As_int(obj1));
15401 if (SWIG_arg_fail(2)) SWIG_fail;
15402 }
d55e5bfc
RD
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 (arg1)->ResumePropagation(arg2);
15406
15407 wxPyEndAllowThreads(__tstate);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
15410 Py_INCREF(Py_None); resultobj = Py_None;
15411 return resultobj;
15412 fail:
15413 return NULL;
15414}
15415
15416
c32bde28 15417static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15418 PyObject *resultobj;
15419 wxEvent *arg1 = (wxEvent *) 0 ;
15420 wxEvent *result;
15421 PyObject * obj0 = 0 ;
15422 char *kwnames[] = {
15423 (char *) "self", NULL
15424 };
15425
15426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
093d3ff1
RD
15427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15429 {
15430 PyThreadState* __tstate = wxPyBeginAllowThreads();
15431 result = (wxEvent *)(arg1)->Clone();
15432
15433 wxPyEndAllowThreads(__tstate);
15434 if (PyErr_Occurred()) SWIG_fail;
15435 }
15436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
15437 return resultobj;
15438 fail:
15439 return NULL;
15440}
15441
15442
c32bde28 15443static PyObject * Event_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15444 PyObject *obj;
15445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15446 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
15447 Py_INCREF(obj);
15448 return Py_BuildValue((char *)"");
15449}
c32bde28 15450static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15451 PyObject *resultobj;
15452 wxEvent *arg1 = 0 ;
15453 wxPropagationDisabler *result;
15454 PyObject * obj0 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "event", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
093d3ff1
RD
15460 {
15461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail;
15463 if (arg1 == NULL) {
15464 SWIG_null_ref("wxEvent");
15465 }
15466 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15467 }
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
15476 return resultobj;
15477 fail:
15478 return NULL;
15479}
15480
15481
c32bde28 15482static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15483 PyObject *resultobj;
15484 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
15485 PyObject * obj0 = 0 ;
15486 char *kwnames[] = {
15487 (char *) "self", NULL
15488 };
15489
15490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
093d3ff1
RD
15491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPropagationDisabler, SWIG_POINTER_EXCEPTION | 0);
15492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15493 {
15494 PyThreadState* __tstate = wxPyBeginAllowThreads();
15495 delete arg1;
15496
15497 wxPyEndAllowThreads(__tstate);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
15500 Py_INCREF(Py_None); resultobj = Py_None;
15501 return resultobj;
15502 fail:
15503 return NULL;
15504}
15505
15506
c32bde28 15507static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15508 PyObject *obj;
15509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15510 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
15511 Py_INCREF(obj);
15512 return Py_BuildValue((char *)"");
15513}
c32bde28 15514static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15515 PyObject *resultobj;
15516 wxEvent *arg1 = 0 ;
15517 wxPropagateOnce *result;
15518 PyObject * obj0 = 0 ;
15519 char *kwnames[] = {
15520 (char *) "event", NULL
15521 };
15522
15523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
093d3ff1
RD
15524 {
15525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15526 if (SWIG_arg_fail(1)) SWIG_fail;
15527 if (arg1 == NULL) {
15528 SWIG_null_ref("wxEvent");
15529 }
15530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15531 }
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
15535
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
15540 return resultobj;
15541 fail:
15542 return NULL;
15543}
15544
15545
c32bde28 15546static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15547 PyObject *resultobj;
15548 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
15549 PyObject * obj0 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "self", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
093d3ff1
RD
15555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPropagateOnce, SWIG_POINTER_EXCEPTION | 0);
15556 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15557 {
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 delete arg1;
15560
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 Py_INCREF(Py_None); resultobj = Py_None;
15565 return resultobj;
15566 fail:
15567 return NULL;
15568}
15569
15570
c32bde28 15571static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15572 PyObject *obj;
15573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15574 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
15575 Py_INCREF(obj);
15576 return Py_BuildValue((char *)"");
15577}
c32bde28 15578static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15579 PyObject *resultobj;
15580 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15581 int arg2 = (int) 0 ;
15582 wxCommandEvent *result;
15583 PyObject * obj0 = 0 ;
15584 PyObject * obj1 = 0 ;
15585 char *kwnames[] = {
15586 (char *) "commandType",(char *) "winid", NULL
15587 };
15588
15589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
15590 if (obj0) {
093d3ff1
RD
15591 {
15592 arg1 = (wxEventType)(SWIG_As_int(obj0));
15593 if (SWIG_arg_fail(1)) SWIG_fail;
15594 }
d55e5bfc
RD
15595 }
15596 if (obj1) {
093d3ff1
RD
15597 {
15598 arg2 = (int)(SWIG_As_int(obj1));
15599 if (SWIG_arg_fail(2)) SWIG_fail;
15600 }
d55e5bfc
RD
15601 }
15602 {
15603 PyThreadState* __tstate = wxPyBeginAllowThreads();
15604 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
15605
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
15610 return resultobj;
15611 fail:
15612 return NULL;
15613}
15614
15615
c32bde28 15616static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15617 PyObject *resultobj;
15618 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15619 int result;
15620 PyObject * obj0 = 0 ;
15621 char *kwnames[] = {
15622 (char *) "self", NULL
15623 };
15624
15625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
15626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15628 {
15629 PyThreadState* __tstate = wxPyBeginAllowThreads();
15630 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
15631
15632 wxPyEndAllowThreads(__tstate);
15633 if (PyErr_Occurred()) SWIG_fail;
15634 }
093d3ff1
RD
15635 {
15636 resultobj = SWIG_From_int((int)(result));
15637 }
d55e5bfc
RD
15638 return resultobj;
15639 fail:
15640 return NULL;
15641}
15642
15643
c32bde28 15644static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15645 PyObject *resultobj;
15646 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15647 wxString *arg2 = 0 ;
ae8162c8 15648 bool temp2 = false ;
d55e5bfc
RD
15649 PyObject * obj0 = 0 ;
15650 PyObject * obj1 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "self",(char *) "s", NULL
15653 };
15654
15655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15658 {
15659 arg2 = wxString_in_helper(obj1);
15660 if (arg2 == NULL) SWIG_fail;
ae8162c8 15661 temp2 = true;
d55e5bfc
RD
15662 }
15663 {
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
15665 (arg1)->SetString((wxString const &)*arg2);
15666
15667 wxPyEndAllowThreads(__tstate);
15668 if (PyErr_Occurred()) SWIG_fail;
15669 }
15670 Py_INCREF(Py_None); resultobj = Py_None;
15671 {
15672 if (temp2)
15673 delete arg2;
15674 }
15675 return resultobj;
15676 fail:
15677 {
15678 if (temp2)
15679 delete arg2;
15680 }
15681 return NULL;
15682}
15683
15684
c32bde28 15685static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15686 PyObject *resultobj;
15687 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15688 wxString result;
15689 PyObject * obj0 = 0 ;
15690 char *kwnames[] = {
15691 (char *) "self", NULL
15692 };
15693
15694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
093d3ff1
RD
15695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15696 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 result = ((wxCommandEvent const *)arg1)->GetString();
15700
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 {
15705#if wxUSE_UNICODE
15706 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15707#else
15708 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15709#endif
15710 }
15711 return resultobj;
15712 fail:
15713 return NULL;
15714}
15715
15716
c32bde28 15717static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15718 PyObject *resultobj;
15719 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15720 bool result;
15721 PyObject * obj0 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
15727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15728 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 {
15737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15738 }
15739 return resultobj;
15740 fail:
15741 return NULL;
15742}
15743
15744
c32bde28 15745static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15746 PyObject *resultobj;
15747 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15748 bool result;
15749 PyObject * obj0 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
15755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15757 {
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
15760
15761 wxPyEndAllowThreads(__tstate);
15762 if (PyErr_Occurred()) SWIG_fail;
15763 }
15764 {
15765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15766 }
15767 return resultobj;
15768 fail:
15769 return NULL;
15770}
15771
15772
c32bde28 15773static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15774 PyObject *resultobj;
15775 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15776 long arg2 ;
15777 PyObject * obj0 = 0 ;
15778 PyObject * obj1 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "self",(char *) "extraLong", NULL
15781 };
15782
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15785 if (SWIG_arg_fail(1)) SWIG_fail;
15786 {
15787 arg2 = (long)(SWIG_As_long(obj1));
15788 if (SWIG_arg_fail(2)) SWIG_fail;
15789 }
d55e5bfc
RD
15790 {
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 (arg1)->SetExtraLong(arg2);
15793
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 Py_INCREF(Py_None); resultobj = Py_None;
15798 return resultobj;
15799 fail:
15800 return NULL;
15801}
15802
15803
c32bde28 15804static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15805 PyObject *resultobj;
15806 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15807 long result;
15808 PyObject * obj0 = 0 ;
15809 char *kwnames[] = {
15810 (char *) "self", NULL
15811 };
15812
15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
093d3ff1
RD
15814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15816 {
15817 PyThreadState* __tstate = wxPyBeginAllowThreads();
15818 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
15819
15820 wxPyEndAllowThreads(__tstate);
15821 if (PyErr_Occurred()) SWIG_fail;
15822 }
093d3ff1
RD
15823 {
15824 resultobj = SWIG_From_long((long)(result));
15825 }
d55e5bfc
RD
15826 return resultobj;
15827 fail:
15828 return NULL;
15829}
15830
15831
c32bde28 15832static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15833 PyObject *resultobj;
15834 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15835 int arg2 ;
15836 PyObject * obj0 = 0 ;
15837 PyObject * obj1 = 0 ;
15838 char *kwnames[] = {
15839 (char *) "self",(char *) "i", NULL
15840 };
15841
15842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15844 if (SWIG_arg_fail(1)) SWIG_fail;
15845 {
15846 arg2 = (int)(SWIG_As_int(obj1));
15847 if (SWIG_arg_fail(2)) SWIG_fail;
15848 }
d55e5bfc
RD
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 (arg1)->SetInt(arg2);
15852
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 Py_INCREF(Py_None); resultobj = Py_None;
15857 return resultobj;
15858 fail:
15859 return NULL;
15860}
15861
15862
c32bde28 15863static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15864 PyObject *resultobj;
15865 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15866 long result;
15867 PyObject * obj0 = 0 ;
15868 char *kwnames[] = {
15869 (char *) "self", NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
093d3ff1
RD
15873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15874 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15875 {
15876 PyThreadState* __tstate = wxPyBeginAllowThreads();
15877 result = (long)((wxCommandEvent const *)arg1)->GetInt();
15878
15879 wxPyEndAllowThreads(__tstate);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
093d3ff1
RD
15882 {
15883 resultobj = SWIG_From_long((long)(result));
15884 }
d55e5bfc
RD
15885 return resultobj;
15886 fail:
15887 return NULL;
15888}
15889
15890
c32bde28 15891static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15892 PyObject *resultobj;
15893 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
15894 wxEvent *result;
15895 PyObject * obj0 = 0 ;
15896 char *kwnames[] = {
15897 (char *) "self", NULL
15898 };
15899
15900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
093d3ff1
RD
15901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
15902 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15903 {
15904 PyThreadState* __tstate = wxPyBeginAllowThreads();
15905 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
15906
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
15911 return resultobj;
15912 fail:
15913 return NULL;
15914}
15915
15916
c32bde28 15917static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15918 PyObject *obj;
15919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15920 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
15921 Py_INCREF(obj);
15922 return Py_BuildValue((char *)"");
15923}
c32bde28 15924static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15925 PyObject *resultobj;
15926 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15927 int arg2 = (int) 0 ;
15928 wxNotifyEvent *result;
15929 PyObject * obj0 = 0 ;
15930 PyObject * obj1 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "commandType",(char *) "winid", NULL
15933 };
15934
15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
15936 if (obj0) {
093d3ff1
RD
15937 {
15938 arg1 = (wxEventType)(SWIG_As_int(obj0));
15939 if (SWIG_arg_fail(1)) SWIG_fail;
15940 }
d55e5bfc
RD
15941 }
15942 if (obj1) {
093d3ff1
RD
15943 {
15944 arg2 = (int)(SWIG_As_int(obj1));
15945 if (SWIG_arg_fail(2)) SWIG_fail;
15946 }
d55e5bfc
RD
15947 }
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
15956 return resultobj;
15957 fail:
15958 return NULL;
15959}
15960
15961
c32bde28 15962static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15963 PyObject *resultobj;
15964 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
15965 PyObject * obj0 = 0 ;
15966 char *kwnames[] = {
15967 (char *) "self", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
093d3ff1
RD
15971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0);
15972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15973 {
15974 PyThreadState* __tstate = wxPyBeginAllowThreads();
15975 (arg1)->Veto();
15976
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 Py_INCREF(Py_None); resultobj = Py_None;
15981 return resultobj;
15982 fail:
15983 return NULL;
15984}
15985
15986
c32bde28 15987static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15988 PyObject *resultobj;
15989 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
15990 PyObject * obj0 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
093d3ff1
RD
15996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0);
15997 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 (arg1)->Allow();
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 Py_INCREF(Py_None); resultobj = Py_None;
16006 return resultobj;
16007 fail:
16008 return NULL;
16009}
16010
16011
c32bde28 16012static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16013 PyObject *resultobj;
16014 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
16015 bool result;
16016 PyObject * obj0 = 0 ;
16017 char *kwnames[] = {
16018 (char *) "self", NULL
16019 };
16020
16021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
093d3ff1
RD
16022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0);
16023 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 result = (bool)(arg1)->IsAllowed();
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 {
16032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16033 }
16034 return resultobj;
16035 fail:
16036 return NULL;
16037}
16038
16039
c32bde28 16040static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16041 PyObject *obj;
16042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16043 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
16044 Py_INCREF(obj);
16045 return Py_BuildValue((char *)"");
16046}
c32bde28 16047static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16048 PyObject *resultobj;
16049 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16050 int arg2 = (int) 0 ;
16051 int arg3 = (int) 0 ;
16052 int arg4 = (int) 0 ;
16053 wxScrollEvent *result;
16054 PyObject * obj0 = 0 ;
16055 PyObject * obj1 = 0 ;
16056 PyObject * obj2 = 0 ;
16057 PyObject * obj3 = 0 ;
16058 char *kwnames[] = {
16059 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16060 };
16061
16062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16063 if (obj0) {
093d3ff1
RD
16064 {
16065 arg1 = (wxEventType)(SWIG_As_int(obj0));
16066 if (SWIG_arg_fail(1)) SWIG_fail;
16067 }
d55e5bfc
RD
16068 }
16069 if (obj1) {
093d3ff1
RD
16070 {
16071 arg2 = (int)(SWIG_As_int(obj1));
16072 if (SWIG_arg_fail(2)) SWIG_fail;
16073 }
d55e5bfc
RD
16074 }
16075 if (obj2) {
093d3ff1
RD
16076 {
16077 arg3 = (int)(SWIG_As_int(obj2));
16078 if (SWIG_arg_fail(3)) SWIG_fail;
16079 }
d55e5bfc
RD
16080 }
16081 if (obj3) {
093d3ff1
RD
16082 {
16083 arg4 = (int)(SWIG_As_int(obj3));
16084 if (SWIG_arg_fail(4)) SWIG_fail;
16085 }
d55e5bfc
RD
16086 }
16087 {
16088 PyThreadState* __tstate = wxPyBeginAllowThreads();
16089 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
16090
16091 wxPyEndAllowThreads(__tstate);
16092 if (PyErr_Occurred()) SWIG_fail;
16093 }
16094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
16095 return resultobj;
16096 fail:
16097 return NULL;
16098}
16099
16100
c32bde28 16101static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16102 PyObject *resultobj;
16103 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16104 int result;
16105 PyObject * obj0 = 0 ;
16106 char *kwnames[] = {
16107 (char *) "self", NULL
16108 };
16109
16110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
16111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16112 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16113 {
16114 PyThreadState* __tstate = wxPyBeginAllowThreads();
16115 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
093d3ff1
RD
16120 {
16121 resultobj = SWIG_From_int((int)(result));
16122 }
d55e5bfc
RD
16123 return resultobj;
16124 fail:
16125 return NULL;
16126}
16127
16128
c32bde28 16129static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16130 PyObject *resultobj;
16131 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16132 int result;
16133 PyObject * obj0 = 0 ;
16134 char *kwnames[] = {
16135 (char *) "self", NULL
16136 };
16137
16138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
16139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16141 {
16142 PyThreadState* __tstate = wxPyBeginAllowThreads();
16143 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
16144
16145 wxPyEndAllowThreads(__tstate);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 }
093d3ff1
RD
16148 {
16149 resultobj = SWIG_From_int((int)(result));
16150 }
d55e5bfc
RD
16151 return resultobj;
16152 fail:
16153 return NULL;
16154}
16155
16156
c32bde28 16157static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16158 PyObject *resultobj;
16159 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16160 int arg2 ;
16161 PyObject * obj0 = 0 ;
16162 PyObject * obj1 = 0 ;
16163 char *kwnames[] = {
16164 (char *) "self",(char *) "orient", NULL
16165 };
16166
16167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16169 if (SWIG_arg_fail(1)) SWIG_fail;
16170 {
16171 arg2 = (int)(SWIG_As_int(obj1));
16172 if (SWIG_arg_fail(2)) SWIG_fail;
16173 }
d55e5bfc
RD
16174 {
16175 PyThreadState* __tstate = wxPyBeginAllowThreads();
16176 (arg1)->SetOrientation(arg2);
16177
16178 wxPyEndAllowThreads(__tstate);
16179 if (PyErr_Occurred()) SWIG_fail;
16180 }
16181 Py_INCREF(Py_None); resultobj = Py_None;
16182 return resultobj;
16183 fail:
16184 return NULL;
16185}
16186
16187
c32bde28 16188static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16189 PyObject *resultobj;
16190 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16191 int arg2 ;
16192 PyObject * obj0 = 0 ;
16193 PyObject * obj1 = 0 ;
16194 char *kwnames[] = {
16195 (char *) "self",(char *) "pos", NULL
16196 };
16197
16198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16200 if (SWIG_arg_fail(1)) SWIG_fail;
16201 {
16202 arg2 = (int)(SWIG_As_int(obj1));
16203 if (SWIG_arg_fail(2)) SWIG_fail;
16204 }
d55e5bfc
RD
16205 {
16206 PyThreadState* __tstate = wxPyBeginAllowThreads();
16207 (arg1)->SetPosition(arg2);
16208
16209 wxPyEndAllowThreads(__tstate);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 }
16212 Py_INCREF(Py_None); resultobj = Py_None;
16213 return resultobj;
16214 fail:
16215 return NULL;
16216}
16217
16218
c32bde28 16219static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16220 PyObject *obj;
16221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16222 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
16223 Py_INCREF(obj);
16224 return Py_BuildValue((char *)"");
16225}
c32bde28 16226static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16227 PyObject *resultobj;
16228 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16229 int arg2 = (int) 0 ;
16230 int arg3 = (int) 0 ;
16231 wxScrollWinEvent *result;
16232 PyObject * obj0 = 0 ;
16233 PyObject * obj1 = 0 ;
16234 PyObject * obj2 = 0 ;
16235 char *kwnames[] = {
16236 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16237 };
16238
16239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16240 if (obj0) {
093d3ff1
RD
16241 {
16242 arg1 = (wxEventType)(SWIG_As_int(obj0));
16243 if (SWIG_arg_fail(1)) SWIG_fail;
16244 }
d55e5bfc
RD
16245 }
16246 if (obj1) {
093d3ff1
RD
16247 {
16248 arg2 = (int)(SWIG_As_int(obj1));
16249 if (SWIG_arg_fail(2)) SWIG_fail;
16250 }
d55e5bfc
RD
16251 }
16252 if (obj2) {
093d3ff1
RD
16253 {
16254 arg3 = (int)(SWIG_As_int(obj2));
16255 if (SWIG_arg_fail(3)) SWIG_fail;
16256 }
d55e5bfc
RD
16257 }
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
16266 return resultobj;
16267 fail:
16268 return NULL;
16269}
16270
16271
c32bde28 16272static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16273 PyObject *resultobj;
16274 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
16275 int result;
16276 PyObject * obj0 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
16282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
16283 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16284 {
16285 PyThreadState* __tstate = wxPyBeginAllowThreads();
16286 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
16287
16288 wxPyEndAllowThreads(__tstate);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
093d3ff1
RD
16291 {
16292 resultobj = SWIG_From_int((int)(result));
16293 }
d55e5bfc
RD
16294 return resultobj;
16295 fail:
16296 return NULL;
16297}
16298
16299
c32bde28 16300static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16301 PyObject *resultobj;
16302 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
16303 int result;
16304 PyObject * obj0 = 0 ;
16305 char *kwnames[] = {
16306 (char *) "self", NULL
16307 };
16308
16309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
16310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
16311 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
16315
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
093d3ff1
RD
16319 {
16320 resultobj = SWIG_From_int((int)(result));
16321 }
d55e5bfc
RD
16322 return resultobj;
16323 fail:
16324 return NULL;
16325}
16326
16327
c32bde28 16328static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16329 PyObject *resultobj;
16330 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
16331 int arg2 ;
16332 PyObject * obj0 = 0 ;
16333 PyObject * obj1 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self",(char *) "orient", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
16340 if (SWIG_arg_fail(1)) SWIG_fail;
16341 {
16342 arg2 = (int)(SWIG_As_int(obj1));
16343 if (SWIG_arg_fail(2)) SWIG_fail;
16344 }
d55e5bfc
RD
16345 {
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 (arg1)->SetOrientation(arg2);
16348
16349 wxPyEndAllowThreads(__tstate);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 Py_INCREF(Py_None); resultobj = Py_None;
16353 return resultobj;
16354 fail:
16355 return NULL;
16356}
16357
16358
c32bde28 16359static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16360 PyObject *resultobj;
16361 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
16362 int arg2 ;
16363 PyObject * obj0 = 0 ;
16364 PyObject * obj1 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self",(char *) "pos", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
16371 if (SWIG_arg_fail(1)) SWIG_fail;
16372 {
16373 arg2 = (int)(SWIG_As_int(obj1));
16374 if (SWIG_arg_fail(2)) SWIG_fail;
16375 }
d55e5bfc
RD
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 (arg1)->SetPosition(arg2);
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 Py_INCREF(Py_None); resultobj = Py_None;
16384 return resultobj;
16385 fail:
16386 return NULL;
16387}
16388
16389
c32bde28 16390static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16391 PyObject *obj;
16392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16393 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
16394 Py_INCREF(obj);
16395 return Py_BuildValue((char *)"");
16396}
c32bde28 16397static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16398 PyObject *resultobj;
16399 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16400 wxMouseEvent *result;
16401 PyObject * obj0 = 0 ;
16402 char *kwnames[] = {
16403 (char *) "mouseType", NULL
16404 };
16405
16406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
16407 if (obj0) {
093d3ff1
RD
16408 {
16409 arg1 = (wxEventType)(SWIG_As_int(obj0));
16410 if (SWIG_arg_fail(1)) SWIG_fail;
16411 }
d55e5bfc
RD
16412 }
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 result = (wxMouseEvent *)new wxMouseEvent(arg1);
16416
16417 wxPyEndAllowThreads(__tstate);
16418 if (PyErr_Occurred()) SWIG_fail;
16419 }
16420 {
412d302d 16421 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
16422 }
16423 return resultobj;
16424 fail:
16425 return NULL;
16426}
16427
16428
c32bde28 16429static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16430 PyObject *resultobj;
16431 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16432 bool result;
16433 PyObject * obj0 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "self", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
16439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16441 {
16442 PyThreadState* __tstate = wxPyBeginAllowThreads();
16443 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
16444
16445 wxPyEndAllowThreads(__tstate);
16446 if (PyErr_Occurred()) SWIG_fail;
16447 }
16448 {
16449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16450 }
16451 return resultobj;
16452 fail:
16453 return NULL;
16454}
16455
16456
c32bde28 16457static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16458 PyObject *resultobj;
16459 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16460 int arg2 = (int) wxMOUSE_BTN_ANY ;
16461 bool result;
16462 PyObject * obj0 = 0 ;
16463 PyObject * obj1 = 0 ;
16464 char *kwnames[] = {
16465 (char *) "self",(char *) "but", NULL
16466 };
16467
16468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16471 if (obj1) {
093d3ff1
RD
16472 {
16473 arg2 = (int)(SWIG_As_int(obj1));
16474 if (SWIG_arg_fail(2)) SWIG_fail;
16475 }
d55e5bfc
RD
16476 }
16477 {
16478 PyThreadState* __tstate = wxPyBeginAllowThreads();
16479 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
16480
16481 wxPyEndAllowThreads(__tstate);
16482 if (PyErr_Occurred()) SWIG_fail;
16483 }
16484 {
16485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16486 }
16487 return resultobj;
16488 fail:
16489 return NULL;
16490}
16491
16492
c32bde28 16493static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16494 PyObject *resultobj;
16495 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16496 int arg2 = (int) wxMOUSE_BTN_ANY ;
16497 bool result;
16498 PyObject * obj0 = 0 ;
16499 PyObject * obj1 = 0 ;
16500 char *kwnames[] = {
16501 (char *) "self",(char *) "but", NULL
16502 };
16503
16504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16506 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16507 if (obj1) {
093d3ff1
RD
16508 {
16509 arg2 = (int)(SWIG_As_int(obj1));
16510 if (SWIG_arg_fail(2)) SWIG_fail;
16511 }
d55e5bfc
RD
16512 }
16513 {
16514 PyThreadState* __tstate = wxPyBeginAllowThreads();
16515 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
16516
16517 wxPyEndAllowThreads(__tstate);
16518 if (PyErr_Occurred()) SWIG_fail;
16519 }
16520 {
16521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16522 }
16523 return resultobj;
16524 fail:
16525 return NULL;
16526}
16527
16528
c32bde28 16529static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16530 PyObject *resultobj;
16531 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16532 int arg2 = (int) wxMOUSE_BTN_ANY ;
16533 bool result;
16534 PyObject * obj0 = 0 ;
16535 PyObject * obj1 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self",(char *) "but", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16542 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16543 if (obj1) {
093d3ff1
RD
16544 {
16545 arg2 = (int)(SWIG_As_int(obj1));
16546 if (SWIG_arg_fail(2)) SWIG_fail;
16547 }
d55e5bfc
RD
16548 }
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
16552
16553 wxPyEndAllowThreads(__tstate);
16554 if (PyErr_Occurred()) SWIG_fail;
16555 }
16556 {
16557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16558 }
16559 return resultobj;
16560 fail:
16561 return NULL;
16562}
16563
16564
c32bde28 16565static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16566 PyObject *resultobj;
16567 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16568 int arg2 ;
16569 bool result;
16570 PyObject * obj0 = 0 ;
16571 PyObject * obj1 = 0 ;
16572 char *kwnames[] = {
27fb7603 16573 (char *) "self",(char *) "button", NULL
d55e5bfc
RD
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16578 if (SWIG_arg_fail(1)) SWIG_fail;
16579 {
16580 arg2 = (int)(SWIG_As_int(obj1));
16581 if (SWIG_arg_fail(2)) SWIG_fail;
16582 }
d55e5bfc
RD
16583 {
16584 PyThreadState* __tstate = wxPyBeginAllowThreads();
16585 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
16586
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 {
16591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16592 }
16593 return resultobj;
16594 fail:
16595 return NULL;
16596}
16597
16598
c32bde28 16599static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16600 PyObject *resultobj;
16601 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16602 int arg2 ;
16603 bool result;
16604 PyObject * obj0 = 0 ;
16605 PyObject * obj1 = 0 ;
16606 char *kwnames[] = {
16607 (char *) "self",(char *) "but", NULL
16608 };
16609
16610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16612 if (SWIG_arg_fail(1)) SWIG_fail;
16613 {
16614 arg2 = (int)(SWIG_As_int(obj1));
16615 if (SWIG_arg_fail(2)) SWIG_fail;
16616 }
d55e5bfc
RD
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
16620
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 {
16625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16626 }
16627 return resultobj;
16628 fail:
16629 return NULL;
16630}
16631
16632
c32bde28 16633static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16634 PyObject *resultobj;
16635 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16636 int result;
16637 PyObject * obj0 = 0 ;
16638 char *kwnames[] = {
16639 (char *) "self", NULL
16640 };
16641
16642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
16643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16644 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16645 {
16646 PyThreadState* __tstate = wxPyBeginAllowThreads();
16647 result = (int)((wxMouseEvent const *)arg1)->GetButton();
16648
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
093d3ff1
RD
16652 {
16653 resultobj = SWIG_From_int((int)(result));
16654 }
d55e5bfc
RD
16655 return resultobj;
16656 fail:
16657 return NULL;
16658}
16659
16660
c32bde28 16661static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16662 PyObject *resultobj;
16663 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16664 bool result;
16665 PyObject * obj0 = 0 ;
16666 char *kwnames[] = {
16667 (char *) "self", NULL
16668 };
16669
16670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
16671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16672 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16673 {
16674 PyThreadState* __tstate = wxPyBeginAllowThreads();
16675 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
16676
16677 wxPyEndAllowThreads(__tstate);
16678 if (PyErr_Occurred()) SWIG_fail;
16679 }
16680 {
16681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16682 }
16683 return resultobj;
16684 fail:
16685 return NULL;
16686}
16687
16688
c32bde28 16689static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16690 PyObject *resultobj;
16691 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16692 bool result;
16693 PyObject * obj0 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self", NULL
16696 };
16697
16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
16699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 {
16709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16710 }
16711 return resultobj;
16712 fail:
16713 return NULL;
16714}
16715
16716
c32bde28 16717static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16718 PyObject *resultobj;
16719 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16720 bool result;
16721 PyObject * obj0 = 0 ;
16722 char *kwnames[] = {
16723 (char *) "self", NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
16727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16728 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
16732
16733 wxPyEndAllowThreads(__tstate);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
16736 {
16737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16738 }
16739 return resultobj;
16740 fail:
16741 return NULL;
16742}
16743
16744
c32bde28 16745static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16746 PyObject *resultobj;
16747 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16748 bool result;
16749 PyObject * obj0 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "self", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
16755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
16760
16761 wxPyEndAllowThreads(__tstate);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
16764 {
16765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16766 }
16767 return resultobj;
16768 fail:
16769 return NULL;
16770}
16771
16772
c32bde28 16773static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
412d302d
RD
16774 PyObject *resultobj;
16775 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16776 bool result;
16777 PyObject * obj0 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_CmdDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
16783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail;
412d302d
RD
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 result = (bool)((wxMouseEvent const *)arg1)->CmdDown();
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 {
16793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16794 }
16795 return resultobj;
16796 fail:
16797 return NULL;
16798}
16799
16800
c32bde28 16801static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16802 PyObject *resultobj;
16803 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16804 bool result;
16805 PyObject * obj0 = 0 ;
16806 char *kwnames[] = {
16807 (char *) "self", NULL
16808 };
16809
16810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
16811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 {
16821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16822 }
16823 return resultobj;
16824 fail:
16825 return NULL;
16826}
16827
16828
c32bde28 16829static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16830 PyObject *resultobj;
16831 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16832 bool result;
16833 PyObject * obj0 = 0 ;
16834 char *kwnames[] = {
16835 (char *) "self", NULL
16836 };
16837
16838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
16839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16841 {
16842 PyThreadState* __tstate = wxPyBeginAllowThreads();
16843 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
16844
16845 wxPyEndAllowThreads(__tstate);
16846 if (PyErr_Occurred()) SWIG_fail;
16847 }
16848 {
16849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16850 }
16851 return resultobj;
16852 fail:
16853 return NULL;
16854}
16855
16856
c32bde28 16857static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16858 PyObject *resultobj;
16859 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16860 bool result;
16861 PyObject * obj0 = 0 ;
16862 char *kwnames[] = {
16863 (char *) "self", NULL
16864 };
16865
16866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
16867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16868 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 {
16877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16878 }
16879 return resultobj;
16880 fail:
16881 return NULL;
16882}
16883
16884
c32bde28 16885static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16886 PyObject *resultobj;
16887 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16888 bool result;
16889 PyObject * obj0 = 0 ;
16890 char *kwnames[] = {
16891 (char *) "self", NULL
16892 };
16893
16894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
093d3ff1
RD
16895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16896 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16897 {
16898 PyThreadState* __tstate = wxPyBeginAllowThreads();
16899 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
16900
16901 wxPyEndAllowThreads(__tstate);
16902 if (PyErr_Occurred()) SWIG_fail;
16903 }
16904 {
16905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16906 }
16907 return resultobj;
16908 fail:
16909 return NULL;
16910}
16911
16912
c32bde28 16913static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16914 PyObject *resultobj;
16915 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16916 bool result;
16917 PyObject * obj0 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
093d3ff1
RD
16923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 {
16933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16934 }
16935 return resultobj;
16936 fail:
16937 return NULL;
16938}
16939
16940
c32bde28 16941static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16942 PyObject *resultobj;
16943 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16944 bool result;
16945 PyObject * obj0 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self", NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
093d3ff1
RD
16951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 {
16961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16962 }
16963 return resultobj;
16964 fail:
16965 return NULL;
16966}
16967
16968
c32bde28 16969static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16970 PyObject *resultobj;
16971 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
16972 bool result;
16973 PyObject * obj0 = 0 ;
16974 char *kwnames[] = {
16975 (char *) "self", NULL
16976 };
16977
16978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
093d3ff1
RD
16979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
16980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 {
16989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16990 }
16991 return resultobj;
16992 fail:
16993 return NULL;
16994}
16995
16996
c32bde28 16997static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16998 PyObject *resultobj;
16999 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17000 bool result;
17001 PyObject * obj0 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
093d3ff1
RD
17007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17008 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 {
17017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17018 }
17019 return resultobj;
17020 fail:
17021 return NULL;
17022}
17023
17024
c32bde28 17025static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17026 PyObject *resultobj;
17027 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17028 bool result;
17029 PyObject * obj0 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
093d3ff1
RD
17035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17036 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 {
17045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17046 }
17047 return resultobj;
17048 fail:
17049 return NULL;
17050}
17051
17052
c32bde28 17053static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17054 PyObject *resultobj;
17055 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17056 bool result;
17057 PyObject * obj0 = 0 ;
17058 char *kwnames[] = {
17059 (char *) "self", NULL
17060 };
17061
17062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17064 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17065 {
17066 PyThreadState* __tstate = wxPyBeginAllowThreads();
17067 result = (bool)(arg1)->LeftIsDown();
17068
17069 wxPyEndAllowThreads(__tstate);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 }
17072 {
17073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17074 }
17075 return resultobj;
17076 fail:
17077 return NULL;
17078}
17079
17080
c32bde28 17081static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17082 PyObject *resultobj;
17083 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17084 bool result;
17085 PyObject * obj0 = 0 ;
17086 char *kwnames[] = {
17087 (char *) "self", NULL
17088 };
17089
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17092 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 result = (bool)(arg1)->MiddleIsDown();
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 {
17101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17102 }
17103 return resultobj;
17104 fail:
17105 return NULL;
17106}
17107
17108
c32bde28 17109static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17110 PyObject *resultobj;
17111 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17112 bool result;
17113 PyObject * obj0 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17120 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (bool)(arg1)->RightIsDown();
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 {
17129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17130 }
17131 return resultobj;
17132 fail:
17133 return NULL;
17134}
17135
17136
c32bde28 17137static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17138 PyObject *resultobj;
17139 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17140 bool result;
17141 PyObject * obj0 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "self", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
093d3ff1
RD
17147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 {
17157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17158 }
17159 return resultobj;
17160 fail:
17161 return NULL;
17162}
17163
17164
c32bde28 17165static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17166 PyObject *resultobj;
17167 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17168 bool result;
17169 PyObject * obj0 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "self", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
093d3ff1
RD
17175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 result = (bool)((wxMouseEvent const *)arg1)->Moving();
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 {
17185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17186 }
17187 return resultobj;
17188 fail:
17189 return NULL;
17190}
17191
17192
c32bde28 17193static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17194 PyObject *resultobj;
17195 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17196 bool result;
17197 PyObject * obj0 = 0 ;
17198 char *kwnames[] = {
17199 (char *) "self", NULL
17200 };
17201
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
093d3ff1
RD
17203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17205 {
17206 PyThreadState* __tstate = wxPyBeginAllowThreads();
17207 result = (bool)((wxMouseEvent const *)arg1)->Entering();
17208
17209 wxPyEndAllowThreads(__tstate);
17210 if (PyErr_Occurred()) SWIG_fail;
17211 }
17212 {
17213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17214 }
17215 return resultobj;
17216 fail:
17217 return NULL;
17218}
17219
17220
c32bde28 17221static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17222 PyObject *resultobj;
17223 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17224 bool result;
17225 PyObject * obj0 = 0 ;
17226 char *kwnames[] = {
17227 (char *) "self", NULL
17228 };
17229
17230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
093d3ff1
RD
17231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17232 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17233 {
17234 PyThreadState* __tstate = wxPyBeginAllowThreads();
17235 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
17236
17237 wxPyEndAllowThreads(__tstate);
17238 if (PyErr_Occurred()) SWIG_fail;
17239 }
17240 {
17241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17242 }
17243 return resultobj;
17244 fail:
17245 return NULL;
17246}
17247
17248
c32bde28 17249static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17250 PyObject *resultobj;
17251 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17252 wxPoint result;
17253 PyObject * obj0 = 0 ;
17254 char *kwnames[] = {
17255 (char *) "self", NULL
17256 };
17257
17258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
17259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 result = (arg1)->GetPosition();
17264
17265 wxPyEndAllowThreads(__tstate);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
17268 {
17269 wxPoint * resultptr;
093d3ff1 17270 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
17271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17272 }
17273 return resultobj;
17274 fail:
17275 return NULL;
17276}
17277
17278
c32bde28 17279static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17280 PyObject *resultobj;
17281 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17282 long *arg2 = (long *) 0 ;
17283 long *arg3 = (long *) 0 ;
17284 long temp2 ;
c32bde28 17285 int res2 = 0 ;
d55e5bfc 17286 long temp3 ;
c32bde28 17287 int res3 = 0 ;
d55e5bfc
RD
17288 PyObject * obj0 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "self", NULL
17291 };
17292
c32bde28
RD
17293 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17294 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
17296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 (arg1)->GetPosition(arg2,arg3);
17301
17302 wxPyEndAllowThreads(__tstate);
17303 if (PyErr_Occurred()) SWIG_fail;
17304 }
17305 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17306 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17307 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
17308 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17309 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17310 return resultobj;
17311 fail:
17312 return NULL;
17313}
17314
17315
c32bde28 17316static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17317 PyObject *resultobj;
17318 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17319 wxDC *arg2 = 0 ;
17320 wxPoint result;
17321 PyObject * obj0 = 0 ;
17322 PyObject * obj1 = 0 ;
17323 char *kwnames[] = {
17324 (char *) "self",(char *) "dc", NULL
17325 };
17326
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17329 if (SWIG_arg_fail(1)) SWIG_fail;
17330 {
17331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17332 if (SWIG_arg_fail(2)) SWIG_fail;
17333 if (arg2 == NULL) {
17334 SWIG_null_ref("wxDC");
17335 }
17336 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17337 }
17338 {
17339 PyThreadState* __tstate = wxPyBeginAllowThreads();
17340 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
17341
17342 wxPyEndAllowThreads(__tstate);
17343 if (PyErr_Occurred()) SWIG_fail;
17344 }
17345 {
17346 wxPoint * resultptr;
093d3ff1 17347 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
17348 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17349 }
17350 return resultobj;
17351 fail:
17352 return NULL;
17353}
17354
17355
c32bde28 17356static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17357 PyObject *resultobj;
17358 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17359 int result;
17360 PyObject * obj0 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
17366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17367 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (int)((wxMouseEvent const *)arg1)->GetX();
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
093d3ff1
RD
17375 {
17376 resultobj = SWIG_From_int((int)(result));
17377 }
d55e5bfc
RD
17378 return resultobj;
17379 fail:
17380 return NULL;
17381}
17382
17383
c32bde28 17384static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17385 PyObject *resultobj;
17386 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17387 int result;
17388 PyObject * obj0 = 0 ;
17389 char *kwnames[] = {
17390 (char *) "self", NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
17394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17396 {
17397 PyThreadState* __tstate = wxPyBeginAllowThreads();
17398 result = (int)((wxMouseEvent const *)arg1)->GetY();
17399
17400 wxPyEndAllowThreads(__tstate);
17401 if (PyErr_Occurred()) SWIG_fail;
17402 }
093d3ff1
RD
17403 {
17404 resultobj = SWIG_From_int((int)(result));
17405 }
d55e5bfc
RD
17406 return resultobj;
17407 fail:
17408 return NULL;
17409}
17410
17411
c32bde28 17412static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17413 PyObject *resultobj;
17414 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17415 int result;
17416 PyObject * obj0 = 0 ;
17417 char *kwnames[] = {
17418 (char *) "self", NULL
17419 };
17420
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
093d3ff1
RD
17422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17424 {
17425 PyThreadState* __tstate = wxPyBeginAllowThreads();
17426 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
17427
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
093d3ff1
RD
17431 {
17432 resultobj = SWIG_From_int((int)(result));
17433 }
d55e5bfc
RD
17434 return resultobj;
17435 fail:
17436 return NULL;
17437}
17438
17439
c32bde28 17440static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17441 PyObject *resultobj;
17442 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17443 int result;
17444 PyObject * obj0 = 0 ;
17445 char *kwnames[] = {
17446 (char *) "self", NULL
17447 };
17448
17449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
093d3ff1
RD
17450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17452 {
17453 PyThreadState* __tstate = wxPyBeginAllowThreads();
17454 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
17455
17456 wxPyEndAllowThreads(__tstate);
17457 if (PyErr_Occurred()) SWIG_fail;
17458 }
093d3ff1
RD
17459 {
17460 resultobj = SWIG_From_int((int)(result));
17461 }
d55e5bfc
RD
17462 return resultobj;
17463 fail:
17464 return NULL;
17465}
17466
17467
c32bde28 17468static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17469 PyObject *resultobj;
17470 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17471 int result;
17472 PyObject * obj0 = 0 ;
17473 char *kwnames[] = {
17474 (char *) "self", NULL
17475 };
17476
17477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
093d3ff1
RD
17478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17480 {
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
17483
17484 wxPyEndAllowThreads(__tstate);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
093d3ff1
RD
17487 {
17488 resultobj = SWIG_From_int((int)(result));
17489 }
d55e5bfc
RD
17490 return resultobj;
17491 fail:
17492 return NULL;
17493}
17494
17495
c32bde28 17496static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17497 PyObject *resultobj;
17498 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17499 bool result;
17500 PyObject * obj0 = 0 ;
17501 char *kwnames[] = {
17502 (char *) "self", NULL
17503 };
17504
17505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
093d3ff1
RD
17506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17508 {
17509 PyThreadState* __tstate = wxPyBeginAllowThreads();
17510 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
17511
17512 wxPyEndAllowThreads(__tstate);
17513 if (PyErr_Occurred()) SWIG_fail;
17514 }
17515 {
17516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17517 }
17518 return resultobj;
17519 fail:
17520 return NULL;
17521}
17522
17523
c32bde28 17524static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17525 PyObject *resultobj;
17526 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17527 int arg2 ;
17528 PyObject * obj0 = 0 ;
17529 PyObject * obj1 = 0 ;
17530 char *kwnames[] = {
17531 (char *) "self",(char *) "m_x", NULL
17532 };
17533
17534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17536 if (SWIG_arg_fail(1)) SWIG_fail;
17537 {
17538 arg2 = (int)(SWIG_As_int(obj1));
17539 if (SWIG_arg_fail(2)) SWIG_fail;
17540 }
d55e5bfc
RD
17541 if (arg1) (arg1)->m_x = arg2;
17542
17543 Py_INCREF(Py_None); resultobj = Py_None;
17544 return resultobj;
17545 fail:
17546 return NULL;
17547}
17548
17549
c32bde28 17550static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17551 PyObject *resultobj;
17552 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17553 int result;
17554 PyObject * obj0 = 0 ;
17555 char *kwnames[] = {
17556 (char *) "self", NULL
17557 };
17558
17559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
17560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17562 result = (int) ((arg1)->m_x);
17563
093d3ff1
RD
17564 {
17565 resultobj = SWIG_From_int((int)(result));
17566 }
d55e5bfc
RD
17567 return resultobj;
17568 fail:
17569 return NULL;
17570}
17571
17572
c32bde28 17573static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17574 PyObject *resultobj;
17575 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17576 int arg2 ;
17577 PyObject * obj0 = 0 ;
17578 PyObject * obj1 = 0 ;
17579 char *kwnames[] = {
17580 (char *) "self",(char *) "m_y", NULL
17581 };
17582
17583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17585 if (SWIG_arg_fail(1)) SWIG_fail;
17586 {
17587 arg2 = (int)(SWIG_As_int(obj1));
17588 if (SWIG_arg_fail(2)) SWIG_fail;
17589 }
d55e5bfc
RD
17590 if (arg1) (arg1)->m_y = arg2;
17591
17592 Py_INCREF(Py_None); resultobj = Py_None;
17593 return resultobj;
17594 fail:
17595 return NULL;
17596}
17597
17598
c32bde28 17599static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17600 PyObject *resultobj;
17601 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17602 int result;
17603 PyObject * obj0 = 0 ;
17604 char *kwnames[] = {
17605 (char *) "self", NULL
17606 };
17607
17608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
17609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17611 result = (int) ((arg1)->m_y);
17612
093d3ff1
RD
17613 {
17614 resultobj = SWIG_From_int((int)(result));
17615 }
d55e5bfc
RD
17616 return resultobj;
17617 fail:
17618 return NULL;
17619}
17620
17621
c32bde28 17622static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17623 PyObject *resultobj;
17624 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17625 bool arg2 ;
17626 PyObject * obj0 = 0 ;
17627 PyObject * obj1 = 0 ;
17628 char *kwnames[] = {
17629 (char *) "self",(char *) "m_leftDown", NULL
17630 };
17631
17632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17634 if (SWIG_arg_fail(1)) SWIG_fail;
17635 {
17636 arg2 = (bool)(SWIG_As_bool(obj1));
17637 if (SWIG_arg_fail(2)) SWIG_fail;
17638 }
d55e5bfc
RD
17639 if (arg1) (arg1)->m_leftDown = arg2;
17640
17641 Py_INCREF(Py_None); resultobj = Py_None;
17642 return resultobj;
17643 fail:
17644 return NULL;
17645}
17646
17647
c32bde28 17648static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17649 PyObject *resultobj;
17650 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17651 bool result;
17652 PyObject * obj0 = 0 ;
17653 char *kwnames[] = {
17654 (char *) "self", NULL
17655 };
17656
17657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
17658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17659 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17660 result = (bool) ((arg1)->m_leftDown);
17661
17662 {
17663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17664 }
17665 return resultobj;
17666 fail:
17667 return NULL;
17668}
17669
17670
c32bde28 17671static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17672 PyObject *resultobj;
17673 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17674 bool arg2 ;
17675 PyObject * obj0 = 0 ;
17676 PyObject * obj1 = 0 ;
17677 char *kwnames[] = {
17678 (char *) "self",(char *) "m_middleDown", NULL
17679 };
17680
17681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17683 if (SWIG_arg_fail(1)) SWIG_fail;
17684 {
17685 arg2 = (bool)(SWIG_As_bool(obj1));
17686 if (SWIG_arg_fail(2)) SWIG_fail;
17687 }
d55e5bfc
RD
17688 if (arg1) (arg1)->m_middleDown = arg2;
17689
17690 Py_INCREF(Py_None); resultobj = Py_None;
17691 return resultobj;
17692 fail:
17693 return NULL;
17694}
17695
17696
c32bde28 17697static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17698 PyObject *resultobj;
17699 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17700 bool result;
17701 PyObject * obj0 = 0 ;
17702 char *kwnames[] = {
17703 (char *) "self", NULL
17704 };
17705
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
17707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17708 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17709 result = (bool) ((arg1)->m_middleDown);
17710
17711 {
17712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17713 }
17714 return resultobj;
17715 fail:
17716 return NULL;
17717}
17718
17719
c32bde28 17720static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17721 PyObject *resultobj;
17722 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17723 bool arg2 ;
17724 PyObject * obj0 = 0 ;
17725 PyObject * obj1 = 0 ;
17726 char *kwnames[] = {
17727 (char *) "self",(char *) "m_rightDown", NULL
17728 };
17729
17730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17732 if (SWIG_arg_fail(1)) SWIG_fail;
17733 {
17734 arg2 = (bool)(SWIG_As_bool(obj1));
17735 if (SWIG_arg_fail(2)) SWIG_fail;
17736 }
d55e5bfc
RD
17737 if (arg1) (arg1)->m_rightDown = arg2;
17738
17739 Py_INCREF(Py_None); resultobj = Py_None;
17740 return resultobj;
17741 fail:
17742 return NULL;
17743}
17744
17745
c32bde28 17746static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17747 PyObject *resultobj;
17748 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17749 bool result;
17750 PyObject * obj0 = 0 ;
17751 char *kwnames[] = {
17752 (char *) "self", NULL
17753 };
17754
17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
17756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17757 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17758 result = (bool) ((arg1)->m_rightDown);
17759
17760 {
17761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17762 }
17763 return resultobj;
17764 fail:
17765 return NULL;
17766}
17767
17768
c32bde28 17769static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17770 PyObject *resultobj;
17771 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17772 bool arg2 ;
17773 PyObject * obj0 = 0 ;
17774 PyObject * obj1 = 0 ;
17775 char *kwnames[] = {
17776 (char *) "self",(char *) "m_controlDown", NULL
17777 };
17778
17779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail;
17782 {
17783 arg2 = (bool)(SWIG_As_bool(obj1));
17784 if (SWIG_arg_fail(2)) SWIG_fail;
17785 }
d55e5bfc
RD
17786 if (arg1) (arg1)->m_controlDown = arg2;
17787
17788 Py_INCREF(Py_None); resultobj = Py_None;
17789 return resultobj;
17790 fail:
17791 return NULL;
17792}
17793
17794
c32bde28 17795static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17796 PyObject *resultobj;
17797 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17798 bool result;
17799 PyObject * obj0 = 0 ;
17800 char *kwnames[] = {
17801 (char *) "self", NULL
17802 };
17803
17804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
17805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17807 result = (bool) ((arg1)->m_controlDown);
17808
17809 {
17810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17811 }
17812 return resultobj;
17813 fail:
17814 return NULL;
17815}
17816
17817
c32bde28 17818static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17819 PyObject *resultobj;
17820 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17821 bool arg2 ;
17822 PyObject * obj0 = 0 ;
17823 PyObject * obj1 = 0 ;
17824 char *kwnames[] = {
17825 (char *) "self",(char *) "m_shiftDown", NULL
17826 };
17827
17828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17830 if (SWIG_arg_fail(1)) SWIG_fail;
17831 {
17832 arg2 = (bool)(SWIG_As_bool(obj1));
17833 if (SWIG_arg_fail(2)) SWIG_fail;
17834 }
d55e5bfc
RD
17835 if (arg1) (arg1)->m_shiftDown = arg2;
17836
17837 Py_INCREF(Py_None); resultobj = Py_None;
17838 return resultobj;
17839 fail:
17840 return NULL;
17841}
17842
17843
c32bde28 17844static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17845 PyObject *resultobj;
17846 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17847 bool result;
17848 PyObject * obj0 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
17854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17855 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17856 result = (bool) ((arg1)->m_shiftDown);
17857
17858 {
17859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17860 }
17861 return resultobj;
17862 fail:
17863 return NULL;
17864}
17865
17866
c32bde28 17867static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17868 PyObject *resultobj;
17869 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17870 bool arg2 ;
17871 PyObject * obj0 = 0 ;
17872 PyObject * obj1 = 0 ;
17873 char *kwnames[] = {
17874 (char *) "self",(char *) "m_altDown", NULL
17875 };
17876
17877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17879 if (SWIG_arg_fail(1)) SWIG_fail;
17880 {
17881 arg2 = (bool)(SWIG_As_bool(obj1));
17882 if (SWIG_arg_fail(2)) SWIG_fail;
17883 }
d55e5bfc
RD
17884 if (arg1) (arg1)->m_altDown = arg2;
17885
17886 Py_INCREF(Py_None); resultobj = Py_None;
17887 return resultobj;
17888 fail:
17889 return NULL;
17890}
17891
17892
c32bde28 17893static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17894 PyObject *resultobj;
17895 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17896 bool result;
17897 PyObject * obj0 = 0 ;
17898 char *kwnames[] = {
17899 (char *) "self", NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
17903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17904 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17905 result = (bool) ((arg1)->m_altDown);
17906
17907 {
17908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17909 }
17910 return resultobj;
17911 fail:
17912 return NULL;
17913}
17914
17915
c32bde28 17916static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17917 PyObject *resultobj;
17918 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17919 bool arg2 ;
17920 PyObject * obj0 = 0 ;
17921 PyObject * obj1 = 0 ;
17922 char *kwnames[] = {
17923 (char *) "self",(char *) "m_metaDown", NULL
17924 };
17925
17926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17928 if (SWIG_arg_fail(1)) SWIG_fail;
17929 {
17930 arg2 = (bool)(SWIG_As_bool(obj1));
17931 if (SWIG_arg_fail(2)) SWIG_fail;
17932 }
d55e5bfc
RD
17933 if (arg1) (arg1)->m_metaDown = arg2;
17934
17935 Py_INCREF(Py_None); resultobj = Py_None;
17936 return resultobj;
17937 fail:
17938 return NULL;
17939}
17940
17941
c32bde28 17942static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17943 PyObject *resultobj;
17944 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17945 bool result;
17946 PyObject * obj0 = 0 ;
17947 char *kwnames[] = {
17948 (char *) "self", NULL
17949 };
17950
17951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
17952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17954 result = (bool) ((arg1)->m_metaDown);
17955
17956 {
17957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17958 }
17959 return resultobj;
17960 fail:
17961 return NULL;
17962}
17963
17964
c32bde28 17965static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17966 PyObject *resultobj;
17967 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17968 int arg2 ;
17969 PyObject * obj0 = 0 ;
17970 PyObject * obj1 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self",(char *) "m_wheelRotation", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17977 if (SWIG_arg_fail(1)) SWIG_fail;
17978 {
17979 arg2 = (int)(SWIG_As_int(obj1));
17980 if (SWIG_arg_fail(2)) SWIG_fail;
17981 }
d55e5bfc
RD
17982 if (arg1) (arg1)->m_wheelRotation = arg2;
17983
17984 Py_INCREF(Py_None); resultobj = Py_None;
17985 return resultobj;
17986 fail:
17987 return NULL;
17988}
17989
17990
c32bde28 17991static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17992 PyObject *resultobj;
17993 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17994 int result;
17995 PyObject * obj0 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18002 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18003 result = (int) ((arg1)->m_wheelRotation);
18004
093d3ff1
RD
18005 {
18006 resultobj = SWIG_From_int((int)(result));
18007 }
d55e5bfc
RD
18008 return resultobj;
18009 fail:
18010 return NULL;
18011}
18012
18013
c32bde28 18014static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18015 PyObject *resultobj;
18016 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18017 int arg2 ;
18018 PyObject * obj0 = 0 ;
18019 PyObject * obj1 = 0 ;
18020 char *kwnames[] = {
18021 (char *) "self",(char *) "m_wheelDelta", NULL
18022 };
18023
18024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18026 if (SWIG_arg_fail(1)) SWIG_fail;
18027 {
18028 arg2 = (int)(SWIG_As_int(obj1));
18029 if (SWIG_arg_fail(2)) SWIG_fail;
18030 }
d55e5bfc
RD
18031 if (arg1) (arg1)->m_wheelDelta = arg2;
18032
18033 Py_INCREF(Py_None); resultobj = Py_None;
18034 return resultobj;
18035 fail:
18036 return NULL;
18037}
18038
18039
c32bde28 18040static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18041 PyObject *resultobj;
18042 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18043 int result;
18044 PyObject * obj0 = 0 ;
18045 char *kwnames[] = {
18046 (char *) "self", NULL
18047 };
18048
18049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18052 result = (int) ((arg1)->m_wheelDelta);
18053
093d3ff1
RD
18054 {
18055 resultobj = SWIG_From_int((int)(result));
18056 }
d55e5bfc
RD
18057 return resultobj;
18058 fail:
18059 return NULL;
18060}
18061
18062
c32bde28 18063static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18064 PyObject *resultobj;
18065 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18066 int arg2 ;
18067 PyObject * obj0 = 0 ;
18068 PyObject * obj1 = 0 ;
18069 char *kwnames[] = {
18070 (char *) "self",(char *) "m_linesPerAction", NULL
18071 };
18072
18073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18075 if (SWIG_arg_fail(1)) SWIG_fail;
18076 {
18077 arg2 = (int)(SWIG_As_int(obj1));
18078 if (SWIG_arg_fail(2)) SWIG_fail;
18079 }
d55e5bfc
RD
18080 if (arg1) (arg1)->m_linesPerAction = arg2;
18081
18082 Py_INCREF(Py_None); resultobj = Py_None;
18083 return resultobj;
18084 fail:
18085 return NULL;
18086}
18087
18088
c32bde28 18089static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18090 PyObject *resultobj;
18091 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18092 int result;
18093 PyObject * obj0 = 0 ;
18094 char *kwnames[] = {
18095 (char *) "self", NULL
18096 };
18097
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18100 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18101 result = (int) ((arg1)->m_linesPerAction);
18102
093d3ff1
RD
18103 {
18104 resultobj = SWIG_From_int((int)(result));
18105 }
d55e5bfc
RD
18106 return resultobj;
18107 fail:
18108 return NULL;
18109}
18110
18111
c32bde28 18112static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18113 PyObject *obj;
18114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18115 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
18116 Py_INCREF(obj);
18117 return Py_BuildValue((char *)"");
18118}
c32bde28 18119static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18120 PyObject *resultobj;
18121 int arg1 = (int) 0 ;
18122 int arg2 = (int) 0 ;
18123 wxSetCursorEvent *result;
18124 PyObject * obj0 = 0 ;
18125 PyObject * obj1 = 0 ;
18126 char *kwnames[] = {
18127 (char *) "x",(char *) "y", NULL
18128 };
18129
18130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
18131 if (obj0) {
093d3ff1
RD
18132 {
18133 arg1 = (int)(SWIG_As_int(obj0));
18134 if (SWIG_arg_fail(1)) SWIG_fail;
18135 }
d55e5bfc
RD
18136 }
18137 if (obj1) {
093d3ff1
RD
18138 {
18139 arg2 = (int)(SWIG_As_int(obj1));
18140 if (SWIG_arg_fail(2)) SWIG_fail;
18141 }
d55e5bfc
RD
18142 }
18143 {
18144 PyThreadState* __tstate = wxPyBeginAllowThreads();
18145 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
18146
18147 wxPyEndAllowThreads(__tstate);
18148 if (PyErr_Occurred()) SWIG_fail;
18149 }
18150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
18151 return resultobj;
18152 fail:
18153 return NULL;
18154}
18155
18156
c32bde28 18157static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18158 PyObject *resultobj;
18159 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
18160 int result;
18161 PyObject * obj0 = 0 ;
18162 char *kwnames[] = {
18163 (char *) "self", NULL
18164 };
18165
18166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
18167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18168 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18169 {
18170 PyThreadState* __tstate = wxPyBeginAllowThreads();
18171 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
18172
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
093d3ff1
RD
18176 {
18177 resultobj = SWIG_From_int((int)(result));
18178 }
d55e5bfc
RD
18179 return resultobj;
18180 fail:
18181 return NULL;
18182}
18183
18184
c32bde28 18185static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18186 PyObject *resultobj;
18187 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
18188 int result;
18189 PyObject * obj0 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
18195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18197 {
18198 PyThreadState* __tstate = wxPyBeginAllowThreads();
18199 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
18200
18201 wxPyEndAllowThreads(__tstate);
18202 if (PyErr_Occurred()) SWIG_fail;
18203 }
093d3ff1
RD
18204 {
18205 resultobj = SWIG_From_int((int)(result));
18206 }
d55e5bfc
RD
18207 return resultobj;
18208 fail:
18209 return NULL;
18210}
18211
18212
c32bde28 18213static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18214 PyObject *resultobj;
18215 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
18216 wxCursor *arg2 = 0 ;
18217 PyObject * obj0 = 0 ;
18218 PyObject * obj1 = 0 ;
18219 char *kwnames[] = {
18220 (char *) "self",(char *) "cursor", NULL
18221 };
18222
18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18225 if (SWIG_arg_fail(1)) SWIG_fail;
18226 {
18227 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
18228 if (SWIG_arg_fail(2)) SWIG_fail;
18229 if (arg2 == NULL) {
18230 SWIG_null_ref("wxCursor");
18231 }
18232 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18233 }
18234 {
18235 PyThreadState* __tstate = wxPyBeginAllowThreads();
18236 (arg1)->SetCursor((wxCursor const &)*arg2);
18237
18238 wxPyEndAllowThreads(__tstate);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 Py_INCREF(Py_None); resultobj = Py_None;
18242 return resultobj;
18243 fail:
18244 return NULL;
18245}
18246
18247
c32bde28 18248static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18249 PyObject *resultobj;
18250 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
18251 wxCursor *result;
18252 PyObject * obj0 = 0 ;
18253 char *kwnames[] = {
18254 (char *) "self", NULL
18255 };
18256
18257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
18258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18259 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18260 {
18261 PyThreadState* __tstate = wxPyBeginAllowThreads();
18262 {
18263 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
18264 result = (wxCursor *) &_result_ref;
18265 }
18266
18267 wxPyEndAllowThreads(__tstate);
18268 if (PyErr_Occurred()) SWIG_fail;
18269 }
18270 {
18271 wxCursor* resultptr = new wxCursor(*result);
18272 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
18273 }
18274 return resultobj;
18275 fail:
18276 return NULL;
18277}
18278
18279
c32bde28 18280static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18281 PyObject *resultobj;
18282 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
18283 bool result;
18284 PyObject * obj0 = 0 ;
18285 char *kwnames[] = {
18286 (char *) "self", NULL
18287 };
18288
18289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
18290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18291 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18292 {
18293 PyThreadState* __tstate = wxPyBeginAllowThreads();
18294 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
18295
18296 wxPyEndAllowThreads(__tstate);
18297 if (PyErr_Occurred()) SWIG_fail;
18298 }
18299 {
18300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18301 }
18302 return resultobj;
18303 fail:
18304 return NULL;
18305}
18306
18307
c32bde28 18308static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18309 PyObject *obj;
18310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18311 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
18312 Py_INCREF(obj);
18313 return Py_BuildValue((char *)"");
18314}
c32bde28 18315static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18316 PyObject *resultobj;
18317 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18318 wxKeyEvent *result;
18319 PyObject * obj0 = 0 ;
18320 char *kwnames[] = {
5ba5649b 18321 (char *) "eventType", NULL
d55e5bfc
RD
18322 };
18323
18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
18325 if (obj0) {
093d3ff1
RD
18326 {
18327 arg1 = (wxEventType)(SWIG_As_int(obj0));
18328 if (SWIG_arg_fail(1)) SWIG_fail;
18329 }
d55e5bfc
RD
18330 }
18331 {
18332 PyThreadState* __tstate = wxPyBeginAllowThreads();
18333 result = (wxKeyEvent *)new wxKeyEvent(arg1);
18334
18335 wxPyEndAllowThreads(__tstate);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 }
18338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
18339 return resultobj;
18340 fail:
18341 return NULL;
18342}
18343
18344
c32bde28 18345static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18346 PyObject *resultobj;
18347 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18348 bool result;
18349 PyObject * obj0 = 0 ;
18350 char *kwnames[] = {
18351 (char *) "self", NULL
18352 };
18353
18354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
18355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18356 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18357 {
18358 PyThreadState* __tstate = wxPyBeginAllowThreads();
18359 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
18360
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 {
18365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18366 }
18367 return resultobj;
18368 fail:
18369 return NULL;
18370}
18371
18372
c32bde28 18373static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18374 PyObject *resultobj;
18375 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18376 bool result;
18377 PyObject * obj0 = 0 ;
18378 char *kwnames[] = {
18379 (char *) "self", NULL
18380 };
18381
18382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
18383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18384 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 {
18393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18394 }
18395 return resultobj;
18396 fail:
18397 return NULL;
18398}
18399
18400
c32bde28 18401static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18402 PyObject *resultobj;
18403 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18404 bool result;
18405 PyObject * obj0 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "self", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
18411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18412 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 {
18421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18422 }
18423 return resultobj;
18424 fail:
18425 return NULL;
18426}
18427
18428
c32bde28 18429static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18430 PyObject *resultobj;
18431 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18432 bool result;
18433 PyObject * obj0 = 0 ;
18434 char *kwnames[] = {
18435 (char *) "self", NULL
18436 };
18437
18438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
18439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 {
18449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18450 }
18451 return resultobj;
18452 fail:
18453 return NULL;
18454}
18455
18456
c32bde28 18457static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
412d302d
RD
18458 PyObject *resultobj;
18459 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18460 bool result;
18461 PyObject * obj0 = 0 ;
18462 char *kwnames[] = {
18463 (char *) "self", NULL
18464 };
18465
18466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_CmdDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
18467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail;
412d302d
RD
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 result = (bool)((wxKeyEvent const *)arg1)->CmdDown();
18472
18473 wxPyEndAllowThreads(__tstate);
18474 if (PyErr_Occurred()) SWIG_fail;
18475 }
18476 {
18477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18478 }
18479 return resultobj;
18480 fail:
18481 return NULL;
18482}
18483
18484
c32bde28 18485static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18486 PyObject *resultobj;
18487 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18488 bool result;
18489 PyObject * obj0 = 0 ;
18490 char *kwnames[] = {
18491 (char *) "self", NULL
18492 };
18493
18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
093d3ff1
RD
18495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18496 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18497 {
18498 PyThreadState* __tstate = wxPyBeginAllowThreads();
18499 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
18500
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 {
18505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18506 }
18507 return resultobj;
18508 fail:
18509 return NULL;
18510}
18511
18512
c32bde28 18513static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18514 PyObject *resultobj;
18515 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18516 int result;
18517 PyObject * obj0 = 0 ;
18518 char *kwnames[] = {
18519 (char *) "self", NULL
18520 };
18521
18522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
18523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
18528
18529 wxPyEndAllowThreads(__tstate);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 }
093d3ff1
RD
18532 {
18533 resultobj = SWIG_From_int((int)(result));
18534 }
d55e5bfc
RD
18535 return resultobj;
18536 fail:
18537 return NULL;
18538}
18539
18540
c32bde28 18541static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18542 PyObject *resultobj;
18543 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18544 int result;
18545 PyObject * obj0 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "self", NULL
18548 };
18549
19272049 18550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
093d3ff1
RD
18551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272049 18555 result = (int)wxKeyEvent_GetUnicodeKey(arg1);
d55e5bfc
RD
18556
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
093d3ff1
RD
18560 {
18561 resultobj = SWIG_From_int((int)(result));
18562 }
d55e5bfc
RD
18563 return resultobj;
18564 fail:
18565 return NULL;
18566}
18567
18568
c32bde28 18569static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18570 PyObject *resultobj;
18571 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18572 unsigned int result;
18573 PyObject * obj0 = 0 ;
18574 char *kwnames[] = {
18575 (char *) "self", NULL
18576 };
18577
18578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
18579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
093d3ff1
RD
18588 {
18589 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
18590 }
d55e5bfc
RD
18591 return resultobj;
18592 fail:
18593 return NULL;
18594}
18595
18596
c32bde28 18597static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18598 PyObject *resultobj;
18599 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18600 unsigned int result;
18601 PyObject * obj0 = 0 ;
18602 char *kwnames[] = {
18603 (char *) "self", NULL
18604 };
18605
18606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
18607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
093d3ff1
RD
18616 {
18617 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
18618 }
d55e5bfc
RD
18619 return resultobj;
18620 fail:
18621 return NULL;
18622}
18623
18624
c32bde28 18625static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18626 PyObject *resultobj;
18627 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18628 wxPoint result;
18629 PyObject * obj0 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (arg1)->GetPosition();
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 {
18645 wxPoint * resultptr;
093d3ff1 18646 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
18647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18648 }
18649 return resultobj;
18650 fail:
18651 return NULL;
18652}
18653
18654
c32bde28 18655static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18656 PyObject *resultobj;
18657 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18658 long *arg2 = (long *) 0 ;
18659 long *arg3 = (long *) 0 ;
18660 long temp2 ;
c32bde28 18661 int res2 = 0 ;
d55e5bfc 18662 long temp3 ;
c32bde28 18663 int res3 = 0 ;
d55e5bfc
RD
18664 PyObject * obj0 = 0 ;
18665 char *kwnames[] = {
18666 (char *) "self", NULL
18667 };
18668
c32bde28
RD
18669 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18670 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
18672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 (arg1)->GetPosition(arg2,arg3);
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18682 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18683 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
18684 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18685 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
18686 return resultobj;
18687 fail:
18688 return NULL;
18689}
18690
18691
c32bde28 18692static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18693 PyObject *resultobj;
18694 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18695 int result;
18696 PyObject * obj0 = 0 ;
18697 char *kwnames[] = {
18698 (char *) "self", NULL
18699 };
18700
18701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
18702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18703 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 result = (int)((wxKeyEvent const *)arg1)->GetX();
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
093d3ff1
RD
18711 {
18712 resultobj = SWIG_From_int((int)(result));
18713 }
d55e5bfc
RD
18714 return resultobj;
18715 fail:
18716 return NULL;
18717}
18718
18719
c32bde28 18720static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18721 PyObject *resultobj;
18722 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18723 int result;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
18730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18731 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (int)((wxKeyEvent const *)arg1)->GetY();
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
093d3ff1
RD
18739 {
18740 resultobj = SWIG_From_int((int)(result));
18741 }
d55e5bfc
RD
18742 return resultobj;
18743 fail:
18744 return NULL;
18745}
18746
18747
c32bde28 18748static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18749 PyObject *resultobj;
18750 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18751 int arg2 ;
18752 PyObject * obj0 = 0 ;
18753 PyObject * obj1 = 0 ;
18754 char *kwnames[] = {
18755 (char *) "self",(char *) "m_x", NULL
18756 };
18757
18758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18760 if (SWIG_arg_fail(1)) SWIG_fail;
18761 {
18762 arg2 = (int)(SWIG_As_int(obj1));
18763 if (SWIG_arg_fail(2)) SWIG_fail;
18764 }
d55e5bfc
RD
18765 if (arg1) (arg1)->m_x = arg2;
18766
18767 Py_INCREF(Py_None); resultobj = Py_None;
18768 return resultobj;
18769 fail:
18770 return NULL;
18771}
18772
18773
c32bde28 18774static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18775 PyObject *resultobj;
18776 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18777 int result;
18778 PyObject * obj0 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "self", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18786 result = (int) ((arg1)->m_x);
18787
093d3ff1
RD
18788 {
18789 resultobj = SWIG_From_int((int)(result));
18790 }
d55e5bfc
RD
18791 return resultobj;
18792 fail:
18793 return NULL;
18794}
18795
18796
c32bde28 18797static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18798 PyObject *resultobj;
18799 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18800 int arg2 ;
18801 PyObject * obj0 = 0 ;
18802 PyObject * obj1 = 0 ;
18803 char *kwnames[] = {
18804 (char *) "self",(char *) "m_y", NULL
18805 };
18806
18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18809 if (SWIG_arg_fail(1)) SWIG_fail;
18810 {
18811 arg2 = (int)(SWIG_As_int(obj1));
18812 if (SWIG_arg_fail(2)) SWIG_fail;
18813 }
d55e5bfc
RD
18814 if (arg1) (arg1)->m_y = arg2;
18815
18816 Py_INCREF(Py_None); resultobj = Py_None;
18817 return resultobj;
18818 fail:
18819 return NULL;
18820}
18821
18822
c32bde28 18823static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18824 PyObject *resultobj;
18825 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18826 int result;
18827 PyObject * obj0 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18835 result = (int) ((arg1)->m_y);
18836
093d3ff1
RD
18837 {
18838 resultobj = SWIG_From_int((int)(result));
18839 }
d55e5bfc
RD
18840 return resultobj;
18841 fail:
18842 return NULL;
18843}
18844
18845
c32bde28 18846static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18847 PyObject *resultobj;
18848 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18849 long arg2 ;
18850 PyObject * obj0 = 0 ;
18851 PyObject * obj1 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self",(char *) "m_keyCode", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail;
18859 {
18860 arg2 = (long)(SWIG_As_long(obj1));
18861 if (SWIG_arg_fail(2)) SWIG_fail;
18862 }
d55e5bfc
RD
18863 if (arg1) (arg1)->m_keyCode = arg2;
18864
18865 Py_INCREF(Py_None); resultobj = Py_None;
18866 return resultobj;
18867 fail:
18868 return NULL;
18869}
18870
18871
c32bde28 18872static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18873 PyObject *resultobj;
18874 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18875 long result;
18876 PyObject * obj0 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self", NULL
18879 };
18880
18881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18884 result = (long) ((arg1)->m_keyCode);
18885
093d3ff1
RD
18886 {
18887 resultobj = SWIG_From_long((long)(result));
18888 }
d55e5bfc
RD
18889 return resultobj;
18890 fail:
18891 return NULL;
18892}
18893
18894
c32bde28 18895static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18896 PyObject *resultobj;
18897 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18898 bool arg2 ;
18899 PyObject * obj0 = 0 ;
18900 PyObject * obj1 = 0 ;
18901 char *kwnames[] = {
18902 (char *) "self",(char *) "m_controlDown", NULL
18903 };
18904
18905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail;
18908 {
18909 arg2 = (bool)(SWIG_As_bool(obj1));
18910 if (SWIG_arg_fail(2)) SWIG_fail;
18911 }
d55e5bfc
RD
18912 if (arg1) (arg1)->m_controlDown = arg2;
18913
18914 Py_INCREF(Py_None); resultobj = Py_None;
18915 return resultobj;
18916 fail:
18917 return NULL;
18918}
18919
18920
c32bde28 18921static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18922 PyObject *resultobj;
18923 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18924 bool result;
18925 PyObject * obj0 = 0 ;
18926 char *kwnames[] = {
18927 (char *) "self", NULL
18928 };
18929
18930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18933 result = (bool) ((arg1)->m_controlDown);
18934
18935 {
18936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18937 }
18938 return resultobj;
18939 fail:
18940 return NULL;
18941}
18942
18943
c32bde28 18944static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18945 PyObject *resultobj;
18946 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18947 bool arg2 ;
18948 PyObject * obj0 = 0 ;
18949 PyObject * obj1 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self",(char *) "m_shiftDown", NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18956 if (SWIG_arg_fail(1)) SWIG_fail;
18957 {
18958 arg2 = (bool)(SWIG_As_bool(obj1));
18959 if (SWIG_arg_fail(2)) SWIG_fail;
18960 }
d55e5bfc
RD
18961 if (arg1) (arg1)->m_shiftDown = arg2;
18962
18963 Py_INCREF(Py_None); resultobj = Py_None;
18964 return resultobj;
18965 fail:
18966 return NULL;
18967}
18968
18969
c32bde28 18970static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18971 PyObject *resultobj;
18972 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18973 bool result;
18974 PyObject * obj0 = 0 ;
18975 char *kwnames[] = {
18976 (char *) "self", NULL
18977 };
18978
18979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
18981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18982 result = (bool) ((arg1)->m_shiftDown);
18983
18984 {
18985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18986 }
18987 return resultobj;
18988 fail:
18989 return NULL;
18990}
18991
18992
c32bde28 18993static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18994 PyObject *resultobj;
18995 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
18996 bool arg2 ;
18997 PyObject * obj0 = 0 ;
18998 PyObject * obj1 = 0 ;
18999 char *kwnames[] = {
19000 (char *) "self",(char *) "m_altDown", NULL
19001 };
19002
19003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19005 if (SWIG_arg_fail(1)) SWIG_fail;
19006 {
19007 arg2 = (bool)(SWIG_As_bool(obj1));
19008 if (SWIG_arg_fail(2)) SWIG_fail;
19009 }
d55e5bfc
RD
19010 if (arg1) (arg1)->m_altDown = arg2;
19011
19012 Py_INCREF(Py_None); resultobj = Py_None;
19013 return resultobj;
19014 fail:
19015 return NULL;
19016}
19017
19018
c32bde28 19019static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19020 PyObject *resultobj;
19021 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19022 bool result;
19023 PyObject * obj0 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19030 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19031 result = (bool) ((arg1)->m_altDown);
19032
19033 {
19034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19035 }
19036 return resultobj;
19037 fail:
19038 return NULL;
19039}
19040
19041
c32bde28 19042static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19043 PyObject *resultobj;
19044 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19045 bool arg2 ;
19046 PyObject * obj0 = 0 ;
19047 PyObject * obj1 = 0 ;
19048 char *kwnames[] = {
19049 (char *) "self",(char *) "m_metaDown", NULL
19050 };
19051
19052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19054 if (SWIG_arg_fail(1)) SWIG_fail;
19055 {
19056 arg2 = (bool)(SWIG_As_bool(obj1));
19057 if (SWIG_arg_fail(2)) SWIG_fail;
19058 }
d55e5bfc
RD
19059 if (arg1) (arg1)->m_metaDown = arg2;
19060
19061 Py_INCREF(Py_None); resultobj = Py_None;
19062 return resultobj;
19063 fail:
19064 return NULL;
19065}
19066
19067
c32bde28 19068static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19069 PyObject *resultobj;
19070 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19071 bool result;
19072 PyObject * obj0 = 0 ;
19073 char *kwnames[] = {
19074 (char *) "self", NULL
19075 };
19076
19077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19080 result = (bool) ((arg1)->m_metaDown);
19081
19082 {
19083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19084 }
19085 return resultobj;
19086 fail:
19087 return NULL;
19088}
19089
19090
c32bde28 19091static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19092 PyObject *resultobj;
19093 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19094 bool arg2 ;
19095 PyObject * obj0 = 0 ;
19096 PyObject * obj1 = 0 ;
19097 char *kwnames[] = {
19098 (char *) "self",(char *) "m_scanCode", NULL
19099 };
19100
19101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail;
19104 {
19105 arg2 = (bool)(SWIG_As_bool(obj1));
19106 if (SWIG_arg_fail(2)) SWIG_fail;
19107 }
d55e5bfc
RD
19108 if (arg1) (arg1)->m_scanCode = arg2;
19109
19110 Py_INCREF(Py_None); resultobj = Py_None;
19111 return resultobj;
19112 fail:
19113 return NULL;
19114}
19115
19116
c32bde28 19117static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19118 PyObject *resultobj;
19119 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19120 bool result;
19121 PyObject * obj0 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "self", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19129 result = (bool) ((arg1)->m_scanCode);
19130
19131 {
19132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19133 }
19134 return resultobj;
19135 fail:
19136 return NULL;
19137}
19138
19139
c32bde28 19140static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19141 PyObject *resultobj;
19142 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19143 unsigned int arg2 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self",(char *) "m_rawCode", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19152 if (SWIG_arg_fail(1)) SWIG_fail;
19153 {
19154 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
19155 if (SWIG_arg_fail(2)) SWIG_fail;
19156 }
d55e5bfc
RD
19157 if (arg1) (arg1)->m_rawCode = arg2;
19158
19159 Py_INCREF(Py_None); resultobj = Py_None;
19160 return resultobj;
19161 fail:
19162 return NULL;
19163}
19164
19165
c32bde28 19166static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19167 PyObject *resultobj;
19168 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19169 unsigned int result;
19170 PyObject * obj0 = 0 ;
19171 char *kwnames[] = {
19172 (char *) "self", NULL
19173 };
19174
19175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19178 result = (unsigned int) ((arg1)->m_rawCode);
19179
093d3ff1
RD
19180 {
19181 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
19182 }
d55e5bfc
RD
19183 return resultobj;
19184 fail:
19185 return NULL;
19186}
19187
19188
c32bde28 19189static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19190 PyObject *resultobj;
19191 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19192 unsigned int arg2 ;
19193 PyObject * obj0 = 0 ;
19194 PyObject * obj1 = 0 ;
19195 char *kwnames[] = {
19196 (char *) "self",(char *) "m_rawFlags", NULL
19197 };
19198
19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail;
19202 {
19203 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
19204 if (SWIG_arg_fail(2)) SWIG_fail;
19205 }
d55e5bfc
RD
19206 if (arg1) (arg1)->m_rawFlags = arg2;
19207
19208 Py_INCREF(Py_None); resultobj = Py_None;
19209 return resultobj;
19210 fail:
19211 return NULL;
19212}
19213
19214
c32bde28 19215static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19216 PyObject *resultobj;
19217 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19218 unsigned int result;
19219 PyObject * obj0 = 0 ;
19220 char *kwnames[] = {
19221 (char *) "self", NULL
19222 };
19223
19224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19227 result = (unsigned int) ((arg1)->m_rawFlags);
19228
093d3ff1
RD
19229 {
19230 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
19231 }
d55e5bfc
RD
19232 return resultobj;
19233 fail:
19234 return NULL;
19235}
19236
19237
c32bde28 19238static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19239 PyObject *obj;
19240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19241 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
19242 Py_INCREF(obj);
19243 return Py_BuildValue((char *)"");
19244}
c32bde28 19245static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19246 PyObject *resultobj;
19247 wxSize const &arg1_defvalue = wxDefaultSize ;
19248 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
19249 int arg2 = (int) 0 ;
19250 wxSizeEvent *result;
19251 wxSize temp1 ;
19252 PyObject * obj0 = 0 ;
19253 PyObject * obj1 = 0 ;
19254 char *kwnames[] = {
19255 (char *) "sz",(char *) "winid", NULL
19256 };
19257
19258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
19259 if (obj0) {
19260 {
19261 arg1 = &temp1;
19262 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
19263 }
19264 }
19265 if (obj1) {
093d3ff1
RD
19266 {
19267 arg2 = (int)(SWIG_As_int(obj1));
19268 if (SWIG_arg_fail(2)) SWIG_fail;
19269 }
d55e5bfc
RD
19270 }
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
19279 return resultobj;
19280 fail:
19281 return NULL;
19282}
19283
19284
c32bde28 19285static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19286 PyObject *resultobj;
19287 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19288 wxSize result;
19289 PyObject * obj0 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "self", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19297 {
19298 PyThreadState* __tstate = wxPyBeginAllowThreads();
19299 result = ((wxSizeEvent const *)arg1)->GetSize();
19300
19301 wxPyEndAllowThreads(__tstate);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 {
19305 wxSize * resultptr;
093d3ff1 19306 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19308 }
19309 return resultobj;
19310 fail:
19311 return NULL;
19312}
19313
19314
c32bde28 19315static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19316 PyObject *resultobj;
19317 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19318 wxRect result;
19319 PyObject * obj0 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
19325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 result = ((wxSizeEvent const *)arg1)->GetRect();
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 {
19335 wxRect * resultptr;
093d3ff1 19336 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
19337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
19338 }
19339 return resultobj;
19340 fail:
19341 return NULL;
19342}
19343
19344
c32bde28 19345static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19346 PyObject *resultobj;
19347 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19348 wxRect arg2 ;
d55e5bfc
RD
19349 PyObject * obj0 = 0 ;
19350 PyObject * obj1 = 0 ;
19351 char *kwnames[] = {
19352 (char *) "self",(char *) "rect", NULL
19353 };
19354
19355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19357 if (SWIG_arg_fail(1)) SWIG_fail;
19358 {
19359 wxRect * argp;
19360 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
19361 if (SWIG_arg_fail(2)) SWIG_fail;
19362 if (argp == NULL) {
19363 SWIG_null_ref("wxRect");
19364 }
19365 if (SWIG_arg_fail(2)) SWIG_fail;
19366 arg2 = *argp;
19367 }
d55e5bfc
RD
19368 {
19369 PyThreadState* __tstate = wxPyBeginAllowThreads();
19370 (arg1)->SetRect(arg2);
19371
19372 wxPyEndAllowThreads(__tstate);
19373 if (PyErr_Occurred()) SWIG_fail;
19374 }
19375 Py_INCREF(Py_None); resultobj = Py_None;
19376 return resultobj;
19377 fail:
19378 return NULL;
19379}
19380
19381
c32bde28 19382static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19383 PyObject *resultobj;
19384 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19385 wxSize arg2 ;
d55e5bfc
RD
19386 PyObject * obj0 = 0 ;
19387 PyObject * obj1 = 0 ;
19388 char *kwnames[] = {
19389 (char *) "self",(char *) "size", NULL
19390 };
19391
19392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19394 if (SWIG_arg_fail(1)) SWIG_fail;
19395 {
19396 wxSize * argp;
19397 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION);
19398 if (SWIG_arg_fail(2)) SWIG_fail;
19399 if (argp == NULL) {
19400 SWIG_null_ref("wxSize");
19401 }
19402 if (SWIG_arg_fail(2)) SWIG_fail;
19403 arg2 = *argp;
19404 }
d55e5bfc
RD
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
19407 wxSizeEvent_SetSize(arg1,arg2);
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 Py_INCREF(Py_None); resultobj = Py_None;
19413 return resultobj;
19414 fail:
19415 return NULL;
19416}
19417
19418
c32bde28 19419static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19420 PyObject *resultobj;
19421 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19422 wxSize *arg2 = (wxSize *) 0 ;
19423 PyObject * obj0 = 0 ;
19424 PyObject * obj1 = 0 ;
19425 char *kwnames[] = {
19426 (char *) "self",(char *) "m_size", NULL
19427 };
19428
19429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19431 if (SWIG_arg_fail(1)) SWIG_fail;
19432 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
19433 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19434 if (arg1) (arg1)->m_size = *arg2;
19435
19436 Py_INCREF(Py_None); resultobj = Py_None;
19437 return resultobj;
19438 fail:
19439 return NULL;
19440}
19441
19442
c32bde28 19443static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19444 PyObject *resultobj;
19445 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19446 wxSize *result;
19447 PyObject * obj0 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19455 result = (wxSize *)& ((arg1)->m_size);
19456
19457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
19458 return resultobj;
19459 fail:
19460 return NULL;
19461}
19462
19463
c32bde28 19464static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19465 PyObject *resultobj;
19466 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19467 wxRect *arg2 = (wxRect *) 0 ;
19468 PyObject * obj0 = 0 ;
19469 PyObject * obj1 = 0 ;
19470 char *kwnames[] = {
19471 (char *) "self",(char *) "m_rect", NULL
19472 };
19473
19474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19476 if (SWIG_arg_fail(1)) SWIG_fail;
19477 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
19478 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19479 if (arg1) (arg1)->m_rect = *arg2;
19480
19481 Py_INCREF(Py_None); resultobj = Py_None;
19482 return resultobj;
19483 fail:
19484 return NULL;
19485}
19486
19487
c32bde28 19488static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19489 PyObject *resultobj;
19490 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
19491 wxRect *result;
19492 PyObject * obj0 = 0 ;
19493 char *kwnames[] = {
19494 (char *) "self", NULL
19495 };
19496
19497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
19499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19500 result = (wxRect *)& ((arg1)->m_rect);
19501
19502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
19503 return resultobj;
19504 fail:
19505 return NULL;
19506}
19507
19508
c32bde28 19509static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19510 PyObject *obj;
19511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19512 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
19513 Py_INCREF(obj);
19514 return Py_BuildValue((char *)"");
19515}
c32bde28 19516static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19517 PyObject *resultobj;
19518 wxPoint const &arg1_defvalue = wxDefaultPosition ;
19519 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
19520 int arg2 = (int) 0 ;
19521 wxMoveEvent *result;
19522 wxPoint temp1 ;
19523 PyObject * obj0 = 0 ;
19524 PyObject * obj1 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "pos",(char *) "winid", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
19530 if (obj0) {
19531 {
19532 arg1 = &temp1;
19533 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
19534 }
19535 }
19536 if (obj1) {
093d3ff1
RD
19537 {
19538 arg2 = (int)(SWIG_As_int(obj1));
19539 if (SWIG_arg_fail(2)) SWIG_fail;
19540 }
d55e5bfc
RD
19541 }
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
19550 return resultobj;
19551 fail:
19552 return NULL;
19553}
19554
19555
c32bde28 19556static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19557 PyObject *resultobj;
19558 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
19559 wxPoint result;
19560 PyObject * obj0 = 0 ;
19561 char *kwnames[] = {
19562 (char *) "self", NULL
19563 };
19564
19565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
19567 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19568 {
19569 PyThreadState* __tstate = wxPyBeginAllowThreads();
19570 result = ((wxMoveEvent const *)arg1)->GetPosition();
19571
19572 wxPyEndAllowThreads(__tstate);
19573 if (PyErr_Occurred()) SWIG_fail;
19574 }
19575 {
19576 wxPoint * resultptr;
093d3ff1 19577 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
19578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19579 }
19580 return resultobj;
19581 fail:
19582 return NULL;
19583}
19584
19585
c32bde28 19586static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19587 PyObject *resultobj;
19588 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
19589 wxRect result;
19590 PyObject * obj0 = 0 ;
19591 char *kwnames[] = {
19592 (char *) "self", NULL
19593 };
19594
19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
19596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
19597 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 result = ((wxMoveEvent const *)arg1)->GetRect();
19601
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 {
19606 wxRect * resultptr;
093d3ff1 19607 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
19608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
19609 }
19610 return resultobj;
19611 fail:
19612 return NULL;
19613}
19614
19615
c32bde28 19616static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19617 PyObject *resultobj;
19618 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
fef4c27a
RD
19619 wxRect *arg2 = 0 ;
19620 wxRect temp2 ;
d55e5bfc
RD
19621 PyObject * obj0 = 0 ;
19622 PyObject * obj1 = 0 ;
19623 char *kwnames[] = {
19624 (char *) "self",(char *) "rect", NULL
19625 };
19626
19627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
19629 if (SWIG_arg_fail(1)) SWIG_fail;
19630 {
fef4c27a
RD
19631 arg2 = &temp2;
19632 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
093d3ff1 19633 }
d55e5bfc
RD
19634 {
19635 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 19636 (arg1)->SetRect((wxRect const &)*arg2);
d55e5bfc
RD
19637
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 Py_INCREF(Py_None); resultobj = Py_None;
19642 return resultobj;
19643 fail:
19644 return NULL;
19645}
19646
19647
c32bde28 19648static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19649 PyObject *resultobj;
19650 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
fef4c27a
RD
19651 wxPoint *arg2 = 0 ;
19652 wxPoint temp2 ;
d55e5bfc
RD
19653 PyObject * obj0 = 0 ;
19654 PyObject * obj1 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "pos", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
19661 if (SWIG_arg_fail(1)) SWIG_fail;
19662 {
fef4c27a
RD
19663 arg2 = &temp2;
19664 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
093d3ff1 19665 }
d55e5bfc
RD
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 19668 (arg1)->SetPosition((wxPoint const &)*arg2);
d55e5bfc
RD
19669
19670 wxPyEndAllowThreads(__tstate);
19671 if (PyErr_Occurred()) SWIG_fail;
19672 }
19673 Py_INCREF(Py_None); resultobj = Py_None;
19674 return resultobj;
19675 fail:
19676 return NULL;
19677}
19678
19679
c32bde28 19680static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19681 PyObject *obj;
19682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19683 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
19684 Py_INCREF(obj);
19685 return Py_BuildValue((char *)"");
19686}
c32bde28 19687static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19688 PyObject *resultobj;
19689 int arg1 = (int) 0 ;
19690 wxPaintEvent *result;
19691 PyObject * obj0 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "Id", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
19697 if (obj0) {
093d3ff1
RD
19698 {
19699 arg1 = (int)(SWIG_As_int(obj0));
19700 if (SWIG_arg_fail(1)) SWIG_fail;
19701 }
d55e5bfc
RD
19702 }
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (wxPaintEvent *)new wxPaintEvent(arg1);
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
19711 return resultobj;
19712 fail:
19713 return NULL;
19714}
19715
19716
c32bde28 19717static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19718 PyObject *obj;
19719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19720 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
19721 Py_INCREF(obj);
19722 return Py_BuildValue((char *)"");
19723}
c32bde28 19724static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19725 PyObject *resultobj;
19726 int arg1 = (int) 0 ;
19727 wxNcPaintEvent *result;
19728 PyObject * obj0 = 0 ;
19729 char *kwnames[] = {
19730 (char *) "winid", NULL
19731 };
19732
19733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
19734 if (obj0) {
093d3ff1
RD
19735 {
19736 arg1 = (int)(SWIG_As_int(obj0));
19737 if (SWIG_arg_fail(1)) SWIG_fail;
19738 }
d55e5bfc
RD
19739 }
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
19748 return resultobj;
19749 fail:
19750 return NULL;
19751}
19752
19753
c32bde28 19754static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19755 PyObject *obj;
19756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19757 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
19758 Py_INCREF(obj);
19759 return Py_BuildValue((char *)"");
19760}
c32bde28 19761static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19762 PyObject *resultobj;
19763 int arg1 = (int) 0 ;
5ba5649b 19764 wxDC *arg2 = (wxDC *) NULL ;
d55e5bfc
RD
19765 wxEraseEvent *result;
19766 PyObject * obj0 = 0 ;
19767 PyObject * obj1 = 0 ;
19768 char *kwnames[] = {
19769 (char *) "Id",(char *) "dc", NULL
19770 };
19771
19772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
19773 if (obj0) {
093d3ff1
RD
19774 {
19775 arg1 = (int)(SWIG_As_int(obj0));
19776 if (SWIG_arg_fail(1)) SWIG_fail;
19777 }
d55e5bfc
RD
19778 }
19779 if (obj1) {
093d3ff1
RD
19780 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19781 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19782 }
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
19791 return resultobj;
19792 fail:
19793 return NULL;
19794}
19795
19796
c32bde28 19797static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19798 PyObject *resultobj;
19799 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
19800 wxDC *result;
19801 PyObject * obj0 = 0 ;
19802 char *kwnames[] = {
19803 (char *) "self", NULL
19804 };
19805
19806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
19807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEraseEvent, SWIG_POINTER_EXCEPTION | 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 {
412d302d 19817 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19818 }
19819 return resultobj;
19820 fail:
19821 return NULL;
19822}
19823
19824
c32bde28 19825static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19826 PyObject *obj;
19827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19828 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
19829 Py_INCREF(obj);
19830 return Py_BuildValue((char *)"");
19831}
c32bde28 19832static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19833 PyObject *resultobj;
19834 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19835 int arg2 = (int) 0 ;
19836 wxFocusEvent *result;
19837 PyObject * obj0 = 0 ;
19838 PyObject * obj1 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "type",(char *) "winid", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
19844 if (obj0) {
093d3ff1
RD
19845 {
19846 arg1 = (wxEventType)(SWIG_As_int(obj0));
19847 if (SWIG_arg_fail(1)) SWIG_fail;
19848 }
d55e5bfc
RD
19849 }
19850 if (obj1) {
093d3ff1
RD
19851 {
19852 arg2 = (int)(SWIG_As_int(obj1));
19853 if (SWIG_arg_fail(2)) SWIG_fail;
19854 }
d55e5bfc
RD
19855 }
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
19864 return resultobj;
19865 fail:
19866 return NULL;
19867}
19868
19869
c32bde28 19870static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19871 PyObject *resultobj;
19872 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
19873 wxWindow *result;
19874 PyObject * obj0 = 0 ;
19875 char *kwnames[] = {
19876 (char *) "self", NULL
19877 };
19878
19879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFocusEvent, SWIG_POINTER_EXCEPTION | 0);
19881 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 {
412d302d 19890 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19891 }
19892 return resultobj;
19893 fail:
19894 return NULL;
19895}
19896
19897
c32bde28 19898static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19899 PyObject *resultobj;
19900 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
19901 wxWindow *arg2 = (wxWindow *) 0 ;
19902 PyObject * obj0 = 0 ;
19903 PyObject * obj1 = 0 ;
19904 char *kwnames[] = {
19905 (char *) "self",(char *) "win", NULL
19906 };
19907
19908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFocusEvent, SWIG_POINTER_EXCEPTION | 0);
19910 if (SWIG_arg_fail(1)) SWIG_fail;
19911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19912 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 (arg1)->SetWindow(arg2);
19916
19917 wxPyEndAllowThreads(__tstate);
19918 if (PyErr_Occurred()) SWIG_fail;
19919 }
19920 Py_INCREF(Py_None); resultobj = Py_None;
19921 return resultobj;
19922 fail:
19923 return NULL;
19924}
19925
19926
c32bde28 19927static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19928 PyObject *obj;
19929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19930 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
19931 Py_INCREF(obj);
19932 return Py_BuildValue((char *)"");
19933}
c32bde28 19934static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19935 PyObject *resultobj;
19936 wxWindow *arg1 = (wxWindow *) NULL ;
19937 wxChildFocusEvent *result;
19938 PyObject * obj0 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "win", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
19944 if (obj0) {
093d3ff1
RD
19945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19946 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19947 }
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
19951
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
19955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
19956 return resultobj;
19957 fail:
19958 return NULL;
19959}
19960
19961
c32bde28 19962static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19963 PyObject *resultobj;
19964 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
19965 wxWindow *result;
19966 PyObject * obj0 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChildFocusEvent, SWIG_POINTER_EXCEPTION | 0);
19973 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 {
412d302d 19982 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19983 }
19984 return resultobj;
19985 fail:
19986 return NULL;
19987}
19988
19989
c32bde28 19990static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19991 PyObject *obj;
19992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19993 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
19994 Py_INCREF(obj);
19995 return Py_BuildValue((char *)"");
19996}
c32bde28 19997static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19998 PyObject *resultobj;
19999 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
ae8162c8 20000 bool arg2 = (bool) true ;
d55e5bfc
RD
20001 int arg3 = (int) 0 ;
20002 wxActivateEvent *result;
20003 PyObject * obj0 = 0 ;
20004 PyObject * obj1 = 0 ;
20005 PyObject * obj2 = 0 ;
20006 char *kwnames[] = {
20007 (char *) "type",(char *) "active",(char *) "Id", NULL
20008 };
20009
20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
20011 if (obj0) {
093d3ff1
RD
20012 {
20013 arg1 = (wxEventType)(SWIG_As_int(obj0));
20014 if (SWIG_arg_fail(1)) SWIG_fail;
20015 }
d55e5bfc
RD
20016 }
20017 if (obj1) {
093d3ff1
RD
20018 {
20019 arg2 = (bool)(SWIG_As_bool(obj1));
20020 if (SWIG_arg_fail(2)) SWIG_fail;
20021 }
d55e5bfc
RD
20022 }
20023 if (obj2) {
093d3ff1
RD
20024 {
20025 arg3 = (int)(SWIG_As_int(obj2));
20026 if (SWIG_arg_fail(3)) SWIG_fail;
20027 }
d55e5bfc
RD
20028 }
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
20032
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
20037 return resultobj;
20038 fail:
20039 return NULL;
20040}
20041
20042
c32bde28 20043static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20044 PyObject *resultobj;
20045 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
20046 bool result;
20047 PyObject * obj0 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self", NULL
20050 };
20051
20052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
20053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxActivateEvent, SWIG_POINTER_EXCEPTION | 0);
20054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
20058
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
20062 {
20063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20064 }
20065 return resultobj;
20066 fail:
20067 return NULL;
20068}
20069
20070
c32bde28 20071static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20072 PyObject *obj;
20073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20074 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
20075 Py_INCREF(obj);
20076 return Py_BuildValue((char *)"");
20077}
c32bde28 20078static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20079 PyObject *resultobj;
20080 int arg1 = (int) 0 ;
20081 wxInitDialogEvent *result;
20082 PyObject * obj0 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "Id", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
20088 if (obj0) {
093d3ff1
RD
20089 {
20090 arg1 = (int)(SWIG_As_int(obj0));
20091 if (SWIG_arg_fail(1)) SWIG_fail;
20092 }
d55e5bfc
RD
20093 }
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
20102 return resultobj;
20103 fail:
20104 return NULL;
20105}
20106
20107
c32bde28 20108static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20109 PyObject *obj;
20110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20111 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
20112 Py_INCREF(obj);
20113 return Py_BuildValue((char *)"");
20114}
c32bde28 20115static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20116 PyObject *resultobj;
20117 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20118 int arg2 = (int) 0 ;
20119 wxMenu *arg3 = (wxMenu *) NULL ;
20120 wxMenuEvent *result;
20121 PyObject * obj0 = 0 ;
20122 PyObject * obj1 = 0 ;
20123 PyObject * obj2 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "type",(char *) "winid",(char *) "menu", NULL
20126 };
20127
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
20129 if (obj0) {
093d3ff1
RD
20130 {
20131 arg1 = (wxEventType)(SWIG_As_int(obj0));
20132 if (SWIG_arg_fail(1)) SWIG_fail;
20133 }
d55e5bfc
RD
20134 }
20135 if (obj1) {
093d3ff1
RD
20136 {
20137 arg2 = (int)(SWIG_As_int(obj1));
20138 if (SWIG_arg_fail(2)) SWIG_fail;
20139 }
d55e5bfc
RD
20140 }
20141 if (obj2) {
093d3ff1
RD
20142 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
20143 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
20144 }
20145 {
20146 PyThreadState* __tstate = wxPyBeginAllowThreads();
20147 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
20148
20149 wxPyEndAllowThreads(__tstate);
20150 if (PyErr_Occurred()) SWIG_fail;
20151 }
20152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
20153 return resultobj;
20154 fail:
20155 return NULL;
20156}
20157
20158
c32bde28 20159static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20160 PyObject *resultobj;
20161 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
20162 int result;
20163 PyObject * obj0 = 0 ;
20164 char *kwnames[] = {
20165 (char *) "self", NULL
20166 };
20167
20168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
093d3ff1
RD
20169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0);
20170 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
093d3ff1
RD
20178 {
20179 resultobj = SWIG_From_int((int)(result));
20180 }
d55e5bfc
RD
20181 return resultobj;
20182 fail:
20183 return NULL;
20184}
20185
20186
c32bde28 20187static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20188 PyObject *resultobj;
20189 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
20190 bool result;
20191 PyObject * obj0 = 0 ;
20192 char *kwnames[] = {
20193 (char *) "self", NULL
20194 };
20195
20196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
093d3ff1
RD
20197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0);
20198 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
20202
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 {
20207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20208 }
20209 return resultobj;
20210 fail:
20211 return NULL;
20212}
20213
20214
c32bde28 20215static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20216 PyObject *resultobj;
20217 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
20218 wxMenu *result;
20219 PyObject * obj0 = 0 ;
20220 char *kwnames[] = {
20221 (char *) "self", NULL
20222 };
20223
20224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
20225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0);
20226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20227 {
20228 PyThreadState* __tstate = wxPyBeginAllowThreads();
20229 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
20230
20231 wxPyEndAllowThreads(__tstate);
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
20234 {
412d302d 20235 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20236 }
20237 return resultobj;
20238 fail:
20239 return NULL;
20240}
20241
20242
c32bde28 20243static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20244 PyObject *obj;
20245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20246 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
20247 Py_INCREF(obj);
20248 return Py_BuildValue((char *)"");
20249}
c32bde28 20250static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20251 PyObject *resultobj;
20252 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20253 int arg2 = (int) 0 ;
20254 wxCloseEvent *result;
20255 PyObject * obj0 = 0 ;
20256 PyObject * obj1 = 0 ;
20257 char *kwnames[] = {
20258 (char *) "type",(char *) "winid", NULL
20259 };
20260
20261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
20262 if (obj0) {
093d3ff1
RD
20263 {
20264 arg1 = (wxEventType)(SWIG_As_int(obj0));
20265 if (SWIG_arg_fail(1)) SWIG_fail;
20266 }
d55e5bfc
RD
20267 }
20268 if (obj1) {
093d3ff1
RD
20269 {
20270 arg2 = (int)(SWIG_As_int(obj1));
20271 if (SWIG_arg_fail(2)) SWIG_fail;
20272 }
d55e5bfc
RD
20273 }
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
20282 return resultobj;
20283 fail:
20284 return NULL;
20285}
20286
20287
c32bde28 20288static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20289 PyObject *resultobj;
20290 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
20291 bool arg2 ;
20292 PyObject * obj0 = 0 ;
20293 PyObject * obj1 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self",(char *) "logOff", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail;
20301 {
20302 arg2 = (bool)(SWIG_As_bool(obj1));
20303 if (SWIG_arg_fail(2)) SWIG_fail;
20304 }
d55e5bfc
RD
20305 {
20306 PyThreadState* __tstate = wxPyBeginAllowThreads();
20307 (arg1)->SetLoggingOff(arg2);
20308
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 Py_INCREF(Py_None); resultobj = Py_None;
20313 return resultobj;
20314 fail:
20315 return NULL;
20316}
20317
20318
c32bde28 20319static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20320 PyObject *resultobj;
20321 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
20322 bool result;
20323 PyObject * obj0 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
093d3ff1
RD
20329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 {
20339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20340 }
20341 return resultobj;
20342 fail:
20343 return NULL;
20344}
20345
20346
c32bde28 20347static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20348 PyObject *resultobj;
20349 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
ae8162c8 20350 bool arg2 = (bool) true ;
d55e5bfc
RD
20351 PyObject * obj0 = 0 ;
20352 PyObject * obj1 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self",(char *) "veto", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20359 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 20360 if (obj1) {
093d3ff1
RD
20361 {
20362 arg2 = (bool)(SWIG_As_bool(obj1));
20363 if (SWIG_arg_fail(2)) SWIG_fail;
20364 }
d55e5bfc
RD
20365 }
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 (arg1)->Veto(arg2);
20369
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 Py_INCREF(Py_None); resultobj = Py_None;
20374 return resultobj;
20375 fail:
20376 return NULL;
20377}
20378
20379
5ba5649b 20380static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20381 PyObject *resultobj;
20382 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
5ba5649b 20383 bool result;
d55e5bfc 20384 PyObject * obj0 = 0 ;
d55e5bfc 20385 char *kwnames[] = {
5ba5649b 20386 (char *) "self", NULL
d55e5bfc
RD
20387 };
20388
5ba5649b 20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
093d3ff1
RD
20390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5ba5649b 20394 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
d55e5bfc
RD
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
5ba5649b
RD
20399 {
20400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20401 }
d55e5bfc
RD
20402 return resultobj;
20403 fail:
20404 return NULL;
20405}
20406
20407
5ba5649b 20408static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20409 PyObject *resultobj;
20410 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
5ba5649b 20411 bool arg2 ;
d55e5bfc 20412 PyObject * obj0 = 0 ;
5ba5649b 20413 PyObject * obj1 = 0 ;
d55e5bfc 20414 char *kwnames[] = {
5ba5649b 20415 (char *) "self",(char *) "canVeto", NULL
d55e5bfc
RD
20416 };
20417
5ba5649b 20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20420 if (SWIG_arg_fail(1)) SWIG_fail;
5ba5649b
RD
20421 {
20422 arg2 = (bool)(SWIG_As_bool(obj1));
20423 if (SWIG_arg_fail(2)) SWIG_fail;
20424 }
d55e5bfc
RD
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5ba5649b 20427 (arg1)->SetCanVeto(arg2);
d55e5bfc
RD
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
5ba5649b 20432 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
20433 return resultobj;
20434 fail:
20435 return NULL;
20436}
20437
20438
5ba5649b 20439static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20440 PyObject *resultobj;
20441 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
20442 bool result;
20443 PyObject * obj0 = 0 ;
20444 char *kwnames[] = {
20445 (char *) "self", NULL
20446 };
20447
5ba5649b 20448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
093d3ff1
RD
20449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
20450 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5ba5649b 20453 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
d55e5bfc
RD
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 {
20459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20460 }
20461 return resultobj;
20462 fail:
20463 return NULL;
20464}
20465
20466
c32bde28 20467static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20468 PyObject *obj;
20469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20470 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
20471 Py_INCREF(obj);
20472 return Py_BuildValue((char *)"");
20473}
c32bde28 20474static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20475 PyObject *resultobj;
20476 int arg1 = (int) 0 ;
ae8162c8 20477 bool arg2 = (bool) false ;
d55e5bfc
RD
20478 wxShowEvent *result;
20479 PyObject * obj0 = 0 ;
20480 PyObject * obj1 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "winid",(char *) "show", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
20486 if (obj0) {
093d3ff1
RD
20487 {
20488 arg1 = (int)(SWIG_As_int(obj0));
20489 if (SWIG_arg_fail(1)) SWIG_fail;
20490 }
d55e5bfc
RD
20491 }
20492 if (obj1) {
093d3ff1
RD
20493 {
20494 arg2 = (bool)(SWIG_As_bool(obj1));
20495 if (SWIG_arg_fail(2)) SWIG_fail;
20496 }
d55e5bfc
RD
20497 }
20498 {
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
20501
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
20506 return resultobj;
20507 fail:
20508 return NULL;
20509}
20510
20511
c32bde28 20512static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20513 PyObject *resultobj;
20514 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
20515 bool arg2 ;
20516 PyObject * obj0 = 0 ;
20517 PyObject * obj1 = 0 ;
20518 char *kwnames[] = {
20519 (char *) "self",(char *) "show", NULL
20520 };
20521
20522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0);
20524 if (SWIG_arg_fail(1)) SWIG_fail;
20525 {
20526 arg2 = (bool)(SWIG_As_bool(obj1));
20527 if (SWIG_arg_fail(2)) SWIG_fail;
20528 }
d55e5bfc
RD
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 (arg1)->SetShow(arg2);
20532
20533 wxPyEndAllowThreads(__tstate);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 }
20536 Py_INCREF(Py_None); resultobj = Py_None;
20537 return resultobj;
20538 fail:
20539 return NULL;
20540}
20541
20542
c32bde28 20543static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20544 PyObject *resultobj;
20545 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
20546 bool result;
20547 PyObject * obj0 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "self", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0);
20554 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 result = (bool)((wxShowEvent const *)arg1)->GetShow();
20558
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 {
20563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20564 }
20565 return resultobj;
20566 fail:
20567 return NULL;
20568}
20569
20570
c32bde28 20571static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20572 PyObject *obj;
20573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20574 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
20575 Py_INCREF(obj);
20576 return Py_BuildValue((char *)"");
20577}
c32bde28 20578static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20579 PyObject *resultobj;
20580 int arg1 = (int) 0 ;
ae8162c8 20581 bool arg2 = (bool) true ;
d55e5bfc
RD
20582 wxIconizeEvent *result;
20583 PyObject * obj0 = 0 ;
20584 PyObject * obj1 = 0 ;
20585 char *kwnames[] = {
20586 (char *) "id",(char *) "iconized", NULL
20587 };
20588
20589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
20590 if (obj0) {
093d3ff1
RD
20591 {
20592 arg1 = (int)(SWIG_As_int(obj0));
20593 if (SWIG_arg_fail(1)) SWIG_fail;
20594 }
d55e5bfc
RD
20595 }
20596 if (obj1) {
093d3ff1
RD
20597 {
20598 arg2 = (bool)(SWIG_As_bool(obj1));
20599 if (SWIG_arg_fail(2)) SWIG_fail;
20600 }
d55e5bfc
RD
20601 }
20602 {
20603 PyThreadState* __tstate = wxPyBeginAllowThreads();
20604 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
20605
20606 wxPyEndAllowThreads(__tstate);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 }
20609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
20610 return resultobj;
20611 fail:
20612 return NULL;
20613}
20614
20615
c32bde28 20616static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20617 PyObject *resultobj;
20618 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
20619 bool result;
20620 PyObject * obj0 = 0 ;
20621 char *kwnames[] = {
20622 (char *) "self", NULL
20623 };
20624
20625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
093d3ff1
RD
20626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconizeEvent, SWIG_POINTER_EXCEPTION | 0);
20627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20628 {
20629 PyThreadState* __tstate = wxPyBeginAllowThreads();
20630 result = (bool)(arg1)->Iconized();
20631
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 {
20636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20637 }
20638 return resultobj;
20639 fail:
20640 return NULL;
20641}
20642
20643
c32bde28 20644static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20645 PyObject *obj;
20646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20647 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
20648 Py_INCREF(obj);
20649 return Py_BuildValue((char *)"");
20650}
c32bde28 20651static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20652 PyObject *resultobj;
20653 int arg1 = (int) 0 ;
20654 wxMaximizeEvent *result;
20655 PyObject * obj0 = 0 ;
20656 char *kwnames[] = {
20657 (char *) "id", NULL
20658 };
20659
20660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
20661 if (obj0) {
093d3ff1
RD
20662 {
20663 arg1 = (int)(SWIG_As_int(obj0));
20664 if (SWIG_arg_fail(1)) SWIG_fail;
20665 }
d55e5bfc
RD
20666 }
20667 {
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
20670
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
20675 return resultobj;
20676 fail:
20677 return NULL;
20678}
20679
20680
c32bde28 20681static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20682 PyObject *obj;
20683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20684 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
20685 Py_INCREF(obj);
20686 return Py_BuildValue((char *)"");
20687}
c32bde28 20688static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20689 PyObject *resultobj;
20690 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
20691 wxPoint result;
20692 PyObject * obj0 = 0 ;
20693 char *kwnames[] = {
20694 (char *) "self", NULL
20695 };
20696
20697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
20698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0);
20699 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20700 {
20701 PyThreadState* __tstate = wxPyBeginAllowThreads();
20702 result = (arg1)->GetPosition();
20703
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 {
20708 wxPoint * resultptr;
093d3ff1 20709 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
20710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20711 }
20712 return resultobj;
20713 fail:
20714 return NULL;
20715}
20716
20717
c32bde28 20718static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20719 PyObject *resultobj;
20720 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
20721 int result;
20722 PyObject * obj0 = 0 ;
20723 char *kwnames[] = {
20724 (char *) "self", NULL
20725 };
20726
20727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
093d3ff1
RD
20728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0);
20729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20730 {
20731 PyThreadState* __tstate = wxPyBeginAllowThreads();
20732 result = (int)(arg1)->GetNumberOfFiles();
20733
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
093d3ff1
RD
20737 {
20738 resultobj = SWIG_From_int((int)(result));
20739 }
d55e5bfc
RD
20740 return resultobj;
20741 fail:
20742 return NULL;
20743}
20744
20745
c32bde28 20746static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20747 PyObject *resultobj;
20748 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
20749 PyObject *result;
20750 PyObject * obj0 = 0 ;
20751 char *kwnames[] = {
20752 (char *) "self", NULL
20753 };
20754
20755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
093d3ff1
RD
20756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0);
20757 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20758 {
20759 PyThreadState* __tstate = wxPyBeginAllowThreads();
20760 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
20761
20762 wxPyEndAllowThreads(__tstate);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 }
20765 resultobj = result;
20766 return resultobj;
20767 fail:
20768 return NULL;
20769}
20770
20771
c32bde28 20772static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20773 PyObject *obj;
20774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20775 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
20776 Py_INCREF(obj);
20777 return Py_BuildValue((char *)"");
20778}
c32bde28 20779static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20780 PyObject *resultobj;
20781 int arg1 = (int) 0 ;
20782 wxUpdateUIEvent *result;
20783 PyObject * obj0 = 0 ;
20784 char *kwnames[] = {
20785 (char *) "commandId", NULL
20786 };
20787
20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
20789 if (obj0) {
093d3ff1
RD
20790 {
20791 arg1 = (int)(SWIG_As_int(obj0));
20792 if (SWIG_arg_fail(1)) SWIG_fail;
20793 }
d55e5bfc
RD
20794 }
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
20798
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
20802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
20803 return resultobj;
20804 fail:
20805 return NULL;
20806}
20807
20808
c32bde28 20809static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20810 PyObject *resultobj;
20811 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20812 bool result;
20813 PyObject * obj0 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
20819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20821 {
20822 PyThreadState* __tstate = wxPyBeginAllowThreads();
20823 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 {
20829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20830 }
20831 return resultobj;
20832 fail:
20833 return NULL;
20834}
20835
20836
c32bde28 20837static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20838 PyObject *resultobj;
20839 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20840 bool result;
20841 PyObject * obj0 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
20847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20848 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20849 {
20850 PyThreadState* __tstate = wxPyBeginAllowThreads();
20851 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
20852
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 {
20857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20858 }
20859 return resultobj;
20860 fail:
20861 return NULL;
20862}
20863
20864
c32bde28 20865static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20866 PyObject *resultobj;
20867 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20868 wxString result;
20869 PyObject * obj0 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
20875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20877 {
20878 PyThreadState* __tstate = wxPyBeginAllowThreads();
20879 result = ((wxUpdateUIEvent const *)arg1)->GetText();
20880
20881 wxPyEndAllowThreads(__tstate);
20882 if (PyErr_Occurred()) SWIG_fail;
20883 }
20884 {
20885#if wxUSE_UNICODE
20886 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20887#else
20888 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20889#endif
20890 }
20891 return resultobj;
20892 fail:
20893 return NULL;
20894}
20895
20896
c32bde28 20897static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20898 PyObject *resultobj;
20899 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20900 bool result;
20901 PyObject * obj0 = 0 ;
20902 char *kwnames[] = {
20903 (char *) "self", NULL
20904 };
20905
20906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
20907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20908 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20909 {
20910 PyThreadState* __tstate = wxPyBeginAllowThreads();
20911 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
20912
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 {
20917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20918 }
20919 return resultobj;
20920 fail:
20921 return NULL;
20922}
20923
20924
c32bde28 20925static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20926 PyObject *resultobj;
20927 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20928 bool result;
20929 PyObject * obj0 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
20935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20936 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
20940
20941 wxPyEndAllowThreads(__tstate);
20942 if (PyErr_Occurred()) SWIG_fail;
20943 }
20944 {
20945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20946 }
20947 return resultobj;
20948 fail:
20949 return NULL;
20950}
20951
20952
c32bde28 20953static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20954 PyObject *resultobj;
20955 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20956 bool result;
20957 PyObject * obj0 = 0 ;
20958 char *kwnames[] = {
20959 (char *) "self", NULL
20960 };
20961
20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
20963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20964 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
20968
20969 wxPyEndAllowThreads(__tstate);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 {
20973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20974 }
20975 return resultobj;
20976 fail:
20977 return NULL;
20978}
20979
20980
c32bde28 20981static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20982 PyObject *resultobj;
20983 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
20984 bool arg2 ;
20985 PyObject * obj0 = 0 ;
20986 PyObject * obj1 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "self",(char *) "check", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail;
20994 {
20995 arg2 = (bool)(SWIG_As_bool(obj1));
20996 if (SWIG_arg_fail(2)) SWIG_fail;
20997 }
d55e5bfc
RD
20998 {
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 (arg1)->Check(arg2);
21001
21002 wxPyEndAllowThreads(__tstate);
21003 if (PyErr_Occurred()) SWIG_fail;
21004 }
21005 Py_INCREF(Py_None); resultobj = Py_None;
21006 return resultobj;
21007 fail:
21008 return NULL;
21009}
21010
21011
c32bde28 21012static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21013 PyObject *resultobj;
21014 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21015 bool arg2 ;
21016 PyObject * obj0 = 0 ;
21017 PyObject * obj1 = 0 ;
21018 char *kwnames[] = {
21019 (char *) "self",(char *) "enable", NULL
21020 };
21021
21022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21024 if (SWIG_arg_fail(1)) SWIG_fail;
21025 {
21026 arg2 = (bool)(SWIG_As_bool(obj1));
21027 if (SWIG_arg_fail(2)) SWIG_fail;
21028 }
d55e5bfc
RD
21029 {
21030 PyThreadState* __tstate = wxPyBeginAllowThreads();
21031 (arg1)->Enable(arg2);
21032
21033 wxPyEndAllowThreads(__tstate);
21034 if (PyErr_Occurred()) SWIG_fail;
21035 }
21036 Py_INCREF(Py_None); resultobj = Py_None;
21037 return resultobj;
21038 fail:
21039 return NULL;
21040}
21041
21042
c32bde28 21043static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21044 PyObject *resultobj;
21045 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21046 wxString *arg2 = 0 ;
ae8162c8 21047 bool temp2 = false ;
d55e5bfc
RD
21048 PyObject * obj0 = 0 ;
21049 PyObject * obj1 = 0 ;
21050 char *kwnames[] = {
21051 (char *) "self",(char *) "text", NULL
21052 };
21053
21054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21057 {
21058 arg2 = wxString_in_helper(obj1);
21059 if (arg2 == NULL) SWIG_fail;
ae8162c8 21060 temp2 = true;
d55e5bfc
RD
21061 }
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 (arg1)->SetText((wxString const &)*arg2);
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 Py_INCREF(Py_None); resultobj = Py_None;
21070 {
21071 if (temp2)
21072 delete arg2;
21073 }
21074 return resultobj;
21075 fail:
21076 {
21077 if (temp2)
21078 delete arg2;
21079 }
21080 return NULL;
21081}
21082
21083
c32bde28 21084static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21085 PyObject *resultobj;
21086 long arg1 ;
21087 PyObject * obj0 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "updateInterval", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
21093 {
21094 arg1 = (long)(SWIG_As_long(obj0));
21095 if (SWIG_arg_fail(1)) SWIG_fail;
21096 }
d55e5bfc
RD
21097 {
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 wxUpdateUIEvent::SetUpdateInterval(arg1);
21100
21101 wxPyEndAllowThreads(__tstate);
21102 if (PyErr_Occurred()) SWIG_fail;
21103 }
21104 Py_INCREF(Py_None); resultobj = Py_None;
21105 return resultobj;
21106 fail:
21107 return NULL;
21108}
21109
21110
c32bde28 21111static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21112 PyObject *resultobj;
21113 long result;
21114 char *kwnames[] = {
21115 NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 result = (long)wxUpdateUIEvent::GetUpdateInterval();
21122
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
093d3ff1
RD
21126 {
21127 resultobj = SWIG_From_long((long)(result));
21128 }
d55e5bfc
RD
21129 return resultobj;
21130 fail:
21131 return NULL;
21132}
21133
21134
c32bde28 21135static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21136 PyObject *resultobj;
21137 wxWindow *arg1 = (wxWindow *) 0 ;
21138 bool result;
21139 PyObject * obj0 = 0 ;
21140 char *kwnames[] = {
21141 (char *) "win", NULL
21142 };
21143
21144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
093d3ff1
RD
21145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21146 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21147 {
21148 PyThreadState* __tstate = wxPyBeginAllowThreads();
21149 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
21150
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
21154 {
21155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21156 }
21157 return resultobj;
21158 fail:
21159 return NULL;
21160}
21161
21162
c32bde28 21163static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21164 PyObject *resultobj;
21165 char *kwnames[] = {
21166 NULL
21167 };
21168
21169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 wxUpdateUIEvent::ResetUpdateTime();
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 Py_INCREF(Py_None); resultobj = Py_None;
21178 return resultobj;
21179 fail:
21180 return NULL;
21181}
21182
21183
c32bde28 21184static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 21185 PyObject *resultobj;
093d3ff1 21186 wxUpdateUIMode arg1 ;
d55e5bfc
RD
21187 PyObject * obj0 = 0 ;
21188 char *kwnames[] = {
21189 (char *) "mode", NULL
21190 };
21191
21192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
21193 {
21194 arg1 = (wxUpdateUIMode)(SWIG_As_int(obj0));
21195 if (SWIG_arg_fail(1)) SWIG_fail;
21196 }
d55e5bfc
RD
21197 {
21198 PyThreadState* __tstate = wxPyBeginAllowThreads();
21199 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
21200
21201 wxPyEndAllowThreads(__tstate);
21202 if (PyErr_Occurred()) SWIG_fail;
21203 }
21204 Py_INCREF(Py_None); resultobj = Py_None;
21205 return resultobj;
21206 fail:
21207 return NULL;
21208}
21209
21210
c32bde28 21211static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 21212 PyObject *resultobj;
093d3ff1 21213 wxUpdateUIMode result;
d55e5bfc
RD
21214 char *kwnames[] = {
21215 NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21221 result = (wxUpdateUIMode)wxUpdateUIEvent::GetMode();
d55e5bfc
RD
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
093d3ff1 21226 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21227 return resultobj;
21228 fail:
21229 return NULL;
21230}
21231
21232
c32bde28 21233static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21234 PyObject *obj;
21235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21236 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
21237 Py_INCREF(obj);
21238 return Py_BuildValue((char *)"");
21239}
c32bde28 21240static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21241 PyObject *resultobj;
21242 wxSysColourChangedEvent *result;
21243 char *kwnames[] = {
21244 NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
21248 {
21249 PyThreadState* __tstate = wxPyBeginAllowThreads();
21250 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
21251
21252 wxPyEndAllowThreads(__tstate);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
21256 return resultobj;
21257 fail:
21258 return NULL;
21259}
21260
21261
c32bde28 21262static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21263 PyObject *obj;
21264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21265 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
21266 Py_INCREF(obj);
21267 return Py_BuildValue((char *)"");
21268}
c32bde28 21269static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21270 PyObject *resultobj;
21271 int arg1 = (int) 0 ;
21272 wxWindow *arg2 = (wxWindow *) NULL ;
21273 wxMouseCaptureChangedEvent *result;
21274 PyObject * obj0 = 0 ;
21275 PyObject * obj1 = 0 ;
21276 char *kwnames[] = {
21277 (char *) "winid",(char *) "gainedCapture", NULL
21278 };
21279
21280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
21281 if (obj0) {
093d3ff1
RD
21282 {
21283 arg1 = (int)(SWIG_As_int(obj0));
21284 if (SWIG_arg_fail(1)) SWIG_fail;
21285 }
d55e5bfc
RD
21286 }
21287 if (obj1) {
093d3ff1
RD
21288 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21289 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21290 }
21291 {
21292 PyThreadState* __tstate = wxPyBeginAllowThreads();
21293 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
21294
21295 wxPyEndAllowThreads(__tstate);
21296 if (PyErr_Occurred()) SWIG_fail;
21297 }
21298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
21299 return resultobj;
21300 fail:
21301 return NULL;
21302}
21303
21304
c32bde28 21305static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21306 PyObject *resultobj;
21307 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
21308 wxWindow *result;
21309 PyObject * obj0 = 0 ;
21310 char *kwnames[] = {
21311 (char *) "self", NULL
21312 };
21313
21314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
21315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent, SWIG_POINTER_EXCEPTION | 0);
21316 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21317 {
21318 PyThreadState* __tstate = wxPyBeginAllowThreads();
21319 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
21320
21321 wxPyEndAllowThreads(__tstate);
21322 if (PyErr_Occurred()) SWIG_fail;
21323 }
21324 {
412d302d 21325 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21326 }
21327 return resultobj;
21328 fail:
21329 return NULL;
21330}
21331
21332
c32bde28 21333static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21334 PyObject *obj;
21335 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21336 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
21337 Py_INCREF(obj);
21338 return Py_BuildValue((char *)"");
21339}
c32bde28 21340static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21341 PyObject *resultobj;
21342 wxDisplayChangedEvent *result;
21343 char *kwnames[] = {
21344 NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
21350 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
21351
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
21356 return resultobj;
21357 fail:
21358 return NULL;
21359}
21360
21361
c32bde28 21362static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21363 PyObject *obj;
21364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21365 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
21366 Py_INCREF(obj);
21367 return Py_BuildValue((char *)"");
21368}
c32bde28 21369static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21370 PyObject *resultobj;
21371 int arg1 = (int) 0 ;
21372 wxPaletteChangedEvent *result;
21373 PyObject * obj0 = 0 ;
21374 char *kwnames[] = {
21375 (char *) "id", NULL
21376 };
21377
21378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
21379 if (obj0) {
093d3ff1
RD
21380 {
21381 arg1 = (int)(SWIG_As_int(obj0));
21382 if (SWIG_arg_fail(1)) SWIG_fail;
21383 }
d55e5bfc
RD
21384 }
21385 {
21386 PyThreadState* __tstate = wxPyBeginAllowThreads();
21387 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
21388
21389 wxPyEndAllowThreads(__tstate);
21390 if (PyErr_Occurred()) SWIG_fail;
21391 }
21392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
21393 return resultobj;
21394 fail:
21395 return NULL;
21396}
21397
21398
c32bde28 21399static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21400 PyObject *resultobj;
21401 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
21402 wxWindow *arg2 = (wxWindow *) 0 ;
21403 PyObject * obj0 = 0 ;
21404 PyObject * obj1 = 0 ;
21405 char *kwnames[] = {
21406 (char *) "self",(char *) "win", NULL
21407 };
21408
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPaletteChangedEvent, SWIG_POINTER_EXCEPTION | 0);
21411 if (SWIG_arg_fail(1)) SWIG_fail;
21412 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21413 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 (arg1)->SetChangedWindow(arg2);
21417
21418 wxPyEndAllowThreads(__tstate);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 }
21421 Py_INCREF(Py_None); resultobj = Py_None;
21422 return resultobj;
21423 fail:
21424 return NULL;
21425}
21426
21427
c32bde28 21428static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21429 PyObject *resultobj;
21430 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
21431 wxWindow *result;
21432 PyObject * obj0 = 0 ;
21433 char *kwnames[] = {
21434 (char *) "self", NULL
21435 };
21436
21437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
21438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPaletteChangedEvent, SWIG_POINTER_EXCEPTION | 0);
21439 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21440 {
21441 PyThreadState* __tstate = wxPyBeginAllowThreads();
21442 result = (wxWindow *)(arg1)->GetChangedWindow();
21443
21444 wxPyEndAllowThreads(__tstate);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 }
21447 {
412d302d 21448 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21449 }
21450 return resultobj;
21451 fail:
21452 return NULL;
21453}
21454
21455
c32bde28 21456static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21457 PyObject *obj;
21458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21459 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
21460 Py_INCREF(obj);
21461 return Py_BuildValue((char *)"");
21462}
c32bde28 21463static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21464 PyObject *resultobj;
21465 int arg1 = (int) 0 ;
21466 wxQueryNewPaletteEvent *result;
21467 PyObject * obj0 = 0 ;
21468 char *kwnames[] = {
21469 (char *) "winid", NULL
21470 };
21471
21472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
21473 if (obj0) {
093d3ff1
RD
21474 {
21475 arg1 = (int)(SWIG_As_int(obj0));
21476 if (SWIG_arg_fail(1)) SWIG_fail;
21477 }
d55e5bfc
RD
21478 }
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
21487 return resultobj;
21488 fail:
21489 return NULL;
21490}
21491
21492
c32bde28 21493static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21494 PyObject *resultobj;
21495 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
21496 bool arg2 ;
21497 PyObject * obj0 = 0 ;
21498 PyObject * obj1 = 0 ;
21499 char *kwnames[] = {
21500 (char *) "self",(char *) "realized", NULL
21501 };
21502
21503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0);
21505 if (SWIG_arg_fail(1)) SWIG_fail;
21506 {
21507 arg2 = (bool)(SWIG_As_bool(obj1));
21508 if (SWIG_arg_fail(2)) SWIG_fail;
21509 }
d55e5bfc
RD
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 (arg1)->SetPaletteRealized(arg2);
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 Py_INCREF(Py_None); resultobj = Py_None;
21518 return resultobj;
21519 fail:
21520 return NULL;
21521}
21522
21523
c32bde28 21524static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21525 PyObject *resultobj;
21526 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
21527 bool result;
21528 PyObject * obj0 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
093d3ff1
RD
21534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0);
21535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
21539
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21545 }
21546 return resultobj;
21547 fail:
21548 return NULL;
21549}
21550
21551
c32bde28 21552static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21553 PyObject *obj;
21554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21555 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
21556 Py_INCREF(obj);
21557 return Py_BuildValue((char *)"");
21558}
c32bde28 21559static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21560 PyObject *resultobj;
21561 wxNavigationKeyEvent *result;
21562 char *kwnames[] = {
21563 NULL
21564 };
21565
21566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
21567 {
21568 PyThreadState* __tstate = wxPyBeginAllowThreads();
21569 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
21570
21571 wxPyEndAllowThreads(__tstate);
21572 if (PyErr_Occurred()) SWIG_fail;
21573 }
21574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
21575 return resultobj;
21576 fail:
21577 return NULL;
21578}
21579
21580
c32bde28 21581static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21582 PyObject *resultobj;
21583 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21584 bool result;
21585 PyObject * obj0 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
093d3ff1
RD
21591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 {
21601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21602 }
21603 return resultobj;
21604 fail:
21605 return NULL;
21606}
21607
21608
c32bde28 21609static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21610 PyObject *resultobj;
21611 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21612 bool arg2 ;
21613 PyObject * obj0 = 0 ;
21614 PyObject * obj1 = 0 ;
21615 char *kwnames[] = {
908b74cd 21616 (char *) "self",(char *) "forward", NULL
d55e5bfc
RD
21617 };
21618
21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail;
21622 {
21623 arg2 = (bool)(SWIG_As_bool(obj1));
21624 if (SWIG_arg_fail(2)) SWIG_fail;
21625 }
d55e5bfc
RD
21626 {
21627 PyThreadState* __tstate = wxPyBeginAllowThreads();
21628 (arg1)->SetDirection(arg2);
21629
21630 wxPyEndAllowThreads(__tstate);
21631 if (PyErr_Occurred()) SWIG_fail;
21632 }
21633 Py_INCREF(Py_None); resultobj = Py_None;
21634 return resultobj;
21635 fail:
21636 return NULL;
21637}
21638
21639
c32bde28 21640static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21641 PyObject *resultobj;
21642 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21643 bool result;
21644 PyObject * obj0 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
093d3ff1
RD
21650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 {
21660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21661 }
21662 return resultobj;
21663 fail:
21664 return NULL;
21665}
21666
21667
c32bde28 21668static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21669 PyObject *resultobj;
21670 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21671 bool arg2 ;
21672 PyObject * obj0 = 0 ;
21673 PyObject * obj1 = 0 ;
21674 char *kwnames[] = {
908b74cd 21675 (char *) "self",(char *) "ischange", NULL
d55e5bfc
RD
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21680 if (SWIG_arg_fail(1)) SWIG_fail;
21681 {
21682 arg2 = (bool)(SWIG_As_bool(obj1));
21683 if (SWIG_arg_fail(2)) SWIG_fail;
21684 }
d55e5bfc
RD
21685 {
21686 PyThreadState* __tstate = wxPyBeginAllowThreads();
21687 (arg1)->SetWindowChange(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
68350608
RD
21699static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, PyObject *kwargs) {
21700 PyObject *resultobj;
21701 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21702 bool result;
21703 PyObject * obj0 = 0 ;
21704 char *kwnames[] = {
21705 (char *) "self", NULL
21706 };
21707
21708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames,&obj0)) goto fail;
21709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21710 if (SWIG_arg_fail(1)) SWIG_fail;
21711 {
21712 PyThreadState* __tstate = wxPyBeginAllowThreads();
21713 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsFromTab();
21714
21715 wxPyEndAllowThreads(__tstate);
21716 if (PyErr_Occurred()) SWIG_fail;
21717 }
21718 {
21719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21720 }
21721 return resultobj;
21722 fail:
21723 return NULL;
21724}
21725
21726
21727static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, PyObject *kwargs) {
21728 PyObject *resultobj;
21729 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21730 bool arg2 ;
21731 PyObject * obj0 = 0 ;
21732 PyObject * obj1 = 0 ;
21733 char *kwnames[] = {
21734 (char *) "self",(char *) "bIs", NULL
21735 };
21736
21737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames,&obj0,&obj1)) goto fail;
21738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21739 if (SWIG_arg_fail(1)) SWIG_fail;
21740 {
21741 arg2 = (bool)(SWIG_As_bool(obj1));
21742 if (SWIG_arg_fail(2)) SWIG_fail;
21743 }
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 (arg1)->SetFromTab(arg2);
21747
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 Py_INCREF(Py_None); resultobj = Py_None;
21752 return resultobj;
21753 fail:
21754 return NULL;
21755}
21756
21757
c32bde28 21758static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
21759 PyObject *resultobj;
21760 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21761 long arg2 ;
21762 PyObject * obj0 = 0 ;
21763 PyObject * obj1 = 0 ;
21764 char *kwnames[] = {
21765 (char *) "self",(char *) "flags", NULL
21766 };
21767
21768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21770 if (SWIG_arg_fail(1)) SWIG_fail;
21771 {
21772 arg2 = (long)(SWIG_As_long(obj1));
21773 if (SWIG_arg_fail(2)) SWIG_fail;
21774 }
908b74cd
RD
21775 {
21776 PyThreadState* __tstate = wxPyBeginAllowThreads();
21777 (arg1)->SetFlags(arg2);
21778
21779 wxPyEndAllowThreads(__tstate);
21780 if (PyErr_Occurred()) SWIG_fail;
21781 }
21782 Py_INCREF(Py_None); resultobj = Py_None;
21783 return resultobj;
21784 fail:
21785 return NULL;
21786}
21787
21788
c32bde28 21789static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21790 PyObject *resultobj;
21791 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21792 wxWindow *result;
21793 PyObject * obj0 = 0 ;
21794 char *kwnames[] = {
21795 (char *) "self", NULL
21796 };
21797
21798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
21799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21800 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
21804
21805 wxPyEndAllowThreads(__tstate);
21806 if (PyErr_Occurred()) SWIG_fail;
21807 }
21808 {
412d302d 21809 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21810 }
21811 return resultobj;
21812 fail:
21813 return NULL;
21814}
21815
21816
c32bde28 21817static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21818 PyObject *resultobj;
21819 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
21820 wxWindow *arg2 = (wxWindow *) 0 ;
21821 PyObject * obj0 = 0 ;
21822 PyObject * obj1 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self",(char *) "win", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
21829 if (SWIG_arg_fail(1)) SWIG_fail;
21830 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21831 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 (arg1)->SetCurrentFocus(arg2);
21835
21836 wxPyEndAllowThreads(__tstate);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 }
21839 Py_INCREF(Py_None); resultobj = Py_None;
21840 return resultobj;
21841 fail:
21842 return NULL;
21843}
21844
21845
c32bde28 21846static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21847 PyObject *obj;
21848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21849 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
21850 Py_INCREF(obj);
21851 return Py_BuildValue((char *)"");
21852}
c32bde28 21853static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21854 PyObject *resultobj;
21855 wxWindow *arg1 = (wxWindow *) NULL ;
21856 wxWindowCreateEvent *result;
21857 PyObject * obj0 = 0 ;
21858 char *kwnames[] = {
21859 (char *) "win", NULL
21860 };
21861
21862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
21863 if (obj0) {
093d3ff1
RD
21864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21865 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21866 }
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
21870
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
21875 return resultobj;
21876 fail:
21877 return NULL;
21878}
21879
21880
c32bde28 21881static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21882 PyObject *resultobj;
21883 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
21884 wxWindow *result;
21885 PyObject * obj0 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
21891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowCreateEvent, SWIG_POINTER_EXCEPTION | 0);
21892 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21893 {
21894 PyThreadState* __tstate = wxPyBeginAllowThreads();
21895 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
21896
21897 wxPyEndAllowThreads(__tstate);
21898 if (PyErr_Occurred()) SWIG_fail;
21899 }
21900 {
412d302d 21901 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21902 }
21903 return resultobj;
21904 fail:
21905 return NULL;
21906}
21907
21908
c32bde28 21909static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21910 PyObject *obj;
21911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21912 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
21913 Py_INCREF(obj);
21914 return Py_BuildValue((char *)"");
21915}
c32bde28 21916static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21917 PyObject *resultobj;
21918 wxWindow *arg1 = (wxWindow *) NULL ;
21919 wxWindowDestroyEvent *result;
21920 PyObject * obj0 = 0 ;
21921 char *kwnames[] = {
21922 (char *) "win", NULL
21923 };
21924
21925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
21926 if (obj0) {
093d3ff1
RD
21927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21928 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21929 }
21930 {
21931 PyThreadState* __tstate = wxPyBeginAllowThreads();
21932 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
21933
21934 wxPyEndAllowThreads(__tstate);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 }
21937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
21938 return resultobj;
21939 fail:
21940 return NULL;
21941}
21942
21943
c32bde28 21944static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21945 PyObject *resultobj;
21946 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
21947 wxWindow *result;
21948 PyObject * obj0 = 0 ;
21949 char *kwnames[] = {
21950 (char *) "self", NULL
21951 };
21952
21953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
21954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDestroyEvent, SWIG_POINTER_EXCEPTION | 0);
21955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21956 {
21957 PyThreadState* __tstate = wxPyBeginAllowThreads();
21958 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
21959
21960 wxPyEndAllowThreads(__tstate);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 {
412d302d 21964 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21965 }
21966 return resultobj;
21967 fail:
21968 return NULL;
21969}
21970
21971
c32bde28 21972static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21973 PyObject *obj;
21974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21975 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
21976 Py_INCREF(obj);
21977 return Py_BuildValue((char *)"");
21978}
c32bde28 21979static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21980 PyObject *resultobj;
21981 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21982 int arg2 = (int) 0 ;
21983 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21984 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21985 wxContextMenuEvent *result;
21986 wxPoint temp3 ;
21987 PyObject * obj0 = 0 ;
21988 PyObject * obj1 = 0 ;
21989 PyObject * obj2 = 0 ;
21990 char *kwnames[] = {
21991 (char *) "type",(char *) "winid",(char *) "pt", NULL
21992 };
21993
21994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
21995 if (obj0) {
093d3ff1
RD
21996 {
21997 arg1 = (wxEventType)(SWIG_As_int(obj0));
21998 if (SWIG_arg_fail(1)) SWIG_fail;
21999 }
d55e5bfc
RD
22000 }
22001 if (obj1) {
093d3ff1
RD
22002 {
22003 arg2 = (int)(SWIG_As_int(obj1));
22004 if (SWIG_arg_fail(2)) SWIG_fail;
22005 }
d55e5bfc
RD
22006 }
22007 if (obj2) {
22008 {
22009 arg3 = &temp3;
22010 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22011 }
22012 }
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
22021 return resultobj;
22022 fail:
22023 return NULL;
22024}
22025
22026
c32bde28 22027static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22028 PyObject *resultobj;
22029 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
22030 wxPoint *result;
22031 PyObject * obj0 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
22037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextMenuEvent, SWIG_POINTER_EXCEPTION | 0);
22038 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 {
22042 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
22043 result = (wxPoint *) &_result_ref;
22044 }
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
22050 return resultobj;
22051 fail:
22052 return NULL;
22053}
22054
22055
c32bde28 22056static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22057 PyObject *resultobj;
22058 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
22059 wxPoint *arg2 = 0 ;
22060 wxPoint temp2 ;
22061 PyObject * obj0 = 0 ;
22062 PyObject * obj1 = 0 ;
22063 char *kwnames[] = {
22064 (char *) "self",(char *) "pos", NULL
22065 };
22066
22067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextMenuEvent, SWIG_POINTER_EXCEPTION | 0);
22069 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22070 {
22071 arg2 = &temp2;
22072 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22073 }
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 (arg1)->SetPosition((wxPoint const &)*arg2);
22077
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
22081 Py_INCREF(Py_None); resultobj = Py_None;
22082 return resultobj;
22083 fail:
22084 return NULL;
22085}
22086
22087
c32bde28 22088static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22089 PyObject *obj;
22090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22091 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
22092 Py_INCREF(obj);
22093 return Py_BuildValue((char *)"");
22094}
c32bde28 22095static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22096 PyObject *resultobj;
22097 wxIdleEvent *result;
22098 char *kwnames[] = {
22099 NULL
22100 };
22101
22102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 result = (wxIdleEvent *)new wxIdleEvent();
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
22110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
22111 return resultobj;
22112 fail:
22113 return NULL;
22114}
22115
22116
c32bde28 22117static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22118 PyObject *resultobj;
22119 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
ae8162c8 22120 bool arg2 = (bool) true ;
d55e5bfc
RD
22121 PyObject * obj0 = 0 ;
22122 PyObject * obj1 = 0 ;
22123 char *kwnames[] = {
22124 (char *) "self",(char *) "needMore", NULL
22125 };
22126
22127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0);
22129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22130 if (obj1) {
093d3ff1
RD
22131 {
22132 arg2 = (bool)(SWIG_As_bool(obj1));
22133 if (SWIG_arg_fail(2)) SWIG_fail;
22134 }
d55e5bfc
RD
22135 }
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 (arg1)->RequestMore(arg2);
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 Py_INCREF(Py_None); resultobj = Py_None;
22144 return resultobj;
22145 fail:
22146 return NULL;
22147}
22148
22149
c32bde28 22150static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22151 PyObject *resultobj;
22152 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
22153 bool result;
22154 PyObject * obj0 = 0 ;
22155 char *kwnames[] = {
22156 (char *) "self", NULL
22157 };
22158
22159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
093d3ff1
RD
22160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0);
22161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
22165
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
22169 {
22170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22171 }
22172 return resultobj;
22173 fail:
22174 return NULL;
22175}
22176
22177
c32bde28 22178static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 22179 PyObject *resultobj;
093d3ff1 22180 wxIdleMode arg1 ;
d55e5bfc
RD
22181 PyObject * obj0 = 0 ;
22182 char *kwnames[] = {
22183 (char *) "mode", NULL
22184 };
22185
22186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
22187 {
22188 arg1 = (wxIdleMode)(SWIG_As_int(obj0));
22189 if (SWIG_arg_fail(1)) SWIG_fail;
22190 }
d55e5bfc
RD
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 wxIdleEvent::SetMode((wxIdleMode )arg1);
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 Py_INCREF(Py_None); resultobj = Py_None;
22199 return resultobj;
22200 fail:
22201 return NULL;
22202}
22203
22204
c32bde28 22205static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 22206 PyObject *resultobj;
093d3ff1 22207 wxIdleMode result;
d55e5bfc
RD
22208 char *kwnames[] = {
22209 NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
22213 {
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22215 result = (wxIdleMode)wxIdleEvent::GetMode();
d55e5bfc
RD
22216
22217 wxPyEndAllowThreads(__tstate);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 }
093d3ff1 22220 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22221 return resultobj;
22222 fail:
22223 return NULL;
22224}
22225
22226
c32bde28 22227static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22228 PyObject *resultobj;
22229 wxWindow *arg1 = (wxWindow *) 0 ;
22230 bool result;
22231 PyObject * obj0 = 0 ;
22232 char *kwnames[] = {
22233 (char *) "win", NULL
22234 };
22235
22236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
093d3ff1
RD
22237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22238 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 result = (bool)wxIdleEvent::CanSend(arg1);
22242
22243 wxPyEndAllowThreads(__tstate);
22244 if (PyErr_Occurred()) SWIG_fail;
22245 }
22246 {
22247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22248 }
22249 return resultobj;
22250 fail:
22251 return NULL;
22252}
22253
22254
c32bde28 22255static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22256 PyObject *obj;
22257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22258 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
22259 Py_INCREF(obj);
22260 return Py_BuildValue((char *)"");
22261}
c32bde28 22262static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22263 PyObject *resultobj;
22264 int arg1 = (int) 0 ;
22265 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
22266 wxPyEvent *result;
22267 PyObject * obj0 = 0 ;
22268 PyObject * obj1 = 0 ;
22269 char *kwnames[] = {
5ba5649b 22270 (char *) "winid",(char *) "eventType", NULL
d55e5bfc
RD
22271 };
22272
22273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
22274 if (obj0) {
093d3ff1
RD
22275 {
22276 arg1 = (int)(SWIG_As_int(obj0));
22277 if (SWIG_arg_fail(1)) SWIG_fail;
22278 }
d55e5bfc
RD
22279 }
22280 if (obj1) {
093d3ff1
RD
22281 {
22282 arg2 = (wxEventType)(SWIG_As_int(obj1));
22283 if (SWIG_arg_fail(2)) SWIG_fail;
22284 }
d55e5bfc
RD
22285 }
22286 {
22287 PyThreadState* __tstate = wxPyBeginAllowThreads();
22288 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
22289
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
22294 return resultobj;
22295 fail:
22296 return NULL;
22297}
22298
22299
c32bde28 22300static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22301 PyObject *resultobj;
22302 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
22303 PyObject * obj0 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self", NULL
22306 };
22307
22308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
22309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
22310 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22311 {
22312 PyThreadState* __tstate = wxPyBeginAllowThreads();
22313 delete arg1;
22314
22315 wxPyEndAllowThreads(__tstate);
22316 if (PyErr_Occurred()) SWIG_fail;
22317 }
22318 Py_INCREF(Py_None); resultobj = Py_None;
22319 return resultobj;
22320 fail:
22321 return NULL;
22322}
22323
22324
5ba5649b 22325static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22326 PyObject *resultobj;
22327 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
22328 PyObject *arg2 = (PyObject *) 0 ;
22329 PyObject * obj0 = 0 ;
22330 PyObject * obj1 = 0 ;
22331 char *kwnames[] = {
22332 (char *) "self",(char *) "self", NULL
22333 };
22334
5ba5649b 22335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
22337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22338 arg2 = obj1;
22339 {
22340 PyThreadState* __tstate = wxPyBeginAllowThreads();
22341 (arg1)->SetSelf(arg2);
22342
22343 wxPyEndAllowThreads(__tstate);
22344 if (PyErr_Occurred()) SWIG_fail;
22345 }
22346 Py_INCREF(Py_None); resultobj = Py_None;
22347 return resultobj;
22348 fail:
22349 return NULL;
22350}
22351
22352
5ba5649b 22353static PyObject *_wrap_PyEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22354 PyObject *resultobj;
22355 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
22356 PyObject *result;
22357 PyObject * obj0 = 0 ;
22358 char *kwnames[] = {
22359 (char *) "self", NULL
22360 };
22361
5ba5649b 22362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent__GetSelf",kwnames,&obj0)) goto fail;
093d3ff1
RD
22363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
22364 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22365 {
22366 PyThreadState* __tstate = wxPyBeginAllowThreads();
22367 result = (PyObject *)(arg1)->GetSelf();
22368
22369 wxPyEndAllowThreads(__tstate);
22370 if (PyErr_Occurred()) SWIG_fail;
22371 }
22372 resultobj = result;
22373 return resultobj;
22374 fail:
22375 return NULL;
22376}
22377
22378
c32bde28 22379static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22380 PyObject *obj;
22381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22382 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
22383 Py_INCREF(obj);
22384 return Py_BuildValue((char *)"");
22385}
c32bde28 22386static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22387 PyObject *resultobj;
22388 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22389 int arg2 = (int) 0 ;
22390 wxPyCommandEvent *result;
22391 PyObject * obj0 = 0 ;
22392 PyObject * obj1 = 0 ;
22393 char *kwnames[] = {
5ba5649b 22394 (char *) "eventType",(char *) "id", NULL
d55e5bfc
RD
22395 };
22396
22397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
22398 if (obj0) {
093d3ff1
RD
22399 {
22400 arg1 = (wxEventType)(SWIG_As_int(obj0));
22401 if (SWIG_arg_fail(1)) SWIG_fail;
22402 }
d55e5bfc
RD
22403 }
22404 if (obj1) {
093d3ff1
RD
22405 {
22406 arg2 = (int)(SWIG_As_int(obj1));
22407 if (SWIG_arg_fail(2)) SWIG_fail;
22408 }
d55e5bfc
RD
22409 }
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
22413
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
22418 return resultobj;
22419 fail:
22420 return NULL;
22421}
22422
22423
c32bde28 22424static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22425 PyObject *resultobj;
22426 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
22427 PyObject * obj0 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
22433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
22434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 delete arg1;
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 Py_INCREF(Py_None); resultobj = Py_None;
22443 return resultobj;
22444 fail:
22445 return NULL;
22446}
22447
22448
5ba5649b 22449static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22450 PyObject *resultobj;
22451 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
22452 PyObject *arg2 = (PyObject *) 0 ;
22453 PyObject * obj0 = 0 ;
22454 PyObject * obj1 = 0 ;
22455 char *kwnames[] = {
22456 (char *) "self",(char *) "self", NULL
22457 };
22458
5ba5649b 22459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
22461 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22462 arg2 = obj1;
22463 {
22464 PyThreadState* __tstate = wxPyBeginAllowThreads();
22465 (arg1)->SetSelf(arg2);
22466
22467 wxPyEndAllowThreads(__tstate);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 Py_INCREF(Py_None); resultobj = Py_None;
22471 return resultobj;
22472 fail:
22473 return NULL;
22474}
22475
22476
5ba5649b 22477static PyObject *_wrap_PyCommandEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22478 PyObject *resultobj;
22479 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
22480 PyObject *result;
22481 PyObject * obj0 = 0 ;
22482 char *kwnames[] = {
22483 (char *) "self", NULL
22484 };
22485
5ba5649b 22486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent__GetSelf",kwnames,&obj0)) goto fail;
093d3ff1
RD
22487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 result = (PyObject *)(arg1)->GetSelf();
22492
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 resultobj = result;
22497 return resultobj;
22498 fail:
22499 return NULL;
22500}
22501
22502
c32bde28 22503static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22504 PyObject *obj;
22505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22506 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
22507 Py_INCREF(obj);
22508 return Py_BuildValue((char *)"");
22509}
53aa7709
RD
22510static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22511 PyObject *resultobj;
22512 wxWindow *arg1 = (wxWindow *) 0 ;
22513 wxDateTime *arg2 = 0 ;
22514 wxEventType arg3 ;
22515 wxDateEvent *result;
22516 PyObject * obj0 = 0 ;
22517 PyObject * obj1 = 0 ;
22518 PyObject * obj2 = 0 ;
22519 char *kwnames[] = {
22520 (char *) "win",(char *) "dt",(char *) "type", NULL
22521 };
22522
22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_DateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
22524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22525 if (SWIG_arg_fail(1)) SWIG_fail;
22526 {
22527 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22528 if (SWIG_arg_fail(2)) SWIG_fail;
22529 if (arg2 == NULL) {
22530 SWIG_null_ref("wxDateTime");
22531 }
22532 if (SWIG_arg_fail(2)) SWIG_fail;
22533 }
22534 {
22535 arg3 = (wxEventType)(SWIG_As_int(obj2));
22536 if (SWIG_arg_fail(3)) SWIG_fail;
22537 }
22538 {
22539 PyThreadState* __tstate = wxPyBeginAllowThreads();
22540 result = (wxDateEvent *)new wxDateEvent(arg1,(wxDateTime const &)*arg2,arg3);
22541
22542 wxPyEndAllowThreads(__tstate);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
22545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateEvent, 1);
22546 return resultobj;
22547 fail:
22548 return NULL;
22549}
22550
22551
22552static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *kwargs) {
22553 PyObject *resultobj;
22554 wxDateEvent *arg1 = (wxDateEvent *) 0 ;
22555 wxDateTime *result;
22556 PyObject * obj0 = 0 ;
22557 char *kwnames[] = {
22558 (char *) "self", NULL
22559 };
22560
22561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateEvent_GetDate",kwnames,&obj0)) goto fail;
22562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateEvent, SWIG_POINTER_EXCEPTION | 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail;
22564 {
22565 PyThreadState* __tstate = wxPyBeginAllowThreads();
22566 {
22567 wxDateTime const &_result_ref = ((wxDateEvent const *)arg1)->GetDate();
22568 result = (wxDateTime *) &_result_ref;
22569 }
22570
22571 wxPyEndAllowThreads(__tstate);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 }
22574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22575 return resultobj;
22576 fail:
22577 return NULL;
22578}
22579
22580
22581static PyObject *_wrap_DateEvent_SetDate(PyObject *, PyObject *args, PyObject *kwargs) {
22582 PyObject *resultobj;
22583 wxDateEvent *arg1 = (wxDateEvent *) 0 ;
22584 wxDateTime *arg2 = 0 ;
22585 PyObject * obj0 = 0 ;
22586 PyObject * obj1 = 0 ;
22587 char *kwnames[] = {
22588 (char *) "self",(char *) "date", NULL
22589 };
22590
22591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateEvent_SetDate",kwnames,&obj0,&obj1)) goto fail;
22592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateEvent, SWIG_POINTER_EXCEPTION | 0);
22593 if (SWIG_arg_fail(1)) SWIG_fail;
22594 {
22595 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22596 if (SWIG_arg_fail(2)) SWIG_fail;
22597 if (arg2 == NULL) {
22598 SWIG_null_ref("wxDateTime");
22599 }
22600 if (SWIG_arg_fail(2)) SWIG_fail;
22601 }
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 (arg1)->SetDate((wxDateTime const &)*arg2);
22605
22606 wxPyEndAllowThreads(__tstate);
22607 if (PyErr_Occurred()) SWIG_fail;
22608 }
22609 Py_INCREF(Py_None); resultobj = Py_None;
22610 return resultobj;
22611 fail:
22612 return NULL;
22613}
22614
22615
22616static PyObject * DateEvent_swigregister(PyObject *, PyObject *args) {
22617 PyObject *obj;
22618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22619 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent, obj);
22620 Py_INCREF(obj);
22621 return Py_BuildValue((char *)"");
22622}
c32bde28 22623static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22624 PyObject *resultobj;
22625 wxPyApp *result;
22626 char *kwnames[] = {
22627 NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
22631 {
22632 PyThreadState* __tstate = wxPyBeginAllowThreads();
22633 result = (wxPyApp *)new_wxPyApp();
22634
22635 wxPyEndAllowThreads(__tstate);
22636 if (PyErr_Occurred()) SWIG_fail;
22637 }
b0f7404b 22638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyApp, 1);
d55e5bfc
RD
22639 return resultobj;
22640 fail:
22641 return NULL;
22642}
22643
22644
c32bde28 22645static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22646 PyObject *resultobj;
22647 wxPyApp *arg1 = (wxPyApp *) 0 ;
22648 PyObject * obj0 = 0 ;
22649 char *kwnames[] = {
22650 (char *) "self", NULL
22651 };
22652
22653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
093d3ff1
RD
22654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22655 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22656 {
22657 PyThreadState* __tstate = wxPyBeginAllowThreads();
22658 delete arg1;
22659
22660 wxPyEndAllowThreads(__tstate);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 }
22663 Py_INCREF(Py_None); resultobj = Py_None;
22664 return resultobj;
22665 fail:
22666 return NULL;
22667}
22668
22669
c32bde28 22670static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22671 PyObject *resultobj;
22672 wxPyApp *arg1 = (wxPyApp *) 0 ;
22673 PyObject *arg2 = (PyObject *) 0 ;
22674 PyObject *arg3 = (PyObject *) 0 ;
70b7a5fe 22675 bool arg4 ;
d55e5bfc
RD
22676 PyObject * obj0 = 0 ;
22677 PyObject * obj1 = 0 ;
22678 PyObject * obj2 = 0 ;
70b7a5fe 22679 PyObject * obj3 = 0 ;
d55e5bfc 22680 char *kwnames[] = {
70b7a5fe 22681 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
22682 };
22683
70b7a5fe 22684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
22685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22686 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22687 arg2 = obj1;
22688 arg3 = obj2;
70b7a5fe
RD
22689 {
22690 arg4 = (bool)(SWIG_As_bool(obj3));
22691 if (SWIG_arg_fail(4)) SWIG_fail;
22692 }
d55e5bfc
RD
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b7a5fe 22695 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
22696
22697 wxPyEndAllowThreads(__tstate);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 }
22700 Py_INCREF(Py_None); resultobj = Py_None;
22701 return resultobj;
22702 fail:
22703 return NULL;
22704}
22705
22706
c32bde28 22707static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22708 PyObject *resultobj;
22709 wxPyApp *arg1 = (wxPyApp *) 0 ;
22710 wxString result;
22711 PyObject * obj0 = 0 ;
22712 char *kwnames[] = {
22713 (char *) "self", NULL
22714 };
22715
22716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
093d3ff1
RD
22717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22719 {
22720 PyThreadState* __tstate = wxPyBeginAllowThreads();
22721 result = ((wxPyApp const *)arg1)->GetAppName();
22722
22723 wxPyEndAllowThreads(__tstate);
22724 if (PyErr_Occurred()) SWIG_fail;
22725 }
22726 {
22727#if wxUSE_UNICODE
22728 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22729#else
22730 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22731#endif
22732 }
22733 return resultobj;
22734 fail:
22735 return NULL;
22736}
22737
22738
c32bde28 22739static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22740 PyObject *resultobj;
22741 wxPyApp *arg1 = (wxPyApp *) 0 ;
22742 wxString *arg2 = 0 ;
ae8162c8 22743 bool temp2 = false ;
d55e5bfc
RD
22744 PyObject * obj0 = 0 ;
22745 PyObject * obj1 = 0 ;
22746 char *kwnames[] = {
22747 (char *) "self",(char *) "name", NULL
22748 };
22749
22750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22752 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22753 {
22754 arg2 = wxString_in_helper(obj1);
22755 if (arg2 == NULL) SWIG_fail;
ae8162c8 22756 temp2 = true;
d55e5bfc
RD
22757 }
22758 {
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 (arg1)->SetAppName((wxString const &)*arg2);
22761
22762 wxPyEndAllowThreads(__tstate);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 Py_INCREF(Py_None); resultobj = Py_None;
22766 {
22767 if (temp2)
22768 delete arg2;
22769 }
22770 return resultobj;
22771 fail:
22772 {
22773 if (temp2)
22774 delete arg2;
22775 }
22776 return NULL;
22777}
22778
22779
c32bde28 22780static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22781 PyObject *resultobj;
22782 wxPyApp *arg1 = (wxPyApp *) 0 ;
22783 wxString result;
22784 PyObject * obj0 = 0 ;
22785 char *kwnames[] = {
22786 (char *) "self", NULL
22787 };
22788
22789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
093d3ff1
RD
22790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22791 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 result = ((wxPyApp const *)arg1)->GetClassName();
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 {
22800#if wxUSE_UNICODE
22801 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22802#else
22803 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22804#endif
22805 }
22806 return resultobj;
22807 fail:
22808 return NULL;
22809}
22810
22811
c32bde28 22812static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22813 PyObject *resultobj;
22814 wxPyApp *arg1 = (wxPyApp *) 0 ;
22815 wxString *arg2 = 0 ;
ae8162c8 22816 bool temp2 = false ;
d55e5bfc
RD
22817 PyObject * obj0 = 0 ;
22818 PyObject * obj1 = 0 ;
22819 char *kwnames[] = {
22820 (char *) "self",(char *) "name", NULL
22821 };
22822
22823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22825 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22826 {
22827 arg2 = wxString_in_helper(obj1);
22828 if (arg2 == NULL) SWIG_fail;
ae8162c8 22829 temp2 = true;
d55e5bfc
RD
22830 }
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 (arg1)->SetClassName((wxString const &)*arg2);
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 Py_INCREF(Py_None); resultobj = Py_None;
22839 {
22840 if (temp2)
22841 delete arg2;
22842 }
22843 return resultobj;
22844 fail:
22845 {
22846 if (temp2)
22847 delete arg2;
22848 }
22849 return NULL;
22850}
22851
22852
c32bde28 22853static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22854 PyObject *resultobj;
22855 wxPyApp *arg1 = (wxPyApp *) 0 ;
22856 wxString *result;
22857 PyObject * obj0 = 0 ;
22858 char *kwnames[] = {
22859 (char *) "self", NULL
22860 };
22861
22862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
093d3ff1
RD
22863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22865 {
22866 PyThreadState* __tstate = wxPyBeginAllowThreads();
22867 {
22868 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
22869 result = (wxString *) &_result_ref;
22870 }
22871
22872 wxPyEndAllowThreads(__tstate);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 }
22875 {
22876#if wxUSE_UNICODE
22877 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22878#else
22879 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22880#endif
22881 }
22882 return resultobj;
22883 fail:
22884 return NULL;
22885}
22886
22887
c32bde28 22888static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22889 PyObject *resultobj;
22890 wxPyApp *arg1 = (wxPyApp *) 0 ;
22891 wxString *arg2 = 0 ;
ae8162c8 22892 bool temp2 = false ;
d55e5bfc
RD
22893 PyObject * obj0 = 0 ;
22894 PyObject * obj1 = 0 ;
22895 char *kwnames[] = {
22896 (char *) "self",(char *) "name", NULL
22897 };
22898
22899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22902 {
22903 arg2 = wxString_in_helper(obj1);
22904 if (arg2 == NULL) SWIG_fail;
ae8162c8 22905 temp2 = true;
d55e5bfc
RD
22906 }
22907 {
22908 PyThreadState* __tstate = wxPyBeginAllowThreads();
22909 (arg1)->SetVendorName((wxString const &)*arg2);
22910
22911 wxPyEndAllowThreads(__tstate);
22912 if (PyErr_Occurred()) SWIG_fail;
22913 }
22914 Py_INCREF(Py_None); resultobj = Py_None;
22915 {
22916 if (temp2)
22917 delete arg2;
22918 }
22919 return resultobj;
22920 fail:
22921 {
22922 if (temp2)
22923 delete arg2;
22924 }
22925 return NULL;
22926}
22927
22928
c32bde28 22929static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22930 PyObject *resultobj;
22931 wxPyApp *arg1 = (wxPyApp *) 0 ;
22932 wxAppTraits *result;
22933 PyObject * obj0 = 0 ;
22934 char *kwnames[] = {
22935 (char *) "self", NULL
22936 };
22937
22938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
093d3ff1
RD
22939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22941 {
22942 PyThreadState* __tstate = wxPyBeginAllowThreads();
22943 result = (wxAppTraits *)(arg1)->GetTraits();
22944
22945 wxPyEndAllowThreads(__tstate);
22946 if (PyErr_Occurred()) SWIG_fail;
22947 }
22948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
22949 return resultobj;
22950 fail:
22951 return NULL;
22952}
22953
22954
c32bde28 22955static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22956 PyObject *resultobj;
22957 wxPyApp *arg1 = (wxPyApp *) 0 ;
22958 PyObject * obj0 = 0 ;
22959 char *kwnames[] = {
22960 (char *) "self", NULL
22961 };
22962
22963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
093d3ff1
RD
22964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22965 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22966 {
22967 PyThreadState* __tstate = wxPyBeginAllowThreads();
22968 (arg1)->ProcessPendingEvents();
22969
22970 wxPyEndAllowThreads(__tstate);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 Py_INCREF(Py_None); resultobj = Py_None;
22974 return resultobj;
22975 fail:
22976 return NULL;
22977}
22978
22979
c32bde28 22980static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22981 PyObject *resultobj;
22982 wxPyApp *arg1 = (wxPyApp *) 0 ;
ae8162c8 22983 bool arg2 = (bool) false ;
d55e5bfc
RD
22984 bool result;
22985 PyObject * obj0 = 0 ;
22986 PyObject * obj1 = 0 ;
22987 char *kwnames[] = {
22988 (char *) "self",(char *) "onlyIfNeeded", NULL
22989 };
22990
22991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
22993 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22994 if (obj1) {
093d3ff1
RD
22995 {
22996 arg2 = (bool)(SWIG_As_bool(obj1));
22997 if (SWIG_arg_fail(2)) SWIG_fail;
22998 }
d55e5bfc
RD
22999 }
23000 {
23001 PyThreadState* __tstate = wxPyBeginAllowThreads();
23002 result = (bool)(arg1)->Yield(arg2);
23003
23004 wxPyEndAllowThreads(__tstate);
23005 if (PyErr_Occurred()) SWIG_fail;
23006 }
23007 {
23008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23009 }
23010 return resultobj;
23011 fail:
23012 return NULL;
23013}
23014
23015
c32bde28 23016static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23017 PyObject *resultobj;
23018 wxPyApp *arg1 = (wxPyApp *) 0 ;
23019 PyObject * obj0 = 0 ;
23020 char *kwnames[] = {
23021 (char *) "self", NULL
23022 };
23023
23024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
093d3ff1
RD
23025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23027 {
23028 PyThreadState* __tstate = wxPyBeginAllowThreads();
23029 (arg1)->WakeUpIdle();
23030
23031 wxPyEndAllowThreads(__tstate);
23032 if (PyErr_Occurred()) SWIG_fail;
23033 }
23034 Py_INCREF(Py_None); resultobj = Py_None;
23035 return resultobj;
23036 fail:
23037 return NULL;
23038}
23039
23040
84f85550
RD
23041static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) {
23042 PyObject *resultobj;
23043 bool result;
23044 char *kwnames[] = {
23045 NULL
23046 };
23047
23048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_IsMainLoopRunning",kwnames)) goto fail;
23049 {
23050 PyThreadState* __tstate = wxPyBeginAllowThreads();
23051 result = (bool)wxPyApp::IsMainLoopRunning();
23052
23053 wxPyEndAllowThreads(__tstate);
23054 if (PyErr_Occurred()) SWIG_fail;
23055 }
23056 {
23057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23058 }
23059 return resultobj;
23060 fail:
23061 return NULL;
23062}
23063
23064
c32bde28 23065static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23066 PyObject *resultobj;
23067 wxPyApp *arg1 = (wxPyApp *) 0 ;
23068 int result;
23069 PyObject * obj0 = 0 ;
23070 char *kwnames[] = {
23071 (char *) "self", NULL
23072 };
23073
23074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
093d3ff1
RD
23075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 result = (int)(arg1)->MainLoop();
23080
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
093d3ff1
RD
23084 {
23085 resultobj = SWIG_From_int((int)(result));
23086 }
d55e5bfc
RD
23087 return resultobj;
23088 fail:
23089 return NULL;
23090}
23091
23092
c32bde28 23093static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23094 PyObject *resultobj;
23095 wxPyApp *arg1 = (wxPyApp *) 0 ;
23096 PyObject * obj0 = 0 ;
23097 char *kwnames[] = {
23098 (char *) "self", NULL
23099 };
23100
23101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
093d3ff1
RD
23102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23104 {
23105 PyThreadState* __tstate = wxPyBeginAllowThreads();
23106 (arg1)->Exit();
23107
23108 wxPyEndAllowThreads(__tstate);
23109 if (PyErr_Occurred()) SWIG_fail;
23110 }
23111 Py_INCREF(Py_None); resultobj = Py_None;
23112 return resultobj;
23113 fail:
23114 return NULL;
23115}
23116
23117
c32bde28 23118static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23119 PyObject *resultobj;
23120 wxPyApp *arg1 = (wxPyApp *) 0 ;
23121 PyObject * obj0 = 0 ;
23122 char *kwnames[] = {
23123 (char *) "self", NULL
23124 };
23125
23126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
093d3ff1
RD
23127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23129 {
23130 PyThreadState* __tstate = wxPyBeginAllowThreads();
23131 (arg1)->ExitMainLoop();
23132
23133 wxPyEndAllowThreads(__tstate);
23134 if (PyErr_Occurred()) SWIG_fail;
23135 }
23136 Py_INCREF(Py_None); resultobj = Py_None;
23137 return resultobj;
23138 fail:
23139 return NULL;
23140}
23141
23142
c32bde28 23143static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23144 PyObject *resultobj;
23145 wxPyApp *arg1 = (wxPyApp *) 0 ;
23146 bool result;
23147 PyObject * obj0 = 0 ;
23148 char *kwnames[] = {
23149 (char *) "self", NULL
23150 };
23151
23152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
093d3ff1
RD
23153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 result = (bool)(arg1)->Pending();
23158
23159 wxPyEndAllowThreads(__tstate);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
23162 {
23163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23164 }
23165 return resultobj;
23166 fail:
23167 return NULL;
23168}
23169
23170
c32bde28 23171static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23172 PyObject *resultobj;
23173 wxPyApp *arg1 = (wxPyApp *) 0 ;
23174 bool result;
23175 PyObject * obj0 = 0 ;
23176 char *kwnames[] = {
23177 (char *) "self", NULL
23178 };
23179
23180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
093d3ff1
RD
23181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23182 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23183 {
23184 PyThreadState* __tstate = wxPyBeginAllowThreads();
23185 result = (bool)(arg1)->Dispatch();
23186
23187 wxPyEndAllowThreads(__tstate);
23188 if (PyErr_Occurred()) SWIG_fail;
23189 }
23190 {
23191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23192 }
23193 return resultobj;
23194 fail:
23195 return NULL;
23196}
23197
23198
c32bde28 23199static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23200 PyObject *resultobj;
23201 wxPyApp *arg1 = (wxPyApp *) 0 ;
23202 bool result;
23203 PyObject * obj0 = 0 ;
23204 char *kwnames[] = {
23205 (char *) "self", NULL
23206 };
23207
23208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
093d3ff1
RD
23209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23210 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23211 {
23212 PyThreadState* __tstate = wxPyBeginAllowThreads();
23213 result = (bool)(arg1)->ProcessIdle();
23214
23215 wxPyEndAllowThreads(__tstate);
23216 if (PyErr_Occurred()) SWIG_fail;
23217 }
23218 {
23219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23220 }
23221 return resultobj;
23222 fail:
23223 return NULL;
23224}
23225
23226
c32bde28 23227static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23228 PyObject *resultobj;
23229 wxPyApp *arg1 = (wxPyApp *) 0 ;
23230 wxWindow *arg2 = (wxWindow *) 0 ;
23231 wxIdleEvent *arg3 = 0 ;
23232 bool result;
23233 PyObject * obj0 = 0 ;
23234 PyObject * obj1 = 0 ;
23235 PyObject * obj2 = 0 ;
23236 char *kwnames[] = {
23237 (char *) "self",(char *) "win",(char *) "event", NULL
23238 };
23239
23240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23242 if (SWIG_arg_fail(1)) SWIG_fail;
23243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23244 if (SWIG_arg_fail(2)) SWIG_fail;
23245 {
23246 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0);
23247 if (SWIG_arg_fail(3)) SWIG_fail;
23248 if (arg3 == NULL) {
23249 SWIG_null_ref("wxIdleEvent");
23250 }
23251 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23252 }
23253 {
23254 PyThreadState* __tstate = wxPyBeginAllowThreads();
23255 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
23256
23257 wxPyEndAllowThreads(__tstate);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
23260 {
23261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23262 }
23263 return resultobj;
23264 fail:
23265 return NULL;
23266}
23267
23268
c32bde28 23269static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23270 PyObject *resultobj;
23271 wxPyApp *arg1 = (wxPyApp *) 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:PyApp_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
23279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
23283 result = (bool)((wxPyApp const *)arg1)->IsActive();
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
c32bde28 23297static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23298 PyObject *resultobj;
23299 wxPyApp *arg1 = (wxPyApp *) 0 ;
23300 wxWindow *arg2 = (wxWindow *) 0 ;
23301 PyObject * obj0 = 0 ;
23302 PyObject * obj1 = 0 ;
23303 char *kwnames[] = {
23304 (char *) "self",(char *) "win", NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23309 if (SWIG_arg_fail(1)) SWIG_fail;
23310 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23311 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23312 {
23313 PyThreadState* __tstate = wxPyBeginAllowThreads();
23314 (arg1)->SetTopWindow(arg2);
23315
23316 wxPyEndAllowThreads(__tstate);
23317 if (PyErr_Occurred()) SWIG_fail;
23318 }
23319 Py_INCREF(Py_None); resultobj = Py_None;
23320 return resultobj;
23321 fail:
23322 return NULL;
23323}
23324
23325
c32bde28 23326static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23327 PyObject *resultobj;
23328 wxPyApp *arg1 = (wxPyApp *) 0 ;
23329 wxWindow *result;
23330 PyObject * obj0 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
23336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 {
412d302d 23346 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23347 }
23348 return resultobj;
23349 fail:
23350 return NULL;
23351}
23352
23353
c32bde28 23354static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23355 PyObject *resultobj;
23356 wxPyApp *arg1 = (wxPyApp *) 0 ;
23357 bool arg2 ;
23358 PyObject * obj0 = 0 ;
23359 PyObject * obj1 = 0 ;
23360 char *kwnames[] = {
23361 (char *) "self",(char *) "flag", NULL
23362 };
23363
23364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23366 if (SWIG_arg_fail(1)) SWIG_fail;
23367 {
23368 arg2 = (bool)(SWIG_As_bool(obj1));
23369 if (SWIG_arg_fail(2)) SWIG_fail;
23370 }
d55e5bfc
RD
23371 {
23372 PyThreadState* __tstate = wxPyBeginAllowThreads();
23373 (arg1)->SetExitOnFrameDelete(arg2);
23374
23375 wxPyEndAllowThreads(__tstate);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 }
23378 Py_INCREF(Py_None); resultobj = Py_None;
23379 return resultobj;
23380 fail:
23381 return NULL;
23382}
23383
23384
c32bde28 23385static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23386 PyObject *resultobj;
23387 wxPyApp *arg1 = (wxPyApp *) 0 ;
23388 bool result;
23389 PyObject * obj0 = 0 ;
23390 char *kwnames[] = {
23391 (char *) "self", NULL
23392 };
23393
23394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
093d3ff1
RD
23395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23396 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
23400
23401 wxPyEndAllowThreads(__tstate);
23402 if (PyErr_Occurred()) SWIG_fail;
23403 }
23404 {
23405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23406 }
23407 return resultobj;
23408 fail:
23409 return NULL;
23410}
23411
23412
c32bde28 23413static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23414 PyObject *resultobj;
23415 wxPyApp *arg1 = (wxPyApp *) 0 ;
23416 bool arg2 ;
23417 PyObject * obj0 = 0 ;
23418 PyObject * obj1 = 0 ;
23419 char *kwnames[] = {
23420 (char *) "self",(char *) "flag", NULL
23421 };
23422
23423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23425 if (SWIG_arg_fail(1)) SWIG_fail;
23426 {
23427 arg2 = (bool)(SWIG_As_bool(obj1));
23428 if (SWIG_arg_fail(2)) SWIG_fail;
23429 }
d55e5bfc
RD
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 (arg1)->SetUseBestVisual(arg2);
23433
23434 wxPyEndAllowThreads(__tstate);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 Py_INCREF(Py_None); resultobj = Py_None;
23438 return resultobj;
23439 fail:
23440 return NULL;
23441}
23442
23443
c32bde28 23444static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23445 PyObject *resultobj;
23446 wxPyApp *arg1 = (wxPyApp *) 0 ;
23447 bool result;
23448 PyObject * obj0 = 0 ;
23449 char *kwnames[] = {
23450 (char *) "self", NULL
23451 };
23452
23453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
093d3ff1
RD
23454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23455 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23456 {
23457 PyThreadState* __tstate = wxPyBeginAllowThreads();
23458 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
23459
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 {
23464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23465 }
23466 return resultobj;
23467 fail:
23468 return NULL;
23469}
23470
23471
c32bde28 23472static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23473 PyObject *resultobj;
23474 wxPyApp *arg1 = (wxPyApp *) 0 ;
23475 int arg2 ;
23476 PyObject * obj0 = 0 ;
23477 PyObject * obj1 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self",(char *) "mode", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23484 if (SWIG_arg_fail(1)) SWIG_fail;
23485 {
23486 arg2 = (int)(SWIG_As_int(obj1));
23487 if (SWIG_arg_fail(2)) SWIG_fail;
23488 }
d55e5bfc
RD
23489 {
23490 PyThreadState* __tstate = wxPyBeginAllowThreads();
23491 (arg1)->SetPrintMode(arg2);
23492
23493 wxPyEndAllowThreads(__tstate);
23494 if (PyErr_Occurred()) SWIG_fail;
23495 }
23496 Py_INCREF(Py_None); resultobj = Py_None;
23497 return resultobj;
23498 fail:
23499 return NULL;
23500}
23501
23502
c32bde28 23503static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23504 PyObject *resultobj;
23505 wxPyApp *arg1 = (wxPyApp *) 0 ;
23506 int result;
23507 PyObject * obj0 = 0 ;
23508 char *kwnames[] = {
23509 (char *) "self", NULL
23510 };
23511
23512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
23513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23514 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
093d3ff1
RD
23522 {
23523 resultobj = SWIG_From_int((int)(result));
23524 }
d55e5bfc
RD
23525 return resultobj;
23526 fail:
23527 return NULL;
23528}
23529
23530
c32bde28 23531static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23532 PyObject *resultobj;
23533 wxPyApp *arg1 = (wxPyApp *) 0 ;
23534 int arg2 ;
23535 PyObject * obj0 = 0 ;
23536 PyObject * obj1 = 0 ;
23537 char *kwnames[] = {
23538 (char *) "self",(char *) "mode", NULL
23539 };
23540
23541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23543 if (SWIG_arg_fail(1)) SWIG_fail;
23544 {
23545 arg2 = (int)(SWIG_As_int(obj1));
23546 if (SWIG_arg_fail(2)) SWIG_fail;
23547 }
d55e5bfc
RD
23548 {
23549 PyThreadState* __tstate = wxPyBeginAllowThreads();
23550 (arg1)->SetAssertMode(arg2);
23551
23552 wxPyEndAllowThreads(__tstate);
23553 if (PyErr_Occurred()) SWIG_fail;
23554 }
23555 Py_INCREF(Py_None); resultobj = Py_None;
23556 return resultobj;
23557 fail:
23558 return NULL;
23559}
23560
23561
c32bde28 23562static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23563 PyObject *resultobj;
23564 wxPyApp *arg1 = (wxPyApp *) 0 ;
23565 int result;
23566 PyObject * obj0 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
23572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23573 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 result = (int)(arg1)->GetAssertMode();
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
093d3ff1
RD
23581 {
23582 resultobj = SWIG_From_int((int)(result));
23583 }
d55e5bfc
RD
23584 return resultobj;
23585 fail:
23586 return NULL;
23587}
23588
23589
c32bde28 23590static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23591 PyObject *resultobj;
23592 bool result;
23593 char *kwnames[] = {
23594 NULL
23595 };
23596
23597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 {
23606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23607 }
23608 return resultobj;
23609 fail:
23610 return NULL;
23611}
23612
23613
c32bde28 23614static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23615 PyObject *resultobj;
23616 long result;
23617 char *kwnames[] = {
23618 NULL
23619 };
23620
23621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
23622 {
23623 PyThreadState* __tstate = wxPyBeginAllowThreads();
23624 result = (long)wxPyApp::GetMacAboutMenuItemId();
23625
23626 wxPyEndAllowThreads(__tstate);
23627 if (PyErr_Occurred()) SWIG_fail;
23628 }
093d3ff1
RD
23629 {
23630 resultobj = SWIG_From_long((long)(result));
23631 }
d55e5bfc
RD
23632 return resultobj;
23633 fail:
23634 return NULL;
23635}
23636
23637
c32bde28 23638static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23639 PyObject *resultobj;
23640 long result;
23641 char *kwnames[] = {
23642 NULL
23643 };
23644
23645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
23646 {
23647 PyThreadState* __tstate = wxPyBeginAllowThreads();
23648 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
23649
23650 wxPyEndAllowThreads(__tstate);
23651 if (PyErr_Occurred()) SWIG_fail;
23652 }
093d3ff1
RD
23653 {
23654 resultobj = SWIG_From_long((long)(result));
23655 }
d55e5bfc
RD
23656 return resultobj;
23657 fail:
23658 return NULL;
23659}
23660
23661
c32bde28 23662static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23663 PyObject *resultobj;
23664 long result;
23665 char *kwnames[] = {
23666 NULL
23667 };
23668
23669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 result = (long)wxPyApp::GetMacExitMenuItemId();
23673
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
093d3ff1
RD
23677 {
23678 resultobj = SWIG_From_long((long)(result));
23679 }
d55e5bfc
RD
23680 return resultobj;
23681 fail:
23682 return NULL;
23683}
23684
23685
c32bde28 23686static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23687 PyObject *resultobj;
23688 wxString result;
23689 char *kwnames[] = {
23690 NULL
23691 };
23692
23693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
23694 {
23695 PyThreadState* __tstate = wxPyBeginAllowThreads();
23696 result = wxPyApp::GetMacHelpMenuTitleName();
23697
23698 wxPyEndAllowThreads(__tstate);
23699 if (PyErr_Occurred()) SWIG_fail;
23700 }
23701 {
23702#if wxUSE_UNICODE
23703 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23704#else
23705 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23706#endif
23707 }
23708 return resultobj;
23709 fail:
23710 return NULL;
23711}
23712
23713
c32bde28 23714static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23715 PyObject *resultobj;
23716 bool arg1 ;
23717 PyObject * obj0 = 0 ;
23718 char *kwnames[] = {
23719 (char *) "val", NULL
23720 };
23721
23722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
093d3ff1
RD
23723 {
23724 arg1 = (bool)(SWIG_As_bool(obj0));
23725 if (SWIG_arg_fail(1)) SWIG_fail;
23726 }
d55e5bfc
RD
23727 {
23728 PyThreadState* __tstate = wxPyBeginAllowThreads();
23729 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
23730
23731 wxPyEndAllowThreads(__tstate);
23732 if (PyErr_Occurred()) SWIG_fail;
23733 }
23734 Py_INCREF(Py_None); resultobj = Py_None;
23735 return resultobj;
23736 fail:
23737 return NULL;
23738}
23739
23740
c32bde28 23741static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23742 PyObject *resultobj;
23743 long arg1 ;
23744 PyObject * obj0 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "val", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
23750 {
23751 arg1 = (long)(SWIG_As_long(obj0));
23752 if (SWIG_arg_fail(1)) SWIG_fail;
23753 }
d55e5bfc
RD
23754 {
23755 PyThreadState* __tstate = wxPyBeginAllowThreads();
23756 wxPyApp::SetMacAboutMenuItemId(arg1);
23757
23758 wxPyEndAllowThreads(__tstate);
23759 if (PyErr_Occurred()) SWIG_fail;
23760 }
23761 Py_INCREF(Py_None); resultobj = Py_None;
23762 return resultobj;
23763 fail:
23764 return NULL;
23765}
23766
23767
c32bde28 23768static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23769 PyObject *resultobj;
23770 long arg1 ;
23771 PyObject * obj0 = 0 ;
23772 char *kwnames[] = {
23773 (char *) "val", NULL
23774 };
23775
23776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
23777 {
23778 arg1 = (long)(SWIG_As_long(obj0));
23779 if (SWIG_arg_fail(1)) SWIG_fail;
23780 }
d55e5bfc
RD
23781 {
23782 PyThreadState* __tstate = wxPyBeginAllowThreads();
23783 wxPyApp::SetMacPreferencesMenuItemId(arg1);
23784
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 Py_INCREF(Py_None); resultobj = Py_None;
23789 return resultobj;
23790 fail:
23791 return NULL;
23792}
23793
23794
c32bde28 23795static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23796 PyObject *resultobj;
23797 long arg1 ;
23798 PyObject * obj0 = 0 ;
23799 char *kwnames[] = {
23800 (char *) "val", NULL
23801 };
23802
23803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
23804 {
23805 arg1 = (long)(SWIG_As_long(obj0));
23806 if (SWIG_arg_fail(1)) SWIG_fail;
23807 }
d55e5bfc
RD
23808 {
23809 PyThreadState* __tstate = wxPyBeginAllowThreads();
23810 wxPyApp::SetMacExitMenuItemId(arg1);
23811
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 Py_INCREF(Py_None); resultobj = Py_None;
23816 return resultobj;
23817 fail:
23818 return NULL;
23819}
23820
23821
c32bde28 23822static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23823 PyObject *resultobj;
23824 wxString *arg1 = 0 ;
ae8162c8 23825 bool temp1 = false ;
d55e5bfc
RD
23826 PyObject * obj0 = 0 ;
23827 char *kwnames[] = {
23828 (char *) "val", NULL
23829 };
23830
23831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
23832 {
23833 arg1 = wxString_in_helper(obj0);
23834 if (arg1 == NULL) SWIG_fail;
ae8162c8 23835 temp1 = true;
d55e5bfc
RD
23836 }
23837 {
23838 PyThreadState* __tstate = wxPyBeginAllowThreads();
23839 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
23840
23841 wxPyEndAllowThreads(__tstate);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 }
23844 Py_INCREF(Py_None); resultobj = Py_None;
23845 {
23846 if (temp1)
23847 delete arg1;
23848 }
23849 return resultobj;
23850 fail:
23851 {
23852 if (temp1)
23853 delete arg1;
23854 }
23855 return NULL;
23856}
23857
23858
c32bde28 23859static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23860 PyObject *resultobj;
23861 wxPyApp *arg1 = (wxPyApp *) 0 ;
23862 PyObject * obj0 = 0 ;
23863 char *kwnames[] = {
23864 (char *) "self", NULL
23865 };
23866
23867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
093d3ff1
RD
23868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 (arg1)->_BootstrapApp();
23873
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 Py_INCREF(Py_None); resultobj = Py_None;
23878 return resultobj;
23879 fail:
23880 return NULL;
23881}
23882
23883
c32bde28 23884static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23885 PyObject *resultobj;
23886 int result;
23887 char *kwnames[] = {
23888 NULL
23889 };
23890
23891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 result = (int)wxPyApp::GetComCtl32Version();
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
093d3ff1
RD
23899 {
23900 resultobj = SWIG_From_int((int)(result));
23901 }
d55e5bfc
RD
23902 return resultobj;
23903 fail:
23904 return NULL;
23905}
23906
23907
c32bde28 23908static PyObject * PyApp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23909 PyObject *obj;
23910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23911 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
23912 Py_INCREF(obj);
23913 return Py_BuildValue((char *)"");
23914}
c32bde28 23915static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23916 PyObject *resultobj;
23917 char *kwnames[] = {
23918 NULL
23919 };
23920
23921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
23922 {
23923 PyThreadState* __tstate = wxPyBeginAllowThreads();
23924 wxExit();
23925
23926 wxPyEndAllowThreads(__tstate);
23927 if (PyErr_Occurred()) SWIG_fail;
23928 }
23929 Py_INCREF(Py_None); resultobj = Py_None;
23930 return resultobj;
23931 fail:
23932 return NULL;
23933}
23934
23935
c32bde28 23936static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23937 PyObject *resultobj;
23938 bool result;
23939 char *kwnames[] = {
23940 NULL
23941 };
23942
23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
23944 {
23945 PyThreadState* __tstate = wxPyBeginAllowThreads();
23946 result = (bool)wxYield();
23947
23948 wxPyEndAllowThreads(__tstate);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
23951 {
23952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23953 }
23954 return resultobj;
23955 fail:
23956 return NULL;
23957}
23958
23959
c32bde28 23960static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23961 PyObject *resultobj;
23962 bool result;
23963 char *kwnames[] = {
23964 NULL
23965 };
23966
23967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
23968 {
23969 PyThreadState* __tstate = wxPyBeginAllowThreads();
23970 result = (bool)wxYieldIfNeeded();
23971
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 {
23976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23977 }
23978 return resultobj;
23979 fail:
23980 return NULL;
23981}
23982
23983
c32bde28 23984static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23985 PyObject *resultobj;
23986 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 23987 bool arg2 = (bool) false ;
d55e5bfc
RD
23988 bool result;
23989 PyObject * obj0 = 0 ;
23990 PyObject * obj1 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "win",(char *) "onlyIfNeeded", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
23996 if (obj0) {
093d3ff1
RD
23997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23998 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23999 }
24000 if (obj1) {
093d3ff1
RD
24001 {
24002 arg2 = (bool)(SWIG_As_bool(obj1));
24003 if (SWIG_arg_fail(2)) SWIG_fail;
24004 }
d55e5bfc
RD
24005 }
24006 {
24007 PyThreadState* __tstate = wxPyBeginAllowThreads();
24008 result = (bool)wxSafeYield(arg1,arg2);
24009
24010 wxPyEndAllowThreads(__tstate);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 }
24013 {
24014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24015 }
24016 return resultobj;
24017 fail:
24018 return NULL;
24019}
24020
24021
c32bde28 24022static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24023 PyObject *resultobj;
24024 char *kwnames[] = {
24025 NULL
24026 };
24027
24028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
24029 {
24030 PyThreadState* __tstate = wxPyBeginAllowThreads();
24031 wxWakeUpIdle();
24032
24033 wxPyEndAllowThreads(__tstate);
24034 if (PyErr_Occurred()) SWIG_fail;
24035 }
24036 Py_INCREF(Py_None); resultobj = Py_None;
24037 return resultobj;
24038 fail:
24039 return NULL;
24040}
24041
24042
c32bde28 24043static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24044 PyObject *resultobj;
24045 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
24046 wxEvent *arg2 = 0 ;
24047 PyObject * obj0 = 0 ;
24048 PyObject * obj1 = 0 ;
24049 char *kwnames[] = {
24050 (char *) "dest",(char *) "event", NULL
24051 };
24052
24053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
24055 if (SWIG_arg_fail(1)) SWIG_fail;
24056 {
24057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
24058 if (SWIG_arg_fail(2)) SWIG_fail;
24059 if (arg2 == NULL) {
24060 SWIG_null_ref("wxEvent");
24061 }
24062 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24063 }
24064 {
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 wxPostEvent(arg1,*arg2);
24067
24068 wxPyEndAllowThreads(__tstate);
24069 if (PyErr_Occurred()) SWIG_fail;
24070 }
24071 Py_INCREF(Py_None); resultobj = Py_None;
24072 return resultobj;
24073 fail:
24074 return NULL;
24075}
24076
24077
c32bde28 24078static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24079 PyObject *resultobj;
24080 char *kwnames[] = {
24081 NULL
24082 };
24083
24084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 wxApp_CleanUp();
24088
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 Py_INCREF(Py_None); resultobj = Py_None;
24093 return resultobj;
24094 fail:
24095 return NULL;
24096}
24097
24098
c32bde28 24099static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24100 PyObject *resultobj;
24101 wxPyApp *result;
24102 char *kwnames[] = {
24103 NULL
24104 };
24105
24106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
24107 {
24108 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 24109 result = (wxPyApp *)wxPyGetApp();
d55e5bfc
RD
24110
24111 wxPyEndAllowThreads(__tstate);
24112 if (PyErr_Occurred()) SWIG_fail;
24113 }
24114 {
412d302d 24115 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24116 }
24117 return resultobj;
24118 fail:
24119 return NULL;
24120}
24121
24122
5cbf236d
RD
24123static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
24124 PyObject *resultobj;
093d3ff1 24125 char *arg1 = (char *) 0 ;
5cbf236d
RD
24126 PyObject * obj0 = 0 ;
24127 char *kwnames[] = {
24128 (char *) "encoding", NULL
24129 };
24130
24131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetDefaultPyEncoding",kwnames,&obj0)) goto fail;
093d3ff1
RD
24132 if (!SWIG_AsCharPtr(obj0, (char**)&arg1)) {
24133 SWIG_arg_fail(1);SWIG_fail;
24134 }
5cbf236d
RD
24135 {
24136 PyThreadState* __tstate = wxPyBeginAllowThreads();
24137 wxSetDefaultPyEncoding((char const *)arg1);
24138
24139 wxPyEndAllowThreads(__tstate);
24140 if (PyErr_Occurred()) SWIG_fail;
24141 }
24142 Py_INCREF(Py_None); resultobj = Py_None;
24143 return resultobj;
24144 fail:
24145 return NULL;
24146}
24147
24148
24149static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
24150 PyObject *resultobj;
24151 char *result;
24152 char *kwnames[] = {
24153 NULL
24154 };
24155
24156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDefaultPyEncoding",kwnames)) goto fail;
24157 {
24158 PyThreadState* __tstate = wxPyBeginAllowThreads();
24159 result = (char *)wxGetDefaultPyEncoding();
24160
24161 wxPyEndAllowThreads(__tstate);
24162 if (PyErr_Occurred()) SWIG_fail;
24163 }
24164 resultobj = SWIG_FromCharPtr(result);
24165 return resultobj;
24166 fail:
24167 return NULL;
24168}
24169
24170
ae8162c8
RD
24171static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
24172 PyObject *resultobj;
24173 wxEventLoop *result;
24174 char *kwnames[] = {
24175 NULL
24176 };
24177
24178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EventLoop",kwnames)) goto fail;
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = (wxEventLoop *)new wxEventLoop();
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 1);
24187 return resultobj;
24188 fail:
24189 return NULL;
24190}
24191
24192
24193static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24196 PyObject * obj0 = 0 ;
24197 char *kwnames[] = {
24198 (char *) "self", NULL
24199 };
24200
24201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoop",kwnames,&obj0)) goto fail;
093d3ff1
RD
24202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24203 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
24204 {
24205 PyThreadState* __tstate = wxPyBeginAllowThreads();
24206 delete arg1;
24207
24208 wxPyEndAllowThreads(__tstate);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
24211 Py_INCREF(Py_None); resultobj = Py_None;
24212 return resultobj;
24213 fail:
24214 return NULL;
24215}
24216
24217
24218static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) {
24219 PyObject *resultobj;
24220 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24221 int result;
24222 PyObject * obj0 = 0 ;
24223 char *kwnames[] = {
24224 (char *) "self", NULL
24225 };
24226
24227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Run",kwnames,&obj0)) goto fail;
093d3ff1
RD
24228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24229 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 result = (int)(arg1)->Run();
24233
24234 wxPyEndAllowThreads(__tstate);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
093d3ff1
RD
24237 {
24238 resultobj = SWIG_From_int((int)(result));
24239 }
ae8162c8
RD
24240 return resultobj;
24241 fail:
24242 return NULL;
24243}
24244
24245
24246static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj;
24248 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24249 int arg2 = (int) 0 ;
24250 PyObject * obj0 = 0 ;
24251 PyObject * obj1 = 0 ;
24252 char *kwnames[] = {
24253 (char *) "self",(char *) "rc", NULL
24254 };
24255
24256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EventLoop_Exit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24258 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8 24259 if (obj1) {
093d3ff1
RD
24260 {
24261 arg2 = (int)(SWIG_As_int(obj1));
24262 if (SWIG_arg_fail(2)) SWIG_fail;
24263 }
ae8162c8
RD
24264 }
24265 {
24266 PyThreadState* __tstate = wxPyBeginAllowThreads();
24267 (arg1)->Exit(arg2);
24268
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 Py_INCREF(Py_None); resultobj = Py_None;
24273 return resultobj;
24274 fail:
24275 return NULL;
24276}
24277
24278
24279static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
24280 PyObject *resultobj;
24281 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24282 bool result;
24283 PyObject * obj0 = 0 ;
24284 char *kwnames[] = {
24285 (char *) "self", NULL
24286 };
24287
24288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Pending",kwnames,&obj0)) goto fail;
093d3ff1
RD
24289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24290 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
24291 {
24292 PyThreadState* __tstate = wxPyBeginAllowThreads();
24293 result = (bool)((wxEventLoop const *)arg1)->Pending();
24294
24295 wxPyEndAllowThreads(__tstate);
24296 if (PyErr_Occurred()) SWIG_fail;
24297 }
24298 {
24299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24300 }
24301 return resultobj;
24302 fail:
24303 return NULL;
24304}
24305
24306
24307static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
24308 PyObject *resultobj;
24309 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24310 bool result;
24311 PyObject * obj0 = 0 ;
24312 char *kwnames[] = {
24313 (char *) "self", NULL
24314 };
24315
24316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Dispatch",kwnames,&obj0)) goto fail;
093d3ff1
RD
24317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24318 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
24319 {
24320 PyThreadState* __tstate = wxPyBeginAllowThreads();
24321 result = (bool)(arg1)->Dispatch();
24322
24323 wxPyEndAllowThreads(__tstate);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 }
24326 {
24327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24328 }
24329 return resultobj;
24330 fail:
24331 return NULL;
24332}
24333
24334
24335static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
24336 PyObject *resultobj;
24337 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24338 bool result;
24339 PyObject * obj0 = 0 ;
24340 char *kwnames[] = {
24341 (char *) "self", NULL
24342 };
24343
24344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_IsRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
24345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24346 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
24347 {
24348 PyThreadState* __tstate = wxPyBeginAllowThreads();
24349 result = (bool)((wxEventLoop const *)arg1)->IsRunning();
24350
24351 wxPyEndAllowThreads(__tstate);
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 {
24355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24356 }
24357 return resultobj;
24358 fail:
24359 return NULL;
24360}
24361
24362
24363static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj;
24365 wxEventLoop *result;
24366 char *kwnames[] = {
24367 NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EventLoop_GetActive",kwnames)) goto fail;
24371 {
24372 PyThreadState* __tstate = wxPyBeginAllowThreads();
24373 result = (wxEventLoop *)wxEventLoop::GetActive();
24374
24375 wxPyEndAllowThreads(__tstate);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 0);
24379 return resultobj;
24380 fail:
24381 return NULL;
24382}
24383
24384
24385static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) {
24386 PyObject *resultobj;
24387 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
24388 PyObject * obj0 = 0 ;
24389 char *kwnames[] = {
24390 (char *) "loop", NULL
24391 };
24392
24393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_SetActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
24394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
24395 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
24396 {
24397 PyThreadState* __tstate = wxPyBeginAllowThreads();
24398 wxEventLoop::SetActive(arg1);
24399
24400 wxPyEndAllowThreads(__tstate);
24401 if (PyErr_Occurred()) SWIG_fail;
24402 }
24403 Py_INCREF(Py_None); resultobj = Py_None;
24404 return resultobj;
24405 fail:
24406 return NULL;
24407}
24408
24409
24410static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) {
24411 PyObject *obj;
24412 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24413 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop, obj);
24414 Py_INCREF(obj);
24415 return Py_BuildValue((char *)"");
24416}
c32bde28 24417static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24418 PyObject *resultobj;
24419 int arg1 = (int) 0 ;
24420 int arg2 = (int) 0 ;
24421 int arg3 = (int) 0 ;
d55e5bfc
RD
24422 wxAcceleratorEntry *result;
24423 PyObject * obj0 = 0 ;
24424 PyObject * obj1 = 0 ;
24425 PyObject * obj2 = 0 ;
d55e5bfc 24426 char *kwnames[] = {
c24da6d6 24427 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
d55e5bfc
RD
24428 };
24429
c24da6d6 24430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc 24431 if (obj0) {
093d3ff1
RD
24432 {
24433 arg1 = (int)(SWIG_As_int(obj0));
24434 if (SWIG_arg_fail(1)) SWIG_fail;
24435 }
d55e5bfc
RD
24436 }
24437 if (obj1) {
093d3ff1
RD
24438 {
24439 arg2 = (int)(SWIG_As_int(obj1));
24440 if (SWIG_arg_fail(2)) SWIG_fail;
24441 }
d55e5bfc
RD
24442 }
24443 if (obj2) {
093d3ff1
RD
24444 {
24445 arg3 = (int)(SWIG_As_int(obj2));
24446 if (SWIG_arg_fail(3)) SWIG_fail;
24447 }
d55e5bfc 24448 }
d55e5bfc
RD
24449 {
24450 PyThreadState* __tstate = wxPyBeginAllowThreads();
c24da6d6 24451 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
d55e5bfc
RD
24452
24453 wxPyEndAllowThreads(__tstate);
24454 if (PyErr_Occurred()) SWIG_fail;
24455 }
24456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
24457 return resultobj;
24458 fail:
24459 return NULL;
24460}
24461
24462
c32bde28 24463static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24464 PyObject *resultobj;
24465 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
24466 PyObject * obj0 = 0 ;
24467 char *kwnames[] = {
24468 (char *) "self", NULL
24469 };
24470
24471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
093d3ff1
RD
24472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
24473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 delete arg1;
24477
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
24481 Py_INCREF(Py_None); resultobj = Py_None;
24482 return resultobj;
24483 fail:
24484 return NULL;
24485}
24486
24487
c32bde28 24488static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24489 PyObject *resultobj;
24490 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
24491 int arg2 ;
24492 int arg3 ;
24493 int arg4 ;
d55e5bfc
RD
24494 PyObject * obj0 = 0 ;
24495 PyObject * obj1 = 0 ;
24496 PyObject * obj2 = 0 ;
24497 PyObject * obj3 = 0 ;
d55e5bfc 24498 char *kwnames[] = {
c24da6d6 24499 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
d55e5bfc
RD
24500 };
24501
c24da6d6 24502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail;
24505 {
24506 arg2 = (int)(SWIG_As_int(obj1));
24507 if (SWIG_arg_fail(2)) SWIG_fail;
24508 }
24509 {
24510 arg3 = (int)(SWIG_As_int(obj2));
24511 if (SWIG_arg_fail(3)) SWIG_fail;
24512 }
24513 {
24514 arg4 = (int)(SWIG_As_int(obj3));
24515 if (SWIG_arg_fail(4)) SWIG_fail;
24516 }
d55e5bfc
RD
24517 {
24518 PyThreadState* __tstate = wxPyBeginAllowThreads();
c24da6d6 24519 (arg1)->Set(arg2,arg3,arg4);
d55e5bfc
RD
24520
24521 wxPyEndAllowThreads(__tstate);
24522 if (PyErr_Occurred()) SWIG_fail;
24523 }
24524 Py_INCREF(Py_None); resultobj = Py_None;
24525 return resultobj;
24526 fail:
24527 return NULL;
24528}
24529
24530
c32bde28 24531static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24532 PyObject *resultobj;
24533 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
24534 int result;
24535 PyObject * obj0 = 0 ;
24536 char *kwnames[] = {
24537 (char *) "self", NULL
24538 };
24539
24540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
24541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
24542 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 result = (int)(arg1)->GetFlags();
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
093d3ff1
RD
24550 {
24551 resultobj = SWIG_From_int((int)(result));
24552 }
d55e5bfc
RD
24553 return resultobj;
24554 fail:
24555 return NULL;
24556}
24557
24558
c32bde28 24559static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24560 PyObject *resultobj;
24561 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
24562 int result;
24563 PyObject * obj0 = 0 ;
24564 char *kwnames[] = {
24565 (char *) "self", NULL
24566 };
24567
24568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
24569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
24570 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24571 {
24572 PyThreadState* __tstate = wxPyBeginAllowThreads();
24573 result = (int)(arg1)->GetKeyCode();
24574
24575 wxPyEndAllowThreads(__tstate);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
093d3ff1
RD
24578 {
24579 resultobj = SWIG_From_int((int)(result));
24580 }
d55e5bfc
RD
24581 return resultobj;
24582 fail:
24583 return NULL;
24584}
24585
24586
c32bde28 24587static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24588 PyObject *resultobj;
24589 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
24590 int result;
24591 PyObject * obj0 = 0 ;
24592 char *kwnames[] = {
24593 (char *) "self", NULL
24594 };
24595
24596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
24597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
24598 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24599 {
24600 PyThreadState* __tstate = wxPyBeginAllowThreads();
24601 result = (int)(arg1)->GetCommand();
24602
24603 wxPyEndAllowThreads(__tstate);
24604 if (PyErr_Occurred()) SWIG_fail;
24605 }
093d3ff1
RD
24606 {
24607 resultobj = SWIG_From_int((int)(result));
24608 }
d55e5bfc
RD
24609 return resultobj;
24610 fail:
24611 return NULL;
24612}
24613
24614
c32bde28 24615static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24616 PyObject *obj;
24617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24618 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
24619 Py_INCREF(obj);
24620 return Py_BuildValue((char *)"");
24621}
c32bde28 24622static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24623 PyObject *resultobj;
24624 int arg1 ;
24625 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
24626 wxAcceleratorTable *result;
24627 PyObject * obj0 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "n", NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
24633 {
24634 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
24635 if (arg2) arg1 = PyList_Size(obj0);
24636 else arg1 = 0;
24637 }
24638 {
24639 PyThreadState* __tstate = wxPyBeginAllowThreads();
24640 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
24641
24642 wxPyEndAllowThreads(__tstate);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 }
24645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
24646 {
24647 delete [] arg2;
24648 }
24649 return resultobj;
24650 fail:
24651 {
24652 delete [] arg2;
24653 }
24654 return NULL;
24655}
24656
24657
c32bde28 24658static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24659 PyObject *resultobj;
24660 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
24661 PyObject * obj0 = 0 ;
24662 char *kwnames[] = {
24663 (char *) "self", NULL
24664 };
24665
24666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
093d3ff1
RD
24667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0);
24668 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24669 {
24670 PyThreadState* __tstate = wxPyBeginAllowThreads();
24671 delete arg1;
24672
24673 wxPyEndAllowThreads(__tstate);
24674 if (PyErr_Occurred()) SWIG_fail;
24675 }
24676 Py_INCREF(Py_None); resultobj = Py_None;
24677 return resultobj;
24678 fail:
24679 return NULL;
24680}
24681
24682
c32bde28 24683static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24684 PyObject *resultobj;
24685 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
24686 bool result;
24687 PyObject * obj0 = 0 ;
24688 char *kwnames[] = {
24689 (char *) "self", NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
24693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0);
24694 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24695 {
24696 PyThreadState* __tstate = wxPyBeginAllowThreads();
24697 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
24698
24699 wxPyEndAllowThreads(__tstate);
24700 if (PyErr_Occurred()) SWIG_fail;
24701 }
24702 {
24703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24704 }
24705 return resultobj;
24706 fail:
24707 return NULL;
24708}
24709
24710
c32bde28 24711static PyObject * AcceleratorTable_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24712 PyObject *obj;
24713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24714 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
24715 Py_INCREF(obj);
24716 return Py_BuildValue((char *)"");
24717}
c32bde28 24718static int _wrap_NullAcceleratorTable_set(PyObject *) {
d55e5bfc
RD
24719 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
24720 return 1;
24721}
24722
24723
093d3ff1 24724static PyObject *_wrap_NullAcceleratorTable_get(void) {
d55e5bfc
RD
24725 PyObject *pyobj;
24726
24727 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
24728 return pyobj;
24729}
24730
24731
c32bde28 24732static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24733 PyObject *resultobj;
24734 wxString *arg1 = 0 ;
24735 wxAcceleratorEntry *result;
ae8162c8 24736 bool temp1 = false ;
d55e5bfc
RD
24737 PyObject * obj0 = 0 ;
24738 char *kwnames[] = {
24739 (char *) "label", NULL
24740 };
24741
24742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
24743 {
24744 arg1 = wxString_in_helper(obj0);
24745 if (arg1 == NULL) SWIG_fail;
ae8162c8 24746 temp1 = true;
d55e5bfc
RD
24747 }
24748 {
24749 PyThreadState* __tstate = wxPyBeginAllowThreads();
24750 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
24751
24752 wxPyEndAllowThreads(__tstate);
24753 if (PyErr_Occurred()) SWIG_fail;
24754 }
24755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
24756 {
24757 if (temp1)
24758 delete arg1;
24759 }
24760 return resultobj;
24761 fail:
24762 {
24763 if (temp1)
24764 delete arg1;
24765 }
24766 return NULL;
24767}
24768
24769
c32bde28 24770static int _wrap_PanelNameStr_set(PyObject *) {
d55e5bfc
RD
24771 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
24772 return 1;
24773}
24774
24775
093d3ff1 24776static PyObject *_wrap_PanelNameStr_get(void) {
d55e5bfc
RD
24777 PyObject *pyobj;
24778
24779 {
24780#if wxUSE_UNICODE
24781 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
24782#else
24783 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
24784#endif
24785 }
24786 return pyobj;
24787}
24788
24789
c32bde28 24790static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24791 PyObject *resultobj;
24792 wxVisualAttributes *result;
24793 char *kwnames[] = {
24794 NULL
24795 };
24796
24797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
24798 {
24799 PyThreadState* __tstate = wxPyBeginAllowThreads();
24800 result = (wxVisualAttributes *)new_wxVisualAttributes();
24801
24802 wxPyEndAllowThreads(__tstate);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 }
24805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
24806 return resultobj;
24807 fail:
24808 return NULL;
24809}
24810
24811
c32bde28 24812static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24813 PyObject *resultobj;
24814 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24815 PyObject * obj0 = 0 ;
24816 char *kwnames[] = {
24817 (char *) "self", NULL
24818 };
24819
24820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
24821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24823 {
24824 PyThreadState* __tstate = wxPyBeginAllowThreads();
24825 delete_wxVisualAttributes(arg1);
24826
24827 wxPyEndAllowThreads(__tstate);
24828 if (PyErr_Occurred()) SWIG_fail;
24829 }
24830 Py_INCREF(Py_None); resultobj = Py_None;
24831 return resultobj;
24832 fail:
24833 return NULL;
24834}
24835
24836
c32bde28 24837static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24838 PyObject *resultobj;
24839 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24840 wxFont *arg2 = (wxFont *) 0 ;
24841 PyObject * obj0 = 0 ;
24842 PyObject * obj1 = 0 ;
24843 char *kwnames[] = {
24844 (char *) "self",(char *) "font", NULL
24845 };
24846
24847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24849 if (SWIG_arg_fail(1)) SWIG_fail;
24850 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
24851 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24852 if (arg1) (arg1)->font = *arg2;
24853
24854 Py_INCREF(Py_None); resultobj = Py_None;
24855 return resultobj;
24856 fail:
24857 return NULL;
24858}
24859
24860
c32bde28 24861static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24862 PyObject *resultobj;
24863 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24864 wxFont *result;
24865 PyObject * obj0 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24873 result = (wxFont *)& ((arg1)->font);
24874
24875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
24876 return resultobj;
24877 fail:
24878 return NULL;
24879}
24880
24881
c32bde28 24882static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24883 PyObject *resultobj;
24884 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24885 wxColour *arg2 = (wxColour *) 0 ;
24886 PyObject * obj0 = 0 ;
24887 PyObject * obj1 = 0 ;
24888 char *kwnames[] = {
24889 (char *) "self",(char *) "colFg", NULL
24890 };
24891
24892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24894 if (SWIG_arg_fail(1)) SWIG_fail;
24895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
24896 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24897 if (arg1) (arg1)->colFg = *arg2;
24898
24899 Py_INCREF(Py_None); resultobj = Py_None;
24900 return resultobj;
24901 fail:
24902 return NULL;
24903}
24904
24905
c32bde28 24906static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24907 PyObject *resultobj;
24908 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24909 wxColour *result;
24910 PyObject * obj0 = 0 ;
24911 char *kwnames[] = {
24912 (char *) "self", NULL
24913 };
24914
24915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24917 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24918 result = (wxColour *)& ((arg1)->colFg);
24919
24920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
24921 return resultobj;
24922 fail:
24923 return NULL;
24924}
24925
24926
c32bde28 24927static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24928 PyObject *resultobj;
24929 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24930 wxColour *arg2 = (wxColour *) 0 ;
24931 PyObject * obj0 = 0 ;
24932 PyObject * obj1 = 0 ;
24933 char *kwnames[] = {
24934 (char *) "self",(char *) "colBg", NULL
24935 };
24936
24937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24939 if (SWIG_arg_fail(1)) SWIG_fail;
24940 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
24941 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24942 if (arg1) (arg1)->colBg = *arg2;
24943
24944 Py_INCREF(Py_None); resultobj = Py_None;
24945 return resultobj;
24946 fail:
24947 return NULL;
24948}
24949
24950
c32bde28 24951static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24952 PyObject *resultobj;
24953 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
24954 wxColour *result;
24955 PyObject * obj0 = 0 ;
24956 char *kwnames[] = {
24957 (char *) "self", NULL
24958 };
24959
24960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
24961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
24962 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24963 result = (wxColour *)& ((arg1)->colBg);
24964
24965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
24966 return resultobj;
24967 fail:
24968 return NULL;
24969}
24970
24971
c32bde28 24972static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24973 PyObject *obj;
24974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24975 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
24976 Py_INCREF(obj);
24977 return Py_BuildValue((char *)"");
24978}
c32bde28 24979static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24980 PyObject *resultobj;
24981 wxWindow *arg1 = (wxWindow *) 0 ;
24982 int arg2 = (int) (int)-1 ;
24983 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24984 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24985 wxSize const &arg4_defvalue = wxDefaultSize ;
24986 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24987 long arg5 = (long) 0 ;
24988 wxString const &arg6_defvalue = wxPyPanelNameStr ;
24989 wxString *arg6 = (wxString *) &arg6_defvalue ;
24990 wxWindow *result;
24991 wxPoint temp3 ;
24992 wxSize temp4 ;
ae8162c8 24993 bool temp6 = false ;
d55e5bfc
RD
24994 PyObject * obj0 = 0 ;
24995 PyObject * obj1 = 0 ;
24996 PyObject * obj2 = 0 ;
24997 PyObject * obj3 = 0 ;
24998 PyObject * obj4 = 0 ;
24999 PyObject * obj5 = 0 ;
25000 char *kwnames[] = {
25001 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25002 };
25003
25004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25006 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25007 if (obj1) {
093d3ff1
RD
25008 {
25009 arg2 = (int const)(SWIG_As_int(obj1));
25010 if (SWIG_arg_fail(2)) SWIG_fail;
25011 }
d55e5bfc
RD
25012 }
25013 if (obj2) {
25014 {
25015 arg3 = &temp3;
25016 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25017 }
25018 }
25019 if (obj3) {
25020 {
25021 arg4 = &temp4;
25022 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25023 }
25024 }
25025 if (obj4) {
093d3ff1
RD
25026 {
25027 arg5 = (long)(SWIG_As_long(obj4));
25028 if (SWIG_arg_fail(5)) SWIG_fail;
25029 }
d55e5bfc
RD
25030 }
25031 if (obj5) {
25032 {
25033 arg6 = wxString_in_helper(obj5);
25034 if (arg6 == NULL) SWIG_fail;
ae8162c8 25035 temp6 = true;
d55e5bfc
RD
25036 }
25037 }
25038 {
0439c23b 25039 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25040 PyThreadState* __tstate = wxPyBeginAllowThreads();
25041 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25042
25043 wxPyEndAllowThreads(__tstate);
110da5b0 25044 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 25045 }
b0f7404b 25046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d55e5bfc
RD
25047 {
25048 if (temp6)
25049 delete arg6;
25050 }
25051 return resultobj;
25052 fail:
25053 {
25054 if (temp6)
25055 delete arg6;
25056 }
25057 return NULL;
25058}
25059
25060
c32bde28 25061static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25062 PyObject *resultobj;
25063 wxWindow *result;
25064 char *kwnames[] = {
25065 NULL
25066 };
25067
25068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
25069 {
0439c23b 25070 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 result = (wxWindow *)new wxWindow();
25073
25074 wxPyEndAllowThreads(__tstate);
110da5b0 25075 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 25076 }
b0f7404b 25077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d55e5bfc
RD
25078 return resultobj;
25079 fail:
25080 return NULL;
25081}
25082
25083
c32bde28 25084static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25085 PyObject *resultobj;
25086 wxWindow *arg1 = (wxWindow *) 0 ;
25087 wxWindow *arg2 = (wxWindow *) 0 ;
25088 int arg3 = (int) (int)-1 ;
25089 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25090 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25091 wxSize const &arg5_defvalue = wxDefaultSize ;
25092 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25093 long arg6 = (long) 0 ;
25094 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25095 wxString *arg7 = (wxString *) &arg7_defvalue ;
25096 bool result;
25097 wxPoint temp4 ;
25098 wxSize temp5 ;
ae8162c8 25099 bool temp7 = false ;
d55e5bfc
RD
25100 PyObject * obj0 = 0 ;
25101 PyObject * obj1 = 0 ;
25102 PyObject * obj2 = 0 ;
25103 PyObject * obj3 = 0 ;
25104 PyObject * obj4 = 0 ;
25105 PyObject * obj5 = 0 ;
25106 PyObject * obj6 = 0 ;
25107 char *kwnames[] = {
25108 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25109 };
25110
25111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25113 if (SWIG_arg_fail(1)) SWIG_fail;
25114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25115 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 25116 if (obj2) {
093d3ff1
RD
25117 {
25118 arg3 = (int const)(SWIG_As_int(obj2));
25119 if (SWIG_arg_fail(3)) SWIG_fail;
25120 }
d55e5bfc
RD
25121 }
25122 if (obj3) {
25123 {
25124 arg4 = &temp4;
25125 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25126 }
25127 }
25128 if (obj4) {
25129 {
25130 arg5 = &temp5;
25131 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25132 }
25133 }
25134 if (obj5) {
093d3ff1
RD
25135 {
25136 arg6 = (long)(SWIG_As_long(obj5));
25137 if (SWIG_arg_fail(6)) SWIG_fail;
25138 }
d55e5bfc
RD
25139 }
25140 if (obj6) {
25141 {
25142 arg7 = wxString_in_helper(obj6);
25143 if (arg7 == NULL) SWIG_fail;
ae8162c8 25144 temp7 = true;
d55e5bfc
RD
25145 }
25146 }
25147 {
25148 PyThreadState* __tstate = wxPyBeginAllowThreads();
25149 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25150
25151 wxPyEndAllowThreads(__tstate);
25152 if (PyErr_Occurred()) SWIG_fail;
25153 }
25154 {
25155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25156 }
25157 {
25158 if (temp7)
25159 delete arg7;
25160 }
25161 return resultobj;
25162 fail:
25163 {
25164 if (temp7)
25165 delete arg7;
25166 }
25167 return NULL;
25168}
25169
25170
c32bde28 25171static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25172 PyObject *resultobj;
25173 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 25174 bool arg2 = (bool) false ;
d55e5bfc
RD
25175 bool result;
25176 PyObject * obj0 = 0 ;
25177 PyObject * obj1 = 0 ;
25178 char *kwnames[] = {
25179 (char *) "self",(char *) "force", NULL
25180 };
25181
25182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25184 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25185 if (obj1) {
093d3ff1
RD
25186 {
25187 arg2 = (bool)(SWIG_As_bool(obj1));
25188 if (SWIG_arg_fail(2)) SWIG_fail;
25189 }
d55e5bfc
RD
25190 }
25191 {
25192 PyThreadState* __tstate = wxPyBeginAllowThreads();
25193 result = (bool)(arg1)->Close(arg2);
25194
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
25198 {
25199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25200 }
25201 return resultobj;
25202 fail:
25203 return NULL;
25204}
25205
25206
c32bde28 25207static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25208 PyObject *resultobj;
25209 wxWindow *arg1 = (wxWindow *) 0 ;
25210 bool result;
25211 PyObject * obj0 = 0 ;
25212 char *kwnames[] = {
25213 (char *) "self", NULL
25214 };
25215
25216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
25217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25219 {
25220 PyThreadState* __tstate = wxPyBeginAllowThreads();
25221 result = (bool)(arg1)->Destroy();
25222
25223 wxPyEndAllowThreads(__tstate);
25224 if (PyErr_Occurred()) SWIG_fail;
25225 }
25226 {
25227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25228 }
25229 return resultobj;
25230 fail:
25231 return NULL;
25232}
25233
25234
c32bde28 25235static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25236 PyObject *resultobj;
25237 wxWindow *arg1 = (wxWindow *) 0 ;
25238 bool result;
25239 PyObject * obj0 = 0 ;
25240 char *kwnames[] = {
25241 (char *) "self", NULL
25242 };
25243
25244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
25245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25246 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25247 {
25248 PyThreadState* __tstate = wxPyBeginAllowThreads();
25249 result = (bool)(arg1)->DestroyChildren();
25250
25251 wxPyEndAllowThreads(__tstate);
25252 if (PyErr_Occurred()) SWIG_fail;
25253 }
25254 {
25255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25256 }
25257 return resultobj;
25258 fail:
25259 return NULL;
25260}
25261
25262
c32bde28 25263static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25264 PyObject *resultobj;
25265 wxWindow *arg1 = (wxWindow *) 0 ;
25266 bool result;
25267 PyObject * obj0 = 0 ;
25268 char *kwnames[] = {
25269 (char *) "self", NULL
25270 };
25271
25272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
093d3ff1
RD
25273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25275 {
25276 PyThreadState* __tstate = wxPyBeginAllowThreads();
25277 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
25278
25279 wxPyEndAllowThreads(__tstate);
25280 if (PyErr_Occurred()) SWIG_fail;
25281 }
25282 {
25283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25284 }
25285 return resultobj;
25286 fail:
25287 return NULL;
25288}
25289
25290
c32bde28 25291static PyObject *_wrap_Window_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25292 PyObject *resultobj;
25293 wxWindow *arg1 = (wxWindow *) 0 ;
25294 wxString *arg2 = 0 ;
ae8162c8 25295 bool temp2 = false ;
d55e5bfc
RD
25296 PyObject * obj0 = 0 ;
25297 PyObject * obj1 = 0 ;
25298 char *kwnames[] = {
25299 (char *) "self",(char *) "title", NULL
25300 };
25301
25302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25304 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25305 {
25306 arg2 = wxString_in_helper(obj1);
25307 if (arg2 == NULL) SWIG_fail;
ae8162c8 25308 temp2 = true;
d55e5bfc
RD
25309 }
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 (arg1)->SetTitle((wxString const &)*arg2);
25313
25314 wxPyEndAllowThreads(__tstate);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 }
25317 Py_INCREF(Py_None); resultobj = Py_None;
25318 {
25319 if (temp2)
25320 delete arg2;
25321 }
25322 return resultobj;
25323 fail:
25324 {
25325 if (temp2)
25326 delete arg2;
25327 }
25328 return NULL;
25329}
25330
25331
c32bde28 25332static PyObject *_wrap_Window_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25333 PyObject *resultobj;
25334 wxWindow *arg1 = (wxWindow *) 0 ;
25335 wxString result;
25336 PyObject * obj0 = 0 ;
25337 char *kwnames[] = {
25338 (char *) "self", NULL
25339 };
25340
25341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
25342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25343 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 result = ((wxWindow const *)arg1)->GetTitle();
25347
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 {
25352#if wxUSE_UNICODE
25353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25354#else
25355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25356#endif
25357 }
25358 return resultobj;
25359 fail:
25360 return NULL;
25361}
25362
25363
c32bde28 25364static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25365 PyObject *resultobj;
25366 wxWindow *arg1 = (wxWindow *) 0 ;
25367 wxString *arg2 = 0 ;
ae8162c8 25368 bool temp2 = false ;
d55e5bfc
RD
25369 PyObject * obj0 = 0 ;
25370 PyObject * obj1 = 0 ;
25371 char *kwnames[] = {
25372 (char *) "self",(char *) "label", NULL
25373 };
25374
25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25377 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25378 {
25379 arg2 = wxString_in_helper(obj1);
25380 if (arg2 == NULL) SWIG_fail;
ae8162c8 25381 temp2 = true;
d55e5bfc
RD
25382 }
25383 {
25384 PyThreadState* __tstate = wxPyBeginAllowThreads();
25385 (arg1)->SetLabel((wxString const &)*arg2);
25386
25387 wxPyEndAllowThreads(__tstate);
25388 if (PyErr_Occurred()) SWIG_fail;
25389 }
25390 Py_INCREF(Py_None); resultobj = Py_None;
25391 {
25392 if (temp2)
25393 delete arg2;
25394 }
25395 return resultobj;
25396 fail:
25397 {
25398 if (temp2)
25399 delete arg2;
25400 }
25401 return NULL;
25402}
25403
25404
c32bde28 25405static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25406 PyObject *resultobj;
25407 wxWindow *arg1 = (wxWindow *) 0 ;
25408 wxString result;
25409 PyObject * obj0 = 0 ;
25410 char *kwnames[] = {
25411 (char *) "self", NULL
25412 };
25413
25414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
25415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25417 {
25418 PyThreadState* __tstate = wxPyBeginAllowThreads();
25419 result = ((wxWindow const *)arg1)->GetLabel();
25420
25421 wxPyEndAllowThreads(__tstate);
25422 if (PyErr_Occurred()) SWIG_fail;
25423 }
25424 {
25425#if wxUSE_UNICODE
25426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25427#else
25428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25429#endif
25430 }
25431 return resultobj;
25432 fail:
25433 return NULL;
25434}
25435
25436
c32bde28 25437static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25438 PyObject *resultobj;
25439 wxWindow *arg1 = (wxWindow *) 0 ;
25440 wxString *arg2 = 0 ;
ae8162c8 25441 bool temp2 = false ;
d55e5bfc
RD
25442 PyObject * obj0 = 0 ;
25443 PyObject * obj1 = 0 ;
25444 char *kwnames[] = {
25445 (char *) "self",(char *) "name", NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25450 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25451 {
25452 arg2 = wxString_in_helper(obj1);
25453 if (arg2 == NULL) SWIG_fail;
ae8162c8 25454 temp2 = true;
d55e5bfc
RD
25455 }
25456 {
25457 PyThreadState* __tstate = wxPyBeginAllowThreads();
25458 (arg1)->SetName((wxString const &)*arg2);
25459
25460 wxPyEndAllowThreads(__tstate);
25461 if (PyErr_Occurred()) SWIG_fail;
25462 }
25463 Py_INCREF(Py_None); resultobj = Py_None;
25464 {
25465 if (temp2)
25466 delete arg2;
25467 }
25468 return resultobj;
25469 fail:
25470 {
25471 if (temp2)
25472 delete arg2;
25473 }
25474 return NULL;
25475}
25476
25477
c32bde28 25478static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25479 PyObject *resultobj;
25480 wxWindow *arg1 = (wxWindow *) 0 ;
25481 wxString result;
25482 PyObject * obj0 = 0 ;
25483 char *kwnames[] = {
25484 (char *) "self", NULL
25485 };
25486
25487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
25488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25489 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25490 {
25491 PyThreadState* __tstate = wxPyBeginAllowThreads();
25492 result = ((wxWindow const *)arg1)->GetName();
25493
25494 wxPyEndAllowThreads(__tstate);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 {
25498#if wxUSE_UNICODE
25499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25500#else
25501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25502#endif
25503 }
25504 return resultobj;
25505 fail:
25506 return NULL;
25507}
25508
25509
c32bde28 25510static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25511 PyObject *resultobj;
25512 wxWindow *arg1 = (wxWindow *) 0 ;
093d3ff1 25513 wxWindowVariant arg2 ;
d55e5bfc
RD
25514 PyObject * obj0 = 0 ;
25515 PyObject * obj1 = 0 ;
25516 char *kwnames[] = {
25517 (char *) "self",(char *) "variant", NULL
25518 };
25519
25520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25522 if (SWIG_arg_fail(1)) SWIG_fail;
25523 {
25524 arg2 = (wxWindowVariant)(SWIG_As_int(obj1));
25525 if (SWIG_arg_fail(2)) SWIG_fail;
25526 }
d55e5bfc
RD
25527 {
25528 PyThreadState* __tstate = wxPyBeginAllowThreads();
25529 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
25530
25531 wxPyEndAllowThreads(__tstate);
25532 if (PyErr_Occurred()) SWIG_fail;
25533 }
25534 Py_INCREF(Py_None); resultobj = Py_None;
25535 return resultobj;
25536 fail:
25537 return NULL;
25538}
25539
25540
c32bde28 25541static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25542 PyObject *resultobj;
25543 wxWindow *arg1 = (wxWindow *) 0 ;
093d3ff1 25544 wxWindowVariant result;
d55e5bfc
RD
25545 PyObject * obj0 = 0 ;
25546 char *kwnames[] = {
25547 (char *) "self", NULL
25548 };
25549
25550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
093d3ff1
RD
25551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25553 {
25554 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 25555 result = (wxWindowVariant)((wxWindow const *)arg1)->GetWindowVariant();
d55e5bfc
RD
25556
25557 wxPyEndAllowThreads(__tstate);
25558 if (PyErr_Occurred()) SWIG_fail;
25559 }
093d3ff1 25560 resultobj = SWIG_From_int((result));
d55e5bfc
RD
25561 return resultobj;
25562 fail:
25563 return NULL;
25564}
25565
25566
c32bde28 25567static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25568 PyObject *resultobj;
25569 wxWindow *arg1 = (wxWindow *) 0 ;
25570 int arg2 ;
25571 PyObject * obj0 = 0 ;
25572 PyObject * obj1 = 0 ;
25573 char *kwnames[] = {
25574 (char *) "self",(char *) "winid", NULL
25575 };
25576
25577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25579 if (SWIG_arg_fail(1)) SWIG_fail;
25580 {
25581 arg2 = (int)(SWIG_As_int(obj1));
25582 if (SWIG_arg_fail(2)) SWIG_fail;
25583 }
d55e5bfc
RD
25584 {
25585 PyThreadState* __tstate = wxPyBeginAllowThreads();
25586 (arg1)->SetId(arg2);
25587
25588 wxPyEndAllowThreads(__tstate);
25589 if (PyErr_Occurred()) SWIG_fail;
25590 }
25591 Py_INCREF(Py_None); resultobj = Py_None;
25592 return resultobj;
25593 fail:
25594 return NULL;
25595}
25596
25597
c32bde28 25598static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25599 PyObject *resultobj;
25600 wxWindow *arg1 = (wxWindow *) 0 ;
25601 int result;
25602 PyObject * obj0 = 0 ;
25603 char *kwnames[] = {
25604 (char *) "self", NULL
25605 };
25606
25607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
25608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25609 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25610 {
25611 PyThreadState* __tstate = wxPyBeginAllowThreads();
25612 result = (int)((wxWindow const *)arg1)->GetId();
25613
25614 wxPyEndAllowThreads(__tstate);
25615 if (PyErr_Occurred()) SWIG_fail;
25616 }
093d3ff1
RD
25617 {
25618 resultobj = SWIG_From_int((int)(result));
25619 }
d55e5bfc
RD
25620 return resultobj;
25621 fail:
25622 return NULL;
25623}
25624
25625
c32bde28 25626static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25627 PyObject *resultobj;
25628 int result;
25629 char *kwnames[] = {
25630 NULL
25631 };
25632
25633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
25634 {
25635 PyThreadState* __tstate = wxPyBeginAllowThreads();
25636 result = (int)wxWindow::NewControlId();
25637
25638 wxPyEndAllowThreads(__tstate);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 }
093d3ff1
RD
25641 {
25642 resultobj = SWIG_From_int((int)(result));
25643 }
d55e5bfc
RD
25644 return resultobj;
25645 fail:
25646 return NULL;
25647}
25648
25649
c32bde28 25650static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25651 PyObject *resultobj;
25652 int arg1 ;
25653 int result;
25654 PyObject * obj0 = 0 ;
25655 char *kwnames[] = {
25656 (char *) "winid", NULL
25657 };
25658
25659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
093d3ff1
RD
25660 {
25661 arg1 = (int)(SWIG_As_int(obj0));
25662 if (SWIG_arg_fail(1)) SWIG_fail;
25663 }
d55e5bfc
RD
25664 {
25665 PyThreadState* __tstate = wxPyBeginAllowThreads();
25666 result = (int)wxWindow::NextControlId(arg1);
25667
25668 wxPyEndAllowThreads(__tstate);
25669 if (PyErr_Occurred()) SWIG_fail;
25670 }
093d3ff1
RD
25671 {
25672 resultobj = SWIG_From_int((int)(result));
25673 }
d55e5bfc
RD
25674 return resultobj;
25675 fail:
25676 return NULL;
25677}
25678
25679
c32bde28 25680static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25681 PyObject *resultobj;
25682 int arg1 ;
25683 int result;
25684 PyObject * obj0 = 0 ;
25685 char *kwnames[] = {
25686 (char *) "winid", NULL
25687 };
25688
25689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
093d3ff1
RD
25690 {
25691 arg1 = (int)(SWIG_As_int(obj0));
25692 if (SWIG_arg_fail(1)) SWIG_fail;
25693 }
d55e5bfc
RD
25694 {
25695 PyThreadState* __tstate = wxPyBeginAllowThreads();
25696 result = (int)wxWindow::PrevControlId(arg1);
25697
25698 wxPyEndAllowThreads(__tstate);
25699 if (PyErr_Occurred()) SWIG_fail;
25700 }
093d3ff1
RD
25701 {
25702 resultobj = SWIG_From_int((int)(result));
25703 }
d55e5bfc
RD
25704 return resultobj;
25705 fail:
25706 return NULL;
25707}
25708
25709
c32bde28 25710static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25711 PyObject *resultobj;
25712 wxWindow *arg1 = (wxWindow *) 0 ;
25713 wxSize *arg2 = 0 ;
25714 wxSize temp2 ;
25715 PyObject * obj0 = 0 ;
25716 PyObject * obj1 = 0 ;
25717 char *kwnames[] = {
25718 (char *) "self",(char *) "size", NULL
25719 };
25720
25721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25723 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25724 {
25725 arg2 = &temp2;
25726 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25727 }
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 (arg1)->SetSize((wxSize const &)*arg2);
25731
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
25735 Py_INCREF(Py_None); resultobj = Py_None;
25736 return resultobj;
25737 fail:
25738 return NULL;
25739}
25740
25741
c32bde28 25742static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25743 PyObject *resultobj;
25744 wxWindow *arg1 = (wxWindow *) 0 ;
25745 int arg2 ;
25746 int arg3 ;
25747 int arg4 ;
25748 int arg5 ;
25749 int arg6 = (int) wxSIZE_AUTO ;
25750 PyObject * obj0 = 0 ;
25751 PyObject * obj1 = 0 ;
25752 PyObject * obj2 = 0 ;
25753 PyObject * obj3 = 0 ;
25754 PyObject * obj4 = 0 ;
25755 PyObject * obj5 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail;
25763 {
25764 arg2 = (int)(SWIG_As_int(obj1));
25765 if (SWIG_arg_fail(2)) SWIG_fail;
25766 }
25767 {
25768 arg3 = (int)(SWIG_As_int(obj2));
25769 if (SWIG_arg_fail(3)) SWIG_fail;
25770 }
25771 {
25772 arg4 = (int)(SWIG_As_int(obj3));
25773 if (SWIG_arg_fail(4)) SWIG_fail;
25774 }
25775 {
25776 arg5 = (int)(SWIG_As_int(obj4));
25777 if (SWIG_arg_fail(5)) SWIG_fail;
25778 }
d55e5bfc 25779 if (obj5) {
093d3ff1
RD
25780 {
25781 arg6 = (int)(SWIG_As_int(obj5));
25782 if (SWIG_arg_fail(6)) SWIG_fail;
25783 }
d55e5bfc
RD
25784 }
25785 {
25786 PyThreadState* __tstate = wxPyBeginAllowThreads();
25787 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
25788
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 Py_INCREF(Py_None); resultobj = Py_None;
25793 return resultobj;
25794 fail:
25795 return NULL;
25796}
25797
25798
c32bde28 25799static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25800 PyObject *resultobj;
25801 wxWindow *arg1 = (wxWindow *) 0 ;
25802 wxRect *arg2 = 0 ;
25803 int arg3 = (int) wxSIZE_AUTO ;
25804 wxRect temp2 ;
25805 PyObject * obj0 = 0 ;
25806 PyObject * obj1 = 0 ;
25807 PyObject * obj2 = 0 ;
25808 char *kwnames[] = {
25809 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25810 };
25811
25812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25814 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25815 {
25816 arg2 = &temp2;
25817 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25818 }
25819 if (obj2) {
093d3ff1
RD
25820 {
25821 arg3 = (int)(SWIG_As_int(obj2));
25822 if (SWIG_arg_fail(3)) SWIG_fail;
25823 }
d55e5bfc
RD
25824 }
25825 {
25826 PyThreadState* __tstate = wxPyBeginAllowThreads();
25827 (arg1)->SetSize((wxRect const &)*arg2,arg3);
25828
25829 wxPyEndAllowThreads(__tstate);
25830 if (PyErr_Occurred()) SWIG_fail;
25831 }
25832 Py_INCREF(Py_None); resultobj = Py_None;
25833 return resultobj;
25834 fail:
25835 return NULL;
25836}
25837
25838
c32bde28 25839static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25840 PyObject *resultobj;
25841 wxWindow *arg1 = (wxWindow *) 0 ;
25842 int arg2 ;
25843 int arg3 ;
25844 PyObject * obj0 = 0 ;
25845 PyObject * obj1 = 0 ;
25846 PyObject * obj2 = 0 ;
25847 char *kwnames[] = {
25848 (char *) "self",(char *) "width",(char *) "height", NULL
25849 };
25850
25851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25853 if (SWIG_arg_fail(1)) SWIG_fail;
25854 {
25855 arg2 = (int)(SWIG_As_int(obj1));
25856 if (SWIG_arg_fail(2)) SWIG_fail;
25857 }
25858 {
25859 arg3 = (int)(SWIG_As_int(obj2));
25860 if (SWIG_arg_fail(3)) SWIG_fail;
25861 }
d55e5bfc
RD
25862 {
25863 PyThreadState* __tstate = wxPyBeginAllowThreads();
25864 (arg1)->SetSize(arg2,arg3);
25865
25866 wxPyEndAllowThreads(__tstate);
25867 if (PyErr_Occurred()) SWIG_fail;
25868 }
25869 Py_INCREF(Py_None); resultobj = Py_None;
25870 return resultobj;
25871 fail:
25872 return NULL;
25873}
25874
25875
c32bde28 25876static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25877 PyObject *resultobj;
25878 wxWindow *arg1 = (wxWindow *) 0 ;
25879 wxPoint *arg2 = 0 ;
25880 int arg3 = (int) wxSIZE_USE_EXISTING ;
25881 wxPoint temp2 ;
25882 PyObject * obj0 = 0 ;
25883 PyObject * obj1 = 0 ;
25884 PyObject * obj2 = 0 ;
25885 char *kwnames[] = {
25886 (char *) "self",(char *) "pt",(char *) "flags", NULL
25887 };
25888
25889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25892 {
25893 arg2 = &temp2;
25894 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25895 }
25896 if (obj2) {
093d3ff1
RD
25897 {
25898 arg3 = (int)(SWIG_As_int(obj2));
25899 if (SWIG_arg_fail(3)) SWIG_fail;
25900 }
d55e5bfc
RD
25901 }
25902 {
25903 PyThreadState* __tstate = wxPyBeginAllowThreads();
25904 (arg1)->Move((wxPoint const &)*arg2,arg3);
25905
25906 wxPyEndAllowThreads(__tstate);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 Py_INCREF(Py_None); resultobj = Py_None;
25910 return resultobj;
25911 fail:
25912 return NULL;
25913}
25914
25915
c32bde28 25916static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25917 PyObject *resultobj;
25918 wxWindow *arg1 = (wxWindow *) 0 ;
25919 int arg2 ;
25920 int arg3 ;
25921 int arg4 = (int) wxSIZE_USE_EXISTING ;
25922 PyObject * obj0 = 0 ;
25923 PyObject * obj1 = 0 ;
25924 PyObject * obj2 = 0 ;
25925 PyObject * obj3 = 0 ;
25926 char *kwnames[] = {
25927 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25928 };
25929
25930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail;
25933 {
25934 arg2 = (int)(SWIG_As_int(obj1));
25935 if (SWIG_arg_fail(2)) SWIG_fail;
25936 }
25937 {
25938 arg3 = (int)(SWIG_As_int(obj2));
25939 if (SWIG_arg_fail(3)) SWIG_fail;
25940 }
d55e5bfc 25941 if (obj3) {
093d3ff1
RD
25942 {
25943 arg4 = (int)(SWIG_As_int(obj3));
25944 if (SWIG_arg_fail(4)) SWIG_fail;
25945 }
d55e5bfc
RD
25946 }
25947 {
25948 PyThreadState* __tstate = wxPyBeginAllowThreads();
25949 (arg1)->Move(arg2,arg3,arg4);
25950
25951 wxPyEndAllowThreads(__tstate);
25952 if (PyErr_Occurred()) SWIG_fail;
25953 }
25954 Py_INCREF(Py_None); resultobj = Py_None;
25955 return resultobj;
25956 fail:
25957 return NULL;
25958}
25959
25960
c32bde28 25961static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
f8167d6e
RD
25962 PyObject *resultobj;
25963 wxWindow *arg1 = (wxWindow *) 0 ;
25964 wxSize const &arg2_defvalue = wxDefaultSize ;
25965 wxSize *arg2 = (wxSize *) &arg2_defvalue ;
25966 wxSize temp2 ;
25967 PyObject * obj0 = 0 ;
25968 PyObject * obj1 = 0 ;
25969 char *kwnames[] = {
25970 (char *) "self",(char *) "size", NULL
25971 };
25972
25973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25975 if (SWIG_arg_fail(1)) SWIG_fail;
f8167d6e
RD
25976 if (obj1) {
25977 {
25978 arg2 = &temp2;
25979 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25980 }
25981 }
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 (arg1)->SetBestFittingSize((wxSize const &)*arg2);
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 Py_INCREF(Py_None); resultobj = Py_None;
25990 return resultobj;
25991 fail:
25992 return NULL;
25993}
25994
25995
c32bde28 25996static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25997 PyObject *resultobj;
25998 wxWindow *arg1 = (wxWindow *) 0 ;
25999 PyObject * obj0 = 0 ;
26000 char *kwnames[] = {
26001 (char *) "self", NULL
26002 };
26003
26004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
093d3ff1
RD
26005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26006 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26007 {
26008 PyThreadState* __tstate = wxPyBeginAllowThreads();
26009 (arg1)->Raise();
26010
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 Py_INCREF(Py_None); resultobj = Py_None;
26015 return resultobj;
26016 fail:
26017 return NULL;
26018}
26019
26020
c32bde28 26021static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26022 PyObject *resultobj;
26023 wxWindow *arg1 = (wxWindow *) 0 ;
26024 PyObject * obj0 = 0 ;
26025 char *kwnames[] = {
26026 (char *) "self", NULL
26027 };
26028
26029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
093d3ff1
RD
26030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 (arg1)->Lower();
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 Py_INCREF(Py_None); resultobj = Py_None;
26040 return resultobj;
26041 fail:
26042 return NULL;
26043}
26044
26045
c32bde28 26046static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26047 PyObject *resultobj;
26048 wxWindow *arg1 = (wxWindow *) 0 ;
26049 wxSize *arg2 = 0 ;
26050 wxSize temp2 ;
26051 PyObject * obj0 = 0 ;
26052 PyObject * obj1 = 0 ;
26053 char *kwnames[] = {
26054 (char *) "self",(char *) "size", NULL
26055 };
26056
26057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26059 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26060 {
26061 arg2 = &temp2;
26062 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26063 }
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 (arg1)->SetClientSize((wxSize const &)*arg2);
26067
26068 wxPyEndAllowThreads(__tstate);
26069 if (PyErr_Occurred()) SWIG_fail;
26070 }
26071 Py_INCREF(Py_None); resultobj = Py_None;
26072 return resultobj;
26073 fail:
26074 return NULL;
26075}
26076
26077
c32bde28 26078static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26079 PyObject *resultobj;
26080 wxWindow *arg1 = (wxWindow *) 0 ;
26081 int arg2 ;
26082 int arg3 ;
26083 PyObject * obj0 = 0 ;
26084 PyObject * obj1 = 0 ;
26085 PyObject * obj2 = 0 ;
26086 char *kwnames[] = {
26087 (char *) "self",(char *) "width",(char *) "height", NULL
26088 };
26089
26090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26092 if (SWIG_arg_fail(1)) SWIG_fail;
26093 {
26094 arg2 = (int)(SWIG_As_int(obj1));
26095 if (SWIG_arg_fail(2)) SWIG_fail;
26096 }
26097 {
26098 arg3 = (int)(SWIG_As_int(obj2));
26099 if (SWIG_arg_fail(3)) SWIG_fail;
26100 }
d55e5bfc
RD
26101 {
26102 PyThreadState* __tstate = wxPyBeginAllowThreads();
26103 (arg1)->SetClientSize(arg2,arg3);
26104
26105 wxPyEndAllowThreads(__tstate);
26106 if (PyErr_Occurred()) SWIG_fail;
26107 }
26108 Py_INCREF(Py_None); resultobj = Py_None;
26109 return resultobj;
26110 fail:
26111 return NULL;
26112}
26113
26114
c32bde28 26115static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26116 PyObject *resultobj;
26117 wxWindow *arg1 = (wxWindow *) 0 ;
26118 wxRect *arg2 = 0 ;
26119 wxRect temp2 ;
26120 PyObject * obj0 = 0 ;
26121 PyObject * obj1 = 0 ;
26122 char *kwnames[] = {
26123 (char *) "self",(char *) "rect", NULL
26124 };
26125
26126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26129 {
26130 arg2 = &temp2;
26131 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26132 }
26133 {
26134 PyThreadState* __tstate = wxPyBeginAllowThreads();
26135 (arg1)->SetClientSize((wxRect const &)*arg2);
26136
26137 wxPyEndAllowThreads(__tstate);
26138 if (PyErr_Occurred()) SWIG_fail;
26139 }
26140 Py_INCREF(Py_None); resultobj = Py_None;
26141 return resultobj;
26142 fail:
26143 return NULL;
26144}
26145
26146
c32bde28 26147static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26148 PyObject *resultobj;
26149 wxWindow *arg1 = (wxWindow *) 0 ;
26150 wxPoint result;
26151 PyObject * obj0 = 0 ;
26152 char *kwnames[] = {
26153 (char *) "self", NULL
26154 };
26155
26156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
26157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26159 {
26160 PyThreadState* __tstate = wxPyBeginAllowThreads();
26161 result = (arg1)->GetPosition();
26162
26163 wxPyEndAllowThreads(__tstate);
26164 if (PyErr_Occurred()) SWIG_fail;
26165 }
26166 {
26167 wxPoint * resultptr;
093d3ff1 26168 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
26169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26170 }
26171 return resultobj;
26172 fail:
26173 return NULL;
26174}
26175
26176
c32bde28 26177static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26178 PyObject *resultobj;
26179 wxWindow *arg1 = (wxWindow *) 0 ;
26180 int *arg2 = (int *) 0 ;
26181 int *arg3 = (int *) 0 ;
26182 int temp2 ;
c32bde28 26183 int res2 = 0 ;
d55e5bfc 26184 int temp3 ;
c32bde28 26185 int res3 = 0 ;
d55e5bfc
RD
26186 PyObject * obj0 = 0 ;
26187 char *kwnames[] = {
26188 (char *) "self", NULL
26189 };
26190
c32bde28
RD
26191 arg2 = &temp2; res2 = SWIG_NEWOBJ;
26192 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 26193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
26194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26195 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26196 {
26197 PyThreadState* __tstate = wxPyBeginAllowThreads();
26198 (arg1)->GetPosition(arg2,arg3);
26199
26200 wxPyEndAllowThreads(__tstate);
26201 if (PyErr_Occurred()) SWIG_fail;
26202 }
26203 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
26204 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
26205 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
26206 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26207 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
26208 return resultobj;
26209 fail:
26210 return NULL;
26211}
26212
26213
c32bde28 26214static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26215 PyObject *resultobj;
26216 wxWindow *arg1 = (wxWindow *) 0 ;
26217 wxSize result;
26218 PyObject * obj0 = 0 ;
26219 char *kwnames[] = {
26220 (char *) "self", NULL
26221 };
26222
26223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
26224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26225 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 result = ((wxWindow const *)arg1)->GetSize();
26229
26230 wxPyEndAllowThreads(__tstate);
26231 if (PyErr_Occurred()) SWIG_fail;
26232 }
26233 {
26234 wxSize * resultptr;
093d3ff1 26235 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
26236 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26237 }
26238 return resultobj;
26239 fail:
26240 return NULL;
26241}
26242
26243
c32bde28 26244static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26245 PyObject *resultobj;
26246 wxWindow *arg1 = (wxWindow *) 0 ;
26247 int *arg2 = (int *) 0 ;
26248 int *arg3 = (int *) 0 ;
26249 int temp2 ;
c32bde28 26250 int res2 = 0 ;
d55e5bfc 26251 int temp3 ;
c32bde28 26252 int res3 = 0 ;
d55e5bfc
RD
26253 PyObject * obj0 = 0 ;
26254 char *kwnames[] = {
26255 (char *) "self", NULL
26256 };
26257
c32bde28
RD
26258 arg2 = &temp2; res2 = SWIG_NEWOBJ;
26259 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 26260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
26261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26262 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26263 {
26264 PyThreadState* __tstate = wxPyBeginAllowThreads();
26265 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
26266
26267 wxPyEndAllowThreads(__tstate);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 }
26270 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
26271 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
26272 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
26273 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26274 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
26275 return resultobj;
26276 fail:
26277 return NULL;
26278}
26279
26280
c32bde28 26281static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26282 PyObject *resultobj;
26283 wxWindow *arg1 = (wxWindow *) 0 ;
26284 wxRect result;
26285 PyObject * obj0 = 0 ;
26286 char *kwnames[] = {
26287 (char *) "self", NULL
26288 };
26289
26290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
26291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26292 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26293 {
26294 PyThreadState* __tstate = wxPyBeginAllowThreads();
26295 result = ((wxWindow const *)arg1)->GetRect();
26296
26297 wxPyEndAllowThreads(__tstate);
26298 if (PyErr_Occurred()) SWIG_fail;
26299 }
26300 {
26301 wxRect * resultptr;
093d3ff1 26302 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
26303 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
26304 }
26305 return resultobj;
26306 fail:
26307 return NULL;
26308}
26309
26310
c32bde28 26311static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26312 PyObject *resultobj;
26313 wxWindow *arg1 = (wxWindow *) 0 ;
26314 wxSize result;
26315 PyObject * obj0 = 0 ;
26316 char *kwnames[] = {
26317 (char *) "self", NULL
26318 };
26319
26320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
26321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26323 {
26324 PyThreadState* __tstate = wxPyBeginAllowThreads();
26325 result = ((wxWindow const *)arg1)->GetClientSize();
26326
26327 wxPyEndAllowThreads(__tstate);
26328 if (PyErr_Occurred()) SWIG_fail;
26329 }
26330 {
26331 wxSize * resultptr;
093d3ff1 26332 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
26333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26334 }
26335 return resultobj;
26336 fail:
26337 return NULL;
26338}
26339
26340
c32bde28 26341static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26342 PyObject *resultobj;
26343 wxWindow *arg1 = (wxWindow *) 0 ;
26344 int *arg2 = (int *) 0 ;
26345 int *arg3 = (int *) 0 ;
26346 int temp2 ;
c32bde28 26347 int res2 = 0 ;
d55e5bfc 26348 int temp3 ;
c32bde28 26349 int res3 = 0 ;
d55e5bfc
RD
26350 PyObject * obj0 = 0 ;
26351 char *kwnames[] = {
26352 (char *) "self", NULL
26353 };
26354
c32bde28
RD
26355 arg2 = &temp2; res2 = SWIG_NEWOBJ;
26356 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 26357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
26358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26359 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26360 {
26361 PyThreadState* __tstate = wxPyBeginAllowThreads();
26362 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
26363
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
26368 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
26369 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
26370 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26371 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
26372 return resultobj;
26373 fail:
26374 return NULL;
26375}
26376
26377
c32bde28 26378static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26379 PyObject *resultobj;
26380 wxWindow *arg1 = (wxWindow *) 0 ;
26381 wxPoint result;
26382 PyObject * obj0 = 0 ;
26383 char *kwnames[] = {
26384 (char *) "self", NULL
26385 };
26386
26387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
093d3ff1
RD
26388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26390 {
26391 PyThreadState* __tstate = wxPyBeginAllowThreads();
26392 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
26393
26394 wxPyEndAllowThreads(__tstate);
26395 if (PyErr_Occurred()) SWIG_fail;
26396 }
26397 {
26398 wxPoint * resultptr;
093d3ff1 26399 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
26400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26401 }
26402 return resultobj;
26403 fail:
26404 return NULL;
26405}
26406
26407
c32bde28 26408static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26409 PyObject *resultobj;
26410 wxWindow *arg1 = (wxWindow *) 0 ;
26411 wxRect result;
26412 PyObject * obj0 = 0 ;
26413 char *kwnames[] = {
26414 (char *) "self", NULL
26415 };
26416
26417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
26418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 result = ((wxWindow const *)arg1)->GetClientRect();
26423
26424 wxPyEndAllowThreads(__tstate);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 }
26427 {
26428 wxRect * resultptr;
093d3ff1 26429 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
26430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
26431 }
26432 return resultobj;
26433 fail:
26434 return NULL;
26435}
26436
26437
c32bde28 26438static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26439 PyObject *resultobj;
26440 wxWindow *arg1 = (wxWindow *) 0 ;
26441 wxSize result;
26442 PyObject * obj0 = 0 ;
26443 char *kwnames[] = {
26444 (char *) "self", NULL
26445 };
26446
26447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
26448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26450 {
26451 PyThreadState* __tstate = wxPyBeginAllowThreads();
26452 result = ((wxWindow const *)arg1)->GetBestSize();
26453
26454 wxPyEndAllowThreads(__tstate);
26455 if (PyErr_Occurred()) SWIG_fail;
26456 }
26457 {
26458 wxSize * resultptr;
093d3ff1 26459 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
26460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26461 }
26462 return resultobj;
26463 fail:
26464 return NULL;
26465}
26466
26467
c32bde28 26468static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26469 PyObject *resultobj;
26470 wxWindow *arg1 = (wxWindow *) 0 ;
26471 int *arg2 = (int *) 0 ;
26472 int *arg3 = (int *) 0 ;
26473 int temp2 ;
c32bde28 26474 int res2 = 0 ;
d55e5bfc 26475 int temp3 ;
c32bde28 26476 int res3 = 0 ;
d55e5bfc
RD
26477 PyObject * obj0 = 0 ;
26478 char *kwnames[] = {
26479 (char *) "self", NULL
26480 };
26481
c32bde28
RD
26482 arg2 = &temp2; res2 = SWIG_NEWOBJ;
26483 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 26484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
26485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26487 {
26488 PyThreadState* __tstate = wxPyBeginAllowThreads();
26489 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
26490
26491 wxPyEndAllowThreads(__tstate);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 }
26494 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
26495 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
26496 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
26497 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26498 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
26499 return resultobj;
26500 fail:
26501 return NULL;
26502}
26503
26504
c32bde28 26505static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
a001823c
RD
26506 PyObject *resultobj;
26507 wxWindow *arg1 = (wxWindow *) 0 ;
26508 PyObject * obj0 = 0 ;
26509 char *kwnames[] = {
26510 (char *) "self", NULL
26511 };
26512
26513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
26514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26515 if (SWIG_arg_fail(1)) SWIG_fail;
a001823c
RD
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 (arg1)->InvalidateBestSize();
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 Py_INCREF(Py_None); resultobj = Py_None;
26524 return resultobj;
26525 fail:
26526 return NULL;
26527}
26528
26529
c32bde28 26530static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
a001823c
RD
26531 PyObject *resultobj;
26532 wxWindow *arg1 = (wxWindow *) 0 ;
26533 wxSize result;
26534 PyObject * obj0 = 0 ;
26535 char *kwnames[] = {
26536 (char *) "self", NULL
26537 };
26538
26539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
26540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26541 if (SWIG_arg_fail(1)) SWIG_fail;
a001823c
RD
26542 {
26543 PyThreadState* __tstate = wxPyBeginAllowThreads();
26544 result = ((wxWindow const *)arg1)->GetBestFittingSize();
26545
26546 wxPyEndAllowThreads(__tstate);
26547 if (PyErr_Occurred()) SWIG_fail;
26548 }
26549 {
26550 wxSize * resultptr;
093d3ff1 26551 resultptr = new wxSize((wxSize &)(result));
a001823c
RD
26552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26553 }
26554 return resultobj;
26555 fail:
26556 return NULL;
26557}
26558
26559
c32bde28 26560static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26561 PyObject *resultobj;
26562 wxWindow *arg1 = (wxWindow *) 0 ;
26563 wxSize result;
26564 PyObject * obj0 = 0 ;
26565 char *kwnames[] = {
26566 (char *) "self", NULL
26567 };
26568
26569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
26570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26571 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26572 {
26573 PyThreadState* __tstate = wxPyBeginAllowThreads();
26574 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
26575
26576 wxPyEndAllowThreads(__tstate);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 }
26579 {
26580 wxSize * resultptr;
093d3ff1 26581 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
26582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26583 }
26584 return resultobj;
26585 fail:
26586 return NULL;
26587}
26588
26589
c32bde28 26590static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26591 PyObject *resultobj;
26592 wxWindow *arg1 = (wxWindow *) 0 ;
26593 int arg2 = (int) wxBOTH ;
26594 PyObject * obj0 = 0 ;
26595 PyObject * obj1 = 0 ;
26596 char *kwnames[] = {
26597 (char *) "self",(char *) "direction", NULL
26598 };
26599
26600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26603 if (obj1) {
093d3ff1
RD
26604 {
26605 arg2 = (int)(SWIG_As_int(obj1));
26606 if (SWIG_arg_fail(2)) SWIG_fail;
26607 }
d55e5bfc
RD
26608 }
26609 {
26610 PyThreadState* __tstate = wxPyBeginAllowThreads();
26611 (arg1)->Center(arg2);
26612
26613 wxPyEndAllowThreads(__tstate);
26614 if (PyErr_Occurred()) SWIG_fail;
26615 }
26616 Py_INCREF(Py_None); resultobj = Py_None;
26617 return resultobj;
26618 fail:
26619 return NULL;
26620}
26621
26622
c32bde28 26623static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26624 PyObject *resultobj;
26625 wxWindow *arg1 = (wxWindow *) 0 ;
26626 int arg2 = (int) wxBOTH ;
26627 PyObject * obj0 = 0 ;
26628 PyObject * obj1 = 0 ;
26629 char *kwnames[] = {
26630 (char *) "self",(char *) "dir", NULL
26631 };
26632
26633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26635 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26636 if (obj1) {
093d3ff1
RD
26637 {
26638 arg2 = (int)(SWIG_As_int(obj1));
26639 if (SWIG_arg_fail(2)) SWIG_fail;
26640 }
d55e5bfc
RD
26641 }
26642 {
26643 PyThreadState* __tstate = wxPyBeginAllowThreads();
26644 (arg1)->CenterOnScreen(arg2);
26645
26646 wxPyEndAllowThreads(__tstate);
26647 if (PyErr_Occurred()) SWIG_fail;
26648 }
26649 Py_INCREF(Py_None); resultobj = Py_None;
26650 return resultobj;
26651 fail:
26652 return NULL;
26653}
26654
26655
c32bde28 26656static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26657 PyObject *resultobj;
26658 wxWindow *arg1 = (wxWindow *) 0 ;
26659 int arg2 = (int) wxBOTH ;
26660 PyObject * obj0 = 0 ;
26661 PyObject * obj1 = 0 ;
26662 char *kwnames[] = {
26663 (char *) "self",(char *) "dir", NULL
26664 };
26665
26666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26668 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26669 if (obj1) {
093d3ff1
RD
26670 {
26671 arg2 = (int)(SWIG_As_int(obj1));
26672 if (SWIG_arg_fail(2)) SWIG_fail;
26673 }
d55e5bfc
RD
26674 }
26675 {
26676 PyThreadState* __tstate = wxPyBeginAllowThreads();
26677 (arg1)->CenterOnParent(arg2);
26678
26679 wxPyEndAllowThreads(__tstate);
26680 if (PyErr_Occurred()) SWIG_fail;
26681 }
26682 Py_INCREF(Py_None); resultobj = Py_None;
26683 return resultobj;
26684 fail:
26685 return NULL;
26686}
26687
26688
c32bde28 26689static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26690 PyObject *resultobj;
26691 wxWindow *arg1 = (wxWindow *) 0 ;
26692 PyObject * obj0 = 0 ;
26693 char *kwnames[] = {
26694 (char *) "self", NULL
26695 };
26696
26697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
093d3ff1
RD
26698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26699 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26700 {
26701 PyThreadState* __tstate = wxPyBeginAllowThreads();
26702 (arg1)->Fit();
26703
26704 wxPyEndAllowThreads(__tstate);
26705 if (PyErr_Occurred()) SWIG_fail;
26706 }
26707 Py_INCREF(Py_None); resultobj = Py_None;
26708 return resultobj;
26709 fail:
26710 return NULL;
26711}
26712
26713
c32bde28 26714static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26715 PyObject *resultobj;
26716 wxWindow *arg1 = (wxWindow *) 0 ;
26717 PyObject * obj0 = 0 ;
26718 char *kwnames[] = {
26719 (char *) "self", NULL
26720 };
26721
26722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
093d3ff1
RD
26723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26724 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26725 {
26726 PyThreadState* __tstate = wxPyBeginAllowThreads();
26727 (arg1)->FitInside();
26728
26729 wxPyEndAllowThreads(__tstate);
26730 if (PyErr_Occurred()) SWIG_fail;
26731 }
26732 Py_INCREF(Py_None); resultobj = Py_None;
26733 return resultobj;
26734 fail:
26735 return NULL;
26736}
26737
26738
c32bde28 26739static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26740 PyObject *resultobj;
26741 wxWindow *arg1 = (wxWindow *) 0 ;
26742 int arg2 ;
26743 int arg3 ;
26744 int arg4 = (int) -1 ;
26745 int arg5 = (int) -1 ;
26746 int arg6 = (int) -1 ;
26747 int arg7 = (int) -1 ;
26748 PyObject * obj0 = 0 ;
26749 PyObject * obj1 = 0 ;
26750 PyObject * obj2 = 0 ;
26751 PyObject * obj3 = 0 ;
26752 PyObject * obj4 = 0 ;
26753 PyObject * obj5 = 0 ;
26754 PyObject * obj6 = 0 ;
03837c5c
RD
26755 char *kwnames[] = {
26756 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26757 };
d55e5bfc 26758
03837c5c 26759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
26760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26761 if (SWIG_arg_fail(1)) SWIG_fail;
26762 {
26763 arg2 = (int)(SWIG_As_int(obj1));
26764 if (SWIG_arg_fail(2)) SWIG_fail;
26765 }
26766 {
26767 arg3 = (int)(SWIG_As_int(obj2));
26768 if (SWIG_arg_fail(3)) SWIG_fail;
26769 }
d55e5bfc 26770 if (obj3) {
093d3ff1
RD
26771 {
26772 arg4 = (int)(SWIG_As_int(obj3));
26773 if (SWIG_arg_fail(4)) SWIG_fail;
26774 }
d55e5bfc
RD
26775 }
26776 if (obj4) {
093d3ff1
RD
26777 {
26778 arg5 = (int)(SWIG_As_int(obj4));
26779 if (SWIG_arg_fail(5)) SWIG_fail;
26780 }
d55e5bfc
RD
26781 }
26782 if (obj5) {
093d3ff1
RD
26783 {
26784 arg6 = (int)(SWIG_As_int(obj5));
26785 if (SWIG_arg_fail(6)) SWIG_fail;
26786 }
d55e5bfc
RD
26787 }
26788 if (obj6) {
093d3ff1
RD
26789 {
26790 arg7 = (int)(SWIG_As_int(obj6));
26791 if (SWIG_arg_fail(7)) SWIG_fail;
26792 }
d55e5bfc
RD
26793 }
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
26797
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 Py_INCREF(Py_None); resultobj = Py_None;
26802 return resultobj;
26803 fail:
26804 return NULL;
26805}
26806
26807
c32bde28 26808static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26809 PyObject *resultobj;
26810 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
26811 wxSize *arg2 = 0 ;
26812 wxSize const &arg3_defvalue = wxDefaultSize ;
26813 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
03837c5c
RD
26814 wxSize const &arg4_defvalue = wxDefaultSize ;
26815 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
908b74cd
RD
26816 wxSize temp2 ;
26817 wxSize temp3 ;
03837c5c 26818 wxSize temp4 ;
d55e5bfc
RD
26819 PyObject * obj0 = 0 ;
26820 PyObject * obj1 = 0 ;
26821 PyObject * obj2 = 0 ;
03837c5c
RD
26822 PyObject * obj3 = 0 ;
26823 char *kwnames[] = {
26824 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26825 };
d55e5bfc 26826
03837c5c 26827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26829 if (SWIG_arg_fail(1)) SWIG_fail;
908b74cd
RD
26830 {
26831 arg2 = &temp2;
26832 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 26833 }
908b74cd
RD
26834 if (obj2) {
26835 {
26836 arg3 = &temp3;
26837 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
26838 }
d55e5bfc 26839 }
03837c5c
RD
26840 if (obj3) {
26841 {
26842 arg4 = &temp4;
26843 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26844 }
26845 }
d55e5bfc
RD
26846 {
26847 PyThreadState* __tstate = wxPyBeginAllowThreads();
03837c5c 26848 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
d55e5bfc
RD
26849
26850 wxPyEndAllowThreads(__tstate);
26851 if (PyErr_Occurred()) SWIG_fail;
26852 }
26853 Py_INCREF(Py_None); resultobj = Py_None;
26854 return resultobj;
26855 fail:
26856 return NULL;
26857}
26858
26859
c32bde28 26860static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26861 PyObject *resultobj;
26862 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
26863 int arg2 ;
26864 int arg3 ;
26865 int arg4 = (int) -1 ;
26866 int arg5 = (int) -1 ;
d55e5bfc
RD
26867 PyObject * obj0 = 0 ;
26868 PyObject * obj1 = 0 ;
26869 PyObject * obj2 = 0 ;
908b74cd
RD
26870 PyObject * obj3 = 0 ;
26871 PyObject * obj4 = 0 ;
03837c5c
RD
26872 char *kwnames[] = {
26873 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26874 };
d55e5bfc 26875
03837c5c 26876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
26877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail;
26879 {
26880 arg2 = (int)(SWIG_As_int(obj1));
26881 if (SWIG_arg_fail(2)) SWIG_fail;
26882 }
26883 {
26884 arg3 = (int)(SWIG_As_int(obj2));
26885 if (SWIG_arg_fail(3)) SWIG_fail;
26886 }
908b74cd 26887 if (obj3) {
093d3ff1
RD
26888 {
26889 arg4 = (int)(SWIG_As_int(obj3));
26890 if (SWIG_arg_fail(4)) SWIG_fail;
26891 }
d55e5bfc 26892 }
908b74cd 26893 if (obj4) {
093d3ff1
RD
26894 {
26895 arg5 = (int)(SWIG_As_int(obj4));
26896 if (SWIG_arg_fail(5)) SWIG_fail;
26897 }
d55e5bfc
RD
26898 }
26899 {
26900 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 26901 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
d55e5bfc
RD
26902
26903 wxPyEndAllowThreads(__tstate);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
26906 Py_INCREF(Py_None); resultobj = Py_None;
26907 return resultobj;
26908 fail:
26909 return NULL;
26910}
26911
26912
c32bde28 26913static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
03837c5c
RD
26914 PyObject *resultobj;
26915 wxWindow *arg1 = (wxWindow *) 0 ;
26916 wxSize *arg2 = 0 ;
26917 wxSize const &arg3_defvalue = wxDefaultSize ;
26918 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
26919 wxSize temp2 ;
26920 wxSize temp3 ;
26921 PyObject * obj0 = 0 ;
26922 PyObject * obj1 = 0 ;
26923 PyObject * obj2 = 0 ;
26924 char *kwnames[] = {
26925 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26926 };
d55e5bfc 26927
03837c5c 26928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail;
03837c5c
RD
26931 {
26932 arg2 = &temp2;
26933 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 26934 }
03837c5c 26935 if (obj2) {
d55e5bfc 26936 {
03837c5c
RD
26937 arg3 = &temp3;
26938 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc
RD
26939 }
26940 }
03837c5c
RD
26941 {
26942 PyThreadState* __tstate = wxPyBeginAllowThreads();
26943 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
26944
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 26947 }
03837c5c
RD
26948 Py_INCREF(Py_None); resultobj = Py_None;
26949 return resultobj;
26950 fail:
d55e5bfc
RD
26951 return NULL;
26952}
26953
26954
c32bde28 26955static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26956 PyObject *resultobj;
26957 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 26958 wxSize result;
d55e5bfc
RD
26959 PyObject * obj0 = 0 ;
26960 char *kwnames[] = {
26961 (char *) "self", NULL
26962 };
26963
908b74cd 26964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
26965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26966 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26967 {
26968 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 26969 result = ((wxWindow const *)arg1)->GetMaxSize();
d55e5bfc
RD
26970
26971 wxPyEndAllowThreads(__tstate);
26972 if (PyErr_Occurred()) SWIG_fail;
26973 }
908b74cd
RD
26974 {
26975 wxSize * resultptr;
093d3ff1 26976 resultptr = new wxSize((wxSize &)(result));
908b74cd
RD
26977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26978 }
d55e5bfc
RD
26979 return resultobj;
26980 fail:
26981 return NULL;
26982}
26983
26984
c32bde28 26985static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26986 PyObject *resultobj;
26987 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 26988 wxSize result;
d55e5bfc
RD
26989 PyObject * obj0 = 0 ;
26990 char *kwnames[] = {
26991 (char *) "self", NULL
26992 };
26993
908b74cd 26994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
26995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26996 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26997 {
26998 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 26999 result = ((wxWindow const *)arg1)->GetMinSize();
d55e5bfc
RD
27000
27001 wxPyEndAllowThreads(__tstate);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 }
908b74cd
RD
27004 {
27005 wxSize * resultptr;
093d3ff1 27006 resultptr = new wxSize((wxSize &)(result));
908b74cd
RD
27007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27008 }
d55e5bfc
RD
27009 return resultobj;
27010 fail:
27011 return NULL;
27012}
27013
27014
c32bde28 27015static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
27016 PyObject *resultobj;
27017 wxWindow *arg1 = (wxWindow *) 0 ;
27018 wxSize *arg2 = 0 ;
27019 wxSize temp2 ;
27020 PyObject * obj0 = 0 ;
27021 PyObject * obj1 = 0 ;
27022 char *kwnames[] = {
27023 (char *) "self",(char *) "minSize", NULL
27024 };
27025
27026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27028 if (SWIG_arg_fail(1)) SWIG_fail;
908b74cd
RD
27029 {
27030 arg2 = &temp2;
27031 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27032 }
27033 {
27034 PyThreadState* __tstate = wxPyBeginAllowThreads();
27035 (arg1)->SetMinSize((wxSize const &)*arg2);
27036
27037 wxPyEndAllowThreads(__tstate);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 }
27040 Py_INCREF(Py_None); resultobj = Py_None;
27041 return resultobj;
27042 fail:
27043 return NULL;
27044}
27045
27046
c32bde28 27047static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
27048 PyObject *resultobj;
27049 wxWindow *arg1 = (wxWindow *) 0 ;
27050 wxSize *arg2 = 0 ;
27051 wxSize temp2 ;
27052 PyObject * obj0 = 0 ;
27053 PyObject * obj1 = 0 ;
27054 char *kwnames[] = {
27055 (char *) "self",(char *) "maxSize", NULL
27056 };
27057
27058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27060 if (SWIG_arg_fail(1)) SWIG_fail;
908b74cd
RD
27061 {
27062 arg2 = &temp2;
27063 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27064 }
27065 {
27066 PyThreadState* __tstate = wxPyBeginAllowThreads();
27067 (arg1)->SetMaxSize((wxSize const &)*arg2);
27068
27069 wxPyEndAllowThreads(__tstate);
27070 if (PyErr_Occurred()) SWIG_fail;
27071 }
27072 Py_INCREF(Py_None); resultobj = Py_None;
27073 return resultobj;
27074 fail:
27075 return NULL;
27076}
27077
27078
c32bde28 27079static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27080 PyObject *resultobj;
27081 wxWindow *arg1 = (wxWindow *) 0 ;
27082 int result;
27083 PyObject * obj0 = 0 ;
27084 char *kwnames[] = {
27085 (char *) "self", NULL
27086 };
27087
908b74cd 27088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
27089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27090 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27091 {
27092 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 27093 result = (int)((wxWindow const *)arg1)->GetMinWidth();
d55e5bfc
RD
27094
27095 wxPyEndAllowThreads(__tstate);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 }
093d3ff1
RD
27098 {
27099 resultobj = SWIG_From_int((int)(result));
27100 }
d55e5bfc
RD
27101 return resultobj;
27102 fail:
27103 return NULL;
27104}
27105
27106
c32bde28 27107static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27108 PyObject *resultobj;
27109 wxWindow *arg1 = (wxWindow *) 0 ;
27110 int result;
27111 PyObject * obj0 = 0 ;
27112 char *kwnames[] = {
27113 (char *) "self", NULL
27114 };
27115
908b74cd 27116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
27117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27119 {
27120 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 27121 result = (int)((wxWindow const *)arg1)->GetMinHeight();
d55e5bfc
RD
27122
27123 wxPyEndAllowThreads(__tstate);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
093d3ff1
RD
27126 {
27127 resultobj = SWIG_From_int((int)(result));
27128 }
d55e5bfc
RD
27129 return resultobj;
27130 fail:
27131 return NULL;
27132}
27133
27134
c32bde28 27135static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27136 PyObject *resultobj;
27137 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 27138 int result;
d55e5bfc
RD
27139 PyObject * obj0 = 0 ;
27140 char *kwnames[] = {
27141 (char *) "self", NULL
27142 };
27143
908b74cd 27144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
27145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27146 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27147 {
27148 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 27149 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
d55e5bfc
RD
27150
27151 wxPyEndAllowThreads(__tstate);
27152 if (PyErr_Occurred()) SWIG_fail;
27153 }
093d3ff1
RD
27154 {
27155 resultobj = SWIG_From_int((int)(result));
27156 }
d55e5bfc
RD
27157 return resultobj;
27158 fail:
27159 return NULL;
27160}
27161
27162
c32bde28 27163static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27164 PyObject *resultobj;
27165 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 27166 int result;
d55e5bfc
RD
27167 PyObject * obj0 = 0 ;
27168 char *kwnames[] = {
27169 (char *) "self", NULL
27170 };
27171
908b74cd 27172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
27173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27174 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27175 {
27176 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 27177 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
d55e5bfc
RD
27178
27179 wxPyEndAllowThreads(__tstate);
27180 if (PyErr_Occurred()) SWIG_fail;
27181 }
093d3ff1
RD
27182 {
27183 resultobj = SWIG_From_int((int)(result));
27184 }
d55e5bfc
RD
27185 return resultobj;
27186 fail:
27187 return NULL;
27188}
27189
27190
c32bde28 27191static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27192 PyObject *resultobj;
27193 wxWindow *arg1 = (wxWindow *) 0 ;
27194 wxSize *arg2 = 0 ;
27195 wxSize temp2 ;
27196 PyObject * obj0 = 0 ;
27197 PyObject * obj1 = 0 ;
27198 char *kwnames[] = {
27199 (char *) "self",(char *) "size", NULL
27200 };
27201
27202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27205 {
27206 arg2 = &temp2;
27207 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27208 }
27209 {
27210 PyThreadState* __tstate = wxPyBeginAllowThreads();
27211 (arg1)->SetVirtualSize((wxSize const &)*arg2);
27212
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
27216 Py_INCREF(Py_None); resultobj = Py_None;
27217 return resultobj;
27218 fail:
27219 return NULL;
27220}
27221
27222
c32bde28 27223static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27224 PyObject *resultobj;
27225 wxWindow *arg1 = (wxWindow *) 0 ;
27226 int arg2 ;
27227 int arg3 ;
27228 PyObject * obj0 = 0 ;
27229 PyObject * obj1 = 0 ;
27230 PyObject * obj2 = 0 ;
27231 char *kwnames[] = {
27232 (char *) "self",(char *) "w",(char *) "h", NULL
27233 };
27234
27235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27237 if (SWIG_arg_fail(1)) SWIG_fail;
27238 {
27239 arg2 = (int)(SWIG_As_int(obj1));
27240 if (SWIG_arg_fail(2)) SWIG_fail;
27241 }
27242 {
27243 arg3 = (int)(SWIG_As_int(obj2));
27244 if (SWIG_arg_fail(3)) SWIG_fail;
27245 }
d55e5bfc
RD
27246 {
27247 PyThreadState* __tstate = wxPyBeginAllowThreads();
27248 (arg1)->SetVirtualSize(arg2,arg3);
27249
27250 wxPyEndAllowThreads(__tstate);
27251 if (PyErr_Occurred()) SWIG_fail;
27252 }
27253 Py_INCREF(Py_None); resultobj = Py_None;
27254 return resultobj;
27255 fail:
27256 return NULL;
27257}
27258
27259
c32bde28 27260static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27261 PyObject *resultobj;
27262 wxWindow *arg1 = (wxWindow *) 0 ;
27263 wxSize result;
27264 PyObject * obj0 = 0 ;
27265 char *kwnames[] = {
27266 (char *) "self", NULL
27267 };
27268
27269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27272 {
27273 PyThreadState* __tstate = wxPyBeginAllowThreads();
27274 result = ((wxWindow const *)arg1)->GetVirtualSize();
27275
27276 wxPyEndAllowThreads(__tstate);
27277 if (PyErr_Occurred()) SWIG_fail;
27278 }
27279 {
27280 wxSize * resultptr;
093d3ff1 27281 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
27282 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27283 }
27284 return resultobj;
27285 fail:
27286 return NULL;
27287}
27288
27289
c32bde28 27290static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27291 PyObject *resultobj;
27292 wxWindow *arg1 = (wxWindow *) 0 ;
27293 int *arg2 = (int *) 0 ;
27294 int *arg3 = (int *) 0 ;
27295 int temp2 ;
c32bde28 27296 int res2 = 0 ;
d55e5bfc 27297 int temp3 ;
c32bde28 27298 int res3 = 0 ;
d55e5bfc
RD
27299 PyObject * obj0 = 0 ;
27300 char *kwnames[] = {
27301 (char *) "self", NULL
27302 };
27303
c32bde28
RD
27304 arg2 = &temp2; res2 = SWIG_NEWOBJ;
27305 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 27306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
27307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27309 {
27310 PyThreadState* __tstate = wxPyBeginAllowThreads();
27311 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
27312
27313 wxPyEndAllowThreads(__tstate);
27314 if (PyErr_Occurred()) SWIG_fail;
27315 }
27316 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27317 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27318 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27319 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27320 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
27321 return resultobj;
27322 fail:
27323 return NULL;
27324}
27325
27326
c32bde28 27327static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27328 PyObject *resultobj;
27329 wxWindow *arg1 = (wxWindow *) 0 ;
27330 wxSize result;
27331 PyObject * obj0 = 0 ;
27332 char *kwnames[] = {
27333 (char *) "self", NULL
27334 };
27335
27336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27338 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
27342
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 {
27347 wxSize * resultptr;
093d3ff1 27348 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
27349 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27350 }
27351 return resultobj;
27352 fail:
27353 return NULL;
27354}
27355
27356
c32bde28 27357static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27358 PyObject *resultobj;
27359 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 27360 bool arg2 = (bool) true ;
d55e5bfc
RD
27361 bool result;
27362 PyObject * obj0 = 0 ;
27363 PyObject * obj1 = 0 ;
27364 char *kwnames[] = {
27365 (char *) "self",(char *) "show", NULL
27366 };
27367
27368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27370 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27371 if (obj1) {
093d3ff1
RD
27372 {
27373 arg2 = (bool)(SWIG_As_bool(obj1));
27374 if (SWIG_arg_fail(2)) SWIG_fail;
27375 }
d55e5bfc
RD
27376 }
27377 {
27378 PyThreadState* __tstate = wxPyBeginAllowThreads();
27379 result = (bool)(arg1)->Show(arg2);
27380
27381 wxPyEndAllowThreads(__tstate);
27382 if (PyErr_Occurred()) SWIG_fail;
27383 }
27384 {
27385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27386 }
27387 return resultobj;
27388 fail:
27389 return NULL;
27390}
27391
27392
c32bde28 27393static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27394 PyObject *resultobj;
27395 wxWindow *arg1 = (wxWindow *) 0 ;
27396 bool result;
27397 PyObject * obj0 = 0 ;
27398 char *kwnames[] = {
27399 (char *) "self", NULL
27400 };
27401
27402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
27403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27405 {
27406 PyThreadState* __tstate = wxPyBeginAllowThreads();
27407 result = (bool)(arg1)->Hide();
27408
27409 wxPyEndAllowThreads(__tstate);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 }
27412 {
27413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27414 }
27415 return resultobj;
27416 fail:
27417 return NULL;
27418}
27419
27420
c32bde28 27421static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27422 PyObject *resultobj;
27423 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 27424 bool arg2 = (bool) true ;
d55e5bfc
RD
27425 bool result;
27426 PyObject * obj0 = 0 ;
27427 PyObject * obj1 = 0 ;
27428 char *kwnames[] = {
27429 (char *) "self",(char *) "enable", NULL
27430 };
27431
27432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27435 if (obj1) {
093d3ff1
RD
27436 {
27437 arg2 = (bool)(SWIG_As_bool(obj1));
27438 if (SWIG_arg_fail(2)) SWIG_fail;
27439 }
d55e5bfc
RD
27440 }
27441 {
27442 PyThreadState* __tstate = wxPyBeginAllowThreads();
27443 result = (bool)(arg1)->Enable(arg2);
27444
27445 wxPyEndAllowThreads(__tstate);
27446 if (PyErr_Occurred()) SWIG_fail;
27447 }
27448 {
27449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27450 }
27451 return resultobj;
27452 fail:
27453 return NULL;
27454}
27455
27456
c32bde28 27457static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27458 PyObject *resultobj;
27459 wxWindow *arg1 = (wxWindow *) 0 ;
27460 bool result;
27461 PyObject * obj0 = 0 ;
27462 char *kwnames[] = {
27463 (char *) "self", NULL
27464 };
27465
27466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
093d3ff1
RD
27467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27468 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27469 {
27470 PyThreadState* __tstate = wxPyBeginAllowThreads();
27471 result = (bool)(arg1)->Disable();
27472
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
27476 {
27477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27478 }
27479 return resultobj;
27480 fail:
27481 return NULL;
27482}
27483
27484
c32bde28 27485static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27486 PyObject *resultobj;
27487 wxWindow *arg1 = (wxWindow *) 0 ;
27488 bool result;
27489 PyObject * obj0 = 0 ;
27490 char *kwnames[] = {
27491 (char *) "self", NULL
27492 };
27493
27494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
093d3ff1
RD
27495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27496 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27497 {
27498 PyThreadState* __tstate = wxPyBeginAllowThreads();
27499 result = (bool)((wxWindow const *)arg1)->IsShown();
27500
27501 wxPyEndAllowThreads(__tstate);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 {
27505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27506 }
27507 return resultobj;
27508 fail:
27509 return NULL;
27510}
27511
27512
c32bde28 27513static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27514 PyObject *resultobj;
27515 wxWindow *arg1 = (wxWindow *) 0 ;
27516 bool result;
27517 PyObject * obj0 = 0 ;
27518 char *kwnames[] = {
27519 (char *) "self", NULL
27520 };
27521
27522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
27523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27525 {
27526 PyThreadState* __tstate = wxPyBeginAllowThreads();
27527 result = (bool)((wxWindow const *)arg1)->IsEnabled();
27528
27529 wxPyEndAllowThreads(__tstate);
27530 if (PyErr_Occurred()) SWIG_fail;
27531 }
27532 {
27533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27534 }
27535 return resultobj;
27536 fail:
27537 return NULL;
27538}
27539
27540
c32bde28 27541static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27542 PyObject *resultobj;
27543 wxWindow *arg1 = (wxWindow *) 0 ;
27544 long arg2 ;
27545 PyObject * obj0 = 0 ;
27546 PyObject * obj1 = 0 ;
27547 char *kwnames[] = {
27548 (char *) "self",(char *) "style", NULL
27549 };
27550
27551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27553 if (SWIG_arg_fail(1)) SWIG_fail;
27554 {
27555 arg2 = (long)(SWIG_As_long(obj1));
27556 if (SWIG_arg_fail(2)) SWIG_fail;
27557 }
d55e5bfc
RD
27558 {
27559 PyThreadState* __tstate = wxPyBeginAllowThreads();
27560 (arg1)->SetWindowStyleFlag(arg2);
27561
27562 wxPyEndAllowThreads(__tstate);
27563 if (PyErr_Occurred()) SWIG_fail;
27564 }
27565 Py_INCREF(Py_None); resultobj = Py_None;
27566 return resultobj;
27567 fail:
27568 return NULL;
27569}
27570
27571
c32bde28 27572static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27573 PyObject *resultobj;
27574 wxWindow *arg1 = (wxWindow *) 0 ;
27575 long result;
27576 PyObject * obj0 = 0 ;
27577 char *kwnames[] = {
27578 (char *) "self", NULL
27579 };
27580
27581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
093d3ff1
RD
27582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27583 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27584 {
27585 PyThreadState* __tstate = wxPyBeginAllowThreads();
27586 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
27587
27588 wxPyEndAllowThreads(__tstate);
27589 if (PyErr_Occurred()) SWIG_fail;
27590 }
093d3ff1
RD
27591 {
27592 resultobj = SWIG_From_long((long)(result));
27593 }
d55e5bfc
RD
27594 return resultobj;
27595 fail:
27596 return NULL;
27597}
27598
27599
c32bde28 27600static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27601 PyObject *resultobj;
27602 wxWindow *arg1 = (wxWindow *) 0 ;
27603 int arg2 ;
27604 bool result;
27605 PyObject * obj0 = 0 ;
27606 PyObject * obj1 = 0 ;
27607 char *kwnames[] = {
27608 (char *) "self",(char *) "flag", NULL
27609 };
27610
27611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27613 if (SWIG_arg_fail(1)) SWIG_fail;
27614 {
27615 arg2 = (int)(SWIG_As_int(obj1));
27616 if (SWIG_arg_fail(2)) SWIG_fail;
27617 }
d55e5bfc
RD
27618 {
27619 PyThreadState* __tstate = wxPyBeginAllowThreads();
27620 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
27621
27622 wxPyEndAllowThreads(__tstate);
27623 if (PyErr_Occurred()) SWIG_fail;
27624 }
27625 {
27626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27627 }
27628 return resultobj;
27629 fail:
27630 return NULL;
27631}
27632
27633
c32bde28 27634static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27635 PyObject *resultobj;
27636 wxWindow *arg1 = (wxWindow *) 0 ;
27637 bool result;
27638 PyObject * obj0 = 0 ;
27639 char *kwnames[] = {
27640 (char *) "self", NULL
27641 };
27642
27643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
093d3ff1
RD
27644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27645 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27646 {
27647 PyThreadState* __tstate = wxPyBeginAllowThreads();
27648 result = (bool)((wxWindow const *)arg1)->IsRetained();
27649
27650 wxPyEndAllowThreads(__tstate);
27651 if (PyErr_Occurred()) SWIG_fail;
27652 }
27653 {
27654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27655 }
27656 return resultobj;
27657 fail:
27658 return NULL;
27659}
27660
27661
c32bde28 27662static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27663 PyObject *resultobj;
27664 wxWindow *arg1 = (wxWindow *) 0 ;
27665 long arg2 ;
27666 PyObject * obj0 = 0 ;
27667 PyObject * obj1 = 0 ;
27668 char *kwnames[] = {
27669 (char *) "self",(char *) "exStyle", NULL
27670 };
27671
27672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27674 if (SWIG_arg_fail(1)) SWIG_fail;
27675 {
27676 arg2 = (long)(SWIG_As_long(obj1));
27677 if (SWIG_arg_fail(2)) SWIG_fail;
27678 }
d55e5bfc
RD
27679 {
27680 PyThreadState* __tstate = wxPyBeginAllowThreads();
27681 (arg1)->SetExtraStyle(arg2);
27682
27683 wxPyEndAllowThreads(__tstate);
27684 if (PyErr_Occurred()) SWIG_fail;
27685 }
27686 Py_INCREF(Py_None); resultobj = Py_None;
27687 return resultobj;
27688 fail:
27689 return NULL;
27690}
27691
27692
c32bde28 27693static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27694 PyObject *resultobj;
27695 wxWindow *arg1 = (wxWindow *) 0 ;
27696 long result;
27697 PyObject * obj0 = 0 ;
27698 char *kwnames[] = {
27699 (char *) "self", NULL
27700 };
27701
27702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
27703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27704 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27705 {
27706 PyThreadState* __tstate = wxPyBeginAllowThreads();
27707 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
27708
27709 wxPyEndAllowThreads(__tstate);
27710 if (PyErr_Occurred()) SWIG_fail;
27711 }
093d3ff1
RD
27712 {
27713 resultobj = SWIG_From_long((long)(result));
27714 }
d55e5bfc
RD
27715 return resultobj;
27716 fail:
27717 return NULL;
27718}
27719
27720
c32bde28 27721static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27722 PyObject *resultobj;
27723 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 27724 bool arg2 = (bool) true ;
d55e5bfc
RD
27725 PyObject * obj0 = 0 ;
27726 PyObject * obj1 = 0 ;
27727 char *kwnames[] = {
27728 (char *) "self",(char *) "modal", NULL
27729 };
27730
27731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27733 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27734 if (obj1) {
093d3ff1
RD
27735 {
27736 arg2 = (bool)(SWIG_As_bool(obj1));
27737 if (SWIG_arg_fail(2)) SWIG_fail;
27738 }
d55e5bfc
RD
27739 }
27740 {
27741 PyThreadState* __tstate = wxPyBeginAllowThreads();
27742 (arg1)->MakeModal(arg2);
27743
27744 wxPyEndAllowThreads(__tstate);
27745 if (PyErr_Occurred()) SWIG_fail;
27746 }
27747 Py_INCREF(Py_None); resultobj = Py_None;
27748 return resultobj;
27749 fail:
27750 return NULL;
27751}
27752
27753
c32bde28 27754static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27755 PyObject *resultobj;
27756 wxWindow *arg1 = (wxWindow *) 0 ;
27757 bool arg2 ;
27758 PyObject * obj0 = 0 ;
27759 PyObject * obj1 = 0 ;
27760 char *kwnames[] = {
27761 (char *) "self",(char *) "enableTheme", NULL
27762 };
27763
27764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27766 if (SWIG_arg_fail(1)) SWIG_fail;
27767 {
27768 arg2 = (bool)(SWIG_As_bool(obj1));
27769 if (SWIG_arg_fail(2)) SWIG_fail;
27770 }
d55e5bfc
RD
27771 {
27772 PyThreadState* __tstate = wxPyBeginAllowThreads();
27773 (arg1)->SetThemeEnabled(arg2);
27774
27775 wxPyEndAllowThreads(__tstate);
27776 if (PyErr_Occurred()) SWIG_fail;
27777 }
27778 Py_INCREF(Py_None); resultobj = Py_None;
27779 return resultobj;
27780 fail:
27781 return NULL;
27782}
27783
27784
c32bde28 27785static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27786 PyObject *resultobj;
27787 wxWindow *arg1 = (wxWindow *) 0 ;
27788 bool result;
27789 PyObject * obj0 = 0 ;
27790 char *kwnames[] = {
27791 (char *) "self", NULL
27792 };
27793
27794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
27795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27797 {
27798 PyThreadState* __tstate = wxPyBeginAllowThreads();
27799 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
27800
27801 wxPyEndAllowThreads(__tstate);
27802 if (PyErr_Occurred()) SWIG_fail;
27803 }
27804 {
27805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27806 }
27807 return resultobj;
27808 fail:
27809 return NULL;
27810}
27811
27812
c32bde28 27813static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27814 PyObject *resultobj;
27815 wxWindow *arg1 = (wxWindow *) 0 ;
27816 PyObject * obj0 = 0 ;
27817 char *kwnames[] = {
27818 (char *) "self", NULL
27819 };
27820
27821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
27822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27823 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27824 {
27825 PyThreadState* __tstate = wxPyBeginAllowThreads();
27826 (arg1)->SetFocus();
27827
27828 wxPyEndAllowThreads(__tstate);
27829 if (PyErr_Occurred()) SWIG_fail;
27830 }
27831 Py_INCREF(Py_None); resultobj = Py_None;
27832 return resultobj;
27833 fail:
27834 return NULL;
27835}
27836
27837
c32bde28 27838static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27839 PyObject *resultobj;
27840 wxWindow *arg1 = (wxWindow *) 0 ;
27841 PyObject * obj0 = 0 ;
27842 char *kwnames[] = {
27843 (char *) "self", NULL
27844 };
27845
27846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
093d3ff1
RD
27847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27848 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27849 {
27850 PyThreadState* __tstate = wxPyBeginAllowThreads();
27851 (arg1)->SetFocusFromKbd();
27852
27853 wxPyEndAllowThreads(__tstate);
27854 if (PyErr_Occurred()) SWIG_fail;
27855 }
27856 Py_INCREF(Py_None); resultobj = Py_None;
27857 return resultobj;
27858 fail:
27859 return NULL;
27860}
27861
27862
c32bde28 27863static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27864 PyObject *resultobj;
27865 wxWindow *result;
27866 char *kwnames[] = {
27867 NULL
27868 };
27869
27870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
27871 {
0439c23b 27872 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27873 PyThreadState* __tstate = wxPyBeginAllowThreads();
27874 result = (wxWindow *)wxWindow::FindFocus();
27875
27876 wxPyEndAllowThreads(__tstate);
110da5b0 27877 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27878 }
27879 {
412d302d 27880 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
27881 }
27882 return resultobj;
27883 fail:
27884 return NULL;
27885}
27886
27887
c32bde28 27888static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27889 PyObject *resultobj;
27890 wxWindow *arg1 = (wxWindow *) 0 ;
27891 bool result;
27892 PyObject * obj0 = 0 ;
27893 char *kwnames[] = {
27894 (char *) "self", NULL
27895 };
27896
27897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
27898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27900 {
27901 PyThreadState* __tstate = wxPyBeginAllowThreads();
27902 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
27903
27904 wxPyEndAllowThreads(__tstate);
27905 if (PyErr_Occurred()) SWIG_fail;
27906 }
27907 {
27908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27909 }
27910 return resultobj;
27911 fail:
27912 return NULL;
27913}
27914
27915
c32bde28 27916static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27917 PyObject *resultobj;
27918 wxWindow *arg1 = (wxWindow *) 0 ;
27919 bool result;
27920 PyObject * obj0 = 0 ;
27921 char *kwnames[] = {
27922 (char *) "self", NULL
27923 };
27924
27925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
27926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27928 {
27929 PyThreadState* __tstate = wxPyBeginAllowThreads();
27930 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
27931
27932 wxPyEndAllowThreads(__tstate);
27933 if (PyErr_Occurred()) SWIG_fail;
27934 }
27935 {
27936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27937 }
27938 return resultobj;
27939 fail:
27940 return NULL;
27941}
27942
27943
c32bde28 27944static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27945 PyObject *resultobj;
27946 wxWindow *arg1 = (wxWindow *) 0 ;
27947 wxWindow *result;
27948 PyObject * obj0 = 0 ;
27949 char *kwnames[] = {
27950 (char *) "self", NULL
27951 };
27952
27953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27956 {
27957 PyThreadState* __tstate = wxPyBeginAllowThreads();
27958 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
27959
27960 wxPyEndAllowThreads(__tstate);
27961 if (PyErr_Occurred()) SWIG_fail;
27962 }
27963 {
412d302d 27964 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
27965 }
27966 return resultobj;
27967 fail:
27968 return NULL;
27969}
27970
27971
c32bde28 27972static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27973 PyObject *resultobj;
27974 wxWindow *arg1 = (wxWindow *) 0 ;
27975 wxWindow *arg2 = (wxWindow *) 0 ;
27976 wxWindow *result;
27977 PyObject * obj0 = 0 ;
27978 PyObject * obj1 = 0 ;
27979 char *kwnames[] = {
27980 (char *) "self",(char *) "child", NULL
27981 };
27982
27983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27985 if (SWIG_arg_fail(1)) SWIG_fail;
27986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27987 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27988 {
27989 PyThreadState* __tstate = wxPyBeginAllowThreads();
27990 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
27991
27992 wxPyEndAllowThreads(__tstate);
27993 if (PyErr_Occurred()) SWIG_fail;
27994 }
27995 {
412d302d 27996 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
27997 }
27998 return resultobj;
27999 fail:
28000 return NULL;
28001}
28002
28003
c32bde28 28004static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28005 PyObject *resultobj;
28006 wxWindow *arg1 = (wxWindow *) 0 ;
28007 wxWindow *arg2 = (wxWindow *) 0 ;
28008 PyObject * obj0 = 0 ;
28009 PyObject * obj1 = 0 ;
28010 char *kwnames[] = {
28011 (char *) "self",(char *) "win", NULL
28012 };
28013
28014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28016 if (SWIG_arg_fail(1)) SWIG_fail;
28017 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28018 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28019 {
28020 PyThreadState* __tstate = wxPyBeginAllowThreads();
28021 (arg1)->SetTmpDefaultItem(arg2);
28022
28023 wxPyEndAllowThreads(__tstate);
28024 if (PyErr_Occurred()) SWIG_fail;
28025 }
28026 Py_INCREF(Py_None); resultobj = Py_None;
28027 return resultobj;
28028 fail:
28029 return NULL;
28030}
28031
28032
c32bde28 28033static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
28034 PyObject *resultobj;
28035 wxWindow *arg1 = (wxWindow *) 0 ;
28036 int arg2 = (int) wxNavigationKeyEvent::IsForward ;
28037 bool result;
28038 PyObject * obj0 = 0 ;
28039 PyObject * obj1 = 0 ;
28040 char *kwnames[] = {
28041 (char *) "self",(char *) "flags", NULL
28042 };
28043
28044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28046 if (SWIG_arg_fail(1)) SWIG_fail;
908b74cd 28047 if (obj1) {
093d3ff1
RD
28048 {
28049 arg2 = (int)(SWIG_As_int(obj1));
28050 if (SWIG_arg_fail(2)) SWIG_fail;
28051 }
908b74cd
RD
28052 }
28053 {
28054 PyThreadState* __tstate = wxPyBeginAllowThreads();
28055 result = (bool)(arg1)->Navigate(arg2);
28056
28057 wxPyEndAllowThreads(__tstate);
28058 if (PyErr_Occurred()) SWIG_fail;
28059 }
28060 {
28061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28062 }
28063 return resultobj;
28064 fail:
28065 return NULL;
28066}
28067
28068
c32bde28 28069static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
bf26d883
RD
28070 PyObject *resultobj;
28071 wxWindow *arg1 = (wxWindow *) 0 ;
28072 wxWindow *arg2 = (wxWindow *) 0 ;
28073 PyObject * obj0 = 0 ;
28074 PyObject * obj1 = 0 ;
28075 char *kwnames[] = {
28076 (char *) "self",(char *) "win", NULL
28077 };
28078
28079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveAfterInTabOrder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28081 if (SWIG_arg_fail(1)) SWIG_fail;
28082 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28083 if (SWIG_arg_fail(2)) SWIG_fail;
bf26d883
RD
28084 {
28085 PyThreadState* __tstate = wxPyBeginAllowThreads();
28086 (arg1)->MoveAfterInTabOrder(arg2);
28087
28088 wxPyEndAllowThreads(__tstate);
28089 if (PyErr_Occurred()) SWIG_fail;
28090 }
28091 Py_INCREF(Py_None); resultobj = Py_None;
28092 return resultobj;
28093 fail:
28094 return NULL;
28095}
28096
28097
c32bde28 28098static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
bf26d883
RD
28099 PyObject *resultobj;
28100 wxWindow *arg1 = (wxWindow *) 0 ;
28101 wxWindow *arg2 = (wxWindow *) 0 ;
28102 PyObject * obj0 = 0 ;
28103 PyObject * obj1 = 0 ;
28104 char *kwnames[] = {
28105 (char *) "self",(char *) "win", NULL
28106 };
28107
28108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28110 if (SWIG_arg_fail(1)) SWIG_fail;
28111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28112 if (SWIG_arg_fail(2)) SWIG_fail;
bf26d883
RD
28113 {
28114 PyThreadState* __tstate = wxPyBeginAllowThreads();
28115 (arg1)->MoveBeforeInTabOrder(arg2);
28116
28117 wxPyEndAllowThreads(__tstate);
28118 if (PyErr_Occurred()) SWIG_fail;
28119 }
28120 Py_INCREF(Py_None); resultobj = Py_None;
28121 return resultobj;
28122 fail:
28123 return NULL;
28124}
28125
28126
c32bde28 28127static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28128 PyObject *resultobj;
28129 wxWindow *arg1 = (wxWindow *) 0 ;
28130 PyObject *result;
28131 PyObject * obj0 = 0 ;
28132 char *kwnames[] = {
28133 (char *) "self", NULL
28134 };
28135
28136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
28137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28138 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28139 {
28140 PyThreadState* __tstate = wxPyBeginAllowThreads();
28141 result = (PyObject *)wxWindow_GetChildren(arg1);
28142
28143 wxPyEndAllowThreads(__tstate);
28144 if (PyErr_Occurred()) SWIG_fail;
28145 }
28146 resultobj = result;
28147 return resultobj;
28148 fail:
28149 return NULL;
28150}
28151
28152
c32bde28 28153static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28154 PyObject *resultobj;
28155 wxWindow *arg1 = (wxWindow *) 0 ;
28156 wxWindow *result;
28157 PyObject * obj0 = 0 ;
28158 char *kwnames[] = {
28159 (char *) "self", NULL
28160 };
28161
28162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
28163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28165 {
28166 PyThreadState* __tstate = wxPyBeginAllowThreads();
28167 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
28168
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 {
412d302d 28173 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28174 }
28175 return resultobj;
28176 fail:
28177 return NULL;
28178}
28179
28180
c32bde28 28181static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28182 PyObject *resultobj;
28183 wxWindow *arg1 = (wxWindow *) 0 ;
28184 wxWindow *result;
28185 PyObject * obj0 = 0 ;
28186 char *kwnames[] = {
28187 (char *) "self", NULL
28188 };
28189
28190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
28191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28193 {
28194 PyThreadState* __tstate = wxPyBeginAllowThreads();
28195 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
28196
28197 wxPyEndAllowThreads(__tstate);
28198 if (PyErr_Occurred()) SWIG_fail;
28199 }
28200 {
412d302d 28201 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28202 }
28203 return resultobj;
28204 fail:
28205 return NULL;
28206}
28207
28208
c32bde28 28209static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28210 PyObject *resultobj;
28211 wxWindow *arg1 = (wxWindow *) 0 ;
28212 bool result;
28213 PyObject * obj0 = 0 ;
28214 char *kwnames[] = {
28215 (char *) "self", NULL
28216 };
28217
28218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
093d3ff1
RD
28219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28221 {
28222 PyThreadState* __tstate = wxPyBeginAllowThreads();
28223 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
28224
28225 wxPyEndAllowThreads(__tstate);
28226 if (PyErr_Occurred()) SWIG_fail;
28227 }
28228 {
28229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28230 }
28231 return resultobj;
28232 fail:
28233 return NULL;
28234}
28235
28236
c32bde28 28237static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28238 PyObject *resultobj;
28239 wxWindow *arg1 = (wxWindow *) 0 ;
28240 wxWindow *arg2 = (wxWindow *) 0 ;
28241 bool result;
28242 PyObject * obj0 = 0 ;
28243 PyObject * obj1 = 0 ;
28244 char *kwnames[] = {
28245 (char *) "self",(char *) "newParent", NULL
28246 };
28247
28248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28250 if (SWIG_arg_fail(1)) SWIG_fail;
28251 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28252 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28253 {
28254 PyThreadState* __tstate = wxPyBeginAllowThreads();
28255 result = (bool)(arg1)->Reparent(arg2);
28256
28257 wxPyEndAllowThreads(__tstate);
28258 if (PyErr_Occurred()) SWIG_fail;
28259 }
28260 {
28261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28262 }
28263 return resultobj;
28264 fail:
28265 return NULL;
28266}
28267
28268
c32bde28 28269static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28270 PyObject *resultobj;
28271 wxWindow *arg1 = (wxWindow *) 0 ;
28272 wxWindow *arg2 = (wxWindow *) 0 ;
28273 PyObject * obj0 = 0 ;
28274 PyObject * obj1 = 0 ;
28275 char *kwnames[] = {
28276 (char *) "self",(char *) "child", NULL
28277 };
28278
28279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28281 if (SWIG_arg_fail(1)) SWIG_fail;
28282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28283 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28284 {
28285 PyThreadState* __tstate = wxPyBeginAllowThreads();
28286 (arg1)->AddChild(arg2);
28287
28288 wxPyEndAllowThreads(__tstate);
28289 if (PyErr_Occurred()) SWIG_fail;
28290 }
28291 Py_INCREF(Py_None); resultobj = Py_None;
28292 return resultobj;
28293 fail:
28294 return NULL;
28295}
28296
28297
c32bde28 28298static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28299 PyObject *resultobj;
28300 wxWindow *arg1 = (wxWindow *) 0 ;
28301 wxWindow *arg2 = (wxWindow *) 0 ;
28302 PyObject * obj0 = 0 ;
28303 PyObject * obj1 = 0 ;
28304 char *kwnames[] = {
28305 (char *) "self",(char *) "child", NULL
28306 };
28307
28308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28310 if (SWIG_arg_fail(1)) SWIG_fail;
28311 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28312 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28313 {
28314 PyThreadState* __tstate = wxPyBeginAllowThreads();
28315 (arg1)->RemoveChild(arg2);
28316
28317 wxPyEndAllowThreads(__tstate);
28318 if (PyErr_Occurred()) SWIG_fail;
28319 }
28320 Py_INCREF(Py_None); resultobj = Py_None;
28321 return resultobj;
28322 fail:
28323 return NULL;
28324}
28325
28326
c32bde28 28327static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28328 PyObject *resultobj;
28329 wxWindow *arg1 = (wxWindow *) 0 ;
28330 long arg2 ;
28331 wxWindow *result;
28332 PyObject * obj0 = 0 ;
28333 PyObject * obj1 = 0 ;
28334 char *kwnames[] = {
28335 (char *) "self",(char *) "winid", NULL
28336 };
28337
28338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28340 if (SWIG_arg_fail(1)) SWIG_fail;
28341 {
28342 arg2 = (long)(SWIG_As_long(obj1));
28343 if (SWIG_arg_fail(2)) SWIG_fail;
28344 }
d55e5bfc
RD
28345 {
28346 PyThreadState* __tstate = wxPyBeginAllowThreads();
28347 result = (wxWindow *)(arg1)->FindWindow(arg2);
28348
28349 wxPyEndAllowThreads(__tstate);
28350 if (PyErr_Occurred()) SWIG_fail;
28351 }
28352 {
412d302d 28353 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28354 }
28355 return resultobj;
28356 fail:
28357 return NULL;
28358}
28359
28360
c32bde28 28361static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28362 PyObject *resultobj;
28363 wxWindow *arg1 = (wxWindow *) 0 ;
28364 wxString *arg2 = 0 ;
28365 wxWindow *result;
ae8162c8 28366 bool temp2 = false ;
d55e5bfc
RD
28367 PyObject * obj0 = 0 ;
28368 PyObject * obj1 = 0 ;
28369 char *kwnames[] = {
28370 (char *) "self",(char *) "name", NULL
28371 };
28372
28373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28376 {
28377 arg2 = wxString_in_helper(obj1);
28378 if (arg2 == NULL) SWIG_fail;
ae8162c8 28379 temp2 = true;
d55e5bfc
RD
28380 }
28381 {
28382 PyThreadState* __tstate = wxPyBeginAllowThreads();
28383 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
28384
28385 wxPyEndAllowThreads(__tstate);
28386 if (PyErr_Occurred()) SWIG_fail;
28387 }
28388 {
412d302d 28389 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28390 }
28391 {
28392 if (temp2)
28393 delete arg2;
28394 }
28395 return resultobj;
28396 fail:
28397 {
28398 if (temp2)
28399 delete arg2;
28400 }
28401 return NULL;
28402}
28403
28404
c32bde28 28405static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28406 PyObject *resultobj;
28407 wxWindow *arg1 = (wxWindow *) 0 ;
28408 wxEvtHandler *result;
28409 PyObject * obj0 = 0 ;
28410 char *kwnames[] = {
28411 (char *) "self", NULL
28412 };
28413
28414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
28415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28417 {
28418 PyThreadState* __tstate = wxPyBeginAllowThreads();
28419 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
28420
28421 wxPyEndAllowThreads(__tstate);
28422 if (PyErr_Occurred()) SWIG_fail;
28423 }
28424 {
412d302d 28425 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28426 }
28427 return resultobj;
28428 fail:
28429 return NULL;
28430}
28431
28432
c32bde28 28433static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28434 PyObject *resultobj;
28435 wxWindow *arg1 = (wxWindow *) 0 ;
28436 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
28437 PyObject * obj0 = 0 ;
28438 PyObject * obj1 = 0 ;
28439 char *kwnames[] = {
28440 (char *) "self",(char *) "handler", NULL
28441 };
28442
28443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28445 if (SWIG_arg_fail(1)) SWIG_fail;
28446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
28447 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28448 {
28449 PyThreadState* __tstate = wxPyBeginAllowThreads();
28450 (arg1)->SetEventHandler(arg2);
28451
28452 wxPyEndAllowThreads(__tstate);
28453 if (PyErr_Occurred()) SWIG_fail;
28454 }
28455 Py_INCREF(Py_None); resultobj = Py_None;
28456 return resultobj;
28457 fail:
28458 return NULL;
28459}
28460
28461
c32bde28 28462static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28463 PyObject *resultobj;
28464 wxWindow *arg1 = (wxWindow *) 0 ;
28465 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
28466 PyObject * obj0 = 0 ;
28467 PyObject * obj1 = 0 ;
28468 char *kwnames[] = {
28469 (char *) "self",(char *) "handler", NULL
28470 };
28471
28472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28474 if (SWIG_arg_fail(1)) SWIG_fail;
28475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
28476 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28477 {
28478 PyThreadState* __tstate = wxPyBeginAllowThreads();
28479 (arg1)->PushEventHandler(arg2);
28480
28481 wxPyEndAllowThreads(__tstate);
28482 if (PyErr_Occurred()) SWIG_fail;
28483 }
28484 Py_INCREF(Py_None); resultobj = Py_None;
28485 return resultobj;
28486 fail:
28487 return NULL;
28488}
28489
28490
c32bde28 28491static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28492 PyObject *resultobj;
28493 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 28494 bool arg2 = (bool) false ;
d55e5bfc
RD
28495 wxEvtHandler *result;
28496 PyObject * obj0 = 0 ;
28497 PyObject * obj1 = 0 ;
28498 char *kwnames[] = {
28499 (char *) "self",(char *) "deleteHandler", NULL
28500 };
28501
28502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28504 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28505 if (obj1) {
093d3ff1
RD
28506 {
28507 arg2 = (bool)(SWIG_As_bool(obj1));
28508 if (SWIG_arg_fail(2)) SWIG_fail;
28509 }
d55e5bfc
RD
28510 }
28511 {
28512 PyThreadState* __tstate = wxPyBeginAllowThreads();
28513 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
28514
28515 wxPyEndAllowThreads(__tstate);
28516 if (PyErr_Occurred()) SWIG_fail;
28517 }
28518 {
412d302d 28519 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28520 }
28521 return resultobj;
28522 fail:
28523 return NULL;
28524}
28525
28526
c32bde28 28527static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28528 PyObject *resultobj;
28529 wxWindow *arg1 = (wxWindow *) 0 ;
28530 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
28531 bool result;
28532 PyObject * obj0 = 0 ;
28533 PyObject * obj1 = 0 ;
28534 char *kwnames[] = {
28535 (char *) "self",(char *) "handler", NULL
28536 };
28537
28538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28540 if (SWIG_arg_fail(1)) SWIG_fail;
28541 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
28542 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28543 {
28544 PyThreadState* __tstate = wxPyBeginAllowThreads();
28545 result = (bool)(arg1)->RemoveEventHandler(arg2);
28546
28547 wxPyEndAllowThreads(__tstate);
28548 if (PyErr_Occurred()) SWIG_fail;
28549 }
28550 {
28551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28552 }
28553 return resultobj;
28554 fail:
28555 return NULL;
28556}
28557
28558
c32bde28 28559static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28560 PyObject *resultobj;
28561 wxWindow *arg1 = (wxWindow *) 0 ;
28562 wxValidator *arg2 = 0 ;
28563 PyObject * obj0 = 0 ;
28564 PyObject * obj1 = 0 ;
28565 char *kwnames[] = {
28566 (char *) "self",(char *) "validator", NULL
28567 };
28568
28569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28571 if (SWIG_arg_fail(1)) SWIG_fail;
28572 {
28573 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28574 if (SWIG_arg_fail(2)) SWIG_fail;
28575 if (arg2 == NULL) {
28576 SWIG_null_ref("wxValidator");
28577 }
28578 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28579 }
28580 {
28581 PyThreadState* __tstate = wxPyBeginAllowThreads();
28582 (arg1)->SetValidator((wxValidator const &)*arg2);
28583
28584 wxPyEndAllowThreads(__tstate);
28585 if (PyErr_Occurred()) SWIG_fail;
28586 }
28587 Py_INCREF(Py_None); resultobj = Py_None;
28588 return resultobj;
28589 fail:
28590 return NULL;
28591}
28592
28593
c32bde28 28594static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28595 PyObject *resultobj;
28596 wxWindow *arg1 = (wxWindow *) 0 ;
28597 wxValidator *result;
28598 PyObject * obj0 = 0 ;
28599 char *kwnames[] = {
28600 (char *) "self", NULL
28601 };
28602
28603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
093d3ff1
RD
28604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28606 {
28607 PyThreadState* __tstate = wxPyBeginAllowThreads();
28608 result = (wxValidator *)(arg1)->GetValidator();
28609
28610 wxPyEndAllowThreads(__tstate);
28611 if (PyErr_Occurred()) SWIG_fail;
28612 }
28613 {
412d302d 28614 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28615 }
28616 return resultobj;
28617 fail:
28618 return NULL;
28619}
28620
28621
c32bde28 28622static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28623 PyObject *resultobj;
28624 wxWindow *arg1 = (wxWindow *) 0 ;
28625 bool result;
28626 PyObject * obj0 = 0 ;
28627 char *kwnames[] = {
28628 (char *) "self", NULL
28629 };
28630
28631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
28632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28634 {
28635 PyThreadState* __tstate = wxPyBeginAllowThreads();
28636 result = (bool)(arg1)->Validate();
28637
28638 wxPyEndAllowThreads(__tstate);
28639 if (PyErr_Occurred()) SWIG_fail;
28640 }
28641 {
28642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28643 }
28644 return resultobj;
28645 fail:
28646 return NULL;
28647}
28648
28649
c32bde28 28650static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28651 PyObject *resultobj;
28652 wxWindow *arg1 = (wxWindow *) 0 ;
28653 bool result;
28654 PyObject * obj0 = 0 ;
28655 char *kwnames[] = {
28656 (char *) "self", NULL
28657 };
28658
28659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
28660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28662 {
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 result = (bool)(arg1)->TransferDataToWindow();
28665
28666 wxPyEndAllowThreads(__tstate);
28667 if (PyErr_Occurred()) SWIG_fail;
28668 }
28669 {
28670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28671 }
28672 return resultobj;
28673 fail:
28674 return NULL;
28675}
28676
28677
c32bde28 28678static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28679 PyObject *resultobj;
28680 wxWindow *arg1 = (wxWindow *) 0 ;
28681 bool result;
28682 PyObject * obj0 = 0 ;
28683 char *kwnames[] = {
28684 (char *) "self", NULL
28685 };
28686
28687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
28688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28689 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28690 {
28691 PyThreadState* __tstate = wxPyBeginAllowThreads();
28692 result = (bool)(arg1)->TransferDataFromWindow();
28693
28694 wxPyEndAllowThreads(__tstate);
28695 if (PyErr_Occurred()) SWIG_fail;
28696 }
28697 {
28698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28699 }
28700 return resultobj;
28701 fail:
28702 return NULL;
28703}
28704
28705
c32bde28 28706static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28707 PyObject *resultobj;
28708 wxWindow *arg1 = (wxWindow *) 0 ;
28709 PyObject * obj0 = 0 ;
28710 char *kwnames[] = {
28711 (char *) "self", NULL
28712 };
28713
28714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
28715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28716 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28717 {
28718 PyThreadState* __tstate = wxPyBeginAllowThreads();
28719 (arg1)->InitDialog();
28720
28721 wxPyEndAllowThreads(__tstate);
28722 if (PyErr_Occurred()) SWIG_fail;
28723 }
28724 Py_INCREF(Py_None); resultobj = Py_None;
28725 return resultobj;
28726 fail:
28727 return NULL;
28728}
28729
28730
c32bde28 28731static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28732 PyObject *resultobj;
28733 wxWindow *arg1 = (wxWindow *) 0 ;
28734 wxAcceleratorTable *arg2 = 0 ;
28735 PyObject * obj0 = 0 ;
28736 PyObject * obj1 = 0 ;
28737 char *kwnames[] = {
28738 (char *) "self",(char *) "accel", NULL
28739 };
28740
28741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28743 if (SWIG_arg_fail(1)) SWIG_fail;
28744 {
28745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0);
28746 if (SWIG_arg_fail(2)) SWIG_fail;
28747 if (arg2 == NULL) {
28748 SWIG_null_ref("wxAcceleratorTable");
28749 }
28750 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28751 }
28752 {
28753 PyThreadState* __tstate = wxPyBeginAllowThreads();
28754 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
28755
28756 wxPyEndAllowThreads(__tstate);
28757 if (PyErr_Occurred()) SWIG_fail;
28758 }
28759 Py_INCREF(Py_None); resultobj = Py_None;
28760 return resultobj;
28761 fail:
28762 return NULL;
28763}
28764
28765
c32bde28 28766static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28767 PyObject *resultobj;
28768 wxWindow *arg1 = (wxWindow *) 0 ;
28769 wxAcceleratorTable *result;
28770 PyObject * obj0 = 0 ;
28771 char *kwnames[] = {
28772 (char *) "self", NULL
28773 };
28774
28775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
093d3ff1
RD
28776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28778 {
28779 PyThreadState* __tstate = wxPyBeginAllowThreads();
28780 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
28781
28782 wxPyEndAllowThreads(__tstate);
28783 if (PyErr_Occurred()) SWIG_fail;
28784 }
28785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
28786 return resultobj;
28787 fail:
28788 return NULL;
28789}
28790
28791
c32bde28 28792static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28793 PyObject *resultobj;
28794 wxWindow *arg1 = (wxWindow *) 0 ;
28795 int arg2 ;
28796 int arg3 ;
28797 int arg4 ;
28798 bool result;
28799 PyObject * obj0 = 0 ;
28800 PyObject * obj1 = 0 ;
28801 PyObject * obj2 = 0 ;
28802 PyObject * obj3 = 0 ;
28803 char *kwnames[] = {
28804 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28805 };
28806
28807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28809 if (SWIG_arg_fail(1)) SWIG_fail;
28810 {
28811 arg2 = (int)(SWIG_As_int(obj1));
28812 if (SWIG_arg_fail(2)) SWIG_fail;
28813 }
28814 {
28815 arg3 = (int)(SWIG_As_int(obj2));
28816 if (SWIG_arg_fail(3)) SWIG_fail;
28817 }
28818 {
28819 arg4 = (int)(SWIG_As_int(obj3));
28820 if (SWIG_arg_fail(4)) SWIG_fail;
28821 }
d55e5bfc
RD
28822 {
28823 PyThreadState* __tstate = wxPyBeginAllowThreads();
28824 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
28825
28826 wxPyEndAllowThreads(__tstate);
28827 if (PyErr_Occurred()) SWIG_fail;
28828 }
28829 {
28830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28831 }
28832 return resultobj;
28833 fail:
28834 return NULL;
28835}
28836
28837
c32bde28 28838static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28839 PyObject *resultobj;
28840 wxWindow *arg1 = (wxWindow *) 0 ;
28841 int arg2 ;
28842 bool result;
28843 PyObject * obj0 = 0 ;
28844 PyObject * obj1 = 0 ;
28845 char *kwnames[] = {
28846 (char *) "self",(char *) "hotkeyId", NULL
28847 };
28848
28849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28851 if (SWIG_arg_fail(1)) SWIG_fail;
28852 {
28853 arg2 = (int)(SWIG_As_int(obj1));
28854 if (SWIG_arg_fail(2)) SWIG_fail;
28855 }
d55e5bfc
RD
28856 {
28857 PyThreadState* __tstate = wxPyBeginAllowThreads();
28858 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
28859
28860 wxPyEndAllowThreads(__tstate);
28861 if (PyErr_Occurred()) SWIG_fail;
28862 }
28863 {
28864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28865 }
28866 return resultobj;
28867 fail:
28868 return NULL;
28869}
28870
28871
c32bde28 28872static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28873 PyObject *resultobj;
28874 wxWindow *arg1 = (wxWindow *) 0 ;
28875 wxPoint *arg2 = 0 ;
28876 wxPoint result;
28877 wxPoint temp2 ;
28878 PyObject * obj0 = 0 ;
28879 PyObject * obj1 = 0 ;
28880 char *kwnames[] = {
28881 (char *) "self",(char *) "pt", NULL
28882 };
28883
28884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28887 {
28888 arg2 = &temp2;
28889 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28890 }
28891 {
28892 PyThreadState* __tstate = wxPyBeginAllowThreads();
28893 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
28894
28895 wxPyEndAllowThreads(__tstate);
28896 if (PyErr_Occurred()) SWIG_fail;
28897 }
28898 {
28899 wxPoint * resultptr;
093d3ff1 28900 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
28901 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28902 }
28903 return resultobj;
28904 fail:
28905 return NULL;
28906}
28907
28908
c32bde28 28909static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28910 PyObject *resultobj;
28911 wxWindow *arg1 = (wxWindow *) 0 ;
28912 wxSize *arg2 = 0 ;
28913 wxSize result;
28914 wxSize temp2 ;
28915 PyObject * obj0 = 0 ;
28916 PyObject * obj1 = 0 ;
28917 char *kwnames[] = {
28918 (char *) "self",(char *) "sz", NULL
28919 };
28920
28921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28924 {
28925 arg2 = &temp2;
28926 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28927 }
28928 {
28929 PyThreadState* __tstate = wxPyBeginAllowThreads();
28930 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
28931
28932 wxPyEndAllowThreads(__tstate);
28933 if (PyErr_Occurred()) SWIG_fail;
28934 }
28935 {
28936 wxSize * resultptr;
093d3ff1 28937 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
28938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28939 }
28940 return resultobj;
28941 fail:
28942 return NULL;
28943}
28944
28945
c32bde28 28946static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28947 PyObject *resultobj;
28948 wxWindow *arg1 = (wxWindow *) 0 ;
28949 wxPoint *arg2 = 0 ;
28950 wxPoint result;
28951 wxPoint temp2 ;
28952 PyObject * obj0 = 0 ;
28953 PyObject * obj1 = 0 ;
28954 char *kwnames[] = {
28955 (char *) "self",(char *) "pt", NULL
28956 };
28957
28958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28961 {
28962 arg2 = &temp2;
28963 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28964 }
28965 {
28966 PyThreadState* __tstate = wxPyBeginAllowThreads();
28967 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
28968
28969 wxPyEndAllowThreads(__tstate);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 }
28972 {
28973 wxPoint * resultptr;
093d3ff1 28974 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
28975 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28976 }
28977 return resultobj;
28978 fail:
28979 return NULL;
28980}
28981
28982
c32bde28 28983static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28984 PyObject *resultobj;
28985 wxWindow *arg1 = (wxWindow *) 0 ;
28986 wxSize *arg2 = 0 ;
28987 wxSize result;
28988 wxSize temp2 ;
28989 PyObject * obj0 = 0 ;
28990 PyObject * obj1 = 0 ;
28991 char *kwnames[] = {
28992 (char *) "self",(char *) "sz", NULL
28993 };
28994
28995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28997 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28998 {
28999 arg2 = &temp2;
29000 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29001 }
29002 {
29003 PyThreadState* __tstate = wxPyBeginAllowThreads();
29004 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
29005
29006 wxPyEndAllowThreads(__tstate);
29007 if (PyErr_Occurred()) SWIG_fail;
29008 }
29009 {
29010 wxSize * resultptr;
093d3ff1 29011 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
29012 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29013 }
29014 return resultobj;
29015 fail:
29016 return NULL;
29017}
29018
29019
c32bde28 29020static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29021 PyObject *resultobj;
29022 wxWindow *arg1 = (wxWindow *) 0 ;
29023 wxPoint *arg2 = 0 ;
29024 wxPoint result;
29025 wxPoint temp2 ;
29026 PyObject * obj0 = 0 ;
29027 PyObject * obj1 = 0 ;
29028 char *kwnames[] = {
29029 (char *) "self",(char *) "pt", NULL
29030 };
29031
29032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29034 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29035 {
29036 arg2 = &temp2;
29037 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29038 }
29039 {
29040 PyThreadState* __tstate = wxPyBeginAllowThreads();
29041 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
29042
29043 wxPyEndAllowThreads(__tstate);
29044 if (PyErr_Occurred()) SWIG_fail;
29045 }
29046 {
29047 wxPoint * resultptr;
093d3ff1 29048 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
29049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29050 }
29051 return resultobj;
29052 fail:
29053 return NULL;
29054}
29055
29056
c32bde28 29057static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29058 PyObject *resultobj;
29059 wxWindow *arg1 = (wxWindow *) 0 ;
29060 wxSize *arg2 = 0 ;
29061 wxSize result;
29062 wxSize temp2 ;
29063 PyObject * obj0 = 0 ;
29064 PyObject * obj1 = 0 ;
29065 char *kwnames[] = {
29066 (char *) "self",(char *) "sz", NULL
29067 };
29068
29069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29072 {
29073 arg2 = &temp2;
29074 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29075 }
29076 {
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
29079
29080 wxPyEndAllowThreads(__tstate);
29081 if (PyErr_Occurred()) SWIG_fail;
29082 }
29083 {
29084 wxSize * resultptr;
093d3ff1 29085 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
29086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29087 }
29088 return resultobj;
29089 fail:
29090 return NULL;
29091}
29092
29093
c32bde28 29094static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29095 PyObject *resultobj;
29096 wxWindow *arg1 = (wxWindow *) 0 ;
29097 int arg2 ;
29098 int arg3 ;
29099 PyObject * obj0 = 0 ;
29100 PyObject * obj1 = 0 ;
29101 PyObject * obj2 = 0 ;
29102 char *kwnames[] = {
29103 (char *) "self",(char *) "x",(char *) "y", NULL
29104 };
29105
29106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29108 if (SWIG_arg_fail(1)) SWIG_fail;
29109 {
29110 arg2 = (int)(SWIG_As_int(obj1));
29111 if (SWIG_arg_fail(2)) SWIG_fail;
29112 }
29113 {
29114 arg3 = (int)(SWIG_As_int(obj2));
29115 if (SWIG_arg_fail(3)) SWIG_fail;
29116 }
d55e5bfc
RD
29117 {
29118 PyThreadState* __tstate = wxPyBeginAllowThreads();
29119 (arg1)->WarpPointer(arg2,arg3);
29120
29121 wxPyEndAllowThreads(__tstate);
29122 if (PyErr_Occurred()) SWIG_fail;
29123 }
29124 Py_INCREF(Py_None); resultobj = Py_None;
29125 return resultobj;
29126 fail:
29127 return NULL;
29128}
29129
29130
c32bde28 29131static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29132 PyObject *resultobj;
29133 wxWindow *arg1 = (wxWindow *) 0 ;
29134 PyObject * obj0 = 0 ;
29135 char *kwnames[] = {
29136 (char *) "self", NULL
29137 };
29138
29139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
093d3ff1
RD
29140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29141 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29142 {
29143 PyThreadState* __tstate = wxPyBeginAllowThreads();
29144 (arg1)->CaptureMouse();
29145
29146 wxPyEndAllowThreads(__tstate);
29147 if (PyErr_Occurred()) SWIG_fail;
29148 }
29149 Py_INCREF(Py_None); resultobj = Py_None;
29150 return resultobj;
29151 fail:
29152 return NULL;
29153}
29154
29155
c32bde28 29156static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29157 PyObject *resultobj;
29158 wxWindow *arg1 = (wxWindow *) 0 ;
29159 PyObject * obj0 = 0 ;
29160 char *kwnames[] = {
29161 (char *) "self", NULL
29162 };
29163
29164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
093d3ff1
RD
29165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29167 {
29168 PyThreadState* __tstate = wxPyBeginAllowThreads();
29169 (arg1)->ReleaseMouse();
29170
29171 wxPyEndAllowThreads(__tstate);
29172 if (PyErr_Occurred()) SWIG_fail;
29173 }
29174 Py_INCREF(Py_None); resultobj = Py_None;
29175 return resultobj;
29176 fail:
29177 return NULL;
29178}
29179
29180
c32bde28 29181static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29182 PyObject *resultobj;
29183 wxWindow *result;
29184 char *kwnames[] = {
29185 NULL
29186 };
29187
29188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
29189 {
0439c23b 29190 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29191 PyThreadState* __tstate = wxPyBeginAllowThreads();
29192 result = (wxWindow *)wxWindow::GetCapture();
29193
29194 wxPyEndAllowThreads(__tstate);
110da5b0 29195 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29196 }
29197 {
412d302d 29198 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29199 }
29200 return resultobj;
29201 fail:
29202 return NULL;
29203}
29204
29205
c32bde28 29206static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29207 PyObject *resultobj;
29208 wxWindow *arg1 = (wxWindow *) 0 ;
29209 bool result;
29210 PyObject * obj0 = 0 ;
29211 char *kwnames[] = {
29212 (char *) "self", NULL
29213 };
29214
29215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
093d3ff1
RD
29216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29218 {
29219 PyThreadState* __tstate = wxPyBeginAllowThreads();
29220 result = (bool)((wxWindow const *)arg1)->HasCapture();
29221
29222 wxPyEndAllowThreads(__tstate);
29223 if (PyErr_Occurred()) SWIG_fail;
29224 }
29225 {
29226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29227 }
29228 return resultobj;
29229 fail:
29230 return NULL;
29231}
29232
29233
c32bde28 29234static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29235 PyObject *resultobj;
29236 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 29237 bool arg2 = (bool) true ;
d55e5bfc
RD
29238 wxRect *arg3 = (wxRect *) NULL ;
29239 PyObject * obj0 = 0 ;
29240 PyObject * obj1 = 0 ;
29241 PyObject * obj2 = 0 ;
29242 char *kwnames[] = {
29243 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29244 };
29245
29246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 29249 if (obj1) {
093d3ff1
RD
29250 {
29251 arg2 = (bool)(SWIG_As_bool(obj1));
29252 if (SWIG_arg_fail(2)) SWIG_fail;
29253 }
d55e5bfc
RD
29254 }
29255 if (obj2) {
093d3ff1
RD
29256 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
29257 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29258 }
29259 {
29260 PyThreadState* __tstate = wxPyBeginAllowThreads();
29261 (arg1)->Refresh(arg2,(wxRect const *)arg3);
29262
29263 wxPyEndAllowThreads(__tstate);
29264 if (PyErr_Occurred()) SWIG_fail;
29265 }
29266 Py_INCREF(Py_None); resultobj = Py_None;
29267 return resultobj;
29268 fail:
29269 return NULL;
29270}
29271
29272
c32bde28 29273static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29274 PyObject *resultobj;
29275 wxWindow *arg1 = (wxWindow *) 0 ;
29276 wxRect *arg2 = 0 ;
fef4c27a 29277 bool arg3 = (bool) true ;
d55e5bfc
RD
29278 wxRect temp2 ;
29279 PyObject * obj0 = 0 ;
29280 PyObject * obj1 = 0 ;
fef4c27a 29281 PyObject * obj2 = 0 ;
d55e5bfc 29282 char *kwnames[] = {
fef4c27a 29283 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
d55e5bfc
RD
29284 };
29285
fef4c27a 29286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_RefreshRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29289 {
29290 arg2 = &temp2;
29291 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29292 }
fef4c27a
RD
29293 if (obj2) {
29294 {
29295 arg3 = (bool)(SWIG_As_bool(obj2));
29296 if (SWIG_arg_fail(3)) SWIG_fail;
29297 }
29298 }
d55e5bfc
RD
29299 {
29300 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 29301 (arg1)->RefreshRect((wxRect const &)*arg2,arg3);
d55e5bfc
RD
29302
29303 wxPyEndAllowThreads(__tstate);
29304 if (PyErr_Occurred()) SWIG_fail;
29305 }
29306 Py_INCREF(Py_None); resultobj = Py_None;
29307 return resultobj;
29308 fail:
29309 return NULL;
29310}
29311
29312
c32bde28 29313static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29314 PyObject *resultobj;
29315 wxWindow *arg1 = (wxWindow *) 0 ;
29316 PyObject * obj0 = 0 ;
29317 char *kwnames[] = {
29318 (char *) "self", NULL
29319 };
29320
29321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
093d3ff1
RD
29322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29323 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29324 {
29325 PyThreadState* __tstate = wxPyBeginAllowThreads();
29326 (arg1)->Update();
29327
29328 wxPyEndAllowThreads(__tstate);
29329 if (PyErr_Occurred()) SWIG_fail;
29330 }
29331 Py_INCREF(Py_None); resultobj = Py_None;
29332 return resultobj;
29333 fail:
29334 return NULL;
29335}
29336
29337
c32bde28 29338static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29339 PyObject *resultobj;
29340 wxWindow *arg1 = (wxWindow *) 0 ;
29341 PyObject * obj0 = 0 ;
29342 char *kwnames[] = {
29343 (char *) "self", NULL
29344 };
29345
29346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
093d3ff1
RD
29347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29348 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29349 {
29350 PyThreadState* __tstate = wxPyBeginAllowThreads();
29351 (arg1)->ClearBackground();
29352
29353 wxPyEndAllowThreads(__tstate);
29354 if (PyErr_Occurred()) SWIG_fail;
29355 }
29356 Py_INCREF(Py_None); resultobj = Py_None;
29357 return resultobj;
29358 fail:
29359 return NULL;
29360}
29361
29362
c32bde28 29363static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29364 PyObject *resultobj;
29365 wxWindow *arg1 = (wxWindow *) 0 ;
29366 PyObject * obj0 = 0 ;
29367 char *kwnames[] = {
29368 (char *) "self", NULL
29369 };
29370
29371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
093d3ff1
RD
29372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29374 {
29375 PyThreadState* __tstate = wxPyBeginAllowThreads();
29376 (arg1)->Freeze();
29377
29378 wxPyEndAllowThreads(__tstate);
29379 if (PyErr_Occurred()) SWIG_fail;
29380 }
29381 Py_INCREF(Py_None); resultobj = Py_None;
29382 return resultobj;
29383 fail:
29384 return NULL;
29385}
29386
29387
c32bde28 29388static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29389 PyObject *resultobj;
29390 wxWindow *arg1 = (wxWindow *) 0 ;
29391 PyObject * obj0 = 0 ;
29392 char *kwnames[] = {
29393 (char *) "self", NULL
29394 };
29395
29396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
093d3ff1
RD
29397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29398 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29399 {
29400 PyThreadState* __tstate = wxPyBeginAllowThreads();
29401 (arg1)->Thaw();
29402
29403 wxPyEndAllowThreads(__tstate);
29404 if (PyErr_Occurred()) SWIG_fail;
29405 }
29406 Py_INCREF(Py_None); resultobj = Py_None;
29407 return resultobj;
29408 fail:
29409 return NULL;
29410}
29411
29412
c32bde28 29413static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29414 PyObject *resultobj;
29415 wxWindow *arg1 = (wxWindow *) 0 ;
29416 wxDC *arg2 = 0 ;
29417 PyObject * obj0 = 0 ;
29418 PyObject * obj1 = 0 ;
29419 char *kwnames[] = {
29420 (char *) "self",(char *) "dc", NULL
29421 };
29422
29423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29425 if (SWIG_arg_fail(1)) SWIG_fail;
29426 {
29427 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
29428 if (SWIG_arg_fail(2)) SWIG_fail;
29429 if (arg2 == NULL) {
29430 SWIG_null_ref("wxDC");
29431 }
29432 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29433 }
29434 {
29435 PyThreadState* __tstate = wxPyBeginAllowThreads();
29436 (arg1)->PrepareDC(*arg2);
29437
29438 wxPyEndAllowThreads(__tstate);
29439 if (PyErr_Occurred()) SWIG_fail;
29440 }
29441 Py_INCREF(Py_None); resultobj = Py_None;
29442 return resultobj;
29443 fail:
29444 return NULL;
29445}
29446
29447
c32bde28 29448static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29449 PyObject *resultobj;
29450 wxWindow *arg1 = (wxWindow *) 0 ;
29451 wxRegion *result;
29452 PyObject * obj0 = 0 ;
29453 char *kwnames[] = {
29454 (char *) "self", NULL
29455 };
29456
29457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
093d3ff1
RD
29458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29460 {
29461 PyThreadState* __tstate = wxPyBeginAllowThreads();
29462 {
29463 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
29464 result = (wxRegion *) &_result_ref;
29465 }
29466
29467 wxPyEndAllowThreads(__tstate);
29468 if (PyErr_Occurred()) SWIG_fail;
29469 }
29470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
29471 return resultobj;
29472 fail:
29473 return NULL;
29474}
29475
29476
c32bde28 29477static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29478 PyObject *resultobj;
29479 wxWindow *arg1 = (wxWindow *) 0 ;
29480 wxRect result;
29481 PyObject * obj0 = 0 ;
29482 char *kwnames[] = {
29483 (char *) "self", NULL
29484 };
29485
29486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
29487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29488 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29489 {
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
29491 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
29492
29493 wxPyEndAllowThreads(__tstate);
29494 if (PyErr_Occurred()) SWIG_fail;
29495 }
29496 {
29497 wxRect * resultptr;
093d3ff1 29498 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
29499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
29500 }
29501 return resultobj;
29502 fail:
29503 return NULL;
29504}
29505
29506
c32bde28 29507static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29508 PyObject *resultobj;
29509 wxWindow *arg1 = (wxWindow *) 0 ;
29510 int arg2 ;
29511 int arg3 ;
29512 int arg4 = (int) 1 ;
29513 int arg5 = (int) 1 ;
29514 bool result;
29515 PyObject * obj0 = 0 ;
29516 PyObject * obj1 = 0 ;
29517 PyObject * obj2 = 0 ;
29518 PyObject * obj3 = 0 ;
29519 PyObject * obj4 = 0 ;
29520 char *kwnames[] = {
29521 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29522 };
29523
29524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
29525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29526 if (SWIG_arg_fail(1)) SWIG_fail;
29527 {
29528 arg2 = (int)(SWIG_As_int(obj1));
29529 if (SWIG_arg_fail(2)) SWIG_fail;
29530 }
29531 {
29532 arg3 = (int)(SWIG_As_int(obj2));
29533 if (SWIG_arg_fail(3)) SWIG_fail;
29534 }
d55e5bfc 29535 if (obj3) {
093d3ff1
RD
29536 {
29537 arg4 = (int)(SWIG_As_int(obj3));
29538 if (SWIG_arg_fail(4)) SWIG_fail;
29539 }
d55e5bfc
RD
29540 }
29541 if (obj4) {
093d3ff1
RD
29542 {
29543 arg5 = (int)(SWIG_As_int(obj4));
29544 if (SWIG_arg_fail(5)) SWIG_fail;
29545 }
d55e5bfc
RD
29546 }
29547 {
29548 PyThreadState* __tstate = wxPyBeginAllowThreads();
29549 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
29550
29551 wxPyEndAllowThreads(__tstate);
29552 if (PyErr_Occurred()) SWIG_fail;
29553 }
29554 {
29555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29556 }
29557 return resultobj;
29558 fail:
29559 return NULL;
29560}
29561
29562
c32bde28 29563static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29564 PyObject *resultobj;
29565 wxWindow *arg1 = (wxWindow *) 0 ;
29566 wxPoint *arg2 = 0 ;
29567 bool result;
29568 wxPoint temp2 ;
29569 PyObject * obj0 = 0 ;
29570 PyObject * obj1 = 0 ;
29571 char *kwnames[] = {
29572 (char *) "self",(char *) "pt", NULL
29573 };
29574
29575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29577 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29578 {
29579 arg2 = &temp2;
29580 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29581 }
29582 {
29583 PyThreadState* __tstate = wxPyBeginAllowThreads();
29584 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
29585
29586 wxPyEndAllowThreads(__tstate);
29587 if (PyErr_Occurred()) SWIG_fail;
29588 }
29589 {
29590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29591 }
29592 return resultobj;
29593 fail:
29594 return NULL;
29595}
29596
29597
c32bde28 29598static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29599 PyObject *resultobj;
29600 wxWindow *arg1 = (wxWindow *) 0 ;
29601 wxRect *arg2 = 0 ;
29602 bool result;
29603 wxRect temp2 ;
29604 PyObject * obj0 = 0 ;
29605 PyObject * obj1 = 0 ;
29606 char *kwnames[] = {
29607 (char *) "self",(char *) "rect", NULL
29608 };
29609
29610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29612 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29613 {
29614 arg2 = &temp2;
29615 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29616 }
29617 {
29618 PyThreadState* __tstate = wxPyBeginAllowThreads();
29619 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
29620
29621 wxPyEndAllowThreads(__tstate);
29622 if (PyErr_Occurred()) SWIG_fail;
29623 }
29624 {
29625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29626 }
29627 return resultobj;
29628 fail:
29629 return NULL;
29630}
29631
29632
c32bde28 29633static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29634 PyObject *resultobj;
29635 wxWindow *arg1 = (wxWindow *) 0 ;
29636 wxVisualAttributes result;
29637 PyObject * obj0 = 0 ;
29638 char *kwnames[] = {
29639 (char *) "self", NULL
29640 };
29641
29642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
29643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29644 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29645 {
29646 PyThreadState* __tstate = wxPyBeginAllowThreads();
29647 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
29648
29649 wxPyEndAllowThreads(__tstate);
29650 if (PyErr_Occurred()) SWIG_fail;
29651 }
29652 {
29653 wxVisualAttributes * resultptr;
093d3ff1 29654 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
29655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29656 }
29657 return resultobj;
29658 fail:
29659 return NULL;
29660}
29661
29662
c32bde28 29663static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 29664 PyObject *resultobj;
093d3ff1 29665 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
29666 wxVisualAttributes result;
29667 PyObject * obj0 = 0 ;
29668 char *kwnames[] = {
29669 (char *) "variant", NULL
29670 };
29671
29672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
29673 if (obj0) {
093d3ff1
RD
29674 {
29675 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
29676 if (SWIG_arg_fail(1)) SWIG_fail;
29677 }
d55e5bfc
RD
29678 }
29679 {
0439c23b 29680 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29681 PyThreadState* __tstate = wxPyBeginAllowThreads();
29682 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
29683
29684 wxPyEndAllowThreads(__tstate);
110da5b0 29685 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29686 }
29687 {
29688 wxVisualAttributes * resultptr;
093d3ff1 29689 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
29690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29691 }
29692 return resultobj;
29693 fail:
29694 return NULL;
29695}
29696
29697
c32bde28 29698static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29699 PyObject *resultobj;
29700 wxWindow *arg1 = (wxWindow *) 0 ;
29701 wxColour *arg2 = 0 ;
29702 bool result;
29703 wxColour temp2 ;
29704 PyObject * obj0 = 0 ;
29705 PyObject * obj1 = 0 ;
29706 char *kwnames[] = {
29707 (char *) "self",(char *) "colour", NULL
29708 };
29709
29710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29713 {
29714 arg2 = &temp2;
29715 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29716 }
29717 {
29718 PyThreadState* __tstate = wxPyBeginAllowThreads();
29719 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
29720
29721 wxPyEndAllowThreads(__tstate);
29722 if (PyErr_Occurred()) SWIG_fail;
29723 }
29724 {
29725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29726 }
29727 return resultobj;
29728 fail:
29729 return NULL;
29730}
29731
29732
c32bde28 29733static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29734 PyObject *resultobj;
29735 wxWindow *arg1 = (wxWindow *) 0 ;
29736 wxColour *arg2 = 0 ;
29737 wxColour temp2 ;
29738 PyObject * obj0 = 0 ;
29739 PyObject * obj1 = 0 ;
29740 char *kwnames[] = {
29741 (char *) "self",(char *) "colour", NULL
29742 };
29743
412d302d 29744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29746 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29747 {
29748 arg2 = &temp2;
29749 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29750 }
29751 {
29752 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 29753 (arg1)->SetOwnBackgroundColour((wxColour const &)*arg2);
d55e5bfc
RD
29754
29755 wxPyEndAllowThreads(__tstate);
29756 if (PyErr_Occurred()) SWIG_fail;
29757 }
29758 Py_INCREF(Py_None); resultobj = Py_None;
29759 return resultobj;
29760 fail:
29761 return NULL;
29762}
29763
29764
c32bde28 29765static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29766 PyObject *resultobj;
29767 wxWindow *arg1 = (wxWindow *) 0 ;
29768 wxColour *arg2 = 0 ;
29769 bool result;
29770 wxColour temp2 ;
29771 PyObject * obj0 = 0 ;
29772 PyObject * obj1 = 0 ;
29773 char *kwnames[] = {
29774 (char *) "self",(char *) "colour", NULL
29775 };
29776
29777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29779 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29780 {
29781 arg2 = &temp2;
29782 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29783 }
29784 {
29785 PyThreadState* __tstate = wxPyBeginAllowThreads();
29786 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
29787
29788 wxPyEndAllowThreads(__tstate);
29789 if (PyErr_Occurred()) SWIG_fail;
29790 }
29791 {
29792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29793 }
29794 return resultobj;
29795 fail:
29796 return NULL;
29797}
29798
29799
c32bde28 29800static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29801 PyObject *resultobj;
29802 wxWindow *arg1 = (wxWindow *) 0 ;
29803 wxColour *arg2 = 0 ;
29804 wxColour temp2 ;
29805 PyObject * obj0 = 0 ;
29806 PyObject * obj1 = 0 ;
29807 char *kwnames[] = {
29808 (char *) "self",(char *) "colour", NULL
29809 };
29810
fa47d7a7 29811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29814 {
29815 arg2 = &temp2;
29816 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29817 }
29818 {
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 29820 (arg1)->SetOwnForegroundColour((wxColour const &)*arg2);
d55e5bfc
RD
29821
29822 wxPyEndAllowThreads(__tstate);
29823 if (PyErr_Occurred()) SWIG_fail;
29824 }
29825 Py_INCREF(Py_None); resultobj = Py_None;
29826 return resultobj;
29827 fail:
29828 return NULL;
29829}
29830
29831
c32bde28 29832static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29833 PyObject *resultobj;
29834 wxWindow *arg1 = (wxWindow *) 0 ;
29835 wxColour result;
29836 PyObject * obj0 = 0 ;
29837 char *kwnames[] = {
29838 (char *) "self", NULL
29839 };
29840
29841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
29842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29843 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29844 {
29845 PyThreadState* __tstate = wxPyBeginAllowThreads();
29846 result = ((wxWindow const *)arg1)->GetBackgroundColour();
29847
29848 wxPyEndAllowThreads(__tstate);
29849 if (PyErr_Occurred()) SWIG_fail;
29850 }
29851 {
29852 wxColour * resultptr;
093d3ff1 29853 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
29854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
29855 }
29856 return resultobj;
29857 fail:
29858 return NULL;
29859}
29860
29861
c32bde28 29862static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29863 PyObject *resultobj;
29864 wxWindow *arg1 = (wxWindow *) 0 ;
29865 wxColour result;
29866 PyObject * obj0 = 0 ;
29867 char *kwnames[] = {
29868 (char *) "self", NULL
29869 };
29870
29871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
29872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29873 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29874 {
29875 PyThreadState* __tstate = wxPyBeginAllowThreads();
29876 result = ((wxWindow const *)arg1)->GetForegroundColour();
29877
29878 wxPyEndAllowThreads(__tstate);
29879 if (PyErr_Occurred()) SWIG_fail;
29880 }
29881 {
29882 wxColour * resultptr;
093d3ff1 29883 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
29884 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
29885 }
29886 return resultobj;
29887 fail:
29888 return NULL;
29889}
29890
29891
dcb8fc74
RD
29892static PyObject *_wrap_Window_InheritsBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29893 PyObject *resultobj;
29894 wxWindow *arg1 = (wxWindow *) 0 ;
29895 bool result;
29896 PyObject * obj0 = 0 ;
29897 char *kwnames[] = {
29898 (char *) "self", NULL
29899 };
29900
29901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritsBackgroundColour",kwnames,&obj0)) goto fail;
29902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29903 if (SWIG_arg_fail(1)) SWIG_fail;
29904 {
29905 PyThreadState* __tstate = wxPyBeginAllowThreads();
29906 result = (bool)((wxWindow const *)arg1)->InheritsBackgroundColour();
29907
29908 wxPyEndAllowThreads(__tstate);
29909 if (PyErr_Occurred()) SWIG_fail;
29910 }
29911 {
29912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29913 }
29914 return resultobj;
29915 fail:
29916 return NULL;
29917}
29918
29919
29920static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwargs) {
29921 PyObject *resultobj;
29922 wxWindow *arg1 = (wxWindow *) 0 ;
29923 bool result;
29924 PyObject * obj0 = 0 ;
29925 char *kwnames[] = {
29926 (char *) "self", NULL
29927 };
29928
29929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_UseBgCol",kwnames,&obj0)) goto fail;
29930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29931 if (SWIG_arg_fail(1)) SWIG_fail;
29932 {
29933 PyThreadState* __tstate = wxPyBeginAllowThreads();
29934 result = (bool)((wxWindow const *)arg1)->UseBgCol();
29935
29936 wxPyEndAllowThreads(__tstate);
29937 if (PyErr_Occurred()) SWIG_fail;
29938 }
29939 {
29940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29941 }
29942 return resultobj;
29943 fail:
29944 return NULL;
29945}
29946
29947
c32bde28 29948static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
0f63ec68
RD
29949 PyObject *resultobj;
29950 wxWindow *arg1 = (wxWindow *) 0 ;
093d3ff1 29951 wxBackgroundStyle arg2 ;
0f63ec68
RD
29952 bool result;
29953 PyObject * obj0 = 0 ;
29954 PyObject * obj1 = 0 ;
29955 char *kwnames[] = {
29956 (char *) "self",(char *) "style", NULL
29957 };
29958
29959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29961 if (SWIG_arg_fail(1)) SWIG_fail;
29962 {
29963 arg2 = (wxBackgroundStyle)(SWIG_As_int(obj1));
29964 if (SWIG_arg_fail(2)) SWIG_fail;
29965 }
0f63ec68
RD
29966 {
29967 PyThreadState* __tstate = wxPyBeginAllowThreads();
29968 result = (bool)(arg1)->SetBackgroundStyle((wxBackgroundStyle )arg2);
29969
29970 wxPyEndAllowThreads(__tstate);
29971 if (PyErr_Occurred()) SWIG_fail;
29972 }
29973 {
29974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29975 }
29976 return resultobj;
29977 fail:
29978 return NULL;
29979}
29980
29981
c32bde28 29982static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
0f63ec68
RD
29983 PyObject *resultobj;
29984 wxWindow *arg1 = (wxWindow *) 0 ;
093d3ff1 29985 wxBackgroundStyle result;
0f63ec68
RD
29986 PyObject * obj0 = 0 ;
29987 char *kwnames[] = {
29988 (char *) "self", NULL
29989 };
29990
29991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
29992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29993 if (SWIG_arg_fail(1)) SWIG_fail;
0f63ec68
RD
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29996 result = (wxBackgroundStyle)((wxWindow const *)arg1)->GetBackgroundStyle();
0f63ec68
RD
29997
29998 wxPyEndAllowThreads(__tstate);
29999 if (PyErr_Occurred()) SWIG_fail;
30000 }
093d3ff1 30001 resultobj = SWIG_From_int((result));
0f63ec68
RD
30002 return resultobj;
30003 fail:
30004 return NULL;
30005}
30006
30007
51b83b37
RD
30008static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *args, PyObject *kwargs) {
30009 PyObject *resultobj;
30010 wxWindow *arg1 = (wxWindow *) 0 ;
30011 bool result;
30012 PyObject * obj0 = 0 ;
30013 char *kwnames[] = {
30014 (char *) "self", NULL
30015 };
30016
30017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasTransparentBackground",kwnames,&obj0)) goto fail;
30018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30019 if (SWIG_arg_fail(1)) SWIG_fail;
30020 {
30021 PyThreadState* __tstate = wxPyBeginAllowThreads();
30022 result = (bool)(arg1)->HasTransparentBackground();
30023
30024 wxPyEndAllowThreads(__tstate);
30025 if (PyErr_Occurred()) SWIG_fail;
30026 }
30027 {
30028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30029 }
30030 return resultobj;
30031 fail:
30032 return NULL;
30033}
30034
30035
c32bde28 30036static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30037 PyObject *resultobj;
30038 wxWindow *arg1 = (wxWindow *) 0 ;
30039 wxCursor *arg2 = 0 ;
30040 bool result;
30041 PyObject * obj0 = 0 ;
30042 PyObject * obj1 = 0 ;
30043 char *kwnames[] = {
30044 (char *) "self",(char *) "cursor", NULL
30045 };
30046
30047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30049 if (SWIG_arg_fail(1)) SWIG_fail;
30050 {
30051 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
30052 if (SWIG_arg_fail(2)) SWIG_fail;
30053 if (arg2 == NULL) {
30054 SWIG_null_ref("wxCursor");
30055 }
30056 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30057 }
30058 {
30059 PyThreadState* __tstate = wxPyBeginAllowThreads();
30060 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
30061
30062 wxPyEndAllowThreads(__tstate);
30063 if (PyErr_Occurred()) SWIG_fail;
30064 }
30065 {
30066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30067 }
30068 return resultobj;
30069 fail:
30070 return NULL;
30071}
30072
30073
c32bde28 30074static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30075 PyObject *resultobj;
30076 wxWindow *arg1 = (wxWindow *) 0 ;
a001823c 30077 wxCursor result;
d55e5bfc
RD
30078 PyObject * obj0 = 0 ;
30079 char *kwnames[] = {
30080 (char *) "self", NULL
30081 };
30082
30083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
30084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30086 {
30087 PyThreadState* __tstate = wxPyBeginAllowThreads();
a001823c 30088 result = (arg1)->GetCursor();
d55e5bfc
RD
30089
30090 wxPyEndAllowThreads(__tstate);
30091 if (PyErr_Occurred()) SWIG_fail;
30092 }
30093 {
a001823c 30094 wxCursor * resultptr;
093d3ff1 30095 resultptr = new wxCursor((wxCursor &)(result));
a001823c 30096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d55e5bfc
RD
30097 }
30098 return resultobj;
30099 fail:
30100 return NULL;
30101}
30102
30103
c32bde28 30104static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30105 PyObject *resultobj;
30106 wxWindow *arg1 = (wxWindow *) 0 ;
30107 wxFont *arg2 = 0 ;
30108 bool result;
30109 PyObject * obj0 = 0 ;
30110 PyObject * obj1 = 0 ;
30111 char *kwnames[] = {
30112 (char *) "self",(char *) "font", NULL
30113 };
30114
30115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30117 if (SWIG_arg_fail(1)) SWIG_fail;
30118 {
30119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30120 if (SWIG_arg_fail(2)) SWIG_fail;
30121 if (arg2 == NULL) {
30122 SWIG_null_ref("wxFont");
30123 }
30124 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30125 }
30126 {
30127 PyThreadState* __tstate = wxPyBeginAllowThreads();
30128 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
30129
30130 wxPyEndAllowThreads(__tstate);
30131 if (PyErr_Occurred()) SWIG_fail;
30132 }
30133 {
30134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30135 }
30136 return resultobj;
30137 fail:
30138 return NULL;
30139}
30140
30141
c32bde28 30142static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30143 PyObject *resultobj;
30144 wxWindow *arg1 = (wxWindow *) 0 ;
30145 wxFont *arg2 = 0 ;
30146 PyObject * obj0 = 0 ;
30147 PyObject * obj1 = 0 ;
30148 char *kwnames[] = {
30149 (char *) "self",(char *) "font", NULL
30150 };
30151
fa47d7a7 30152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30154 if (SWIG_arg_fail(1)) SWIG_fail;
30155 {
30156 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30157 if (SWIG_arg_fail(2)) SWIG_fail;
30158 if (arg2 == NULL) {
30159 SWIG_null_ref("wxFont");
30160 }
30161 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30162 }
30163 {
30164 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 30165 (arg1)->SetOwnFont((wxFont const &)*arg2);
d55e5bfc
RD
30166
30167 wxPyEndAllowThreads(__tstate);
30168 if (PyErr_Occurred()) SWIG_fail;
30169 }
30170 Py_INCREF(Py_None); resultobj = Py_None;
30171 return resultobj;
30172 fail:
30173 return NULL;
30174}
30175
30176
c32bde28 30177static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30178 PyObject *resultobj;
30179 wxWindow *arg1 = (wxWindow *) 0 ;
a001823c 30180 wxFont result;
d55e5bfc
RD
30181 PyObject * obj0 = 0 ;
30182 char *kwnames[] = {
30183 (char *) "self", NULL
30184 };
30185
30186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
30187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30189 {
30190 PyThreadState* __tstate = wxPyBeginAllowThreads();
a001823c 30191 result = (arg1)->GetFont();
d55e5bfc
RD
30192
30193 wxPyEndAllowThreads(__tstate);
30194 if (PyErr_Occurred()) SWIG_fail;
30195 }
30196 {
a001823c 30197 wxFont * resultptr;
093d3ff1 30198 resultptr = new wxFont((wxFont &)(result));
a001823c 30199 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d55e5bfc
RD
30200 }
30201 return resultobj;
30202 fail:
30203 return NULL;
30204}
30205
30206
c32bde28 30207static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30208 PyObject *resultobj;
30209 wxWindow *arg1 = (wxWindow *) 0 ;
30210 wxCaret *arg2 = (wxCaret *) 0 ;
30211 PyObject * obj0 = 0 ;
30212 PyObject * obj1 = 0 ;
30213 char *kwnames[] = {
30214 (char *) "self",(char *) "caret", NULL
30215 };
30216
30217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30219 if (SWIG_arg_fail(1)) SWIG_fail;
30220 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
30221 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30222 {
30223 PyThreadState* __tstate = wxPyBeginAllowThreads();
30224 (arg1)->SetCaret(arg2);
30225
30226 wxPyEndAllowThreads(__tstate);
30227 if (PyErr_Occurred()) SWIG_fail;
30228 }
30229 Py_INCREF(Py_None); resultobj = Py_None;
30230 return resultobj;
30231 fail:
30232 return NULL;
30233}
30234
30235
c32bde28 30236static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30237 PyObject *resultobj;
30238 wxWindow *arg1 = (wxWindow *) 0 ;
30239 wxCaret *result;
30240 PyObject * obj0 = 0 ;
30241 char *kwnames[] = {
30242 (char *) "self", NULL
30243 };
30244
30245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
093d3ff1
RD
30246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30247 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30248 {
30249 PyThreadState* __tstate = wxPyBeginAllowThreads();
30250 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
30251
30252 wxPyEndAllowThreads(__tstate);
30253 if (PyErr_Occurred()) SWIG_fail;
30254 }
30255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
30256 return resultobj;
30257 fail:
30258 return NULL;
30259}
30260
30261
c32bde28 30262static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30263 PyObject *resultobj;
30264 wxWindow *arg1 = (wxWindow *) 0 ;
30265 int result;
30266 PyObject * obj0 = 0 ;
30267 char *kwnames[] = {
30268 (char *) "self", NULL
30269 };
30270
30271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
30272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30274 {
30275 PyThreadState* __tstate = wxPyBeginAllowThreads();
30276 result = (int)((wxWindow const *)arg1)->GetCharHeight();
30277
30278 wxPyEndAllowThreads(__tstate);
30279 if (PyErr_Occurred()) SWIG_fail;
30280 }
093d3ff1
RD
30281 {
30282 resultobj = SWIG_From_int((int)(result));
30283 }
d55e5bfc
RD
30284 return resultobj;
30285 fail:
30286 return NULL;
30287}
30288
30289
c32bde28 30290static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30291 PyObject *resultobj;
30292 wxWindow *arg1 = (wxWindow *) 0 ;
30293 int result;
30294 PyObject * obj0 = 0 ;
30295 char *kwnames[] = {
30296 (char *) "self", NULL
30297 };
30298
30299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
30300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30302 {
30303 PyThreadState* __tstate = wxPyBeginAllowThreads();
30304 result = (int)((wxWindow const *)arg1)->GetCharWidth();
30305
30306 wxPyEndAllowThreads(__tstate);
30307 if (PyErr_Occurred()) SWIG_fail;
30308 }
093d3ff1
RD
30309 {
30310 resultobj = SWIG_From_int((int)(result));
30311 }
d55e5bfc
RD
30312 return resultobj;
30313 fail:
30314 return NULL;
30315}
30316
30317
c32bde28 30318static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30319 PyObject *resultobj;
30320 wxWindow *arg1 = (wxWindow *) 0 ;
30321 wxString *arg2 = 0 ;
30322 int *arg3 = (int *) 0 ;
30323 int *arg4 = (int *) 0 ;
ae8162c8 30324 bool temp2 = false ;
d55e5bfc 30325 int temp3 ;
c32bde28 30326 int res3 = 0 ;
d55e5bfc 30327 int temp4 ;
c32bde28 30328 int res4 = 0 ;
d55e5bfc
RD
30329 PyObject * obj0 = 0 ;
30330 PyObject * obj1 = 0 ;
30331 char *kwnames[] = {
30332 (char *) "self",(char *) "string", NULL
30333 };
30334
c32bde28
RD
30335 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30336 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 30337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30339 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30340 {
30341 arg2 = wxString_in_helper(obj1);
30342 if (arg2 == NULL) SWIG_fail;
ae8162c8 30343 temp2 = true;
d55e5bfc
RD
30344 }
30345 {
30346 PyThreadState* __tstate = wxPyBeginAllowThreads();
30347 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
30348
30349 wxPyEndAllowThreads(__tstate);
30350 if (PyErr_Occurred()) SWIG_fail;
30351 }
30352 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
30353 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30354 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30355 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
30356 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
30357 {
30358 if (temp2)
30359 delete arg2;
30360 }
30361 return resultobj;
30362 fail:
30363 {
30364 if (temp2)
30365 delete arg2;
30366 }
30367 return NULL;
30368}
30369
30370
c32bde28 30371static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30372 PyObject *resultobj;
30373 wxWindow *arg1 = (wxWindow *) 0 ;
30374 wxString *arg2 = 0 ;
30375 int *arg3 = (int *) 0 ;
30376 int *arg4 = (int *) 0 ;
30377 int *arg5 = (int *) 0 ;
30378 int *arg6 = (int *) 0 ;
30379 wxFont *arg7 = (wxFont *) NULL ;
ae8162c8 30380 bool temp2 = false ;
d55e5bfc 30381 int temp3 ;
c32bde28 30382 int res3 = 0 ;
d55e5bfc 30383 int temp4 ;
c32bde28 30384 int res4 = 0 ;
d55e5bfc 30385 int temp5 ;
c32bde28 30386 int res5 = 0 ;
d55e5bfc 30387 int temp6 ;
c32bde28 30388 int res6 = 0 ;
d55e5bfc
RD
30389 PyObject * obj0 = 0 ;
30390 PyObject * obj1 = 0 ;
30391 PyObject * obj2 = 0 ;
30392 char *kwnames[] = {
30393 (char *) "self",(char *) "string",(char *) "font", NULL
30394 };
30395
c32bde28
RD
30396 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30397 arg4 = &temp4; res4 = SWIG_NEWOBJ;
30398 arg5 = &temp5; res5 = SWIG_NEWOBJ;
30399 arg6 = &temp6; res6 = SWIG_NEWOBJ;
d55e5bfc 30400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30402 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30403 {
30404 arg2 = wxString_in_helper(obj1);
30405 if (arg2 == NULL) SWIG_fail;
ae8162c8 30406 temp2 = true;
d55e5bfc
RD
30407 }
30408 if (obj2) {
093d3ff1
RD
30409 SWIG_Python_ConvertPtr(obj2, (void **)&arg7, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
30410 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30411 }
30412 {
30413 PyThreadState* __tstate = wxPyBeginAllowThreads();
30414 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
30415
30416 wxPyEndAllowThreads(__tstate);
30417 if (PyErr_Occurred()) SWIG_fail;
30418 }
30419 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
30420 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30421 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30422 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
30423 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
30424 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
30425 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
30426 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
30427 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
30428 {
30429 if (temp2)
30430 delete arg2;
30431 }
30432 return resultobj;
30433 fail:
30434 {
30435 if (temp2)
30436 delete arg2;
30437 }
30438 return NULL;
30439}
30440
30441
c32bde28 30442static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30443 PyObject *resultobj;
30444 wxWindow *arg1 = (wxWindow *) 0 ;
30445 int *arg2 = (int *) 0 ;
30446 int *arg3 = (int *) 0 ;
30447 int temp2 ;
c32bde28 30448 int res2 = 0 ;
d55e5bfc 30449 int temp3 ;
c32bde28 30450 int res3 = 0 ;
d55e5bfc
RD
30451 PyObject * obj0 = 0 ;
30452 PyObject * obj1 = 0 ;
30453 PyObject * obj2 = 0 ;
30454 char *kwnames[] = {
30455 (char *) "self",(char *) "x",(char *) "y", NULL
30456 };
30457
30458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30460 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30461 {
c32bde28
RD
30462 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
30463 temp2 = SWIG_As_int(obj1);
093d3ff1 30464 if (SWIG_arg_fail(2)) SWIG_fail;
c32bde28
RD
30465 arg2 = &temp2;
30466 res2 = SWIG_NEWOBJ;
30467 }
d55e5bfc
RD
30468 }
30469 {
c32bde28
RD
30470 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
30471 temp3 = SWIG_As_int(obj2);
093d3ff1 30472 if (SWIG_arg_fail(3)) SWIG_fail;
c32bde28
RD
30473 arg3 = &temp3;
30474 res3 = SWIG_NEWOBJ;
30475 }
d55e5bfc
RD
30476 }
30477 {
30478 PyThreadState* __tstate = wxPyBeginAllowThreads();
30479 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
30480
30481 wxPyEndAllowThreads(__tstate);
30482 if (PyErr_Occurred()) SWIG_fail;
30483 }
30484 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
30485 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
30486 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
30487 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30488 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
30489 return resultobj;
30490 fail:
30491 return NULL;
30492}
30493
30494
c32bde28 30495static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30496 PyObject *resultobj;
30497 wxWindow *arg1 = (wxWindow *) 0 ;
30498 int *arg2 = (int *) 0 ;
30499 int *arg3 = (int *) 0 ;
30500 int temp2 ;
c32bde28 30501 int res2 = 0 ;
d55e5bfc 30502 int temp3 ;
c32bde28 30503 int res3 = 0 ;
d55e5bfc
RD
30504 PyObject * obj0 = 0 ;
30505 PyObject * obj1 = 0 ;
30506 PyObject * obj2 = 0 ;
30507 char *kwnames[] = {
30508 (char *) "self",(char *) "x",(char *) "y", NULL
30509 };
30510
30511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30514 {
c32bde28
RD
30515 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
30516 temp2 = SWIG_As_int(obj1);
093d3ff1 30517 if (SWIG_arg_fail(2)) SWIG_fail;
c32bde28
RD
30518 arg2 = &temp2;
30519 res2 = SWIG_NEWOBJ;
30520 }
d55e5bfc
RD
30521 }
30522 {
c32bde28
RD
30523 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
30524 temp3 = SWIG_As_int(obj2);
093d3ff1 30525 if (SWIG_arg_fail(3)) SWIG_fail;
c32bde28
RD
30526 arg3 = &temp3;
30527 res3 = SWIG_NEWOBJ;
30528 }
d55e5bfc
RD
30529 }
30530 {
30531 PyThreadState* __tstate = wxPyBeginAllowThreads();
30532 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
30533
30534 wxPyEndAllowThreads(__tstate);
30535 if (PyErr_Occurred()) SWIG_fail;
30536 }
30537 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
30538 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
30539 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
30540 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30541 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
30542 return resultobj;
30543 fail:
30544 return NULL;
30545}
30546
30547
c32bde28 30548static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30549 PyObject *resultobj;
30550 wxWindow *arg1 = (wxWindow *) 0 ;
30551 wxPoint *arg2 = 0 ;
30552 wxPoint result;
30553 wxPoint temp2 ;
30554 PyObject * obj0 = 0 ;
30555 PyObject * obj1 = 0 ;
30556 char *kwnames[] = {
30557 (char *) "self",(char *) "pt", NULL
30558 };
30559
30560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30562 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30563 {
30564 arg2 = &temp2;
30565 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30566 }
30567 {
30568 PyThreadState* __tstate = wxPyBeginAllowThreads();
30569 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
30570
30571 wxPyEndAllowThreads(__tstate);
30572 if (PyErr_Occurred()) SWIG_fail;
30573 }
30574 {
30575 wxPoint * resultptr;
093d3ff1 30576 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
30577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30578 }
30579 return resultobj;
30580 fail:
30581 return NULL;
30582}
30583
30584
c32bde28 30585static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30586 PyObject *resultobj;
30587 wxWindow *arg1 = (wxWindow *) 0 ;
30588 wxPoint *arg2 = 0 ;
30589 wxPoint result;
30590 wxPoint temp2 ;
30591 PyObject * obj0 = 0 ;
30592 PyObject * obj1 = 0 ;
30593 char *kwnames[] = {
30594 (char *) "self",(char *) "pt", NULL
30595 };
30596
30597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30599 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30600 {
30601 arg2 = &temp2;
30602 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30603 }
30604 {
30605 PyThreadState* __tstate = wxPyBeginAllowThreads();
30606 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
30607
30608 wxPyEndAllowThreads(__tstate);
30609 if (PyErr_Occurred()) SWIG_fail;
30610 }
30611 {
30612 wxPoint * resultptr;
093d3ff1 30613 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
30614 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30615 }
30616 return resultobj;
30617 fail:
30618 return NULL;
30619}
30620
30621
c32bde28 30622static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30623 PyObject *resultobj;
30624 wxWindow *arg1 = (wxWindow *) 0 ;
30625 int arg2 ;
30626 int arg3 ;
093d3ff1 30627 wxHitTest result;
d55e5bfc
RD
30628 PyObject * obj0 = 0 ;
30629 PyObject * obj1 = 0 ;
30630 PyObject * obj2 = 0 ;
30631 char *kwnames[] = {
30632 (char *) "self",(char *) "x",(char *) "y", NULL
30633 };
30634
30635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30637 if (SWIG_arg_fail(1)) SWIG_fail;
30638 {
30639 arg2 = (int)(SWIG_As_int(obj1));
30640 if (SWIG_arg_fail(2)) SWIG_fail;
30641 }
30642 {
30643 arg3 = (int)(SWIG_As_int(obj2));
30644 if (SWIG_arg_fail(3)) SWIG_fail;
30645 }
d55e5bfc
RD
30646 {
30647 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 30648 result = (wxHitTest)((wxWindow const *)arg1)->HitTest(arg2,arg3);
d55e5bfc
RD
30649
30650 wxPyEndAllowThreads(__tstate);
30651 if (PyErr_Occurred()) SWIG_fail;
30652 }
093d3ff1 30653 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30654 return resultobj;
30655 fail:
30656 return NULL;
30657}
30658
30659
c32bde28 30660static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30661 PyObject *resultobj;
30662 wxWindow *arg1 = (wxWindow *) 0 ;
30663 wxPoint *arg2 = 0 ;
093d3ff1 30664 wxHitTest result;
d55e5bfc
RD
30665 wxPoint temp2 ;
30666 PyObject * obj0 = 0 ;
30667 PyObject * obj1 = 0 ;
30668 char *kwnames[] = {
30669 (char *) "self",(char *) "pt", NULL
30670 };
30671
30672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30674 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30675 {
30676 arg2 = &temp2;
30677 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30678 }
30679 {
30680 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 30681 result = (wxHitTest)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
d55e5bfc
RD
30682
30683 wxPyEndAllowThreads(__tstate);
30684 if (PyErr_Occurred()) SWIG_fail;
30685 }
093d3ff1 30686 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30687 return resultobj;
30688 fail:
30689 return NULL;
30690}
30691
30692
c32bde28 30693static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
30694 PyObject *resultobj;
30695 wxWindow *arg1 = (wxWindow *) 0 ;
30696 long arg2 ;
093d3ff1 30697 wxBorder result;
d55e5bfc
RD
30698 PyObject * obj0 = 0 ;
30699 PyObject * obj1 = 0 ;
30700
30701 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
093d3ff1
RD
30702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30703 if (SWIG_arg_fail(1)) SWIG_fail;
30704 {
30705 arg2 = (long)(SWIG_As_long(obj1));
30706 if (SWIG_arg_fail(2)) SWIG_fail;
30707 }
d55e5bfc
RD
30708 {
30709 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 30710 result = (wxBorder)((wxWindow const *)arg1)->GetBorder(arg2);
d55e5bfc
RD
30711
30712 wxPyEndAllowThreads(__tstate);
30713 if (PyErr_Occurred()) SWIG_fail;
30714 }
093d3ff1 30715 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30716 return resultobj;
30717 fail:
30718 return NULL;
30719}
30720
30721
c32bde28 30722static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
30723 PyObject *resultobj;
30724 wxWindow *arg1 = (wxWindow *) 0 ;
093d3ff1 30725 wxBorder result;
d55e5bfc
RD
30726 PyObject * obj0 = 0 ;
30727
30728 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
093d3ff1
RD
30729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30730 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30731 {
30732 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 30733 result = (wxBorder)((wxWindow const *)arg1)->GetBorder();
d55e5bfc
RD
30734
30735 wxPyEndAllowThreads(__tstate);
30736 if (PyErr_Occurred()) SWIG_fail;
30737 }
093d3ff1 30738 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30739 return resultobj;
30740 fail:
30741 return NULL;
30742}
30743
30744
30745static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
30746 int argc;
30747 PyObject *argv[3];
30748 int ii;
30749
30750 argc = PyObject_Length(args);
30751 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
30752 argv[ii] = PyTuple_GetItem(args,ii);
30753 }
30754 if (argc == 1) {
30755 int _v;
30756 {
30757 void *ptr;
30758 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
30759 _v = 0;
30760 PyErr_Clear();
30761 } else {
30762 _v = 1;
30763 }
30764 }
30765 if (_v) {
30766 return _wrap_Window_GetBorder__SWIG_1(self,args);
30767 }
30768 }
30769 if (argc == 2) {
30770 int _v;
30771 {
30772 void *ptr;
30773 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
30774 _v = 0;
30775 PyErr_Clear();
30776 } else {
30777 _v = 1;
30778 }
30779 }
30780 if (_v) {
c32bde28 30781 _v = SWIG_Check_long(argv[1]);
d55e5bfc
RD
30782 if (_v) {
30783 return _wrap_Window_GetBorder__SWIG_0(self,args);
30784 }
30785 }
30786 }
30787
093d3ff1 30788 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'Window_GetBorder'");
d55e5bfc
RD
30789 return NULL;
30790}
30791
30792
c32bde28 30793static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30794 PyObject *resultobj;
30795 wxWindow *arg1 = (wxWindow *) 0 ;
30796 long arg2 = (long) wxUPDATE_UI_NONE ;
30797 PyObject * obj0 = 0 ;
30798 PyObject * obj1 = 0 ;
30799 char *kwnames[] = {
30800 (char *) "self",(char *) "flags", NULL
30801 };
30802
30803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30805 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30806 if (obj1) {
093d3ff1
RD
30807 {
30808 arg2 = (long)(SWIG_As_long(obj1));
30809 if (SWIG_arg_fail(2)) SWIG_fail;
30810 }
d55e5bfc
RD
30811 }
30812 {
30813 PyThreadState* __tstate = wxPyBeginAllowThreads();
30814 (arg1)->UpdateWindowUI(arg2);
30815
30816 wxPyEndAllowThreads(__tstate);
30817 if (PyErr_Occurred()) SWIG_fail;
30818 }
30819 Py_INCREF(Py_None); resultobj = Py_None;
30820 return resultobj;
30821 fail:
30822 return NULL;
30823}
30824
30825
c32bde28 30826static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30827 PyObject *resultobj;
30828 wxWindow *arg1 = (wxWindow *) 0 ;
30829 wxMenu *arg2 = (wxMenu *) 0 ;
7a0b95b0
RD
30830 int arg3 = (int) -1 ;
30831 int arg4 = (int) -1 ;
d55e5bfc
RD
30832 bool result;
30833 PyObject * obj0 = 0 ;
30834 PyObject * obj1 = 0 ;
30835 PyObject * obj2 = 0 ;
30836 PyObject * obj3 = 0 ;
30837 char *kwnames[] = {
30838 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30839 };
30840
7a0b95b0 30841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30843 if (SWIG_arg_fail(1)) SWIG_fail;
30844 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
30845 if (SWIG_arg_fail(2)) SWIG_fail;
7a0b95b0 30846 if (obj2) {
093d3ff1
RD
30847 {
30848 arg3 = (int)(SWIG_As_int(obj2));
30849 if (SWIG_arg_fail(3)) SWIG_fail;
30850 }
7a0b95b0
RD
30851 }
30852 if (obj3) {
093d3ff1
RD
30853 {
30854 arg4 = (int)(SWIG_As_int(obj3));
30855 if (SWIG_arg_fail(4)) SWIG_fail;
30856 }
7a0b95b0 30857 }
d55e5bfc
RD
30858 {
30859 PyThreadState* __tstate = wxPyBeginAllowThreads();
30860 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
30861
30862 wxPyEndAllowThreads(__tstate);
30863 if (PyErr_Occurred()) SWIG_fail;
30864 }
30865 {
30866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30867 }
30868 return resultobj;
30869 fail:
30870 return NULL;
30871}
30872
30873
c32bde28 30874static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30875 PyObject *resultobj;
30876 wxWindow *arg1 = (wxWindow *) 0 ;
30877 wxMenu *arg2 = (wxMenu *) 0 ;
7a0b95b0
RD
30878 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30879 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
d55e5bfc
RD
30880 bool result;
30881 wxPoint temp3 ;
30882 PyObject * obj0 = 0 ;
30883 PyObject * obj1 = 0 ;
30884 PyObject * obj2 = 0 ;
30885 char *kwnames[] = {
30886 (char *) "self",(char *) "menu",(char *) "pos", NULL
30887 };
30888
7a0b95b0 30889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30891 if (SWIG_arg_fail(1)) SWIG_fail;
30892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
30893 if (SWIG_arg_fail(2)) SWIG_fail;
7a0b95b0
RD
30894 if (obj2) {
30895 {
30896 arg3 = &temp3;
30897 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30898 }
d55e5bfc
RD
30899 }
30900 {
30901 PyThreadState* __tstate = wxPyBeginAllowThreads();
30902 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
30903
30904 wxPyEndAllowThreads(__tstate);
30905 if (PyErr_Occurred()) SWIG_fail;
30906 }
30907 {
30908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30909 }
30910 return resultobj;
30911 fail:
30912 return NULL;
30913}
30914
30915
c32bde28 30916static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30917 PyObject *resultobj;
30918 wxWindow *arg1 = (wxWindow *) 0 ;
30919 long result;
30920 PyObject * obj0 = 0 ;
30921 char *kwnames[] = {
30922 (char *) "self", NULL
30923 };
30924
30925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
093d3ff1
RD
30926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30928 {
30929 PyThreadState* __tstate = wxPyBeginAllowThreads();
30930 result = (long)wxWindow_GetHandle(arg1);
30931
30932 wxPyEndAllowThreads(__tstate);
30933 if (PyErr_Occurred()) SWIG_fail;
30934 }
093d3ff1
RD
30935 {
30936 resultobj = SWIG_From_long((long)(result));
30937 }
d55e5bfc
RD
30938 return resultobj;
30939 fail:
30940 return NULL;
30941}
30942
30943
7e63a440
RD
30944static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
30945 PyObject *resultobj;
30946 wxWindow *arg1 = (wxWindow *) 0 ;
30947 long arg2 ;
30948 PyObject * obj0 = 0 ;
30949 PyObject * obj1 = 0 ;
30950 char *kwnames[] = {
30951 (char *) "self",(char *) "handle", NULL
30952 };
30953
30954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AssociateHandle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30956 if (SWIG_arg_fail(1)) SWIG_fail;
30957 {
30958 arg2 = (long)(SWIG_As_long(obj1));
30959 if (SWIG_arg_fail(2)) SWIG_fail;
30960 }
7e63a440
RD
30961 {
30962 PyThreadState* __tstate = wxPyBeginAllowThreads();
30963 wxWindow_AssociateHandle(arg1,arg2);
30964
30965 wxPyEndAllowThreads(__tstate);
30966 if (PyErr_Occurred()) SWIG_fail;
30967 }
30968 Py_INCREF(Py_None); resultobj = Py_None;
30969 return resultobj;
30970 fail:
30971 return NULL;
30972}
30973
30974
30975static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
30976 PyObject *resultobj;
30977 wxWindow *arg1 = (wxWindow *) 0 ;
30978 PyObject * obj0 = 0 ;
30979 char *kwnames[] = {
30980 (char *) "self", NULL
30981 };
30982
30983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DissociateHandle",kwnames,&obj0)) goto fail;
093d3ff1
RD
30984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30985 if (SWIG_arg_fail(1)) SWIG_fail;
7e63a440
RD
30986 {
30987 PyThreadState* __tstate = wxPyBeginAllowThreads();
30988 (arg1)->DissociateHandle();
30989
30990 wxPyEndAllowThreads(__tstate);
30991 if (PyErr_Occurred()) SWIG_fail;
30992 }
30993 Py_INCREF(Py_None); resultobj = Py_None;
30994 return resultobj;
30995 fail:
30996 return NULL;
30997}
30998
30999
c32bde28 31000static PyObject *_wrap_Window_OnPaint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31001 PyObject *resultobj;
31002 wxWindow *arg1 = (wxWindow *) 0 ;
31003 wxPaintEvent *arg2 = 0 ;
31004 PyObject * obj0 = 0 ;
31005 PyObject * obj1 = 0 ;
31006 char *kwnames[] = {
31007 (char *) "self",(char *) "event", NULL
31008 };
31009
31010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_OnPaint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31012 if (SWIG_arg_fail(1)) SWIG_fail;
31013 {
31014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPaintEvent, SWIG_POINTER_EXCEPTION | 0);
31015 if (SWIG_arg_fail(2)) SWIG_fail;
31016 if (arg2 == NULL) {
31017 SWIG_null_ref("wxPaintEvent");
31018 }
31019 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31020 }
31021 {
31022 PyThreadState* __tstate = wxPyBeginAllowThreads();
31023 (arg1)->OnPaint(*arg2);
31024
31025 wxPyEndAllowThreads(__tstate);
31026 if (PyErr_Occurred()) SWIG_fail;
31027 }
31028 Py_INCREF(Py_None); resultobj = Py_None;
31029 return resultobj;
31030 fail:
31031 return NULL;
31032}
31033
31034
c32bde28 31035static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31036 PyObject *resultobj;
31037 wxWindow *arg1 = (wxWindow *) 0 ;
31038 int arg2 ;
31039 bool result;
31040 PyObject * obj0 = 0 ;
31041 PyObject * obj1 = 0 ;
31042 char *kwnames[] = {
31043 (char *) "self",(char *) "orient", NULL
31044 };
31045
31046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31048 if (SWIG_arg_fail(1)) SWIG_fail;
31049 {
31050 arg2 = (int)(SWIG_As_int(obj1));
31051 if (SWIG_arg_fail(2)) SWIG_fail;
31052 }
d55e5bfc
RD
31053 {
31054 PyThreadState* __tstate = wxPyBeginAllowThreads();
31055 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
31056
31057 wxPyEndAllowThreads(__tstate);
31058 if (PyErr_Occurred()) SWIG_fail;
31059 }
31060 {
31061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31062 }
31063 return resultobj;
31064 fail:
31065 return NULL;
31066}
31067
31068
c32bde28 31069static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31070 PyObject *resultobj;
31071 wxWindow *arg1 = (wxWindow *) 0 ;
31072 int arg2 ;
31073 int arg3 ;
31074 int arg4 ;
31075 int arg5 ;
ae8162c8 31076 bool arg6 = (bool) true ;
d55e5bfc
RD
31077 PyObject * obj0 = 0 ;
31078 PyObject * obj1 = 0 ;
31079 PyObject * obj2 = 0 ;
31080 PyObject * obj3 = 0 ;
31081 PyObject * obj4 = 0 ;
31082 PyObject * obj5 = 0 ;
31083 char *kwnames[] = {
79fccf9d 31084 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
d55e5bfc
RD
31085 };
31086
31087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
31088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31089 if (SWIG_arg_fail(1)) SWIG_fail;
31090 {
31091 arg2 = (int)(SWIG_As_int(obj1));
31092 if (SWIG_arg_fail(2)) SWIG_fail;
31093 }
31094 {
31095 arg3 = (int)(SWIG_As_int(obj2));
31096 if (SWIG_arg_fail(3)) SWIG_fail;
31097 }
31098 {
31099 arg4 = (int)(SWIG_As_int(obj3));
31100 if (SWIG_arg_fail(4)) SWIG_fail;
31101 }
31102 {
31103 arg5 = (int)(SWIG_As_int(obj4));
31104 if (SWIG_arg_fail(5)) SWIG_fail;
31105 }
d55e5bfc 31106 if (obj5) {
093d3ff1
RD
31107 {
31108 arg6 = (bool)(SWIG_As_bool(obj5));
31109 if (SWIG_arg_fail(6)) SWIG_fail;
31110 }
d55e5bfc
RD
31111 }
31112 {
31113 PyThreadState* __tstate = wxPyBeginAllowThreads();
31114 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
31115
31116 wxPyEndAllowThreads(__tstate);
31117 if (PyErr_Occurred()) SWIG_fail;
31118 }
31119 Py_INCREF(Py_None); resultobj = Py_None;
31120 return resultobj;
31121 fail:
31122 return NULL;
31123}
31124
31125
c32bde28 31126static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31127 PyObject *resultobj;
31128 wxWindow *arg1 = (wxWindow *) 0 ;
31129 int arg2 ;
31130 int arg3 ;
ae8162c8 31131 bool arg4 = (bool) true ;
d55e5bfc
RD
31132 PyObject * obj0 = 0 ;
31133 PyObject * obj1 = 0 ;
31134 PyObject * obj2 = 0 ;
31135 PyObject * obj3 = 0 ;
31136 char *kwnames[] = {
31137 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31138 };
31139
31140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
31141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31142 if (SWIG_arg_fail(1)) SWIG_fail;
31143 {
31144 arg2 = (int)(SWIG_As_int(obj1));
31145 if (SWIG_arg_fail(2)) SWIG_fail;
31146 }
31147 {
31148 arg3 = (int)(SWIG_As_int(obj2));
31149 if (SWIG_arg_fail(3)) SWIG_fail;
31150 }
d55e5bfc 31151 if (obj3) {
093d3ff1
RD
31152 {
31153 arg4 = (bool)(SWIG_As_bool(obj3));
31154 if (SWIG_arg_fail(4)) SWIG_fail;
31155 }
d55e5bfc
RD
31156 }
31157 {
31158 PyThreadState* __tstate = wxPyBeginAllowThreads();
31159 (arg1)->SetScrollPos(arg2,arg3,arg4);
31160
31161 wxPyEndAllowThreads(__tstate);
31162 if (PyErr_Occurred()) SWIG_fail;
31163 }
31164 Py_INCREF(Py_None); resultobj = Py_None;
31165 return resultobj;
31166 fail:
31167 return NULL;
31168}
31169
31170
c32bde28 31171static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31172 PyObject *resultobj;
31173 wxWindow *arg1 = (wxWindow *) 0 ;
31174 int arg2 ;
31175 int result;
31176 PyObject * obj0 = 0 ;
31177 PyObject * obj1 = 0 ;
31178 char *kwnames[] = {
31179 (char *) "self",(char *) "orientation", NULL
31180 };
31181
31182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31184 if (SWIG_arg_fail(1)) SWIG_fail;
31185 {
31186 arg2 = (int)(SWIG_As_int(obj1));
31187 if (SWIG_arg_fail(2)) SWIG_fail;
31188 }
d55e5bfc
RD
31189 {
31190 PyThreadState* __tstate = wxPyBeginAllowThreads();
31191 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
31192
31193 wxPyEndAllowThreads(__tstate);
31194 if (PyErr_Occurred()) SWIG_fail;
31195 }
093d3ff1
RD
31196 {
31197 resultobj = SWIG_From_int((int)(result));
31198 }
d55e5bfc
RD
31199 return resultobj;
31200 fail:
31201 return NULL;
31202}
31203
31204
c32bde28 31205static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31206 PyObject *resultobj;
31207 wxWindow *arg1 = (wxWindow *) 0 ;
31208 int arg2 ;
31209 int result;
31210 PyObject * obj0 = 0 ;
31211 PyObject * obj1 = 0 ;
31212 char *kwnames[] = {
31213 (char *) "self",(char *) "orientation", NULL
31214 };
31215
31216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31218 if (SWIG_arg_fail(1)) SWIG_fail;
31219 {
31220 arg2 = (int)(SWIG_As_int(obj1));
31221 if (SWIG_arg_fail(2)) SWIG_fail;
31222 }
d55e5bfc
RD
31223 {
31224 PyThreadState* __tstate = wxPyBeginAllowThreads();
31225 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
31226
31227 wxPyEndAllowThreads(__tstate);
31228 if (PyErr_Occurred()) SWIG_fail;
31229 }
093d3ff1
RD
31230 {
31231 resultobj = SWIG_From_int((int)(result));
31232 }
d55e5bfc
RD
31233 return resultobj;
31234 fail:
31235 return NULL;
31236}
31237
31238
c32bde28 31239static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31240 PyObject *resultobj;
31241 wxWindow *arg1 = (wxWindow *) 0 ;
31242 int arg2 ;
31243 int result;
31244 PyObject * obj0 = 0 ;
31245 PyObject * obj1 = 0 ;
31246 char *kwnames[] = {
31247 (char *) "self",(char *) "orientation", NULL
31248 };
31249
31250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31252 if (SWIG_arg_fail(1)) SWIG_fail;
31253 {
31254 arg2 = (int)(SWIG_As_int(obj1));
31255 if (SWIG_arg_fail(2)) SWIG_fail;
31256 }
d55e5bfc
RD
31257 {
31258 PyThreadState* __tstate = wxPyBeginAllowThreads();
31259 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
31260
31261 wxPyEndAllowThreads(__tstate);
31262 if (PyErr_Occurred()) SWIG_fail;
31263 }
093d3ff1
RD
31264 {
31265 resultobj = SWIG_From_int((int)(result));
31266 }
d55e5bfc
RD
31267 return resultobj;
31268 fail:
31269 return NULL;
31270}
31271
31272
c32bde28 31273static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31274 PyObject *resultobj;
31275 wxWindow *arg1 = (wxWindow *) 0 ;
31276 int arg2 ;
31277 int arg3 ;
31278 wxRect *arg4 = (wxRect *) NULL ;
31279 PyObject * obj0 = 0 ;
31280 PyObject * obj1 = 0 ;
31281 PyObject * obj2 = 0 ;
31282 PyObject * obj3 = 0 ;
31283 char *kwnames[] = {
31284 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31285 };
31286
31287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
31288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31289 if (SWIG_arg_fail(1)) SWIG_fail;
31290 {
31291 arg2 = (int)(SWIG_As_int(obj1));
31292 if (SWIG_arg_fail(2)) SWIG_fail;
31293 }
31294 {
31295 arg3 = (int)(SWIG_As_int(obj2));
31296 if (SWIG_arg_fail(3)) SWIG_fail;
31297 }
d55e5bfc 31298 if (obj3) {
093d3ff1
RD
31299 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
31300 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
31301 }
31302 {
31303 PyThreadState* __tstate = wxPyBeginAllowThreads();
31304 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
31305
31306 wxPyEndAllowThreads(__tstate);
31307 if (PyErr_Occurred()) SWIG_fail;
31308 }
31309 Py_INCREF(Py_None); resultobj = Py_None;
31310 return resultobj;
31311 fail:
31312 return NULL;
31313}
31314
31315
c32bde28 31316static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31317 PyObject *resultobj;
31318 wxWindow *arg1 = (wxWindow *) 0 ;
31319 int arg2 ;
31320 bool result;
31321 PyObject * obj0 = 0 ;
31322 PyObject * obj1 = 0 ;
31323 char *kwnames[] = {
31324 (char *) "self",(char *) "lines", NULL
31325 };
31326
31327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31329 if (SWIG_arg_fail(1)) SWIG_fail;
31330 {
31331 arg2 = (int)(SWIG_As_int(obj1));
31332 if (SWIG_arg_fail(2)) SWIG_fail;
31333 }
d55e5bfc
RD
31334 {
31335 PyThreadState* __tstate = wxPyBeginAllowThreads();
31336 result = (bool)(arg1)->ScrollLines(arg2);
31337
31338 wxPyEndAllowThreads(__tstate);
31339 if (PyErr_Occurred()) SWIG_fail;
31340 }
31341 {
31342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31343 }
31344 return resultobj;
31345 fail:
31346 return NULL;
31347}
31348
31349
c32bde28 31350static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31351 PyObject *resultobj;
31352 wxWindow *arg1 = (wxWindow *) 0 ;
31353 int arg2 ;
31354 bool result;
31355 PyObject * obj0 = 0 ;
31356 PyObject * obj1 = 0 ;
31357 char *kwnames[] = {
31358 (char *) "self",(char *) "pages", NULL
31359 };
31360
31361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31363 if (SWIG_arg_fail(1)) SWIG_fail;
31364 {
31365 arg2 = (int)(SWIG_As_int(obj1));
31366 if (SWIG_arg_fail(2)) SWIG_fail;
31367 }
d55e5bfc
RD
31368 {
31369 PyThreadState* __tstate = wxPyBeginAllowThreads();
31370 result = (bool)(arg1)->ScrollPages(arg2);
31371
31372 wxPyEndAllowThreads(__tstate);
31373 if (PyErr_Occurred()) SWIG_fail;
31374 }
31375 {
31376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31377 }
31378 return resultobj;
31379 fail:
31380 return NULL;
31381}
31382
31383
c32bde28 31384static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31385 PyObject *resultobj;
31386 wxWindow *arg1 = (wxWindow *) 0 ;
31387 bool result;
31388 PyObject * obj0 = 0 ;
31389 char *kwnames[] = {
31390 (char *) "self", NULL
31391 };
31392
31393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
093d3ff1
RD
31394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31396 {
31397 PyThreadState* __tstate = wxPyBeginAllowThreads();
31398 result = (bool)(arg1)->LineUp();
31399
31400 wxPyEndAllowThreads(__tstate);
31401 if (PyErr_Occurred()) SWIG_fail;
31402 }
31403 {
31404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31405 }
31406 return resultobj;
31407 fail:
31408 return NULL;
31409}
31410
31411
c32bde28 31412static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31413 PyObject *resultobj;
31414 wxWindow *arg1 = (wxWindow *) 0 ;
31415 bool result;
31416 PyObject * obj0 = 0 ;
31417 char *kwnames[] = {
31418 (char *) "self", NULL
31419 };
31420
31421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
31422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31424 {
31425 PyThreadState* __tstate = wxPyBeginAllowThreads();
31426 result = (bool)(arg1)->LineDown();
31427
31428 wxPyEndAllowThreads(__tstate);
31429 if (PyErr_Occurred()) SWIG_fail;
31430 }
31431 {
31432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31433 }
31434 return resultobj;
31435 fail:
31436 return NULL;
31437}
31438
31439
c32bde28 31440static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31441 PyObject *resultobj;
31442 wxWindow *arg1 = (wxWindow *) 0 ;
31443 bool result;
31444 PyObject * obj0 = 0 ;
31445 char *kwnames[] = {
31446 (char *) "self", NULL
31447 };
31448
31449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
093d3ff1
RD
31450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31452 {
31453 PyThreadState* __tstate = wxPyBeginAllowThreads();
31454 result = (bool)(arg1)->PageUp();
31455
31456 wxPyEndAllowThreads(__tstate);
31457 if (PyErr_Occurred()) SWIG_fail;
31458 }
31459 {
31460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31461 }
31462 return resultobj;
31463 fail:
31464 return NULL;
31465}
31466
31467
c32bde28 31468static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31469 PyObject *resultobj;
31470 wxWindow *arg1 = (wxWindow *) 0 ;
31471 bool result;
31472 PyObject * obj0 = 0 ;
31473 char *kwnames[] = {
31474 (char *) "self", NULL
31475 };
31476
31477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
31478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31480 {
31481 PyThreadState* __tstate = wxPyBeginAllowThreads();
31482 result = (bool)(arg1)->PageDown();
31483
31484 wxPyEndAllowThreads(__tstate);
31485 if (PyErr_Occurred()) SWIG_fail;
31486 }
31487 {
31488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31489 }
31490 return resultobj;
31491 fail:
31492 return NULL;
31493}
31494
31495
c32bde28 31496static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31497 PyObject *resultobj;
31498 wxWindow *arg1 = (wxWindow *) 0 ;
31499 wxString *arg2 = 0 ;
ae8162c8 31500 bool temp2 = false ;
d55e5bfc
RD
31501 PyObject * obj0 = 0 ;
31502 PyObject * obj1 = 0 ;
31503 char *kwnames[] = {
31504 (char *) "self",(char *) "text", NULL
31505 };
31506
31507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31510 {
31511 arg2 = wxString_in_helper(obj1);
31512 if (arg2 == NULL) SWIG_fail;
ae8162c8 31513 temp2 = true;
d55e5bfc
RD
31514 }
31515 {
31516 PyThreadState* __tstate = wxPyBeginAllowThreads();
31517 (arg1)->SetHelpText((wxString const &)*arg2);
31518
31519 wxPyEndAllowThreads(__tstate);
31520 if (PyErr_Occurred()) SWIG_fail;
31521 }
31522 Py_INCREF(Py_None); resultobj = Py_None;
31523 {
31524 if (temp2)
31525 delete arg2;
31526 }
31527 return resultobj;
31528 fail:
31529 {
31530 if (temp2)
31531 delete arg2;
31532 }
31533 return NULL;
31534}
31535
31536
c32bde28 31537static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31538 PyObject *resultobj;
31539 wxWindow *arg1 = (wxWindow *) 0 ;
31540 wxString *arg2 = 0 ;
ae8162c8 31541 bool temp2 = false ;
d55e5bfc
RD
31542 PyObject * obj0 = 0 ;
31543 PyObject * obj1 = 0 ;
31544 char *kwnames[] = {
31545 (char *) "self",(char *) "text", NULL
31546 };
31547
31548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31550 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31551 {
31552 arg2 = wxString_in_helper(obj1);
31553 if (arg2 == NULL) SWIG_fail;
ae8162c8 31554 temp2 = true;
d55e5bfc
RD
31555 }
31556 {
31557 PyThreadState* __tstate = wxPyBeginAllowThreads();
31558 (arg1)->SetHelpTextForId((wxString const &)*arg2);
31559
31560 wxPyEndAllowThreads(__tstate);
31561 if (PyErr_Occurred()) SWIG_fail;
31562 }
31563 Py_INCREF(Py_None); resultobj = Py_None;
31564 {
31565 if (temp2)
31566 delete arg2;
31567 }
31568 return resultobj;
31569 fail:
31570 {
31571 if (temp2)
31572 delete arg2;
31573 }
31574 return NULL;
31575}
31576
31577
c32bde28 31578static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31579 PyObject *resultobj;
31580 wxWindow *arg1 = (wxWindow *) 0 ;
31581 wxString result;
31582 PyObject * obj0 = 0 ;
31583 char *kwnames[] = {
31584 (char *) "self", NULL
31585 };
31586
31587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
093d3ff1
RD
31588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31590 {
31591 PyThreadState* __tstate = wxPyBeginAllowThreads();
31592 result = ((wxWindow const *)arg1)->GetHelpText();
31593
31594 wxPyEndAllowThreads(__tstate);
31595 if (PyErr_Occurred()) SWIG_fail;
31596 }
31597 {
31598#if wxUSE_UNICODE
31599 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31600#else
31601 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31602#endif
31603 }
31604 return resultobj;
31605 fail:
31606 return NULL;
31607}
31608
31609
c32bde28 31610static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31611 PyObject *resultobj;
31612 wxWindow *arg1 = (wxWindow *) 0 ;
31613 wxString *arg2 = 0 ;
ae8162c8 31614 bool temp2 = false ;
d55e5bfc
RD
31615 PyObject * obj0 = 0 ;
31616 PyObject * obj1 = 0 ;
31617 char *kwnames[] = {
31618 (char *) "self",(char *) "tip", NULL
31619 };
31620
31621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31624 {
31625 arg2 = wxString_in_helper(obj1);
31626 if (arg2 == NULL) SWIG_fail;
ae8162c8 31627 temp2 = true;
d55e5bfc
RD
31628 }
31629 {
31630 PyThreadState* __tstate = wxPyBeginAllowThreads();
31631 (arg1)->SetToolTip((wxString const &)*arg2);
31632
31633 wxPyEndAllowThreads(__tstate);
31634 if (PyErr_Occurred()) SWIG_fail;
31635 }
31636 Py_INCREF(Py_None); resultobj = Py_None;
31637 {
31638 if (temp2)
31639 delete arg2;
31640 }
31641 return resultobj;
31642 fail:
31643 {
31644 if (temp2)
31645 delete arg2;
31646 }
31647 return NULL;
31648}
31649
31650
c32bde28 31651static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31652 PyObject *resultobj;
31653 wxWindow *arg1 = (wxWindow *) 0 ;
31654 wxToolTip *arg2 = (wxToolTip *) 0 ;
31655 PyObject * obj0 = 0 ;
31656 PyObject * obj1 = 0 ;
31657 char *kwnames[] = {
31658 (char *) "self",(char *) "tip", NULL
31659 };
31660
31661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31663 if (SWIG_arg_fail(1)) SWIG_fail;
31664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
31665 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31666 {
31667 PyThreadState* __tstate = wxPyBeginAllowThreads();
31668 (arg1)->SetToolTip(arg2);
31669
31670 wxPyEndAllowThreads(__tstate);
31671 if (PyErr_Occurred()) SWIG_fail;
31672 }
31673 Py_INCREF(Py_None); resultobj = Py_None;
31674 return resultobj;
31675 fail:
31676 return NULL;
31677}
31678
31679
c32bde28 31680static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31681 PyObject *resultobj;
31682 wxWindow *arg1 = (wxWindow *) 0 ;
31683 wxToolTip *result;
31684 PyObject * obj0 = 0 ;
31685 char *kwnames[] = {
31686 (char *) "self", NULL
31687 };
31688
31689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
31690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31692 {
31693 PyThreadState* __tstate = wxPyBeginAllowThreads();
31694 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
31695
31696 wxPyEndAllowThreads(__tstate);
31697 if (PyErr_Occurred()) SWIG_fail;
31698 }
31699 {
412d302d 31700 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31701 }
31702 return resultobj;
31703 fail:
31704 return NULL;
31705}
31706
31707
c32bde28 31708static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31709 PyObject *resultobj;
31710 wxWindow *arg1 = (wxWindow *) 0 ;
31711 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
31712 PyObject * obj0 = 0 ;
31713 PyObject * obj1 = 0 ;
31714 char *kwnames[] = {
31715 (char *) "self",(char *) "dropTarget", NULL
31716 };
31717
31718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31720 if (SWIG_arg_fail(1)) SWIG_fail;
31721 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31722 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31723 {
31724 PyThreadState* __tstate = wxPyBeginAllowThreads();
31725 (arg1)->SetDropTarget(arg2);
31726
31727 wxPyEndAllowThreads(__tstate);
31728 if (PyErr_Occurred()) SWIG_fail;
31729 }
31730 Py_INCREF(Py_None); resultobj = Py_None;
31731 return resultobj;
31732 fail:
31733 return NULL;
31734}
31735
31736
c32bde28 31737static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31738 PyObject *resultobj;
31739 wxWindow *arg1 = (wxWindow *) 0 ;
31740 wxPyDropTarget *result;
31741 PyObject * obj0 = 0 ;
31742 char *kwnames[] = {
31743 (char *) "self", NULL
31744 };
31745
31746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
31747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31749 {
31750 PyThreadState* __tstate = wxPyBeginAllowThreads();
31751 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
31752
31753 wxPyEndAllowThreads(__tstate);
31754 if (PyErr_Occurred()) SWIG_fail;
31755 }
31756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
31757 return resultobj;
31758 fail:
31759 return NULL;
31760}
31761
31762
c32bde28 31763static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31764 PyObject *resultobj;
31765 wxWindow *arg1 = (wxWindow *) 0 ;
31766 bool arg2 ;
31767 PyObject * obj0 = 0 ;
31768 PyObject * obj1 = 0 ;
31769 char *kwnames[] = {
31770 (char *) "self",(char *) "accept", NULL
31771 };
31772
31773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31775 if (SWIG_arg_fail(1)) SWIG_fail;
31776 {
31777 arg2 = (bool)(SWIG_As_bool(obj1));
31778 if (SWIG_arg_fail(2)) SWIG_fail;
31779 }
d55e5bfc
RD
31780 {
31781 PyThreadState* __tstate = wxPyBeginAllowThreads();
31782 (arg1)->DragAcceptFiles(arg2);
31783
31784 wxPyEndAllowThreads(__tstate);
31785 if (PyErr_Occurred()) SWIG_fail;
31786 }
31787 Py_INCREF(Py_None); resultobj = Py_None;
31788 return resultobj;
31789 fail:
31790 return NULL;
31791}
31792
31793
c32bde28 31794static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31795 PyObject *resultobj;
31796 wxWindow *arg1 = (wxWindow *) 0 ;
31797 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
31798 PyObject * obj0 = 0 ;
31799 PyObject * obj1 = 0 ;
31800 char *kwnames[] = {
31801 (char *) "self",(char *) "constraints", NULL
31802 };
31803
31804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31806 if (SWIG_arg_fail(1)) SWIG_fail;
31807 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
31808 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31809 {
31810 PyThreadState* __tstate = wxPyBeginAllowThreads();
31811 (arg1)->SetConstraints(arg2);
31812
31813 wxPyEndAllowThreads(__tstate);
31814 if (PyErr_Occurred()) SWIG_fail;
31815 }
31816 Py_INCREF(Py_None); resultobj = Py_None;
31817 return resultobj;
31818 fail:
31819 return NULL;
31820}
31821
31822
c32bde28 31823static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31824 PyObject *resultobj;
31825 wxWindow *arg1 = (wxWindow *) 0 ;
31826 wxLayoutConstraints *result;
31827 PyObject * obj0 = 0 ;
31828 char *kwnames[] = {
31829 (char *) "self", NULL
31830 };
31831
31832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
093d3ff1
RD
31833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31835 {
31836 PyThreadState* __tstate = wxPyBeginAllowThreads();
31837 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
31838
31839 wxPyEndAllowThreads(__tstate);
31840 if (PyErr_Occurred()) SWIG_fail;
31841 }
31842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
31843 return resultobj;
31844 fail:
31845 return NULL;
31846}
31847
31848
c32bde28 31849static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31850 PyObject *resultobj;
31851 wxWindow *arg1 = (wxWindow *) 0 ;
31852 bool arg2 ;
31853 PyObject * obj0 = 0 ;
31854 PyObject * obj1 = 0 ;
31855 char *kwnames[] = {
31856 (char *) "self",(char *) "autoLayout", NULL
31857 };
31858
31859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31861 if (SWIG_arg_fail(1)) SWIG_fail;
31862 {
31863 arg2 = (bool)(SWIG_As_bool(obj1));
31864 if (SWIG_arg_fail(2)) SWIG_fail;
31865 }
d55e5bfc
RD
31866 {
31867 PyThreadState* __tstate = wxPyBeginAllowThreads();
31868 (arg1)->SetAutoLayout(arg2);
31869
31870 wxPyEndAllowThreads(__tstate);
31871 if (PyErr_Occurred()) SWIG_fail;
31872 }
31873 Py_INCREF(Py_None); resultobj = Py_None;
31874 return resultobj;
31875 fail:
31876 return NULL;
31877}
31878
31879
c32bde28 31880static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31881 PyObject *resultobj;
31882 wxWindow *arg1 = (wxWindow *) 0 ;
31883 bool result;
31884 PyObject * obj0 = 0 ;
31885 char *kwnames[] = {
31886 (char *) "self", NULL
31887 };
31888
31889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
093d3ff1
RD
31890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31892 {
31893 PyThreadState* __tstate = wxPyBeginAllowThreads();
31894 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
31895
31896 wxPyEndAllowThreads(__tstate);
31897 if (PyErr_Occurred()) SWIG_fail;
31898 }
31899 {
31900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31901 }
31902 return resultobj;
31903 fail:
31904 return NULL;
31905}
31906
31907
c32bde28 31908static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31909 PyObject *resultobj;
31910 wxWindow *arg1 = (wxWindow *) 0 ;
31911 bool result;
31912 PyObject * obj0 = 0 ;
31913 char *kwnames[] = {
31914 (char *) "self", NULL
31915 };
31916
31917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
093d3ff1
RD
31918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31919 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31920 {
31921 PyThreadState* __tstate = wxPyBeginAllowThreads();
31922 result = (bool)(arg1)->Layout();
31923
31924 wxPyEndAllowThreads(__tstate);
31925 if (PyErr_Occurred()) SWIG_fail;
31926 }
31927 {
31928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31929 }
31930 return resultobj;
31931 fail:
31932 return NULL;
31933}
31934
31935
c32bde28 31936static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31937 PyObject *resultobj;
31938 wxWindow *arg1 = (wxWindow *) 0 ;
31939 wxSizer *arg2 = (wxSizer *) 0 ;
ae8162c8 31940 bool arg3 = (bool) true ;
d55e5bfc
RD
31941 PyObject * obj0 = 0 ;
31942 PyObject * obj1 = 0 ;
31943 PyObject * obj2 = 0 ;
31944 char *kwnames[] = {
31945 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31946 };
31947
31948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31950 if (SWIG_arg_fail(1)) SWIG_fail;
31951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
31952 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31953 if (obj2) {
093d3ff1
RD
31954 {
31955 arg3 = (bool)(SWIG_As_bool(obj2));
31956 if (SWIG_arg_fail(3)) SWIG_fail;
31957 }
d55e5bfc
RD
31958 }
31959 {
31960 PyThreadState* __tstate = wxPyBeginAllowThreads();
31961 (arg1)->SetSizer(arg2,arg3);
31962
31963 wxPyEndAllowThreads(__tstate);
31964 if (PyErr_Occurred()) SWIG_fail;
31965 }
31966 Py_INCREF(Py_None); resultobj = Py_None;
31967 return resultobj;
31968 fail:
31969 return NULL;
31970}
31971
31972
c32bde28 31973static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31974 PyObject *resultobj;
31975 wxWindow *arg1 = (wxWindow *) 0 ;
31976 wxSizer *arg2 = (wxSizer *) 0 ;
ae8162c8 31977 bool arg3 = (bool) true ;
d55e5bfc
RD
31978 PyObject * obj0 = 0 ;
31979 PyObject * obj1 = 0 ;
31980 PyObject * obj2 = 0 ;
31981 char *kwnames[] = {
31982 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31983 };
31984
31985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31987 if (SWIG_arg_fail(1)) SWIG_fail;
31988 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
31989 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31990 if (obj2) {
093d3ff1
RD
31991 {
31992 arg3 = (bool)(SWIG_As_bool(obj2));
31993 if (SWIG_arg_fail(3)) SWIG_fail;
31994 }
d55e5bfc
RD
31995 }
31996 {
31997 PyThreadState* __tstate = wxPyBeginAllowThreads();
31998 (arg1)->SetSizerAndFit(arg2,arg3);
31999
32000 wxPyEndAllowThreads(__tstate);
32001 if (PyErr_Occurred()) SWIG_fail;
32002 }
32003 Py_INCREF(Py_None); resultobj = Py_None;
32004 return resultobj;
32005 fail:
32006 return NULL;
32007}
32008
32009
c32bde28 32010static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32011 PyObject *resultobj;
32012 wxWindow *arg1 = (wxWindow *) 0 ;
32013 wxSizer *result;
32014 PyObject * obj0 = 0 ;
32015 char *kwnames[] = {
32016 (char *) "self", NULL
32017 };
32018
32019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
32020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32021 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32022 {
32023 PyThreadState* __tstate = wxPyBeginAllowThreads();
32024 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
32025
32026 wxPyEndAllowThreads(__tstate);
32027 if (PyErr_Occurred()) SWIG_fail;
32028 }
32029 {
7a27cf7c 32030 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32031 }
32032 return resultobj;
32033 fail:
32034 return NULL;
32035}
32036
32037
c32bde28 32038static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32039 PyObject *resultobj;
32040 wxWindow *arg1 = (wxWindow *) 0 ;
32041 wxSizer *arg2 = (wxSizer *) 0 ;
32042 PyObject * obj0 = 0 ;
32043 PyObject * obj1 = 0 ;
32044 char *kwnames[] = {
32045 (char *) "self",(char *) "sizer", NULL
32046 };
32047
32048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32050 if (SWIG_arg_fail(1)) SWIG_fail;
32051 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
32052 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32053 {
32054 PyThreadState* __tstate = wxPyBeginAllowThreads();
32055 (arg1)->SetContainingSizer(arg2);
32056
32057 wxPyEndAllowThreads(__tstate);
32058 if (PyErr_Occurred()) SWIG_fail;
32059 }
32060 Py_INCREF(Py_None); resultobj = Py_None;
32061 return resultobj;
32062 fail:
32063 return NULL;
32064}
32065
32066
c32bde28 32067static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32068 PyObject *resultobj;
32069 wxWindow *arg1 = (wxWindow *) 0 ;
32070 wxSizer *result;
32071 PyObject * obj0 = 0 ;
32072 char *kwnames[] = {
32073 (char *) "self", NULL
32074 };
32075
32076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
32077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32079 {
32080 PyThreadState* __tstate = wxPyBeginAllowThreads();
32081 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
32082
32083 wxPyEndAllowThreads(__tstate);
32084 if (PyErr_Occurred()) SWIG_fail;
32085 }
32086 {
7a27cf7c 32087 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32088 }
32089 return resultobj;
32090 fail:
32091 return NULL;
32092}
32093
32094
c32bde28 32095static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32096 PyObject *resultobj;
32097 wxWindow *arg1 = (wxWindow *) 0 ;
32098 PyObject * obj0 = 0 ;
32099 char *kwnames[] = {
32100 (char *) "self", NULL
32101 };
32102
32103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
32104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32105 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32106 {
32107 PyThreadState* __tstate = wxPyBeginAllowThreads();
32108 (arg1)->InheritAttributes();
32109
32110 wxPyEndAllowThreads(__tstate);
32111 if (PyErr_Occurred()) SWIG_fail;
32112 }
32113 Py_INCREF(Py_None); resultobj = Py_None;
32114 return resultobj;
32115 fail:
32116 return NULL;
32117}
32118
32119
c32bde28 32120static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32121 PyObject *resultobj;
32122 wxWindow *arg1 = (wxWindow *) 0 ;
32123 bool result;
32124 PyObject * obj0 = 0 ;
32125 char *kwnames[] = {
32126 (char *) "self", NULL
32127 };
32128
32129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
32130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32131 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32132 {
32133 PyThreadState* __tstate = wxPyBeginAllowThreads();
32134 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
32135
32136 wxPyEndAllowThreads(__tstate);
32137 if (PyErr_Occurred()) SWIG_fail;
32138 }
32139 {
32140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32141 }
32142 return resultobj;
32143 fail:
32144 return NULL;
32145}
32146
32147
c32bde28 32148static PyObject * Window_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32149 PyObject *obj;
32150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32151 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
32152 Py_INCREF(obj);
32153 return Py_BuildValue((char *)"");
32154}
c32bde28 32155static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32156 PyObject *resultobj;
32157 long arg1 ;
32158 wxWindow *arg2 = (wxWindow *) NULL ;
32159 wxWindow *result;
32160 PyObject * obj0 = 0 ;
32161 PyObject * obj1 = 0 ;
32162 char *kwnames[] = {
32163 (char *) "id",(char *) "parent", NULL
32164 };
32165
32166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32167 {
32168 arg1 = (long)(SWIG_As_long(obj0));
32169 if (SWIG_arg_fail(1)) SWIG_fail;
32170 }
d55e5bfc 32171 if (obj1) {
093d3ff1
RD
32172 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32173 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32174 }
32175 {
0439c23b 32176 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32177 PyThreadState* __tstate = wxPyBeginAllowThreads();
32178 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
32179
32180 wxPyEndAllowThreads(__tstate);
110da5b0 32181 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32182 }
32183 {
412d302d 32184 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32185 }
32186 return resultobj;
32187 fail:
32188 return NULL;
32189}
32190
32191
c32bde28 32192static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32193 PyObject *resultobj;
32194 wxString *arg1 = 0 ;
32195 wxWindow *arg2 = (wxWindow *) NULL ;
32196 wxWindow *result;
ae8162c8 32197 bool temp1 = false ;
d55e5bfc
RD
32198 PyObject * obj0 = 0 ;
32199 PyObject * obj1 = 0 ;
32200 char *kwnames[] = {
32201 (char *) "name",(char *) "parent", NULL
32202 };
32203
32204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
32205 {
32206 arg1 = wxString_in_helper(obj0);
32207 if (arg1 == NULL) SWIG_fail;
ae8162c8 32208 temp1 = true;
d55e5bfc
RD
32209 }
32210 if (obj1) {
093d3ff1
RD
32211 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32212 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32213 }
32214 {
0439c23b 32215 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32216 PyThreadState* __tstate = wxPyBeginAllowThreads();
32217 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
32218
32219 wxPyEndAllowThreads(__tstate);
110da5b0 32220 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32221 }
32222 {
412d302d 32223 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32224 }
32225 {
32226 if (temp1)
32227 delete arg1;
32228 }
32229 return resultobj;
32230 fail:
32231 {
32232 if (temp1)
32233 delete arg1;
32234 }
32235 return NULL;
32236}
32237
32238
c32bde28 32239static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32240 PyObject *resultobj;
32241 wxString *arg1 = 0 ;
32242 wxWindow *arg2 = (wxWindow *) NULL ;
32243 wxWindow *result;
ae8162c8 32244 bool temp1 = false ;
d55e5bfc
RD
32245 PyObject * obj0 = 0 ;
32246 PyObject * obj1 = 0 ;
32247 char *kwnames[] = {
32248 (char *) "label",(char *) "parent", NULL
32249 };
32250
32251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
32252 {
32253 arg1 = wxString_in_helper(obj0);
32254 if (arg1 == NULL) SWIG_fail;
ae8162c8 32255 temp1 = true;
d55e5bfc
RD
32256 }
32257 if (obj1) {
093d3ff1
RD
32258 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32259 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32260 }
32261 {
0439c23b 32262 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32263 PyThreadState* __tstate = wxPyBeginAllowThreads();
32264 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
32265
32266 wxPyEndAllowThreads(__tstate);
110da5b0 32267 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32268 }
32269 {
412d302d 32270 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32271 }
32272 {
32273 if (temp1)
32274 delete arg1;
32275 }
32276 return resultobj;
32277 fail:
32278 {
32279 if (temp1)
32280 delete arg1;
32281 }
32282 return NULL;
32283}
32284
32285
c32bde28 32286static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32287 PyObject *resultobj;
32288 wxWindow *arg1 = (wxWindow *) 0 ;
32289 unsigned long arg2 ;
32290 wxWindow *result;
32291 PyObject * obj0 = 0 ;
32292 PyObject * obj1 = 0 ;
32293 char *kwnames[] = {
32294 (char *) "parent",(char *) "_hWnd", NULL
32295 };
32296
32297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32299 if (SWIG_arg_fail(1)) SWIG_fail;
32300 {
32301 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
32302 if (SWIG_arg_fail(2)) SWIG_fail;
32303 }
d55e5bfc
RD
32304 {
32305 PyThreadState* __tstate = wxPyBeginAllowThreads();
32306 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
32307
32308 wxPyEndAllowThreads(__tstate);
32309 if (PyErr_Occurred()) SWIG_fail;
32310 }
32311 {
412d302d 32312 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32313 }
32314 return resultobj;
32315 fail:
32316 return NULL;
32317}
32318
32319
3215336e
RD
32320static PyObject *_wrap_GetTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32321 PyObject *resultobj;
32322 PyObject *result;
32323 char *kwnames[] = {
32324 NULL
32325 };
32326
32327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetTopLevelWindows",kwnames)) goto fail;
32328 {
32329 PyThreadState* __tstate = wxPyBeginAllowThreads();
32330 result = (PyObject *)GetTopLevelWindows();
32331
32332 wxPyEndAllowThreads(__tstate);
32333 if (PyErr_Occurred()) SWIG_fail;
32334 }
32335 resultobj = result;
32336 return resultobj;
32337 fail:
32338 return NULL;
32339}
32340
32341
c32bde28 32342static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32343 PyObject *resultobj;
32344 wxValidator *result;
32345 char *kwnames[] = {
32346 NULL
32347 };
32348
32349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
32350 {
32351 PyThreadState* __tstate = wxPyBeginAllowThreads();
32352 result = (wxValidator *)new wxValidator();
32353
32354 wxPyEndAllowThreads(__tstate);
32355 if (PyErr_Occurred()) SWIG_fail;
32356 }
b0f7404b 32357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxValidator, 1);
d55e5bfc
RD
32358 return resultobj;
32359 fail:
32360 return NULL;
32361}
32362
32363
c32bde28 32364static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32365 PyObject *resultobj;
32366 wxValidator *arg1 = (wxValidator *) 0 ;
32367 wxValidator *result;
32368 PyObject * obj0 = 0 ;
32369 char *kwnames[] = {
32370 (char *) "self", NULL
32371 };
32372
32373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
093d3ff1
RD
32374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32376 {
32377 PyThreadState* __tstate = wxPyBeginAllowThreads();
32378 result = (wxValidator *)(arg1)->Clone();
32379
32380 wxPyEndAllowThreads(__tstate);
32381 if (PyErr_Occurred()) SWIG_fail;
32382 }
32383 {
412d302d 32384 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32385 }
32386 return resultobj;
32387 fail:
32388 return NULL;
32389}
32390
32391
c32bde28 32392static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32393 PyObject *resultobj;
32394 wxValidator *arg1 = (wxValidator *) 0 ;
32395 wxWindow *arg2 = (wxWindow *) 0 ;
32396 bool result;
32397 PyObject * obj0 = 0 ;
32398 PyObject * obj1 = 0 ;
32399 char *kwnames[] = {
32400 (char *) "self",(char *) "parent", NULL
32401 };
32402
32403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32405 if (SWIG_arg_fail(1)) SWIG_fail;
32406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32407 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32408 {
32409 PyThreadState* __tstate = wxPyBeginAllowThreads();
32410 result = (bool)(arg1)->Validate(arg2);
32411
32412 wxPyEndAllowThreads(__tstate);
32413 if (PyErr_Occurred()) SWIG_fail;
32414 }
32415 {
32416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32417 }
32418 return resultobj;
32419 fail:
32420 return NULL;
32421}
32422
32423
c32bde28 32424static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32425 PyObject *resultobj;
32426 wxValidator *arg1 = (wxValidator *) 0 ;
32427 bool result;
32428 PyObject * obj0 = 0 ;
32429 char *kwnames[] = {
32430 (char *) "self", NULL
32431 };
32432
32433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32436 {
32437 PyThreadState* __tstate = wxPyBeginAllowThreads();
32438 result = (bool)(arg1)->TransferToWindow();
32439
32440 wxPyEndAllowThreads(__tstate);
32441 if (PyErr_Occurred()) SWIG_fail;
32442 }
32443 {
32444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32445 }
32446 return resultobj;
32447 fail:
32448 return NULL;
32449}
32450
32451
c32bde28 32452static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32453 PyObject *resultobj;
32454 wxValidator *arg1 = (wxValidator *) 0 ;
32455 bool result;
32456 PyObject * obj0 = 0 ;
32457 char *kwnames[] = {
32458 (char *) "self", NULL
32459 };
32460
32461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32464 {
32465 PyThreadState* __tstate = wxPyBeginAllowThreads();
32466 result = (bool)(arg1)->TransferFromWindow();
32467
32468 wxPyEndAllowThreads(__tstate);
32469 if (PyErr_Occurred()) SWIG_fail;
32470 }
32471 {
32472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32473 }
32474 return resultobj;
32475 fail:
32476 return NULL;
32477}
32478
32479
c32bde28 32480static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32481 PyObject *resultobj;
32482 wxValidator *arg1 = (wxValidator *) 0 ;
32483 wxWindow *result;
32484 PyObject * obj0 = 0 ;
32485 char *kwnames[] = {
32486 (char *) "self", NULL
32487 };
32488
32489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32492 {
32493 PyThreadState* __tstate = wxPyBeginAllowThreads();
32494 result = (wxWindow *)(arg1)->GetWindow();
32495
32496 wxPyEndAllowThreads(__tstate);
32497 if (PyErr_Occurred()) SWIG_fail;
32498 }
32499 {
412d302d 32500 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32501 }
32502 return resultobj;
32503 fail:
32504 return NULL;
32505}
32506
32507
c32bde28 32508static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32509 PyObject *resultobj;
32510 wxValidator *arg1 = (wxValidator *) 0 ;
32511 wxWindow *arg2 = (wxWindow *) 0 ;
32512 PyObject * obj0 = 0 ;
32513 PyObject * obj1 = 0 ;
32514 char *kwnames[] = {
32515 (char *) "self",(char *) "window", NULL
32516 };
32517
32518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32520 if (SWIG_arg_fail(1)) SWIG_fail;
32521 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32522 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32523 {
32524 PyThreadState* __tstate = wxPyBeginAllowThreads();
32525 (arg1)->SetWindow(arg2);
32526
32527 wxPyEndAllowThreads(__tstate);
32528 if (PyErr_Occurred()) SWIG_fail;
32529 }
32530 Py_INCREF(Py_None); resultobj = Py_None;
32531 return resultobj;
32532 fail:
32533 return NULL;
32534}
32535
32536
c32bde28 32537static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32538 PyObject *resultobj;
32539 bool result;
32540 char *kwnames[] = {
32541 NULL
32542 };
32543
32544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
32545 {
32546 PyThreadState* __tstate = wxPyBeginAllowThreads();
32547 result = (bool)wxValidator::IsSilent();
32548
32549 wxPyEndAllowThreads(__tstate);
32550 if (PyErr_Occurred()) SWIG_fail;
32551 }
32552 {
32553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32554 }
32555 return resultobj;
32556 fail:
32557 return NULL;
32558}
32559
32560
c32bde28 32561static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 32562 PyObject *resultobj;
ae8162c8 32563 int arg1 = (int) true ;
d55e5bfc
RD
32564 PyObject * obj0 = 0 ;
32565 char *kwnames[] = {
32566 (char *) "doIt", NULL
32567 };
32568
32569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
32570 if (obj0) {
093d3ff1
RD
32571 {
32572 arg1 = (int)(SWIG_As_int(obj0));
32573 if (SWIG_arg_fail(1)) SWIG_fail;
32574 }
d55e5bfc
RD
32575 }
32576 {
32577 PyThreadState* __tstate = wxPyBeginAllowThreads();
32578 wxValidator::SetBellOnError(arg1);
32579
32580 wxPyEndAllowThreads(__tstate);
32581 if (PyErr_Occurred()) SWIG_fail;
32582 }
32583 Py_INCREF(Py_None); resultobj = Py_None;
32584 return resultobj;
32585 fail:
32586 return NULL;
32587}
32588
32589
c32bde28 32590static PyObject * Validator_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32591 PyObject *obj;
32592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32593 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
32594 Py_INCREF(obj);
32595 return Py_BuildValue((char *)"");
32596}
c32bde28 32597static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32598 PyObject *resultobj;
32599 wxPyValidator *result;
32600 char *kwnames[] = {
32601 NULL
32602 };
32603
32604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
32605 {
32606 PyThreadState* __tstate = wxPyBeginAllowThreads();
32607 result = (wxPyValidator *)new wxPyValidator();
32608
32609 wxPyEndAllowThreads(__tstate);
32610 if (PyErr_Occurred()) SWIG_fail;
32611 }
32612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
32613 return resultobj;
32614 fail:
32615 return NULL;
32616}
32617
32618
c32bde28 32619static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32620 PyObject *resultobj;
32621 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
32622 PyObject *arg2 = (PyObject *) 0 ;
32623 PyObject *arg3 = (PyObject *) 0 ;
ae8162c8 32624 int arg4 = (int) true ;
d55e5bfc
RD
32625 PyObject * obj0 = 0 ;
32626 PyObject * obj1 = 0 ;
32627 PyObject * obj2 = 0 ;
32628 PyObject * obj3 = 0 ;
32629 char *kwnames[] = {
32630 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32631 };
32632
32633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
32634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyValidator, SWIG_POINTER_EXCEPTION | 0);
32635 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32636 arg2 = obj1;
32637 arg3 = obj2;
32638 if (obj3) {
093d3ff1
RD
32639 {
32640 arg4 = (int)(SWIG_As_int(obj3));
32641 if (SWIG_arg_fail(4)) SWIG_fail;
32642 }
d55e5bfc
RD
32643 }
32644 {
32645 PyThreadState* __tstate = wxPyBeginAllowThreads();
32646 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
32647
32648 wxPyEndAllowThreads(__tstate);
32649 if (PyErr_Occurred()) SWIG_fail;
32650 }
32651 Py_INCREF(Py_None); resultobj = Py_None;
32652 return resultobj;
32653 fail:
32654 return NULL;
32655}
32656
32657
c32bde28 32658static PyObject * PyValidator_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32659 PyObject *obj;
32660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32661 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
32662 Py_INCREF(obj);
32663 return Py_BuildValue((char *)"");
32664}
c32bde28 32665static int _wrap_DefaultValidator_set(PyObject *) {
d55e5bfc
RD
32666 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
32667 return 1;
32668}
32669
32670
093d3ff1 32671static PyObject *_wrap_DefaultValidator_get(void) {
d55e5bfc
RD
32672 PyObject *pyobj;
32673
32674 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
32675 return pyobj;
32676}
32677
32678
c32bde28 32679static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32680 PyObject *resultobj;
32681 wxString const &arg1_defvalue = wxPyEmptyString ;
32682 wxString *arg1 = (wxString *) &arg1_defvalue ;
32683 long arg2 = (long) 0 ;
32684 wxMenu *result;
ae8162c8 32685 bool temp1 = false ;
d55e5bfc
RD
32686 PyObject * obj0 = 0 ;
32687 PyObject * obj1 = 0 ;
32688 char *kwnames[] = {
32689 (char *) "title",(char *) "style", NULL
32690 };
32691
32692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
32693 if (obj0) {
32694 {
32695 arg1 = wxString_in_helper(obj0);
32696 if (arg1 == NULL) SWIG_fail;
ae8162c8 32697 temp1 = true;
d55e5bfc
RD
32698 }
32699 }
32700 if (obj1) {
093d3ff1
RD
32701 {
32702 arg2 = (long)(SWIG_As_long(obj1));
32703 if (SWIG_arg_fail(2)) SWIG_fail;
32704 }
d55e5bfc
RD
32705 }
32706 {
0439c23b 32707 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32708 PyThreadState* __tstate = wxPyBeginAllowThreads();
32709 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
32710
32711 wxPyEndAllowThreads(__tstate);
110da5b0 32712 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 32713 }
b0f7404b 32714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenu, 1);
d55e5bfc
RD
32715 {
32716 if (temp1)
32717 delete arg1;
32718 }
32719 return resultobj;
32720 fail:
32721 {
32722 if (temp1)
32723 delete arg1;
32724 }
32725 return NULL;
32726}
32727
32728
c32bde28 32729static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32730 PyObject *resultobj;
32731 wxMenu *arg1 = (wxMenu *) 0 ;
32732 int arg2 ;
32733 wxString *arg3 = 0 ;
32734 wxString const &arg4_defvalue = wxPyEmptyString ;
32735 wxString *arg4 = (wxString *) &arg4_defvalue ;
093d3ff1 32736 wxItemKind arg5 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc 32737 wxMenuItem *result;
ae8162c8
RD
32738 bool temp3 = false ;
32739 bool temp4 = false ;
d55e5bfc
RD
32740 PyObject * obj0 = 0 ;
32741 PyObject * obj1 = 0 ;
32742 PyObject * obj2 = 0 ;
32743 PyObject * obj3 = 0 ;
32744 PyObject * obj4 = 0 ;
32745 char *kwnames[] = {
32746 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32747 };
32748
32749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail;
32752 {
32753 arg2 = (int)(SWIG_As_int(obj1));
32754 if (SWIG_arg_fail(2)) SWIG_fail;
32755 }
d55e5bfc
RD
32756 {
32757 arg3 = wxString_in_helper(obj2);
32758 if (arg3 == NULL) SWIG_fail;
ae8162c8 32759 temp3 = true;
d55e5bfc
RD
32760 }
32761 if (obj3) {
32762 {
32763 arg4 = wxString_in_helper(obj3);
32764 if (arg4 == NULL) SWIG_fail;
ae8162c8 32765 temp4 = true;
d55e5bfc
RD
32766 }
32767 }
32768 if (obj4) {
093d3ff1
RD
32769 {
32770 arg5 = (wxItemKind)(SWIG_As_int(obj4));
32771 if (SWIG_arg_fail(5)) SWIG_fail;
32772 }
d55e5bfc
RD
32773 }
32774 {
32775 PyThreadState* __tstate = wxPyBeginAllowThreads();
32776 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
32777
32778 wxPyEndAllowThreads(__tstate);
32779 if (PyErr_Occurred()) SWIG_fail;
32780 }
32781 {
412d302d 32782 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32783 }
32784 {
32785 if (temp3)
32786 delete arg3;
32787 }
32788 {
32789 if (temp4)
32790 delete arg4;
32791 }
32792 return resultobj;
32793 fail:
32794 {
32795 if (temp3)
32796 delete arg3;
32797 }
32798 {
32799 if (temp4)
32800 delete arg4;
32801 }
32802 return NULL;
32803}
32804
32805
c32bde28 32806static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32807 PyObject *resultobj;
32808 wxMenu *arg1 = (wxMenu *) 0 ;
32809 wxMenuItem *result;
32810 PyObject * obj0 = 0 ;
32811 char *kwnames[] = {
32812 (char *) "self", NULL
32813 };
32814
32815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
32816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
32817 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32818 {
32819 PyThreadState* __tstate = wxPyBeginAllowThreads();
32820 result = (wxMenuItem *)(arg1)->AppendSeparator();
32821
32822 wxPyEndAllowThreads(__tstate);
32823 if (PyErr_Occurred()) SWIG_fail;
32824 }
32825 {
412d302d 32826 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32827 }
32828 return resultobj;
32829 fail:
32830 return NULL;
32831}
32832
32833
c32bde28 32834static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32835 PyObject *resultobj;
32836 wxMenu *arg1 = (wxMenu *) 0 ;
32837 int arg2 ;
32838 wxString *arg3 = 0 ;
32839 wxString const &arg4_defvalue = wxPyEmptyString ;
32840 wxString *arg4 = (wxString *) &arg4_defvalue ;
32841 wxMenuItem *result;
ae8162c8
RD
32842 bool temp3 = false ;
32843 bool temp4 = false ;
d55e5bfc
RD
32844 PyObject * obj0 = 0 ;
32845 PyObject * obj1 = 0 ;
32846 PyObject * obj2 = 0 ;
32847 PyObject * obj3 = 0 ;
32848 char *kwnames[] = {
32849 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32850 };
32851
32852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
32853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
32854 if (SWIG_arg_fail(1)) SWIG_fail;
32855 {
32856 arg2 = (int)(SWIG_As_int(obj1));
32857 if (SWIG_arg_fail(2)) SWIG_fail;
32858 }
d55e5bfc
RD
32859 {
32860 arg3 = wxString_in_helper(obj2);
32861 if (arg3 == NULL) SWIG_fail;
ae8162c8 32862 temp3 = true;
d55e5bfc
RD
32863 }
32864 if (obj3) {
32865 {
32866 arg4 = wxString_in_helper(obj3);
32867 if (arg4 == NULL) SWIG_fail;
ae8162c8 32868 temp4 = true;
d55e5bfc
RD
32869 }
32870 }
32871 {
32872 PyThreadState* __tstate = wxPyBeginAllowThreads();
32873 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
32874
32875 wxPyEndAllowThreads(__tstate);
32876 if (PyErr_Occurred()) SWIG_fail;
32877 }
32878 {
412d302d 32879 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32880 }
32881 {
32882 if (temp3)
32883 delete arg3;
32884 }
32885 {
32886 if (temp4)
32887 delete arg4;
32888 }
32889 return resultobj;
32890 fail:
32891 {
32892 if (temp3)
32893 delete arg3;
32894 }
32895 {
32896 if (temp4)
32897 delete arg4;
32898 }
32899 return NULL;
32900}
32901
32902
c32bde28 32903static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32904 PyObject *resultobj;
32905 wxMenu *arg1 = (wxMenu *) 0 ;
32906 int arg2 ;
32907 wxString *arg3 = 0 ;
32908 wxString const &arg4_defvalue = wxPyEmptyString ;
32909 wxString *arg4 = (wxString *) &arg4_defvalue ;
32910 wxMenuItem *result;
ae8162c8
RD
32911 bool temp3 = false ;
32912 bool temp4 = false ;
d55e5bfc
RD
32913 PyObject * obj0 = 0 ;
32914 PyObject * obj1 = 0 ;
32915 PyObject * obj2 = 0 ;
32916 PyObject * obj3 = 0 ;
32917 char *kwnames[] = {
32918 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32919 };
32920
32921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
32922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
32923 if (SWIG_arg_fail(1)) SWIG_fail;
32924 {
32925 arg2 = (int)(SWIG_As_int(obj1));
32926 if (SWIG_arg_fail(2)) SWIG_fail;
32927 }
d55e5bfc
RD
32928 {
32929 arg3 = wxString_in_helper(obj2);
32930 if (arg3 == NULL) SWIG_fail;
ae8162c8 32931 temp3 = true;
d55e5bfc
RD
32932 }
32933 if (obj3) {
32934 {
32935 arg4 = wxString_in_helper(obj3);
32936 if (arg4 == NULL) SWIG_fail;
ae8162c8 32937 temp4 = true;
d55e5bfc
RD
32938 }
32939 }
32940 {
32941 PyThreadState* __tstate = wxPyBeginAllowThreads();
32942 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
32943
32944 wxPyEndAllowThreads(__tstate);
32945 if (PyErr_Occurred()) SWIG_fail;
32946 }
32947 {
412d302d 32948 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32949 }
32950 {
32951 if (temp3)
32952 delete arg3;
32953 }
32954 {
32955 if (temp4)
32956 delete arg4;
32957 }
32958 return resultobj;
32959 fail:
32960 {
32961 if (temp3)
32962 delete arg3;
32963 }
32964 {
32965 if (temp4)
32966 delete arg4;
32967 }
32968 return NULL;
32969}
32970
32971
c32bde28 32972static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32973 PyObject *resultobj;
32974 wxMenu *arg1 = (wxMenu *) 0 ;
32975 int arg2 ;
32976 wxString *arg3 = 0 ;
32977 wxMenu *arg4 = (wxMenu *) 0 ;
32978 wxString const &arg5_defvalue = wxPyEmptyString ;
32979 wxString *arg5 = (wxString *) &arg5_defvalue ;
32980 wxMenuItem *result;
ae8162c8
RD
32981 bool temp3 = false ;
32982 bool temp5 = false ;
d55e5bfc
RD
32983 PyObject * obj0 = 0 ;
32984 PyObject * obj1 = 0 ;
32985 PyObject * obj2 = 0 ;
32986 PyObject * obj3 = 0 ;
32987 PyObject * obj4 = 0 ;
32988 char *kwnames[] = {
32989 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32990 };
32991
32992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
32994 if (SWIG_arg_fail(1)) SWIG_fail;
32995 {
32996 arg2 = (int)(SWIG_As_int(obj1));
32997 if (SWIG_arg_fail(2)) SWIG_fail;
32998 }
d55e5bfc
RD
32999 {
33000 arg3 = wxString_in_helper(obj2);
33001 if (arg3 == NULL) SWIG_fail;
ae8162c8 33002 temp3 = true;
d55e5bfc 33003 }
093d3ff1
RD
33004 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33005 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
33006 if (obj4) {
33007 {
33008 arg5 = wxString_in_helper(obj4);
33009 if (arg5 == NULL) SWIG_fail;
ae8162c8 33010 temp5 = true;
d55e5bfc
RD
33011 }
33012 }
33013 {
33014 PyThreadState* __tstate = wxPyBeginAllowThreads();
33015 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
33016
33017 wxPyEndAllowThreads(__tstate);
33018 if (PyErr_Occurred()) SWIG_fail;
33019 }
33020 {
412d302d 33021 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33022 }
33023 {
33024 if (temp3)
33025 delete arg3;
33026 }
33027 {
33028 if (temp5)
33029 delete arg5;
33030 }
33031 return resultobj;
33032 fail:
33033 {
33034 if (temp3)
33035 delete arg3;
33036 }
33037 {
33038 if (temp5)
33039 delete arg5;
33040 }
33041 return NULL;
33042}
33043
33044
c32bde28 33045static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33046 PyObject *resultobj;
33047 wxMenu *arg1 = (wxMenu *) 0 ;
33048 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
33049 wxMenuItem *result;
33050 PyObject * obj0 = 0 ;
33051 PyObject * obj1 = 0 ;
33052 char *kwnames[] = {
33053 (char *) "self",(char *) "item", NULL
33054 };
33055
33056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33058 if (SWIG_arg_fail(1)) SWIG_fail;
33059 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33060 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33061 {
33062 PyThreadState* __tstate = wxPyBeginAllowThreads();
33063 result = (wxMenuItem *)(arg1)->Append(arg2);
33064
33065 wxPyEndAllowThreads(__tstate);
33066 if (PyErr_Occurred()) SWIG_fail;
33067 }
33068 {
412d302d 33069 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33070 }
33071 return resultobj;
33072 fail:
33073 return NULL;
33074}
33075
33076
c32bde28 33077static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33078 PyObject *resultobj;
33079 wxMenu *arg1 = (wxMenu *) 0 ;
33080 PyObject * obj0 = 0 ;
33081 char *kwnames[] = {
33082 (char *) "self", NULL
33083 };
33084
33085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
093d3ff1
RD
33086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33088 {
33089 PyThreadState* __tstate = wxPyBeginAllowThreads();
33090 (arg1)->Break();
33091
33092 wxPyEndAllowThreads(__tstate);
33093 if (PyErr_Occurred()) SWIG_fail;
33094 }
33095 Py_INCREF(Py_None); resultobj = Py_None;
33096 return resultobj;
33097 fail:
33098 return NULL;
33099}
33100
33101
c32bde28 33102static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33103 PyObject *resultobj;
33104 wxMenu *arg1 = (wxMenu *) 0 ;
33105 size_t arg2 ;
33106 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
33107 wxMenuItem *result;
33108 PyObject * obj0 = 0 ;
33109 PyObject * obj1 = 0 ;
33110 PyObject * obj2 = 0 ;
33111 char *kwnames[] = {
33112 (char *) "self",(char *) "pos",(char *) "item", NULL
33113 };
33114
33115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33117 if (SWIG_arg_fail(1)) SWIG_fail;
33118 {
33119 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33120 if (SWIG_arg_fail(2)) SWIG_fail;
33121 }
33122 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33123 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
33124 {
33125 PyThreadState* __tstate = wxPyBeginAllowThreads();
33126 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
33127
33128 wxPyEndAllowThreads(__tstate);
33129 if (PyErr_Occurred()) SWIG_fail;
33130 }
33131 {
412d302d 33132 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33133 }
33134 return resultobj;
33135 fail:
33136 return NULL;
33137}
33138
33139
c32bde28 33140static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33141 PyObject *resultobj;
33142 wxMenu *arg1 = (wxMenu *) 0 ;
33143 size_t arg2 ;
33144 int arg3 ;
33145 wxString *arg4 = 0 ;
33146 wxString const &arg5_defvalue = wxPyEmptyString ;
33147 wxString *arg5 = (wxString *) &arg5_defvalue ;
093d3ff1 33148 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc 33149 wxMenuItem *result;
ae8162c8
RD
33150 bool temp4 = false ;
33151 bool temp5 = false ;
d55e5bfc
RD
33152 PyObject * obj0 = 0 ;
33153 PyObject * obj1 = 0 ;
33154 PyObject * obj2 = 0 ;
33155 PyObject * obj3 = 0 ;
33156 PyObject * obj4 = 0 ;
33157 PyObject * obj5 = 0 ;
33158 char *kwnames[] = {
33159 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33160 };
33161
33162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
33163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33164 if (SWIG_arg_fail(1)) SWIG_fail;
33165 {
33166 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33167 if (SWIG_arg_fail(2)) SWIG_fail;
33168 }
33169 {
33170 arg3 = (int)(SWIG_As_int(obj2));
33171 if (SWIG_arg_fail(3)) SWIG_fail;
33172 }
d55e5bfc
RD
33173 {
33174 arg4 = wxString_in_helper(obj3);
33175 if (arg4 == NULL) SWIG_fail;
ae8162c8 33176 temp4 = true;
d55e5bfc
RD
33177 }
33178 if (obj4) {
33179 {
33180 arg5 = wxString_in_helper(obj4);
33181 if (arg5 == NULL) SWIG_fail;
ae8162c8 33182 temp5 = true;
d55e5bfc
RD
33183 }
33184 }
33185 if (obj5) {
093d3ff1
RD
33186 {
33187 arg6 = (wxItemKind)(SWIG_As_int(obj5));
33188 if (SWIG_arg_fail(6)) SWIG_fail;
33189 }
d55e5bfc
RD
33190 }
33191 {
33192 PyThreadState* __tstate = wxPyBeginAllowThreads();
33193 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
33194
33195 wxPyEndAllowThreads(__tstate);
33196 if (PyErr_Occurred()) SWIG_fail;
33197 }
33198 {
412d302d 33199 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33200 }
33201 {
33202 if (temp4)
33203 delete arg4;
33204 }
33205 {
33206 if (temp5)
33207 delete arg5;
33208 }
33209 return resultobj;
33210 fail:
33211 {
33212 if (temp4)
33213 delete arg4;
33214 }
33215 {
33216 if (temp5)
33217 delete arg5;
33218 }
33219 return NULL;
33220}
33221
33222
c32bde28 33223static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33224 PyObject *resultobj;
33225 wxMenu *arg1 = (wxMenu *) 0 ;
33226 size_t arg2 ;
33227 wxMenuItem *result;
33228 PyObject * obj0 = 0 ;
33229 PyObject * obj1 = 0 ;
33230 char *kwnames[] = {
33231 (char *) "self",(char *) "pos", NULL
33232 };
33233
33234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33236 if (SWIG_arg_fail(1)) SWIG_fail;
33237 {
33238 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33239 if (SWIG_arg_fail(2)) SWIG_fail;
33240 }
d55e5bfc
RD
33241 {
33242 PyThreadState* __tstate = wxPyBeginAllowThreads();
33243 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
33244
33245 wxPyEndAllowThreads(__tstate);
33246 if (PyErr_Occurred()) SWIG_fail;
33247 }
33248 {
412d302d 33249 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33250 }
33251 return resultobj;
33252 fail:
33253 return NULL;
33254}
33255
33256
c32bde28 33257static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33258 PyObject *resultobj;
33259 wxMenu *arg1 = (wxMenu *) 0 ;
33260 size_t arg2 ;
33261 int arg3 ;
33262 wxString *arg4 = 0 ;
33263 wxString const &arg5_defvalue = wxPyEmptyString ;
33264 wxString *arg5 = (wxString *) &arg5_defvalue ;
33265 wxMenuItem *result;
ae8162c8
RD
33266 bool temp4 = false ;
33267 bool temp5 = false ;
d55e5bfc
RD
33268 PyObject * obj0 = 0 ;
33269 PyObject * obj1 = 0 ;
33270 PyObject * obj2 = 0 ;
33271 PyObject * obj3 = 0 ;
33272 PyObject * obj4 = 0 ;
33273 char *kwnames[] = {
33274 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33275 };
33276
33277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33279 if (SWIG_arg_fail(1)) SWIG_fail;
33280 {
33281 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33282 if (SWIG_arg_fail(2)) SWIG_fail;
33283 }
33284 {
33285 arg3 = (int)(SWIG_As_int(obj2));
33286 if (SWIG_arg_fail(3)) SWIG_fail;
33287 }
d55e5bfc
RD
33288 {
33289 arg4 = wxString_in_helper(obj3);
33290 if (arg4 == NULL) SWIG_fail;
ae8162c8 33291 temp4 = true;
d55e5bfc
RD
33292 }
33293 if (obj4) {
33294 {
33295 arg5 = wxString_in_helper(obj4);
33296 if (arg5 == NULL) SWIG_fail;
ae8162c8 33297 temp5 = true;
d55e5bfc
RD
33298 }
33299 }
33300 {
33301 PyThreadState* __tstate = wxPyBeginAllowThreads();
33302 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
33303
33304 wxPyEndAllowThreads(__tstate);
33305 if (PyErr_Occurred()) SWIG_fail;
33306 }
33307 {
412d302d 33308 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33309 }
33310 {
33311 if (temp4)
33312 delete arg4;
33313 }
33314 {
33315 if (temp5)
33316 delete arg5;
33317 }
33318 return resultobj;
33319 fail:
33320 {
33321 if (temp4)
33322 delete arg4;
33323 }
33324 {
33325 if (temp5)
33326 delete arg5;
33327 }
33328 return NULL;
33329}
33330
33331
c32bde28 33332static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33333 PyObject *resultobj;
33334 wxMenu *arg1 = (wxMenu *) 0 ;
33335 size_t arg2 ;
33336 int arg3 ;
33337 wxString *arg4 = 0 ;
33338 wxString const &arg5_defvalue = wxPyEmptyString ;
33339 wxString *arg5 = (wxString *) &arg5_defvalue ;
33340 wxMenuItem *result;
ae8162c8
RD
33341 bool temp4 = false ;
33342 bool temp5 = false ;
d55e5bfc
RD
33343 PyObject * obj0 = 0 ;
33344 PyObject * obj1 = 0 ;
33345 PyObject * obj2 = 0 ;
33346 PyObject * obj3 = 0 ;
33347 PyObject * obj4 = 0 ;
33348 char *kwnames[] = {
33349 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33350 };
33351
33352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33354 if (SWIG_arg_fail(1)) SWIG_fail;
33355 {
33356 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33357 if (SWIG_arg_fail(2)) SWIG_fail;
33358 }
33359 {
33360 arg3 = (int)(SWIG_As_int(obj2));
33361 if (SWIG_arg_fail(3)) SWIG_fail;
33362 }
d55e5bfc
RD
33363 {
33364 arg4 = wxString_in_helper(obj3);
33365 if (arg4 == NULL) SWIG_fail;
ae8162c8 33366 temp4 = true;
d55e5bfc
RD
33367 }
33368 if (obj4) {
33369 {
33370 arg5 = wxString_in_helper(obj4);
33371 if (arg5 == NULL) SWIG_fail;
ae8162c8 33372 temp5 = true;
d55e5bfc
RD
33373 }
33374 }
33375 {
33376 PyThreadState* __tstate = wxPyBeginAllowThreads();
33377 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
33378
33379 wxPyEndAllowThreads(__tstate);
33380 if (PyErr_Occurred()) SWIG_fail;
33381 }
33382 {
412d302d 33383 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33384 }
33385 {
33386 if (temp4)
33387 delete arg4;
33388 }
33389 {
33390 if (temp5)
33391 delete arg5;
33392 }
33393 return resultobj;
33394 fail:
33395 {
33396 if (temp4)
33397 delete arg4;
33398 }
33399 {
33400 if (temp5)
33401 delete arg5;
33402 }
33403 return NULL;
33404}
33405
33406
c32bde28 33407static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33408 PyObject *resultobj;
33409 wxMenu *arg1 = (wxMenu *) 0 ;
33410 size_t arg2 ;
33411 int arg3 ;
33412 wxString *arg4 = 0 ;
33413 wxMenu *arg5 = (wxMenu *) 0 ;
33414 wxString const &arg6_defvalue = wxPyEmptyString ;
33415 wxString *arg6 = (wxString *) &arg6_defvalue ;
33416 wxMenuItem *result;
ae8162c8
RD
33417 bool temp4 = false ;
33418 bool temp6 = false ;
d55e5bfc
RD
33419 PyObject * obj0 = 0 ;
33420 PyObject * obj1 = 0 ;
33421 PyObject * obj2 = 0 ;
33422 PyObject * obj3 = 0 ;
33423 PyObject * obj4 = 0 ;
33424 PyObject * obj5 = 0 ;
33425 char *kwnames[] = {
33426 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33427 };
33428
33429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
33430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33431 if (SWIG_arg_fail(1)) SWIG_fail;
33432 {
33433 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
33434 if (SWIG_arg_fail(2)) SWIG_fail;
33435 }
33436 {
33437 arg3 = (int)(SWIG_As_int(obj2));
33438 if (SWIG_arg_fail(3)) SWIG_fail;
33439 }
d55e5bfc
RD
33440 {
33441 arg4 = wxString_in_helper(obj3);
33442 if (arg4 == NULL) SWIG_fail;
ae8162c8 33443 temp4 = true;
d55e5bfc 33444 }
093d3ff1
RD
33445 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33446 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
33447 if (obj5) {
33448 {
33449 arg6 = wxString_in_helper(obj5);
33450 if (arg6 == NULL) SWIG_fail;
ae8162c8 33451 temp6 = true;
d55e5bfc
RD
33452 }
33453 }
33454 {
33455 PyThreadState* __tstate = wxPyBeginAllowThreads();
33456 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
33457
33458 wxPyEndAllowThreads(__tstate);
33459 if (PyErr_Occurred()) SWIG_fail;
33460 }
33461 {
412d302d 33462 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33463 }
33464 {
33465 if (temp4)
33466 delete arg4;
33467 }
33468 {
33469 if (temp6)
33470 delete arg6;
33471 }
33472 return resultobj;
33473 fail:
33474 {
33475 if (temp4)
33476 delete arg4;
33477 }
33478 {
33479 if (temp6)
33480 delete arg6;
33481 }
33482 return NULL;
33483}
33484
33485
c32bde28 33486static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33487 PyObject *resultobj;
33488 wxMenu *arg1 = (wxMenu *) 0 ;
33489 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
33490 wxMenuItem *result;
33491 PyObject * obj0 = 0 ;
33492 PyObject * obj1 = 0 ;
33493 char *kwnames[] = {
33494 (char *) "self",(char *) "item", NULL
33495 };
33496
33497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33499 if (SWIG_arg_fail(1)) SWIG_fail;
33500 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33501 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33502 {
33503 PyThreadState* __tstate = wxPyBeginAllowThreads();
33504 result = (wxMenuItem *)(arg1)->Prepend(arg2);
33505
33506 wxPyEndAllowThreads(__tstate);
33507 if (PyErr_Occurred()) SWIG_fail;
33508 }
33509 {
412d302d 33510 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33511 }
33512 return resultobj;
33513 fail:
33514 return NULL;
33515}
33516
33517
c32bde28 33518static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33519 PyObject *resultobj;
33520 wxMenu *arg1 = (wxMenu *) 0 ;
33521 int arg2 ;
33522 wxString *arg3 = 0 ;
33523 wxString const &arg4_defvalue = wxPyEmptyString ;
33524 wxString *arg4 = (wxString *) &arg4_defvalue ;
093d3ff1 33525 wxItemKind arg5 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc 33526 wxMenuItem *result;
ae8162c8
RD
33527 bool temp3 = false ;
33528 bool temp4 = false ;
d55e5bfc
RD
33529 PyObject * obj0 = 0 ;
33530 PyObject * obj1 = 0 ;
33531 PyObject * obj2 = 0 ;
33532 PyObject * obj3 = 0 ;
33533 PyObject * obj4 = 0 ;
33534 char *kwnames[] = {
33535 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33536 };
33537
33538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33540 if (SWIG_arg_fail(1)) SWIG_fail;
33541 {
33542 arg2 = (int)(SWIG_As_int(obj1));
33543 if (SWIG_arg_fail(2)) SWIG_fail;
33544 }
d55e5bfc
RD
33545 {
33546 arg3 = wxString_in_helper(obj2);
33547 if (arg3 == NULL) SWIG_fail;
ae8162c8 33548 temp3 = true;
d55e5bfc
RD
33549 }
33550 if (obj3) {
33551 {
33552 arg4 = wxString_in_helper(obj3);
33553 if (arg4 == NULL) SWIG_fail;
ae8162c8 33554 temp4 = true;
d55e5bfc
RD
33555 }
33556 }
33557 if (obj4) {
093d3ff1
RD
33558 {
33559 arg5 = (wxItemKind)(SWIG_As_int(obj4));
33560 if (SWIG_arg_fail(5)) SWIG_fail;
33561 }
d55e5bfc
RD
33562 }
33563 {
33564 PyThreadState* __tstate = wxPyBeginAllowThreads();
33565 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
33566
33567 wxPyEndAllowThreads(__tstate);
33568 if (PyErr_Occurred()) SWIG_fail;
33569 }
33570 {
412d302d 33571 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33572 }
33573 {
33574 if (temp3)
33575 delete arg3;
33576 }
33577 {
33578 if (temp4)
33579 delete arg4;
33580 }
33581 return resultobj;
33582 fail:
33583 {
33584 if (temp3)
33585 delete arg3;
33586 }
33587 {
33588 if (temp4)
33589 delete arg4;
33590 }
33591 return NULL;
33592}
33593
33594
c32bde28 33595static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33596 PyObject *resultobj;
33597 wxMenu *arg1 = (wxMenu *) 0 ;
33598 wxMenuItem *result;
33599 PyObject * obj0 = 0 ;
33600 char *kwnames[] = {
33601 (char *) "self", NULL
33602 };
33603
33604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
33605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33607 {
33608 PyThreadState* __tstate = wxPyBeginAllowThreads();
33609 result = (wxMenuItem *)(arg1)->PrependSeparator();
33610
33611 wxPyEndAllowThreads(__tstate);
33612 if (PyErr_Occurred()) SWIG_fail;
33613 }
33614 {
412d302d 33615 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33616 }
33617 return resultobj;
33618 fail:
33619 return NULL;
33620}
33621
33622
c32bde28 33623static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33624 PyObject *resultobj;
33625 wxMenu *arg1 = (wxMenu *) 0 ;
33626 int arg2 ;
33627 wxString *arg3 = 0 ;
33628 wxString const &arg4_defvalue = wxPyEmptyString ;
33629 wxString *arg4 = (wxString *) &arg4_defvalue ;
33630 wxMenuItem *result;
ae8162c8
RD
33631 bool temp3 = false ;
33632 bool temp4 = false ;
d55e5bfc
RD
33633 PyObject * obj0 = 0 ;
33634 PyObject * obj1 = 0 ;
33635 PyObject * obj2 = 0 ;
33636 PyObject * obj3 = 0 ;
33637 char *kwnames[] = {
33638 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33639 };
33640
33641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
33642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33643 if (SWIG_arg_fail(1)) SWIG_fail;
33644 {
33645 arg2 = (int)(SWIG_As_int(obj1));
33646 if (SWIG_arg_fail(2)) SWIG_fail;
33647 }
d55e5bfc
RD
33648 {
33649 arg3 = wxString_in_helper(obj2);
33650 if (arg3 == NULL) SWIG_fail;
ae8162c8 33651 temp3 = true;
d55e5bfc
RD
33652 }
33653 if (obj3) {
33654 {
33655 arg4 = wxString_in_helper(obj3);
33656 if (arg4 == NULL) SWIG_fail;
ae8162c8 33657 temp4 = true;
d55e5bfc
RD
33658 }
33659 }
33660 {
33661 PyThreadState* __tstate = wxPyBeginAllowThreads();
33662 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
33663
33664 wxPyEndAllowThreads(__tstate);
33665 if (PyErr_Occurred()) SWIG_fail;
33666 }
33667 {
412d302d 33668 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33669 }
33670 {
33671 if (temp3)
33672 delete arg3;
33673 }
33674 {
33675 if (temp4)
33676 delete arg4;
33677 }
33678 return resultobj;
33679 fail:
33680 {
33681 if (temp3)
33682 delete arg3;
33683 }
33684 {
33685 if (temp4)
33686 delete arg4;
33687 }
33688 return NULL;
33689}
33690
33691
c32bde28 33692static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33693 PyObject *resultobj;
33694 wxMenu *arg1 = (wxMenu *) 0 ;
33695 int arg2 ;
33696 wxString *arg3 = 0 ;
33697 wxString const &arg4_defvalue = wxPyEmptyString ;
33698 wxString *arg4 = (wxString *) &arg4_defvalue ;
33699 wxMenuItem *result;
ae8162c8
RD
33700 bool temp3 = false ;
33701 bool temp4 = false ;
d55e5bfc
RD
33702 PyObject * obj0 = 0 ;
33703 PyObject * obj1 = 0 ;
33704 PyObject * obj2 = 0 ;
33705 PyObject * obj3 = 0 ;
33706 char *kwnames[] = {
33707 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33708 };
33709
33710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
33711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33712 if (SWIG_arg_fail(1)) SWIG_fail;
33713 {
33714 arg2 = (int)(SWIG_As_int(obj1));
33715 if (SWIG_arg_fail(2)) SWIG_fail;
33716 }
d55e5bfc
RD
33717 {
33718 arg3 = wxString_in_helper(obj2);
33719 if (arg3 == NULL) SWIG_fail;
ae8162c8 33720 temp3 = true;
d55e5bfc
RD
33721 }
33722 if (obj3) {
33723 {
33724 arg4 = wxString_in_helper(obj3);
33725 if (arg4 == NULL) SWIG_fail;
ae8162c8 33726 temp4 = true;
d55e5bfc
RD
33727 }
33728 }
33729 {
33730 PyThreadState* __tstate = wxPyBeginAllowThreads();
33731 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
33732
33733 wxPyEndAllowThreads(__tstate);
33734 if (PyErr_Occurred()) SWIG_fail;
33735 }
33736 {
412d302d 33737 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33738 }
33739 {
33740 if (temp3)
33741 delete arg3;
33742 }
33743 {
33744 if (temp4)
33745 delete arg4;
33746 }
33747 return resultobj;
33748 fail:
33749 {
33750 if (temp3)
33751 delete arg3;
33752 }
33753 {
33754 if (temp4)
33755 delete arg4;
33756 }
33757 return NULL;
33758}
33759
33760
c32bde28 33761static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33762 PyObject *resultobj;
33763 wxMenu *arg1 = (wxMenu *) 0 ;
33764 int arg2 ;
33765 wxString *arg3 = 0 ;
33766 wxMenu *arg4 = (wxMenu *) 0 ;
33767 wxString const &arg5_defvalue = wxPyEmptyString ;
33768 wxString *arg5 = (wxString *) &arg5_defvalue ;
33769 wxMenuItem *result;
ae8162c8
RD
33770 bool temp3 = false ;
33771 bool temp5 = false ;
d55e5bfc
RD
33772 PyObject * obj0 = 0 ;
33773 PyObject * obj1 = 0 ;
33774 PyObject * obj2 = 0 ;
33775 PyObject * obj3 = 0 ;
33776 PyObject * obj4 = 0 ;
33777 char *kwnames[] = {
33778 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33779 };
33780
33781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33783 if (SWIG_arg_fail(1)) SWIG_fail;
33784 {
33785 arg2 = (int)(SWIG_As_int(obj1));
33786 if (SWIG_arg_fail(2)) SWIG_fail;
33787 }
d55e5bfc
RD
33788 {
33789 arg3 = wxString_in_helper(obj2);
33790 if (arg3 == NULL) SWIG_fail;
ae8162c8 33791 temp3 = true;
d55e5bfc 33792 }
093d3ff1
RD
33793 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33794 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
33795 if (obj4) {
33796 {
33797 arg5 = wxString_in_helper(obj4);
33798 if (arg5 == NULL) SWIG_fail;
ae8162c8 33799 temp5 = true;
d55e5bfc
RD
33800 }
33801 }
33802 {
33803 PyThreadState* __tstate = wxPyBeginAllowThreads();
33804 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
33805
33806 wxPyEndAllowThreads(__tstate);
33807 if (PyErr_Occurred()) SWIG_fail;
33808 }
33809 {
412d302d 33810 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33811 }
33812 {
33813 if (temp3)
33814 delete arg3;
33815 }
33816 {
33817 if (temp5)
33818 delete arg5;
33819 }
33820 return resultobj;
33821 fail:
33822 {
33823 if (temp3)
33824 delete arg3;
33825 }
33826 {
33827 if (temp5)
33828 delete arg5;
33829 }
33830 return NULL;
33831}
33832
33833
c32bde28 33834static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33835 PyObject *resultobj;
33836 wxMenu *arg1 = (wxMenu *) 0 ;
33837 int arg2 ;
33838 wxMenuItem *result;
33839 PyObject * obj0 = 0 ;
33840 PyObject * obj1 = 0 ;
33841 char *kwnames[] = {
33842 (char *) "self",(char *) "id", NULL
33843 };
33844
33845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33847 if (SWIG_arg_fail(1)) SWIG_fail;
33848 {
33849 arg2 = (int)(SWIG_As_int(obj1));
33850 if (SWIG_arg_fail(2)) SWIG_fail;
33851 }
d55e5bfc
RD
33852 {
33853 PyThreadState* __tstate = wxPyBeginAllowThreads();
33854 result = (wxMenuItem *)(arg1)->Remove(arg2);
33855
33856 wxPyEndAllowThreads(__tstate);
33857 if (PyErr_Occurred()) SWIG_fail;
33858 }
33859 {
412d302d 33860 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33861 }
33862 return resultobj;
33863 fail:
33864 return NULL;
33865}
33866
33867
c32bde28 33868static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33869 PyObject *resultobj;
33870 wxMenu *arg1 = (wxMenu *) 0 ;
33871 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
33872 wxMenuItem *result;
33873 PyObject * obj0 = 0 ;
33874 PyObject * obj1 = 0 ;
33875 char *kwnames[] = {
33876 (char *) "self",(char *) "item", NULL
33877 };
33878
33879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33881 if (SWIG_arg_fail(1)) SWIG_fail;
33882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33883 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33884 {
33885 PyThreadState* __tstate = wxPyBeginAllowThreads();
33886 result = (wxMenuItem *)(arg1)->Remove(arg2);
33887
33888 wxPyEndAllowThreads(__tstate);
33889 if (PyErr_Occurred()) SWIG_fail;
33890 }
33891 {
412d302d 33892 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33893 }
33894 return resultobj;
33895 fail:
33896 return NULL;
33897}
33898
33899
c32bde28 33900static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33901 PyObject *resultobj;
33902 wxMenu *arg1 = (wxMenu *) 0 ;
33903 int arg2 ;
33904 bool result;
33905 PyObject * obj0 = 0 ;
33906 PyObject * obj1 = 0 ;
33907 char *kwnames[] = {
33908 (char *) "self",(char *) "id", NULL
33909 };
33910
33911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33913 if (SWIG_arg_fail(1)) SWIG_fail;
33914 {
33915 arg2 = (int)(SWIG_As_int(obj1));
33916 if (SWIG_arg_fail(2)) SWIG_fail;
33917 }
d55e5bfc
RD
33918 {
33919 PyThreadState* __tstate = wxPyBeginAllowThreads();
33920 result = (bool)(arg1)->Delete(arg2);
33921
33922 wxPyEndAllowThreads(__tstate);
33923 if (PyErr_Occurred()) SWIG_fail;
33924 }
33925 {
33926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33927 }
33928 return resultobj;
33929 fail:
33930 return NULL;
33931}
33932
33933
c32bde28 33934static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33935 PyObject *resultobj;
33936 wxMenu *arg1 = (wxMenu *) 0 ;
33937 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
33938 bool result;
33939 PyObject * obj0 = 0 ;
33940 PyObject * obj1 = 0 ;
33941 char *kwnames[] = {
33942 (char *) "self",(char *) "item", NULL
33943 };
33944
33945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33947 if (SWIG_arg_fail(1)) SWIG_fail;
33948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33949 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33950 {
33951 PyThreadState* __tstate = wxPyBeginAllowThreads();
33952 result = (bool)(arg1)->Delete(arg2);
33953
33954 wxPyEndAllowThreads(__tstate);
33955 if (PyErr_Occurred()) SWIG_fail;
33956 }
33957 {
33958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33959 }
33960 return resultobj;
33961 fail:
33962 return NULL;
33963}
33964
33965
c32bde28 33966static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33967 PyObject *resultobj;
33968 wxMenu *arg1 = (wxMenu *) 0 ;
33969 PyObject * obj0 = 0 ;
33970 char *kwnames[] = {
33971 (char *) "self", NULL
33972 };
33973
33974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
33975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33976 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33977 {
33978 PyThreadState* __tstate = wxPyBeginAllowThreads();
33979 wxMenu_Destroy(arg1);
33980
33981 wxPyEndAllowThreads(__tstate);
33982 if (PyErr_Occurred()) SWIG_fail;
33983 }
33984 Py_INCREF(Py_None); resultobj = Py_None;
33985 return resultobj;
33986 fail:
33987 return NULL;
33988}
33989
33990
c32bde28 33991static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33992 PyObject *resultobj;
33993 wxMenu *arg1 = (wxMenu *) 0 ;
33994 int arg2 ;
33995 bool result;
33996 PyObject * obj0 = 0 ;
33997 PyObject * obj1 = 0 ;
33998 char *kwnames[] = {
33999 (char *) "self",(char *) "id", NULL
34000 };
34001
34002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34004 if (SWIG_arg_fail(1)) SWIG_fail;
34005 {
34006 arg2 = (int)(SWIG_As_int(obj1));
34007 if (SWIG_arg_fail(2)) SWIG_fail;
34008 }
d55e5bfc
RD
34009 {
34010 PyThreadState* __tstate = wxPyBeginAllowThreads();
34011 result = (bool)(arg1)->Destroy(arg2);
34012
34013 wxPyEndAllowThreads(__tstate);
34014 if (PyErr_Occurred()) SWIG_fail;
34015 }
34016 {
34017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34018 }
34019 return resultobj;
34020 fail:
34021 return NULL;
34022}
34023
34024
c32bde28 34025static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34026 PyObject *resultobj;
34027 wxMenu *arg1 = (wxMenu *) 0 ;
34028 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
34029 bool result;
34030 PyObject * obj0 = 0 ;
34031 PyObject * obj1 = 0 ;
34032 char *kwnames[] = {
34033 (char *) "self",(char *) "item", NULL
34034 };
34035
34036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34038 if (SWIG_arg_fail(1)) SWIG_fail;
34039 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
34040 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34041 {
34042 PyThreadState* __tstate = wxPyBeginAllowThreads();
34043 result = (bool)(arg1)->Destroy(arg2);
34044
34045 wxPyEndAllowThreads(__tstate);
34046 if (PyErr_Occurred()) SWIG_fail;
34047 }
34048 {
34049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34050 }
34051 return resultobj;
34052 fail:
34053 return NULL;
34054}
34055
34056
c32bde28 34057static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34058 PyObject *resultobj;
34059 wxMenu *arg1 = (wxMenu *) 0 ;
34060 size_t result;
34061 PyObject * obj0 = 0 ;
34062 char *kwnames[] = {
34063 (char *) "self", NULL
34064 };
34065
34066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
34067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34068 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34069 {
34070 PyThreadState* __tstate = wxPyBeginAllowThreads();
34071 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
34072
34073 wxPyEndAllowThreads(__tstate);
34074 if (PyErr_Occurred()) SWIG_fail;
34075 }
093d3ff1
RD
34076 {
34077 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
34078 }
d55e5bfc
RD
34079 return resultobj;
34080 fail:
34081 return NULL;
34082}
34083
34084
c32bde28 34085static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34086 PyObject *resultobj;
34087 wxMenu *arg1 = (wxMenu *) 0 ;
34088 PyObject *result;
34089 PyObject * obj0 = 0 ;
34090 char *kwnames[] = {
34091 (char *) "self", NULL
34092 };
34093
34094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
34095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34097 {
34098 PyThreadState* __tstate = wxPyBeginAllowThreads();
34099 result = (PyObject *)wxMenu_GetMenuItems(arg1);
34100
34101 wxPyEndAllowThreads(__tstate);
34102 if (PyErr_Occurred()) SWIG_fail;
34103 }
34104 resultobj = result;
34105 return resultobj;
34106 fail:
34107 return NULL;
34108}
34109
34110
c32bde28 34111static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34112 PyObject *resultobj;
34113 wxMenu *arg1 = (wxMenu *) 0 ;
34114 wxString *arg2 = 0 ;
34115 int result;
ae8162c8 34116 bool temp2 = false ;
d55e5bfc
RD
34117 PyObject * obj0 = 0 ;
34118 PyObject * obj1 = 0 ;
34119 char *kwnames[] = {
34120 (char *) "self",(char *) "item", NULL
34121 };
34122
34123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34125 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34126 {
34127 arg2 = wxString_in_helper(obj1);
34128 if (arg2 == NULL) SWIG_fail;
ae8162c8 34129 temp2 = true;
d55e5bfc
RD
34130 }
34131 {
34132 PyThreadState* __tstate = wxPyBeginAllowThreads();
34133 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
34134
34135 wxPyEndAllowThreads(__tstate);
34136 if (PyErr_Occurred()) SWIG_fail;
34137 }
093d3ff1
RD
34138 {
34139 resultobj = SWIG_From_int((int)(result));
34140 }
d55e5bfc
RD
34141 {
34142 if (temp2)
34143 delete arg2;
34144 }
34145 return resultobj;
34146 fail:
34147 {
34148 if (temp2)
34149 delete arg2;
34150 }
34151 return NULL;
34152}
34153
34154
c32bde28 34155static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34156 PyObject *resultobj;
34157 wxMenu *arg1 = (wxMenu *) 0 ;
34158 int arg2 ;
34159 wxMenuItem *result;
34160 PyObject * obj0 = 0 ;
34161 PyObject * obj1 = 0 ;
34162 char *kwnames[] = {
34163 (char *) "self",(char *) "id", NULL
34164 };
34165
34166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34168 if (SWIG_arg_fail(1)) SWIG_fail;
34169 {
34170 arg2 = (int)(SWIG_As_int(obj1));
34171 if (SWIG_arg_fail(2)) SWIG_fail;
34172 }
d55e5bfc
RD
34173 {
34174 PyThreadState* __tstate = wxPyBeginAllowThreads();
34175 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
34176
34177 wxPyEndAllowThreads(__tstate);
34178 if (PyErr_Occurred()) SWIG_fail;
34179 }
34180 {
412d302d 34181 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
34182 }
34183 return resultobj;
34184 fail:
34185 return NULL;
34186}
34187
34188
c32bde28 34189static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34190 PyObject *resultobj;
34191 wxMenu *arg1 = (wxMenu *) 0 ;
34192 size_t arg2 ;
34193 wxMenuItem *result;
34194 PyObject * obj0 = 0 ;
34195 PyObject * obj1 = 0 ;
34196 char *kwnames[] = {
34197 (char *) "self",(char *) "position", NULL
34198 };
34199
34200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34202 if (SWIG_arg_fail(1)) SWIG_fail;
34203 {
34204 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
34205 if (SWIG_arg_fail(2)) SWIG_fail;
34206 }
d55e5bfc
RD
34207 {
34208 PyThreadState* __tstate = wxPyBeginAllowThreads();
34209 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
34210
34211 wxPyEndAllowThreads(__tstate);
34212 if (PyErr_Occurred()) SWIG_fail;
34213 }
34214 {
412d302d 34215 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
34216 }
34217 return resultobj;
34218 fail:
34219 return NULL;
34220}
34221
34222
c32bde28 34223static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34224 PyObject *resultobj;
34225 wxMenu *arg1 = (wxMenu *) 0 ;
34226 int arg2 ;
34227 bool arg3 ;
34228 PyObject * obj0 = 0 ;
34229 PyObject * obj1 = 0 ;
34230 PyObject * obj2 = 0 ;
34231 char *kwnames[] = {
34232 (char *) "self",(char *) "id",(char *) "enable", NULL
34233 };
34234
34235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34237 if (SWIG_arg_fail(1)) SWIG_fail;
34238 {
34239 arg2 = (int)(SWIG_As_int(obj1));
34240 if (SWIG_arg_fail(2)) SWIG_fail;
34241 }
34242 {
34243 arg3 = (bool)(SWIG_As_bool(obj2));
34244 if (SWIG_arg_fail(3)) SWIG_fail;
34245 }
d55e5bfc
RD
34246 {
34247 PyThreadState* __tstate = wxPyBeginAllowThreads();
34248 (arg1)->Enable(arg2,arg3);
34249
34250 wxPyEndAllowThreads(__tstate);
34251 if (PyErr_Occurred()) SWIG_fail;
34252 }
34253 Py_INCREF(Py_None); resultobj = Py_None;
34254 return resultobj;
34255 fail:
34256 return NULL;
34257}
34258
34259
c32bde28 34260static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34261 PyObject *resultobj;
34262 wxMenu *arg1 = (wxMenu *) 0 ;
34263 int arg2 ;
34264 bool result;
34265 PyObject * obj0 = 0 ;
34266 PyObject * obj1 = 0 ;
34267 char *kwnames[] = {
34268 (char *) "self",(char *) "id", NULL
34269 };
34270
34271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34273 if (SWIG_arg_fail(1)) SWIG_fail;
34274 {
34275 arg2 = (int)(SWIG_As_int(obj1));
34276 if (SWIG_arg_fail(2)) SWIG_fail;
34277 }
d55e5bfc
RD
34278 {
34279 PyThreadState* __tstate = wxPyBeginAllowThreads();
34280 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
34281
34282 wxPyEndAllowThreads(__tstate);
34283 if (PyErr_Occurred()) SWIG_fail;
34284 }
34285 {
34286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34287 }
34288 return resultobj;
34289 fail:
34290 return NULL;
34291}
34292
34293
c32bde28 34294static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34295 PyObject *resultobj;
34296 wxMenu *arg1 = (wxMenu *) 0 ;
34297 int arg2 ;
34298 bool arg3 ;
34299 PyObject * obj0 = 0 ;
34300 PyObject * obj1 = 0 ;
34301 PyObject * obj2 = 0 ;
34302 char *kwnames[] = {
34303 (char *) "self",(char *) "id",(char *) "check", NULL
34304 };
34305
34306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34308 if (SWIG_arg_fail(1)) SWIG_fail;
34309 {
34310 arg2 = (int)(SWIG_As_int(obj1));
34311 if (SWIG_arg_fail(2)) SWIG_fail;
34312 }
34313 {
34314 arg3 = (bool)(SWIG_As_bool(obj2));
34315 if (SWIG_arg_fail(3)) SWIG_fail;
34316 }
d55e5bfc
RD
34317 {
34318 PyThreadState* __tstate = wxPyBeginAllowThreads();
34319 (arg1)->Check(arg2,arg3);
34320
34321 wxPyEndAllowThreads(__tstate);
34322 if (PyErr_Occurred()) SWIG_fail;
34323 }
34324 Py_INCREF(Py_None); resultobj = Py_None;
34325 return resultobj;
34326 fail:
34327 return NULL;
34328}
34329
34330
c32bde28 34331static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34332 PyObject *resultobj;
34333 wxMenu *arg1 = (wxMenu *) 0 ;
34334 int arg2 ;
34335 bool result;
34336 PyObject * obj0 = 0 ;
34337 PyObject * obj1 = 0 ;
34338 char *kwnames[] = {
34339 (char *) "self",(char *) "id", NULL
34340 };
34341
34342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34344 if (SWIG_arg_fail(1)) SWIG_fail;
34345 {
34346 arg2 = (int)(SWIG_As_int(obj1));
34347 if (SWIG_arg_fail(2)) SWIG_fail;
34348 }
d55e5bfc
RD
34349 {
34350 PyThreadState* __tstate = wxPyBeginAllowThreads();
34351 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
34352
34353 wxPyEndAllowThreads(__tstate);
34354 if (PyErr_Occurred()) SWIG_fail;
34355 }
34356 {
34357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34358 }
34359 return resultobj;
34360 fail:
34361 return NULL;
34362}
34363
34364
c32bde28 34365static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34366 PyObject *resultobj;
34367 wxMenu *arg1 = (wxMenu *) 0 ;
34368 int arg2 ;
34369 wxString *arg3 = 0 ;
ae8162c8 34370 bool temp3 = false ;
d55e5bfc
RD
34371 PyObject * obj0 = 0 ;
34372 PyObject * obj1 = 0 ;
34373 PyObject * obj2 = 0 ;
34374 char *kwnames[] = {
34375 (char *) "self",(char *) "id",(char *) "label", NULL
34376 };
34377
34378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34380 if (SWIG_arg_fail(1)) SWIG_fail;
34381 {
34382 arg2 = (int)(SWIG_As_int(obj1));
34383 if (SWIG_arg_fail(2)) SWIG_fail;
34384 }
d55e5bfc
RD
34385 {
34386 arg3 = wxString_in_helper(obj2);
34387 if (arg3 == NULL) SWIG_fail;
ae8162c8 34388 temp3 = true;
d55e5bfc
RD
34389 }
34390 {
34391 PyThreadState* __tstate = wxPyBeginAllowThreads();
34392 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
34393
34394 wxPyEndAllowThreads(__tstate);
34395 if (PyErr_Occurred()) SWIG_fail;
34396 }
34397 Py_INCREF(Py_None); resultobj = Py_None;
34398 {
34399 if (temp3)
34400 delete arg3;
34401 }
34402 return resultobj;
34403 fail:
34404 {
34405 if (temp3)
34406 delete arg3;
34407 }
34408 return NULL;
34409}
34410
34411
c32bde28 34412static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34413 PyObject *resultobj;
34414 wxMenu *arg1 = (wxMenu *) 0 ;
34415 int arg2 ;
34416 wxString result;
34417 PyObject * obj0 = 0 ;
34418 PyObject * obj1 = 0 ;
34419 char *kwnames[] = {
34420 (char *) "self",(char *) "id", NULL
34421 };
34422
34423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34425 if (SWIG_arg_fail(1)) SWIG_fail;
34426 {
34427 arg2 = (int)(SWIG_As_int(obj1));
34428 if (SWIG_arg_fail(2)) SWIG_fail;
34429 }
d55e5bfc
RD
34430 {
34431 PyThreadState* __tstate = wxPyBeginAllowThreads();
34432 result = ((wxMenu const *)arg1)->GetLabel(arg2);
34433
34434 wxPyEndAllowThreads(__tstate);
34435 if (PyErr_Occurred()) SWIG_fail;
34436 }
34437 {
34438#if wxUSE_UNICODE
34439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34440#else
34441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34442#endif
34443 }
34444 return resultobj;
34445 fail:
34446 return NULL;
34447}
34448
34449
c32bde28 34450static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34451 PyObject *resultobj;
34452 wxMenu *arg1 = (wxMenu *) 0 ;
34453 int arg2 ;
34454 wxString *arg3 = 0 ;
ae8162c8 34455 bool temp3 = false ;
d55e5bfc
RD
34456 PyObject * obj0 = 0 ;
34457 PyObject * obj1 = 0 ;
34458 PyObject * obj2 = 0 ;
34459 char *kwnames[] = {
34460 (char *) "self",(char *) "id",(char *) "helpString", NULL
34461 };
34462
34463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34465 if (SWIG_arg_fail(1)) SWIG_fail;
34466 {
34467 arg2 = (int)(SWIG_As_int(obj1));
34468 if (SWIG_arg_fail(2)) SWIG_fail;
34469 }
d55e5bfc
RD
34470 {
34471 arg3 = wxString_in_helper(obj2);
34472 if (arg3 == NULL) SWIG_fail;
ae8162c8 34473 temp3 = true;
d55e5bfc
RD
34474 }
34475 {
34476 PyThreadState* __tstate = wxPyBeginAllowThreads();
34477 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
34478
34479 wxPyEndAllowThreads(__tstate);
34480 if (PyErr_Occurred()) SWIG_fail;
34481 }
34482 Py_INCREF(Py_None); resultobj = Py_None;
34483 {
34484 if (temp3)
34485 delete arg3;
34486 }
34487 return resultobj;
34488 fail:
34489 {
34490 if (temp3)
34491 delete arg3;
34492 }
34493 return NULL;
34494}
34495
34496
c32bde28 34497static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34498 PyObject *resultobj;
34499 wxMenu *arg1 = (wxMenu *) 0 ;
34500 int arg2 ;
34501 wxString result;
34502 PyObject * obj0 = 0 ;
34503 PyObject * obj1 = 0 ;
34504 char *kwnames[] = {
34505 (char *) "self",(char *) "id", NULL
34506 };
34507
34508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34510 if (SWIG_arg_fail(1)) SWIG_fail;
34511 {
34512 arg2 = (int)(SWIG_As_int(obj1));
34513 if (SWIG_arg_fail(2)) SWIG_fail;
34514 }
d55e5bfc
RD
34515 {
34516 PyThreadState* __tstate = wxPyBeginAllowThreads();
34517 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
34518
34519 wxPyEndAllowThreads(__tstate);
34520 if (PyErr_Occurred()) SWIG_fail;
34521 }
34522 {
34523#if wxUSE_UNICODE
34524 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34525#else
34526 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34527#endif
34528 }
34529 return resultobj;
34530 fail:
34531 return NULL;
34532}
34533
34534
c32bde28 34535static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34536 PyObject *resultobj;
34537 wxMenu *arg1 = (wxMenu *) 0 ;
34538 wxString *arg2 = 0 ;
ae8162c8 34539 bool temp2 = false ;
d55e5bfc
RD
34540 PyObject * obj0 = 0 ;
34541 PyObject * obj1 = 0 ;
34542 char *kwnames[] = {
34543 (char *) "self",(char *) "title", NULL
34544 };
34545
34546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34548 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34549 {
34550 arg2 = wxString_in_helper(obj1);
34551 if (arg2 == NULL) SWIG_fail;
ae8162c8 34552 temp2 = true;
d55e5bfc
RD
34553 }
34554 {
34555 PyThreadState* __tstate = wxPyBeginAllowThreads();
34556 (arg1)->SetTitle((wxString const &)*arg2);
34557
34558 wxPyEndAllowThreads(__tstate);
34559 if (PyErr_Occurred()) SWIG_fail;
34560 }
34561 Py_INCREF(Py_None); resultobj = Py_None;
34562 {
34563 if (temp2)
34564 delete arg2;
34565 }
34566 return resultobj;
34567 fail:
34568 {
34569 if (temp2)
34570 delete arg2;
34571 }
34572 return NULL;
34573}
34574
34575
c32bde28 34576static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34577 PyObject *resultobj;
34578 wxMenu *arg1 = (wxMenu *) 0 ;
34579 wxString result;
34580 PyObject * obj0 = 0 ;
34581 char *kwnames[] = {
34582 (char *) "self", NULL
34583 };
34584
34585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
34586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34587 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34588 {
34589 PyThreadState* __tstate = wxPyBeginAllowThreads();
34590 result = ((wxMenu const *)arg1)->GetTitle();
34591
34592 wxPyEndAllowThreads(__tstate);
34593 if (PyErr_Occurred()) SWIG_fail;
34594 }
34595 {
34596#if wxUSE_UNICODE
34597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34598#else
34599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34600#endif
34601 }
34602 return resultobj;
34603 fail:
34604 return NULL;
34605}
34606
34607
c32bde28 34608static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34609 PyObject *resultobj;
34610 wxMenu *arg1 = (wxMenu *) 0 ;
34611 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
34612 PyObject * obj0 = 0 ;
34613 PyObject * obj1 = 0 ;
34614 char *kwnames[] = {
34615 (char *) "self",(char *) "handler", NULL
34616 };
34617
34618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34620 if (SWIG_arg_fail(1)) SWIG_fail;
34621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
34622 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34623 {
34624 PyThreadState* __tstate = wxPyBeginAllowThreads();
34625 (arg1)->SetEventHandler(arg2);
34626
34627 wxPyEndAllowThreads(__tstate);
34628 if (PyErr_Occurred()) SWIG_fail;
34629 }
34630 Py_INCREF(Py_None); resultobj = Py_None;
34631 return resultobj;
34632 fail:
34633 return NULL;
34634}
34635
34636
c32bde28 34637static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34638 PyObject *resultobj;
34639 wxMenu *arg1 = (wxMenu *) 0 ;
34640 wxEvtHandler *result;
34641 PyObject * obj0 = 0 ;
34642 char *kwnames[] = {
34643 (char *) "self", NULL
34644 };
34645
34646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
34647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34649 {
34650 PyThreadState* __tstate = wxPyBeginAllowThreads();
34651 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
34652
34653 wxPyEndAllowThreads(__tstate);
34654 if (PyErr_Occurred()) SWIG_fail;
34655 }
34656 {
412d302d 34657 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
34658 }
34659 return resultobj;
34660 fail:
34661 return NULL;
34662}
34663
34664
c32bde28 34665static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34666 PyObject *resultobj;
34667 wxMenu *arg1 = (wxMenu *) 0 ;
34668 wxWindow *arg2 = (wxWindow *) 0 ;
34669 PyObject * obj0 = 0 ;
34670 PyObject * obj1 = 0 ;
34671 char *kwnames[] = {
34672 (char *) "self",(char *) "win", NULL
34673 };
34674
34675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34677 if (SWIG_arg_fail(1)) SWIG_fail;
34678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34679 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34680 {
34681 PyThreadState* __tstate = wxPyBeginAllowThreads();
34682 (arg1)->SetInvokingWindow(arg2);
34683
34684 wxPyEndAllowThreads(__tstate);
34685 if (PyErr_Occurred()) SWIG_fail;
34686 }
34687 Py_INCREF(Py_None); resultobj = Py_None;
34688 return resultobj;
34689 fail:
34690 return NULL;
34691}
34692
34693
c32bde28 34694static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34695 PyObject *resultobj;
34696 wxMenu *arg1 = (wxMenu *) 0 ;
34697 wxWindow *result;
34698 PyObject * obj0 = 0 ;
34699 char *kwnames[] = {
34700 (char *) "self", NULL
34701 };
34702
34703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
34704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34705 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34706 {
34707 PyThreadState* __tstate = wxPyBeginAllowThreads();
34708 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
34709
34710 wxPyEndAllowThreads(__tstate);
34711 if (PyErr_Occurred()) SWIG_fail;
34712 }
34713 {
412d302d 34714 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
34715 }
34716 return resultobj;
34717 fail:
34718 return NULL;
34719}
34720
34721
c32bde28 34722static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34723 PyObject *resultobj;
34724 wxMenu *arg1 = (wxMenu *) 0 ;
34725 long result;
34726 PyObject * obj0 = 0 ;
34727 char *kwnames[] = {
34728 (char *) "self", NULL
34729 };
34730
34731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
34732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34733 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34734 {
34735 PyThreadState* __tstate = wxPyBeginAllowThreads();
34736 result = (long)((wxMenu const *)arg1)->GetStyle();
34737
34738 wxPyEndAllowThreads(__tstate);
34739 if (PyErr_Occurred()) SWIG_fail;
34740 }
093d3ff1
RD
34741 {
34742 resultobj = SWIG_From_long((long)(result));
34743 }
d55e5bfc
RD
34744 return resultobj;
34745 fail:
34746 return NULL;
34747}
34748
34749
c32bde28 34750static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34751 PyObject *resultobj;
34752 wxMenu *arg1 = (wxMenu *) 0 ;
34753 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
34754 PyObject * obj0 = 0 ;
34755 PyObject * obj1 = 0 ;
34756 char *kwnames[] = {
34757 (char *) "self",(char *) "source", NULL
34758 };
34759
34760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34762 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 34763 if (obj1) {
093d3ff1
RD
34764 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
34765 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34766 }
34767 {
34768 PyThreadState* __tstate = wxPyBeginAllowThreads();
34769 (arg1)->UpdateUI(arg2);
34770
34771 wxPyEndAllowThreads(__tstate);
34772 if (PyErr_Occurred()) SWIG_fail;
34773 }
34774 Py_INCREF(Py_None); resultobj = Py_None;
34775 return resultobj;
34776 fail:
34777 return NULL;
34778}
34779
34780
c32bde28 34781static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34782 PyObject *resultobj;
34783 wxMenu *arg1 = (wxMenu *) 0 ;
34784 wxMenuBar *result;
34785 PyObject * obj0 = 0 ;
34786 char *kwnames[] = {
34787 (char *) "self", NULL
34788 };
34789
34790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
34791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34793 {
34794 PyThreadState* __tstate = wxPyBeginAllowThreads();
34795 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
34796
34797 wxPyEndAllowThreads(__tstate);
34798 if (PyErr_Occurred()) SWIG_fail;
34799 }
34800 {
412d302d 34801 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
34802 }
34803 return resultobj;
34804 fail:
34805 return NULL;
34806}
34807
34808
c32bde28 34809static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34810 PyObject *resultobj;
34811 wxMenu *arg1 = (wxMenu *) 0 ;
34812 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
34813 PyObject * obj0 = 0 ;
34814 PyObject * obj1 = 0 ;
34815 char *kwnames[] = {
34816 (char *) "self",(char *) "menubar", NULL
34817 };
34818
34819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34821 if (SWIG_arg_fail(1)) SWIG_fail;
34822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBarBase, SWIG_POINTER_EXCEPTION | 0);
34823 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34824 {
34825 PyThreadState* __tstate = wxPyBeginAllowThreads();
34826 (arg1)->Attach(arg2);
34827
34828 wxPyEndAllowThreads(__tstate);
34829 if (PyErr_Occurred()) SWIG_fail;
34830 }
34831 Py_INCREF(Py_None); resultobj = Py_None;
34832 return resultobj;
34833 fail:
34834 return NULL;
34835}
34836
34837
c32bde28 34838static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34839 PyObject *resultobj;
34840 wxMenu *arg1 = (wxMenu *) 0 ;
34841 PyObject * obj0 = 0 ;
34842 char *kwnames[] = {
34843 (char *) "self", NULL
34844 };
34845
34846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
34847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34848 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34849 {
34850 PyThreadState* __tstate = wxPyBeginAllowThreads();
34851 (arg1)->Detach();
34852
34853 wxPyEndAllowThreads(__tstate);
34854 if (PyErr_Occurred()) SWIG_fail;
34855 }
34856 Py_INCREF(Py_None); resultobj = Py_None;
34857 return resultobj;
34858 fail:
34859 return NULL;
34860}
34861
34862
c32bde28 34863static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34864 PyObject *resultobj;
34865 wxMenu *arg1 = (wxMenu *) 0 ;
34866 bool result;
34867 PyObject * obj0 = 0 ;
34868 char *kwnames[] = {
34869 (char *) "self", NULL
34870 };
34871
34872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
093d3ff1
RD
34873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34874 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34875 {
34876 PyThreadState* __tstate = wxPyBeginAllowThreads();
34877 result = (bool)((wxMenu const *)arg1)->IsAttached();
34878
34879 wxPyEndAllowThreads(__tstate);
34880 if (PyErr_Occurred()) SWIG_fail;
34881 }
34882 {
34883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34884 }
34885 return resultobj;
34886 fail:
34887 return NULL;
34888}
34889
34890
c32bde28 34891static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34892 PyObject *resultobj;
34893 wxMenu *arg1 = (wxMenu *) 0 ;
34894 wxMenu *arg2 = (wxMenu *) 0 ;
34895 PyObject * obj0 = 0 ;
34896 PyObject * obj1 = 0 ;
34897 char *kwnames[] = {
34898 (char *) "self",(char *) "parent", NULL
34899 };
34900
34901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34903 if (SWIG_arg_fail(1)) SWIG_fail;
34904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34905 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34906 {
34907 PyThreadState* __tstate = wxPyBeginAllowThreads();
34908 (arg1)->SetParent(arg2);
34909
34910 wxPyEndAllowThreads(__tstate);
34911 if (PyErr_Occurred()) SWIG_fail;
34912 }
34913 Py_INCREF(Py_None); resultobj = Py_None;
34914 return resultobj;
34915 fail:
34916 return NULL;
34917}
34918
34919
c32bde28 34920static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34921 PyObject *resultobj;
34922 wxMenu *arg1 = (wxMenu *) 0 ;
34923 wxMenu *result;
34924 PyObject * obj0 = 0 ;
34925 char *kwnames[] = {
34926 (char *) "self", NULL
34927 };
34928
34929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
34930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34931 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34932 {
34933 PyThreadState* __tstate = wxPyBeginAllowThreads();
34934 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
34935
34936 wxPyEndAllowThreads(__tstate);
34937 if (PyErr_Occurred()) SWIG_fail;
34938 }
34939 {
412d302d 34940 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
34941 }
34942 return resultobj;
34943 fail:
34944 return NULL;
34945}
34946
34947
c32bde28 34948static PyObject * Menu_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34949 PyObject *obj;
34950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34951 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
34952 Py_INCREF(obj);
34953 return Py_BuildValue((char *)"");
34954}
c32bde28 34955static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34956 PyObject *resultobj;
34957 long arg1 = (long) 0 ;
34958 wxMenuBar *result;
34959 PyObject * obj0 = 0 ;
34960 char *kwnames[] = {
34961 (char *) "style", NULL
34962 };
34963
34964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
34965 if (obj0) {
093d3ff1
RD
34966 {
34967 arg1 = (long)(SWIG_As_long(obj0));
34968 if (SWIG_arg_fail(1)) SWIG_fail;
34969 }
d55e5bfc
RD
34970 }
34971 {
0439c23b 34972 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34973 PyThreadState* __tstate = wxPyBeginAllowThreads();
34974 result = (wxMenuBar *)new wxMenuBar(arg1);
34975
34976 wxPyEndAllowThreads(__tstate);
110da5b0 34977 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 34978 }
b0f7404b 34979 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuBar, 1);
d55e5bfc
RD
34980 return resultobj;
34981 fail:
34982 return NULL;
34983}
34984
34985
c32bde28 34986static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34987 PyObject *resultobj;
34988 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
34989 wxMenu *arg2 = (wxMenu *) 0 ;
34990 wxString *arg3 = 0 ;
34991 bool result;
ae8162c8 34992 bool temp3 = false ;
d55e5bfc
RD
34993 PyObject * obj0 = 0 ;
34994 PyObject * obj1 = 0 ;
34995 PyObject * obj2 = 0 ;
34996 char *kwnames[] = {
34997 (char *) "self",(char *) "menu",(char *) "title", NULL
34998 };
34999
35000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35002 if (SWIG_arg_fail(1)) SWIG_fail;
35003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35004 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35005 {
35006 arg3 = wxString_in_helper(obj2);
35007 if (arg3 == NULL) SWIG_fail;
ae8162c8 35008 temp3 = true;
d55e5bfc
RD
35009 }
35010 {
35011 PyThreadState* __tstate = wxPyBeginAllowThreads();
35012 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
35013
35014 wxPyEndAllowThreads(__tstate);
35015 if (PyErr_Occurred()) SWIG_fail;
35016 }
35017 {
35018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35019 }
35020 {
35021 if (temp3)
35022 delete arg3;
35023 }
35024 return resultobj;
35025 fail:
35026 {
35027 if (temp3)
35028 delete arg3;
35029 }
35030 return NULL;
35031}
35032
35033
c32bde28 35034static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35035 PyObject *resultobj;
35036 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35037 size_t arg2 ;
35038 wxMenu *arg3 = (wxMenu *) 0 ;
35039 wxString *arg4 = 0 ;
35040 bool result;
ae8162c8 35041 bool temp4 = false ;
d55e5bfc
RD
35042 PyObject * obj0 = 0 ;
35043 PyObject * obj1 = 0 ;
35044 PyObject * obj2 = 0 ;
35045 PyObject * obj3 = 0 ;
35046 char *kwnames[] = {
35047 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35048 };
35049
35050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
35051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35052 if (SWIG_arg_fail(1)) SWIG_fail;
35053 {
35054 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35055 if (SWIG_arg_fail(2)) SWIG_fail;
35056 }
35057 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35058 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
35059 {
35060 arg4 = wxString_in_helper(obj3);
35061 if (arg4 == NULL) SWIG_fail;
ae8162c8 35062 temp4 = true;
d55e5bfc
RD
35063 }
35064 {
35065 PyThreadState* __tstate = wxPyBeginAllowThreads();
35066 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
35067
35068 wxPyEndAllowThreads(__tstate);
35069 if (PyErr_Occurred()) SWIG_fail;
35070 }
35071 {
35072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35073 }
35074 {
35075 if (temp4)
35076 delete arg4;
35077 }
35078 return resultobj;
35079 fail:
35080 {
35081 if (temp4)
35082 delete arg4;
35083 }
35084 return NULL;
35085}
35086
35087
c32bde28 35088static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35089 PyObject *resultobj;
35090 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35091 size_t result;
35092 PyObject * obj0 = 0 ;
35093 char *kwnames[] = {
35094 (char *) "self", NULL
35095 };
35096
35097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
35098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35099 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35100 {
35101 PyThreadState* __tstate = wxPyBeginAllowThreads();
35102 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
35103
35104 wxPyEndAllowThreads(__tstate);
35105 if (PyErr_Occurred()) SWIG_fail;
35106 }
093d3ff1
RD
35107 {
35108 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
35109 }
d55e5bfc
RD
35110 return resultobj;
35111 fail:
35112 return NULL;
35113}
35114
35115
c32bde28 35116static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35117 PyObject *resultobj;
35118 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35119 size_t arg2 ;
35120 wxMenu *result;
35121 PyObject * obj0 = 0 ;
35122 PyObject * obj1 = 0 ;
35123 char *kwnames[] = {
35124 (char *) "self",(char *) "pos", NULL
35125 };
35126
35127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35129 if (SWIG_arg_fail(1)) SWIG_fail;
35130 {
35131 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35132 if (SWIG_arg_fail(2)) SWIG_fail;
35133 }
d55e5bfc
RD
35134 {
35135 PyThreadState* __tstate = wxPyBeginAllowThreads();
35136 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
35137
35138 wxPyEndAllowThreads(__tstate);
35139 if (PyErr_Occurred()) SWIG_fail;
35140 }
35141 {
412d302d 35142 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
35143 }
35144 return resultobj;
35145 fail:
35146 return NULL;
35147}
35148
35149
c32bde28 35150static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35151 PyObject *resultobj;
35152 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35153 size_t arg2 ;
35154 wxMenu *arg3 = (wxMenu *) 0 ;
35155 wxString *arg4 = 0 ;
35156 wxMenu *result;
ae8162c8 35157 bool temp4 = false ;
d55e5bfc
RD
35158 PyObject * obj0 = 0 ;
35159 PyObject * obj1 = 0 ;
35160 PyObject * obj2 = 0 ;
35161 PyObject * obj3 = 0 ;
35162 char *kwnames[] = {
35163 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35164 };
35165
35166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
35167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35168 if (SWIG_arg_fail(1)) SWIG_fail;
35169 {
35170 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35171 if (SWIG_arg_fail(2)) SWIG_fail;
35172 }
35173 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35174 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
35175 {
35176 arg4 = wxString_in_helper(obj3);
35177 if (arg4 == NULL) SWIG_fail;
ae8162c8 35178 temp4 = true;
d55e5bfc
RD
35179 }
35180 {
35181 PyThreadState* __tstate = wxPyBeginAllowThreads();
35182 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
35183
35184 wxPyEndAllowThreads(__tstate);
35185 if (PyErr_Occurred()) SWIG_fail;
35186 }
35187 {
412d302d 35188 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
35189 }
35190 {
35191 if (temp4)
35192 delete arg4;
35193 }
35194 return resultobj;
35195 fail:
35196 {
35197 if (temp4)
35198 delete arg4;
35199 }
35200 return NULL;
35201}
35202
35203
c32bde28 35204static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35205 PyObject *resultobj;
35206 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35207 size_t arg2 ;
35208 wxMenu *result;
35209 PyObject * obj0 = 0 ;
35210 PyObject * obj1 = 0 ;
35211 char *kwnames[] = {
35212 (char *) "self",(char *) "pos", NULL
35213 };
35214
35215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35217 if (SWIG_arg_fail(1)) SWIG_fail;
35218 {
35219 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35220 if (SWIG_arg_fail(2)) SWIG_fail;
35221 }
d55e5bfc
RD
35222 {
35223 PyThreadState* __tstate = wxPyBeginAllowThreads();
35224 result = (wxMenu *)(arg1)->Remove(arg2);
35225
35226 wxPyEndAllowThreads(__tstate);
35227 if (PyErr_Occurred()) SWIG_fail;
35228 }
35229 {
412d302d 35230 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
35231 }
35232 return resultobj;
35233 fail:
35234 return NULL;
35235}
35236
35237
c32bde28 35238static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35239 PyObject *resultobj;
35240 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35241 size_t arg2 ;
35242 bool arg3 ;
35243 PyObject * obj0 = 0 ;
35244 PyObject * obj1 = 0 ;
35245 PyObject * obj2 = 0 ;
35246 char *kwnames[] = {
35247 (char *) "self",(char *) "pos",(char *) "enable", NULL
35248 };
35249
35250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35252 if (SWIG_arg_fail(1)) SWIG_fail;
35253 {
35254 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35255 if (SWIG_arg_fail(2)) SWIG_fail;
35256 }
35257 {
35258 arg3 = (bool)(SWIG_As_bool(obj2));
35259 if (SWIG_arg_fail(3)) SWIG_fail;
35260 }
d55e5bfc
RD
35261 {
35262 PyThreadState* __tstate = wxPyBeginAllowThreads();
35263 (arg1)->EnableTop(arg2,arg3);
35264
35265 wxPyEndAllowThreads(__tstate);
35266 if (PyErr_Occurred()) SWIG_fail;
35267 }
35268 Py_INCREF(Py_None); resultobj = Py_None;
35269 return resultobj;
35270 fail:
35271 return NULL;
35272}
35273
35274
c32bde28 35275static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35276 PyObject *resultobj;
35277 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35278 size_t arg2 ;
35279 bool result;
35280 PyObject * obj0 = 0 ;
35281 PyObject * obj1 = 0 ;
35282 char *kwnames[] = {
35283 (char *) "self",(char *) "pos", NULL
35284 };
35285
35286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35288 if (SWIG_arg_fail(1)) SWIG_fail;
35289 {
35290 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35291 if (SWIG_arg_fail(2)) SWIG_fail;
35292 }
d55e5bfc
RD
35293 {
35294 PyThreadState* __tstate = wxPyBeginAllowThreads();
35295 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
35296
35297 wxPyEndAllowThreads(__tstate);
35298 if (PyErr_Occurred()) SWIG_fail;
35299 }
35300 {
35301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35302 }
35303 return resultobj;
35304 fail:
35305 return NULL;
35306}
35307
35308
c32bde28 35309static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35310 PyObject *resultobj;
35311 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35312 size_t arg2 ;
35313 wxString *arg3 = 0 ;
ae8162c8 35314 bool temp3 = false ;
d55e5bfc
RD
35315 PyObject * obj0 = 0 ;
35316 PyObject * obj1 = 0 ;
35317 PyObject * obj2 = 0 ;
35318 char *kwnames[] = {
35319 (char *) "self",(char *) "pos",(char *) "label", NULL
35320 };
35321
35322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35324 if (SWIG_arg_fail(1)) SWIG_fail;
35325 {
35326 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35327 if (SWIG_arg_fail(2)) SWIG_fail;
35328 }
d55e5bfc
RD
35329 {
35330 arg3 = wxString_in_helper(obj2);
35331 if (arg3 == NULL) SWIG_fail;
ae8162c8 35332 temp3 = true;
d55e5bfc
RD
35333 }
35334 {
35335 PyThreadState* __tstate = wxPyBeginAllowThreads();
35336 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
35337
35338 wxPyEndAllowThreads(__tstate);
35339 if (PyErr_Occurred()) SWIG_fail;
35340 }
35341 Py_INCREF(Py_None); resultobj = Py_None;
35342 {
35343 if (temp3)
35344 delete arg3;
35345 }
35346 return resultobj;
35347 fail:
35348 {
35349 if (temp3)
35350 delete arg3;
35351 }
35352 return NULL;
35353}
35354
35355
c32bde28 35356static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35357 PyObject *resultobj;
35358 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35359 size_t arg2 ;
35360 wxString result;
35361 PyObject * obj0 = 0 ;
35362 PyObject * obj1 = 0 ;
35363 char *kwnames[] = {
35364 (char *) "self",(char *) "pos", NULL
35365 };
35366
35367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35369 if (SWIG_arg_fail(1)) SWIG_fail;
35370 {
35371 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
35372 if (SWIG_arg_fail(2)) SWIG_fail;
35373 }
d55e5bfc
RD
35374 {
35375 PyThreadState* __tstate = wxPyBeginAllowThreads();
35376 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
35377
35378 wxPyEndAllowThreads(__tstate);
35379 if (PyErr_Occurred()) SWIG_fail;
35380 }
35381 {
35382#if wxUSE_UNICODE
35383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35384#else
35385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35386#endif
35387 }
35388 return resultobj;
35389 fail:
35390 return NULL;
35391}
35392
35393
c32bde28 35394static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35395 PyObject *resultobj;
35396 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35397 wxString *arg2 = 0 ;
35398 wxString *arg3 = 0 ;
35399 int result;
ae8162c8
RD
35400 bool temp2 = false ;
35401 bool temp3 = false ;
d55e5bfc
RD
35402 PyObject * obj0 = 0 ;
35403 PyObject * obj1 = 0 ;
35404 PyObject * obj2 = 0 ;
35405 char *kwnames[] = {
35406 (char *) "self",(char *) "menu",(char *) "item", NULL
35407 };
35408
35409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35411 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35412 {
35413 arg2 = wxString_in_helper(obj1);
35414 if (arg2 == NULL) SWIG_fail;
ae8162c8 35415 temp2 = true;
d55e5bfc
RD
35416 }
35417 {
35418 arg3 = wxString_in_helper(obj2);
35419 if (arg3 == NULL) SWIG_fail;
ae8162c8 35420 temp3 = true;
d55e5bfc
RD
35421 }
35422 {
35423 PyThreadState* __tstate = wxPyBeginAllowThreads();
35424 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
35425
35426 wxPyEndAllowThreads(__tstate);
35427 if (PyErr_Occurred()) SWIG_fail;
35428 }
093d3ff1
RD
35429 {
35430 resultobj = SWIG_From_int((int)(result));
35431 }
d55e5bfc
RD
35432 {
35433 if (temp2)
35434 delete arg2;
35435 }
35436 {
35437 if (temp3)
35438 delete arg3;
35439 }
35440 return resultobj;
35441 fail:
35442 {
35443 if (temp2)
35444 delete arg2;
35445 }
35446 {
35447 if (temp3)
35448 delete arg3;
35449 }
35450 return NULL;
35451}
35452
35453
c32bde28 35454static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35455 PyObject *resultobj;
35456 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35457 int arg2 ;
35458 wxMenuItem *result;
35459 PyObject * obj0 = 0 ;
35460 PyObject * obj1 = 0 ;
35461 char *kwnames[] = {
35462 (char *) "self",(char *) "id", NULL
35463 };
35464
35465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35467 if (SWIG_arg_fail(1)) SWIG_fail;
35468 {
35469 arg2 = (int)(SWIG_As_int(obj1));
35470 if (SWIG_arg_fail(2)) SWIG_fail;
35471 }
d55e5bfc
RD
35472 {
35473 PyThreadState* __tstate = wxPyBeginAllowThreads();
35474 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
35475
35476 wxPyEndAllowThreads(__tstate);
35477 if (PyErr_Occurred()) SWIG_fail;
35478 }
35479 {
412d302d 35480 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
35481 }
35482 return resultobj;
35483 fail:
35484 return NULL;
35485}
35486
35487
c32bde28 35488static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35489 PyObject *resultobj;
35490 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35491 wxString *arg2 = 0 ;
35492 int result;
ae8162c8 35493 bool temp2 = false ;
d55e5bfc
RD
35494 PyObject * obj0 = 0 ;
35495 PyObject * obj1 = 0 ;
35496 char *kwnames[] = {
35497 (char *) "self",(char *) "title", NULL
35498 };
35499
35500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35502 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35503 {
35504 arg2 = wxString_in_helper(obj1);
35505 if (arg2 == NULL) SWIG_fail;
ae8162c8 35506 temp2 = true;
d55e5bfc
RD
35507 }
35508 {
35509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 35510 result = (int)(arg1)->FindMenu((wxString const &)*arg2);
d55e5bfc
RD
35511
35512 wxPyEndAllowThreads(__tstate);
35513 if (PyErr_Occurred()) SWIG_fail;
35514 }
093d3ff1
RD
35515 {
35516 resultobj = SWIG_From_int((int)(result));
35517 }
d55e5bfc
RD
35518 {
35519 if (temp2)
35520 delete arg2;
35521 }
35522 return resultobj;
35523 fail:
35524 {
35525 if (temp2)
35526 delete arg2;
35527 }
35528 return NULL;
35529}
35530
35531
c32bde28 35532static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35533 PyObject *resultobj;
35534 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35535 int arg2 ;
35536 bool arg3 ;
35537 PyObject * obj0 = 0 ;
35538 PyObject * obj1 = 0 ;
35539 PyObject * obj2 = 0 ;
35540 char *kwnames[] = {
35541 (char *) "self",(char *) "id",(char *) "enable", NULL
35542 };
35543
35544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35546 if (SWIG_arg_fail(1)) SWIG_fail;
35547 {
35548 arg2 = (int)(SWIG_As_int(obj1));
35549 if (SWIG_arg_fail(2)) SWIG_fail;
35550 }
35551 {
35552 arg3 = (bool)(SWIG_As_bool(obj2));
35553 if (SWIG_arg_fail(3)) SWIG_fail;
35554 }
d55e5bfc
RD
35555 {
35556 PyThreadState* __tstate = wxPyBeginAllowThreads();
35557 (arg1)->Enable(arg2,arg3);
35558
35559 wxPyEndAllowThreads(__tstate);
35560 if (PyErr_Occurred()) SWIG_fail;
35561 }
35562 Py_INCREF(Py_None); resultobj = Py_None;
35563 return resultobj;
35564 fail:
35565 return NULL;
35566}
35567
35568
c32bde28 35569static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35570 PyObject *resultobj;
35571 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35572 int arg2 ;
35573 bool arg3 ;
35574 PyObject * obj0 = 0 ;
35575 PyObject * obj1 = 0 ;
35576 PyObject * obj2 = 0 ;
35577 char *kwnames[] = {
35578 (char *) "self",(char *) "id",(char *) "check", NULL
35579 };
35580
35581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35583 if (SWIG_arg_fail(1)) SWIG_fail;
35584 {
35585 arg2 = (int)(SWIG_As_int(obj1));
35586 if (SWIG_arg_fail(2)) SWIG_fail;
35587 }
35588 {
35589 arg3 = (bool)(SWIG_As_bool(obj2));
35590 if (SWIG_arg_fail(3)) SWIG_fail;
35591 }
d55e5bfc
RD
35592 {
35593 PyThreadState* __tstate = wxPyBeginAllowThreads();
35594 (arg1)->Check(arg2,arg3);
35595
35596 wxPyEndAllowThreads(__tstate);
35597 if (PyErr_Occurred()) SWIG_fail;
35598 }
35599 Py_INCREF(Py_None); resultobj = Py_None;
35600 return resultobj;
35601 fail:
35602 return NULL;
35603}
35604
35605
c32bde28 35606static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35607 PyObject *resultobj;
35608 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35609 int arg2 ;
35610 bool result;
35611 PyObject * obj0 = 0 ;
35612 PyObject * obj1 = 0 ;
35613 char *kwnames[] = {
35614 (char *) "self",(char *) "id", NULL
35615 };
35616
35617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35619 if (SWIG_arg_fail(1)) SWIG_fail;
35620 {
35621 arg2 = (int)(SWIG_As_int(obj1));
35622 if (SWIG_arg_fail(2)) SWIG_fail;
35623 }
d55e5bfc
RD
35624 {
35625 PyThreadState* __tstate = wxPyBeginAllowThreads();
35626 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
35627
35628 wxPyEndAllowThreads(__tstate);
35629 if (PyErr_Occurred()) SWIG_fail;
35630 }
35631 {
35632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35633 }
35634 return resultobj;
35635 fail:
35636 return NULL;
35637}
35638
35639
c32bde28 35640static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35641 PyObject *resultobj;
35642 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35643 int arg2 ;
35644 bool result;
35645 PyObject * obj0 = 0 ;
35646 PyObject * obj1 = 0 ;
35647 char *kwnames[] = {
35648 (char *) "self",(char *) "id", NULL
35649 };
35650
35651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35653 if (SWIG_arg_fail(1)) SWIG_fail;
35654 {
35655 arg2 = (int)(SWIG_As_int(obj1));
35656 if (SWIG_arg_fail(2)) SWIG_fail;
35657 }
d55e5bfc
RD
35658 {
35659 PyThreadState* __tstate = wxPyBeginAllowThreads();
35660 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
35661
35662 wxPyEndAllowThreads(__tstate);
35663 if (PyErr_Occurred()) SWIG_fail;
35664 }
35665 {
35666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35667 }
35668 return resultobj;
35669 fail:
35670 return NULL;
35671}
35672
35673
c32bde28 35674static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35675 PyObject *resultobj;
35676 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35677 int arg2 ;
35678 wxString *arg3 = 0 ;
ae8162c8 35679 bool temp3 = false ;
d55e5bfc
RD
35680 PyObject * obj0 = 0 ;
35681 PyObject * obj1 = 0 ;
35682 PyObject * obj2 = 0 ;
35683 char *kwnames[] = {
35684 (char *) "self",(char *) "id",(char *) "label", NULL
35685 };
35686
35687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35689 if (SWIG_arg_fail(1)) SWIG_fail;
35690 {
35691 arg2 = (int)(SWIG_As_int(obj1));
35692 if (SWIG_arg_fail(2)) SWIG_fail;
35693 }
d55e5bfc
RD
35694 {
35695 arg3 = wxString_in_helper(obj2);
35696 if (arg3 == NULL) SWIG_fail;
ae8162c8 35697 temp3 = true;
d55e5bfc
RD
35698 }
35699 {
35700 PyThreadState* __tstate = wxPyBeginAllowThreads();
35701 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
35702
35703 wxPyEndAllowThreads(__tstate);
35704 if (PyErr_Occurred()) SWIG_fail;
35705 }
35706 Py_INCREF(Py_None); resultobj = Py_None;
35707 {
35708 if (temp3)
35709 delete arg3;
35710 }
35711 return resultobj;
35712 fail:
35713 {
35714 if (temp3)
35715 delete arg3;
35716 }
35717 return NULL;
35718}
35719
35720
c32bde28 35721static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35722 PyObject *resultobj;
35723 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35724 int arg2 ;
35725 wxString result;
35726 PyObject * obj0 = 0 ;
35727 PyObject * obj1 = 0 ;
35728 char *kwnames[] = {
35729 (char *) "self",(char *) "id", NULL
35730 };
35731
35732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35734 if (SWIG_arg_fail(1)) SWIG_fail;
35735 {
35736 arg2 = (int)(SWIG_As_int(obj1));
35737 if (SWIG_arg_fail(2)) SWIG_fail;
35738 }
d55e5bfc
RD
35739 {
35740 PyThreadState* __tstate = wxPyBeginAllowThreads();
35741 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
35742
35743 wxPyEndAllowThreads(__tstate);
35744 if (PyErr_Occurred()) SWIG_fail;
35745 }
35746 {
35747#if wxUSE_UNICODE
35748 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35749#else
35750 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35751#endif
35752 }
35753 return resultobj;
35754 fail:
35755 return NULL;
35756}
35757
35758
c32bde28 35759static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35760 PyObject *resultobj;
35761 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35762 int arg2 ;
35763 wxString *arg3 = 0 ;
ae8162c8 35764 bool temp3 = false ;
d55e5bfc
RD
35765 PyObject * obj0 = 0 ;
35766 PyObject * obj1 = 0 ;
35767 PyObject * obj2 = 0 ;
35768 char *kwnames[] = {
35769 (char *) "self",(char *) "id",(char *) "helpString", NULL
35770 };
35771
35772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35774 if (SWIG_arg_fail(1)) SWIG_fail;
35775 {
35776 arg2 = (int)(SWIG_As_int(obj1));
35777 if (SWIG_arg_fail(2)) SWIG_fail;
35778 }
d55e5bfc
RD
35779 {
35780 arg3 = wxString_in_helper(obj2);
35781 if (arg3 == NULL) SWIG_fail;
ae8162c8 35782 temp3 = true;
d55e5bfc
RD
35783 }
35784 {
35785 PyThreadState* __tstate = wxPyBeginAllowThreads();
35786 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
35787
35788 wxPyEndAllowThreads(__tstate);
35789 if (PyErr_Occurred()) SWIG_fail;
35790 }
35791 Py_INCREF(Py_None); resultobj = Py_None;
35792 {
35793 if (temp3)
35794 delete arg3;
35795 }
35796 return resultobj;
35797 fail:
35798 {
35799 if (temp3)
35800 delete arg3;
35801 }
35802 return NULL;
35803}
35804
35805
c32bde28 35806static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35807 PyObject *resultobj;
35808 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35809 int arg2 ;
35810 wxString result;
35811 PyObject * obj0 = 0 ;
35812 PyObject * obj1 = 0 ;
35813 char *kwnames[] = {
35814 (char *) "self",(char *) "id", NULL
35815 };
35816
35817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35819 if (SWIG_arg_fail(1)) SWIG_fail;
35820 {
35821 arg2 = (int)(SWIG_As_int(obj1));
35822 if (SWIG_arg_fail(2)) SWIG_fail;
35823 }
d55e5bfc
RD
35824 {
35825 PyThreadState* __tstate = wxPyBeginAllowThreads();
35826 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
35827
35828 wxPyEndAllowThreads(__tstate);
35829 if (PyErr_Occurred()) SWIG_fail;
35830 }
35831 {
35832#if wxUSE_UNICODE
35833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35834#else
35835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35836#endif
35837 }
35838 return resultobj;
35839 fail:
35840 return NULL;
35841}
35842
35843
c32bde28 35844static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35845 PyObject *resultobj;
35846 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35847 wxFrame *result;
35848 PyObject * obj0 = 0 ;
35849 char *kwnames[] = {
35850 (char *) "self", NULL
35851 };
35852
35853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
35854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35855 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35856 {
35857 PyThreadState* __tstate = wxPyBeginAllowThreads();
35858 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
35859
35860 wxPyEndAllowThreads(__tstate);
35861 if (PyErr_Occurred()) SWIG_fail;
35862 }
35863 {
412d302d 35864 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
35865 }
35866 return resultobj;
35867 fail:
35868 return NULL;
35869}
35870
35871
c32bde28 35872static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35873 PyObject *resultobj;
35874 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35875 bool result;
35876 PyObject * obj0 = 0 ;
35877 char *kwnames[] = {
35878 (char *) "self", NULL
35879 };
35880
35881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
093d3ff1
RD
35882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35883 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35884 {
35885 PyThreadState* __tstate = wxPyBeginAllowThreads();
35886 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
35887
35888 wxPyEndAllowThreads(__tstate);
35889 if (PyErr_Occurred()) SWIG_fail;
35890 }
35891 {
35892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35893 }
35894 return resultobj;
35895 fail:
35896 return NULL;
35897}
35898
35899
c32bde28 35900static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35901 PyObject *resultobj;
35902 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35903 wxFrame *arg2 = (wxFrame *) 0 ;
35904 PyObject * obj0 = 0 ;
35905 PyObject * obj1 = 0 ;
35906 char *kwnames[] = {
35907 (char *) "self",(char *) "frame", NULL
35908 };
35909
35910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35912 if (SWIG_arg_fail(1)) SWIG_fail;
35913 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
35914 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
35915 {
35916 PyThreadState* __tstate = wxPyBeginAllowThreads();
35917 (arg1)->Attach(arg2);
35918
35919 wxPyEndAllowThreads(__tstate);
35920 if (PyErr_Occurred()) SWIG_fail;
35921 }
35922 Py_INCREF(Py_None); resultobj = Py_None;
35923 return resultobj;
35924 fail:
35925 return NULL;
35926}
35927
35928
c32bde28 35929static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35930 PyObject *resultobj;
35931 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35932 PyObject * obj0 = 0 ;
35933 char *kwnames[] = {
35934 (char *) "self", NULL
35935 };
35936
35937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
35938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35939 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35940 {
35941 PyThreadState* __tstate = wxPyBeginAllowThreads();
35942 (arg1)->Detach();
35943
35944 wxPyEndAllowThreads(__tstate);
35945 if (PyErr_Occurred()) SWIG_fail;
35946 }
35947 Py_INCREF(Py_None); resultobj = Py_None;
35948 return resultobj;
35949 fail:
35950 return NULL;
35951}
35952
35953
c32bde28 35954static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35955 PyObject *obj;
35956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35957 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
35958 Py_INCREF(obj);
35959 return Py_BuildValue((char *)"");
35960}
c32bde28 35961static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35962 PyObject *resultobj;
35963 wxMenu *arg1 = (wxMenu *) NULL ;
35964 int arg2 = (int) wxID_ANY ;
35965 wxString const &arg3_defvalue = wxPyEmptyString ;
35966 wxString *arg3 = (wxString *) &arg3_defvalue ;
35967 wxString const &arg4_defvalue = wxPyEmptyString ;
35968 wxString *arg4 = (wxString *) &arg4_defvalue ;
093d3ff1 35969 wxItemKind arg5 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
35970 wxMenu *arg6 = (wxMenu *) NULL ;
35971 wxMenuItem *result;
ae8162c8
RD
35972 bool temp3 = false ;
35973 bool temp4 = false ;
d55e5bfc
RD
35974 PyObject * obj0 = 0 ;
35975 PyObject * obj1 = 0 ;
35976 PyObject * obj2 = 0 ;
35977 PyObject * obj3 = 0 ;
35978 PyObject * obj4 = 0 ;
35979 PyObject * obj5 = 0 ;
35980 char *kwnames[] = {
35981 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35982 };
35983
35984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
35985 if (obj0) {
093d3ff1
RD
35986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
35988 }
35989 if (obj1) {
093d3ff1
RD
35990 {
35991 arg2 = (int)(SWIG_As_int(obj1));
35992 if (SWIG_arg_fail(2)) SWIG_fail;
35993 }
d55e5bfc
RD
35994 }
35995 if (obj2) {
35996 {
35997 arg3 = wxString_in_helper(obj2);
35998 if (arg3 == NULL) SWIG_fail;
ae8162c8 35999 temp3 = true;
d55e5bfc
RD
36000 }
36001 }
36002 if (obj3) {
36003 {
36004 arg4 = wxString_in_helper(obj3);
36005 if (arg4 == NULL) SWIG_fail;
ae8162c8 36006 temp4 = true;
d55e5bfc
RD
36007 }
36008 }
36009 if (obj4) {
093d3ff1
RD
36010 {
36011 arg5 = (wxItemKind)(SWIG_As_int(obj4));
36012 if (SWIG_arg_fail(5)) SWIG_fail;
36013 }
d55e5bfc
RD
36014 }
36015 if (obj5) {
093d3ff1
RD
36016 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
36017 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
36018 }
36019 {
36020 PyThreadState* __tstate = wxPyBeginAllowThreads();
36021 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
36022
36023 wxPyEndAllowThreads(__tstate);
36024 if (PyErr_Occurred()) SWIG_fail;
36025 }
36026 {
412d302d 36027 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
36028 }
36029 {
36030 if (temp3)
36031 delete arg3;
36032 }
36033 {
36034 if (temp4)
36035 delete arg4;
36036 }
36037 return resultobj;
36038 fail:
36039 {
36040 if (temp3)
36041 delete arg3;
36042 }
36043 {
36044 if (temp4)
36045 delete arg4;
36046 }
36047 return NULL;
36048}
36049
36050
c32bde28 36051static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36052 PyObject *resultobj;
36053 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36054 wxMenu *result;
36055 PyObject * obj0 = 0 ;
36056 char *kwnames[] = {
36057 (char *) "self", NULL
36058 };
36059
36060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
36061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36063 {
36064 PyThreadState* __tstate = wxPyBeginAllowThreads();
36065 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
36066
36067 wxPyEndAllowThreads(__tstate);
36068 if (PyErr_Occurred()) SWIG_fail;
36069 }
36070 {
412d302d 36071 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
36072 }
36073 return resultobj;
36074 fail:
36075 return NULL;
36076}
36077
36078
c32bde28 36079static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36080 PyObject *resultobj;
36081 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36082 wxMenu *arg2 = (wxMenu *) 0 ;
36083 PyObject * obj0 = 0 ;
36084 PyObject * obj1 = 0 ;
36085 char *kwnames[] = {
36086 (char *) "self",(char *) "menu", NULL
36087 };
36088
36089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36091 if (SWIG_arg_fail(1)) SWIG_fail;
36092 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
36093 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
36094 {
36095 PyThreadState* __tstate = wxPyBeginAllowThreads();
36096 (arg1)->SetMenu(arg2);
36097
36098 wxPyEndAllowThreads(__tstate);
36099 if (PyErr_Occurred()) SWIG_fail;
36100 }
36101 Py_INCREF(Py_None); resultobj = Py_None;
36102 return resultobj;
36103 fail:
36104 return NULL;
36105}
36106
36107
c32bde28 36108static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36109 PyObject *resultobj;
36110 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36111 int arg2 ;
36112 PyObject * obj0 = 0 ;
36113 PyObject * obj1 = 0 ;
36114 char *kwnames[] = {
36115 (char *) "self",(char *) "id", NULL
36116 };
36117
36118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36120 if (SWIG_arg_fail(1)) SWIG_fail;
36121 {
36122 arg2 = (int)(SWIG_As_int(obj1));
36123 if (SWIG_arg_fail(2)) SWIG_fail;
36124 }
d55e5bfc
RD
36125 {
36126 PyThreadState* __tstate = wxPyBeginAllowThreads();
36127 (arg1)->SetId(arg2);
36128
36129 wxPyEndAllowThreads(__tstate);
36130 if (PyErr_Occurred()) SWIG_fail;
36131 }
36132 Py_INCREF(Py_None); resultobj = Py_None;
36133 return resultobj;
36134 fail:
36135 return NULL;
36136}
36137
36138
c32bde28 36139static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36140 PyObject *resultobj;
36141 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36142 int result;
36143 PyObject * obj0 = 0 ;
36144 char *kwnames[] = {
36145 (char *) "self", NULL
36146 };
36147
36148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
36149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36151 {
36152 PyThreadState* __tstate = wxPyBeginAllowThreads();
36153 result = (int)((wxMenuItem const *)arg1)->GetId();
36154
36155 wxPyEndAllowThreads(__tstate);
36156 if (PyErr_Occurred()) SWIG_fail;
36157 }
093d3ff1
RD
36158 {
36159 resultobj = SWIG_From_int((int)(result));
36160 }
d55e5bfc
RD
36161 return resultobj;
36162 fail:
36163 return NULL;
36164}
36165
36166
c32bde28 36167static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36168 PyObject *resultobj;
36169 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36170 bool result;
36171 PyObject * obj0 = 0 ;
36172 char *kwnames[] = {
36173 (char *) "self", NULL
36174 };
36175
36176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
36177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36179 {
36180 PyThreadState* __tstate = wxPyBeginAllowThreads();
36181 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
36182
36183 wxPyEndAllowThreads(__tstate);
36184 if (PyErr_Occurred()) SWIG_fail;
36185 }
36186 {
36187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36188 }
36189 return resultobj;
36190 fail:
36191 return NULL;
36192}
36193
36194
c32bde28 36195static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36196 PyObject *resultobj;
36197 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36198 wxString *arg2 = 0 ;
ae8162c8 36199 bool temp2 = false ;
d55e5bfc
RD
36200 PyObject * obj0 = 0 ;
36201 PyObject * obj1 = 0 ;
36202 char *kwnames[] = {
36203 (char *) "self",(char *) "str", NULL
36204 };
36205
36206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36208 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36209 {
36210 arg2 = wxString_in_helper(obj1);
36211 if (arg2 == NULL) SWIG_fail;
ae8162c8 36212 temp2 = true;
d55e5bfc
RD
36213 }
36214 {
36215 PyThreadState* __tstate = wxPyBeginAllowThreads();
36216 (arg1)->SetText((wxString const &)*arg2);
36217
36218 wxPyEndAllowThreads(__tstate);
36219 if (PyErr_Occurred()) SWIG_fail;
36220 }
36221 Py_INCREF(Py_None); resultobj = Py_None;
36222 {
36223 if (temp2)
36224 delete arg2;
36225 }
36226 return resultobj;
36227 fail:
36228 {
36229 if (temp2)
36230 delete arg2;
36231 }
36232 return NULL;
36233}
36234
36235
c32bde28 36236static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36237 PyObject *resultobj;
36238 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36239 wxString result;
36240 PyObject * obj0 = 0 ;
36241 char *kwnames[] = {
36242 (char *) "self", NULL
36243 };
36244
36245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
36246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36247 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36248 {
36249 PyThreadState* __tstate = wxPyBeginAllowThreads();
36250 result = ((wxMenuItem const *)arg1)->GetLabel();
36251
36252 wxPyEndAllowThreads(__tstate);
36253 if (PyErr_Occurred()) SWIG_fail;
36254 }
36255 {
36256#if wxUSE_UNICODE
36257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
36258#else
36259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
36260#endif
36261 }
36262 return resultobj;
36263 fail:
36264 return NULL;
36265}
36266
36267
c32bde28 36268static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36269 PyObject *resultobj;
36270 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36271 wxString *result;
36272 PyObject * obj0 = 0 ;
36273 char *kwnames[] = {
36274 (char *) "self", NULL
36275 };
36276
36277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
36278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36279 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36280 {
36281 PyThreadState* __tstate = wxPyBeginAllowThreads();
36282 {
36283 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
36284 result = (wxString *) &_result_ref;
36285 }
36286
36287 wxPyEndAllowThreads(__tstate);
36288 if (PyErr_Occurred()) SWIG_fail;
36289 }
36290 {
36291#if wxUSE_UNICODE
36292 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
36293#else
36294 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
36295#endif
36296 }
36297 return resultobj;
36298 fail:
36299 return NULL;
36300}
36301
36302
c32bde28 36303static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36304 PyObject *resultobj;
36305 wxString *arg1 = 0 ;
36306 wxString result;
ae8162c8 36307 bool temp1 = false ;
d55e5bfc
RD
36308 PyObject * obj0 = 0 ;
36309 char *kwnames[] = {
36310 (char *) "text", NULL
36311 };
36312
36313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
36314 {
36315 arg1 = wxString_in_helper(obj0);
36316 if (arg1 == NULL) SWIG_fail;
ae8162c8 36317 temp1 = true;
d55e5bfc
RD
36318 }
36319 {
36320 PyThreadState* __tstate = wxPyBeginAllowThreads();
36321 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
36322
36323 wxPyEndAllowThreads(__tstate);
36324 if (PyErr_Occurred()) SWIG_fail;
36325 }
36326 {
36327#if wxUSE_UNICODE
36328 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
36329#else
36330 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
36331#endif
36332 }
36333 {
36334 if (temp1)
36335 delete arg1;
36336 }
36337 return resultobj;
36338 fail:
36339 {
36340 if (temp1)
36341 delete arg1;
36342 }
36343 return NULL;
36344}
36345
36346
c32bde28 36347static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36348 PyObject *resultobj;
36349 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
093d3ff1 36350 wxItemKind result;
d55e5bfc
RD
36351 PyObject * obj0 = 0 ;
36352 char *kwnames[] = {
36353 (char *) "self", NULL
36354 };
36355
36356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
36357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36359 {
36360 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 36361 result = (wxItemKind)((wxMenuItem const *)arg1)->GetKind();
d55e5bfc
RD
36362
36363 wxPyEndAllowThreads(__tstate);
36364 if (PyErr_Occurred()) SWIG_fail;
36365 }
093d3ff1 36366 resultobj = SWIG_From_int((result));
d55e5bfc
RD
36367 return resultobj;
36368 fail:
36369 return NULL;
36370}
36371
36372
c32bde28 36373static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36374 PyObject *resultobj;
36375 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
093d3ff1 36376 wxItemKind arg2 ;
d55e5bfc
RD
36377 PyObject * obj0 = 0 ;
36378 PyObject * obj1 = 0 ;
36379 char *kwnames[] = {
36380 (char *) "self",(char *) "kind", NULL
36381 };
36382
36383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36385 if (SWIG_arg_fail(1)) SWIG_fail;
36386 {
36387 arg2 = (wxItemKind)(SWIG_As_int(obj1));
36388 if (SWIG_arg_fail(2)) SWIG_fail;
36389 }
d55e5bfc
RD
36390 {
36391 PyThreadState* __tstate = wxPyBeginAllowThreads();
36392 (arg1)->SetKind((wxItemKind )arg2);
36393
36394 wxPyEndAllowThreads(__tstate);
36395 if (PyErr_Occurred()) SWIG_fail;
36396 }
36397 Py_INCREF(Py_None); resultobj = Py_None;
36398 return resultobj;
36399 fail:
36400 return NULL;
36401}
36402
36403
c32bde28 36404static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36405 PyObject *resultobj;
36406 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36407 bool arg2 ;
36408 PyObject * obj0 = 0 ;
36409 PyObject * obj1 = 0 ;
36410 char *kwnames[] = {
36411 (char *) "self",(char *) "checkable", NULL
36412 };
36413
36414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36416 if (SWIG_arg_fail(1)) SWIG_fail;
36417 {
36418 arg2 = (bool)(SWIG_As_bool(obj1));
36419 if (SWIG_arg_fail(2)) SWIG_fail;
36420 }
d55e5bfc
RD
36421 {
36422 PyThreadState* __tstate = wxPyBeginAllowThreads();
36423 (arg1)->SetCheckable(arg2);
36424
36425 wxPyEndAllowThreads(__tstate);
36426 if (PyErr_Occurred()) SWIG_fail;
36427 }
36428 Py_INCREF(Py_None); resultobj = Py_None;
36429 return resultobj;
36430 fail:
36431 return NULL;
36432}
36433
36434
c32bde28 36435static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36436 PyObject *resultobj;
36437 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36438 bool result;
36439 PyObject * obj0 = 0 ;
36440 char *kwnames[] = {
36441 (char *) "self", NULL
36442 };
36443
36444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
093d3ff1
RD
36445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36447 {
36448 PyThreadState* __tstate = wxPyBeginAllowThreads();
36449 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
36450
36451 wxPyEndAllowThreads(__tstate);
36452 if (PyErr_Occurred()) SWIG_fail;
36453 }
36454 {
36455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36456 }
36457 return resultobj;
36458 fail:
36459 return NULL;
36460}
36461
36462
c32bde28 36463static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36464 PyObject *resultobj;
36465 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36466 bool result;
36467 PyObject * obj0 = 0 ;
36468 char *kwnames[] = {
36469 (char *) "self", NULL
36470 };
36471
36472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
36473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36474 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36475 {
36476 PyThreadState* __tstate = wxPyBeginAllowThreads();
36477 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
36478
36479 wxPyEndAllowThreads(__tstate);
36480 if (PyErr_Occurred()) SWIG_fail;
36481 }
36482 {
36483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36484 }
36485 return resultobj;
36486 fail:
36487 return NULL;
36488}
36489
36490
c32bde28 36491static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36492 PyObject *resultobj;
36493 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36494 wxMenu *arg2 = (wxMenu *) 0 ;
36495 PyObject * obj0 = 0 ;
36496 PyObject * obj1 = 0 ;
36497 char *kwnames[] = {
36498 (char *) "self",(char *) "menu", NULL
36499 };
36500
36501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36503 if (SWIG_arg_fail(1)) SWIG_fail;
36504 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
36505 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
36506 {
36507 PyThreadState* __tstate = wxPyBeginAllowThreads();
36508 (arg1)->SetSubMenu(arg2);
36509
36510 wxPyEndAllowThreads(__tstate);
36511 if (PyErr_Occurred()) SWIG_fail;
36512 }
36513 Py_INCREF(Py_None); resultobj = Py_None;
36514 return resultobj;
36515 fail:
36516 return NULL;
36517}
36518
36519
c32bde28 36520static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36521 PyObject *resultobj;
36522 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36523 wxMenu *result;
36524 PyObject * obj0 = 0 ;
36525 char *kwnames[] = {
36526 (char *) "self", NULL
36527 };
36528
36529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
36530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36531 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36532 {
36533 PyThreadState* __tstate = wxPyBeginAllowThreads();
36534 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
36535
36536 wxPyEndAllowThreads(__tstate);
36537 if (PyErr_Occurred()) SWIG_fail;
36538 }
36539 {
412d302d 36540 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
36541 }
36542 return resultobj;
36543 fail:
36544 return NULL;
36545}
36546
36547
c32bde28 36548static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36549 PyObject *resultobj;
36550 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 36551 bool arg2 = (bool) true ;
d55e5bfc
RD
36552 PyObject * obj0 = 0 ;
36553 PyObject * obj1 = 0 ;
36554 char *kwnames[] = {
36555 (char *) "self",(char *) "enable", NULL
36556 };
36557
36558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 36561 if (obj1) {
093d3ff1
RD
36562 {
36563 arg2 = (bool)(SWIG_As_bool(obj1));
36564 if (SWIG_arg_fail(2)) SWIG_fail;
36565 }
d55e5bfc
RD
36566 }
36567 {
36568 PyThreadState* __tstate = wxPyBeginAllowThreads();
36569 (arg1)->Enable(arg2);
36570
36571 wxPyEndAllowThreads(__tstate);
36572 if (PyErr_Occurred()) SWIG_fail;
36573 }
36574 Py_INCREF(Py_None); resultobj = Py_None;
36575 return resultobj;
36576 fail:
36577 return NULL;
36578}
36579
36580
c32bde28 36581static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36582 PyObject *resultobj;
36583 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36584 bool result;
36585 PyObject * obj0 = 0 ;
36586 char *kwnames[] = {
36587 (char *) "self", NULL
36588 };
36589
36590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
36591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36593 {
36594 PyThreadState* __tstate = wxPyBeginAllowThreads();
36595 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
36596
36597 wxPyEndAllowThreads(__tstate);
36598 if (PyErr_Occurred()) SWIG_fail;
36599 }
36600 {
36601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36602 }
36603 return resultobj;
36604 fail:
36605 return NULL;
36606}
36607
36608
c32bde28 36609static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36610 PyObject *resultobj;
36611 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 36612 bool arg2 = (bool) true ;
d55e5bfc
RD
36613 PyObject * obj0 = 0 ;
36614 PyObject * obj1 = 0 ;
36615 char *kwnames[] = {
36616 (char *) "self",(char *) "check", NULL
36617 };
36618
36619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 36622 if (obj1) {
093d3ff1
RD
36623 {
36624 arg2 = (bool)(SWIG_As_bool(obj1));
36625 if (SWIG_arg_fail(2)) SWIG_fail;
36626 }
d55e5bfc
RD
36627 }
36628 {
36629 PyThreadState* __tstate = wxPyBeginAllowThreads();
36630 (arg1)->Check(arg2);
36631
36632 wxPyEndAllowThreads(__tstate);
36633 if (PyErr_Occurred()) SWIG_fail;
36634 }
36635 Py_INCREF(Py_None); resultobj = Py_None;
36636 return resultobj;
36637 fail:
36638 return NULL;
36639}
36640
36641
c32bde28 36642static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36643 PyObject *resultobj;
36644 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36645 bool result;
36646 PyObject * obj0 = 0 ;
36647 char *kwnames[] = {
36648 (char *) "self", NULL
36649 };
36650
36651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
36652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36653 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36654 {
36655 PyThreadState* __tstate = wxPyBeginAllowThreads();
36656 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
36657
36658 wxPyEndAllowThreads(__tstate);
36659 if (PyErr_Occurred()) SWIG_fail;
36660 }
36661 {
36662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36663 }
36664 return resultobj;
36665 fail:
36666 return NULL;
36667}
36668
36669
c32bde28 36670static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36671 PyObject *resultobj;
36672 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36673 PyObject * obj0 = 0 ;
36674 char *kwnames[] = {
36675 (char *) "self", NULL
36676 };
36677
36678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
36679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36681 {
36682 PyThreadState* __tstate = wxPyBeginAllowThreads();
36683 (arg1)->Toggle();
36684
36685 wxPyEndAllowThreads(__tstate);
36686 if (PyErr_Occurred()) SWIG_fail;
36687 }
36688 Py_INCREF(Py_None); resultobj = Py_None;
36689 return resultobj;
36690 fail:
36691 return NULL;
36692}
36693
36694
c32bde28 36695static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36696 PyObject *resultobj;
36697 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36698 wxString *arg2 = 0 ;
ae8162c8 36699 bool temp2 = false ;
d55e5bfc
RD
36700 PyObject * obj0 = 0 ;
36701 PyObject * obj1 = 0 ;
36702 char *kwnames[] = {
36703 (char *) "self",(char *) "str", NULL
36704 };
36705
36706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36708 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36709 {
36710 arg2 = wxString_in_helper(obj1);
36711 if (arg2 == NULL) SWIG_fail;
ae8162c8 36712 temp2 = true;
d55e5bfc
RD
36713 }
36714 {
36715 PyThreadState* __tstate = wxPyBeginAllowThreads();
36716 (arg1)->SetHelp((wxString const &)*arg2);
36717
36718 wxPyEndAllowThreads(__tstate);
36719 if (PyErr_Occurred()) SWIG_fail;
36720 }
36721 Py_INCREF(Py_None); resultobj = Py_None;
36722 {
36723 if (temp2)
36724 delete arg2;
36725 }
36726 return resultobj;
36727 fail:
36728 {
36729 if (temp2)
36730 delete arg2;
36731 }
36732 return NULL;
36733}
36734
36735
c32bde28 36736static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36737 PyObject *resultobj;
36738 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36739 wxString *result;
36740 PyObject * obj0 = 0 ;
36741 char *kwnames[] = {
36742 (char *) "self", NULL
36743 };
36744
36745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
36746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36747 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36748 {
36749 PyThreadState* __tstate = wxPyBeginAllowThreads();
36750 {
36751 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
36752 result = (wxString *) &_result_ref;
36753 }
36754
36755 wxPyEndAllowThreads(__tstate);
36756 if (PyErr_Occurred()) SWIG_fail;
36757 }
36758 {
36759#if wxUSE_UNICODE
36760 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
36761#else
36762 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
36763#endif
36764 }
36765 return resultobj;
36766 fail:
36767 return NULL;
36768}
36769
36770
c32bde28 36771static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36772 PyObject *resultobj;
36773 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36774 wxAcceleratorEntry *result;
36775 PyObject * obj0 = 0 ;
36776 char *kwnames[] = {
36777 (char *) "self", NULL
36778 };
36779
36780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
093d3ff1
RD
36781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36782 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36783 {
36784 PyThreadState* __tstate = wxPyBeginAllowThreads();
36785 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
36786
36787 wxPyEndAllowThreads(__tstate);
36788 if (PyErr_Occurred()) SWIG_fail;
36789 }
36790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
36791 return resultobj;
36792 fail:
36793 return NULL;
36794}
36795
36796
c32bde28 36797static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36798 PyObject *resultobj;
36799 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36800 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
36801 PyObject * obj0 = 0 ;
36802 PyObject * obj1 = 0 ;
36803 char *kwnames[] = {
36804 (char *) "self",(char *) "accel", NULL
36805 };
36806
36807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36809 if (SWIG_arg_fail(1)) SWIG_fail;
36810 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
36811 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
36812 {
36813 PyThreadState* __tstate = wxPyBeginAllowThreads();
36814 (arg1)->SetAccel(arg2);
36815
36816 wxPyEndAllowThreads(__tstate);
36817 if (PyErr_Occurred()) SWIG_fail;
36818 }
36819 Py_INCREF(Py_None); resultobj = Py_None;
36820 return resultobj;
36821 fail:
36822 return NULL;
36823}
36824
36825
c32bde28 36826static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36827 PyObject *resultobj;
36828 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36829 wxFont *arg2 = 0 ;
36830 PyObject * obj0 = 0 ;
36831 PyObject * obj1 = 0 ;
36832 char *kwnames[] = {
36833 (char *) "self",(char *) "font", NULL
36834 };
36835
36836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36838 if (SWIG_arg_fail(1)) SWIG_fail;
36839 {
36840 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
36841 if (SWIG_arg_fail(2)) SWIG_fail;
36842 if (arg2 == NULL) {
36843 SWIG_null_ref("wxFont");
36844 }
36845 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
36846 }
36847 {
36848 PyThreadState* __tstate = wxPyBeginAllowThreads();
36849 (arg1)->SetFont((wxFont const &)*arg2);
36850
36851 wxPyEndAllowThreads(__tstate);
36852 if (PyErr_Occurred()) SWIG_fail;
36853 }
36854 Py_INCREF(Py_None); resultobj = Py_None;
36855 return resultobj;
36856 fail:
36857 return NULL;
36858}
36859
36860
c32bde28 36861static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36862 PyObject *resultobj;
36863 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36864 wxFont result;
36865 PyObject * obj0 = 0 ;
36866 char *kwnames[] = {
36867 (char *) "self", NULL
36868 };
36869
36870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
36871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36873 {
36874 PyThreadState* __tstate = wxPyBeginAllowThreads();
36875 result = (arg1)->GetFont();
36876
36877 wxPyEndAllowThreads(__tstate);
36878 if (PyErr_Occurred()) SWIG_fail;
36879 }
36880 {
36881 wxFont * resultptr;
093d3ff1 36882 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
36883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
36884 }
36885 return resultobj;
36886 fail:
36887 return NULL;
36888}
36889
36890
c32bde28 36891static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36892 PyObject *resultobj;
36893 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36894 wxColour *arg2 = 0 ;
36895 wxColour temp2 ;
36896 PyObject * obj0 = 0 ;
36897 PyObject * obj1 = 0 ;
36898 char *kwnames[] = {
36899 (char *) "self",(char *) "colText", NULL
36900 };
36901
36902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36904 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36905 {
36906 arg2 = &temp2;
36907 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
36908 }
36909 {
36910 PyThreadState* __tstate = wxPyBeginAllowThreads();
36911 (arg1)->SetTextColour((wxColour const &)*arg2);
36912
36913 wxPyEndAllowThreads(__tstate);
36914 if (PyErr_Occurred()) SWIG_fail;
36915 }
36916 Py_INCREF(Py_None); resultobj = Py_None;
36917 return resultobj;
36918 fail:
36919 return NULL;
36920}
36921
36922
c32bde28 36923static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36924 PyObject *resultobj;
36925 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36926 wxColour result;
36927 PyObject * obj0 = 0 ;
36928 char *kwnames[] = {
36929 (char *) "self", NULL
36930 };
36931
36932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
36933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36934 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36935 {
36936 PyThreadState* __tstate = wxPyBeginAllowThreads();
36937 result = (arg1)->GetTextColour();
36938
36939 wxPyEndAllowThreads(__tstate);
36940 if (PyErr_Occurred()) SWIG_fail;
36941 }
36942 {
36943 wxColour * resultptr;
093d3ff1 36944 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
36945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
36946 }
36947 return resultobj;
36948 fail:
36949 return NULL;
36950}
36951
36952
c32bde28 36953static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36954 PyObject *resultobj;
36955 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36956 wxColour *arg2 = 0 ;
36957 wxColour temp2 ;
36958 PyObject * obj0 = 0 ;
36959 PyObject * obj1 = 0 ;
36960 char *kwnames[] = {
36961 (char *) "self",(char *) "colBack", NULL
36962 };
36963
36964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36966 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36967 {
36968 arg2 = &temp2;
36969 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
36970 }
36971 {
36972 PyThreadState* __tstate = wxPyBeginAllowThreads();
36973 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
36974
36975 wxPyEndAllowThreads(__tstate);
36976 if (PyErr_Occurred()) SWIG_fail;
36977 }
36978 Py_INCREF(Py_None); resultobj = Py_None;
36979 return resultobj;
36980 fail:
36981 return NULL;
36982}
36983
36984
c32bde28 36985static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36986 PyObject *resultobj;
36987 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36988 wxColour result;
36989 PyObject * obj0 = 0 ;
36990 char *kwnames[] = {
36991 (char *) "self", NULL
36992 };
36993
36994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
36995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36996 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
36997 {
36998 PyThreadState* __tstate = wxPyBeginAllowThreads();
36999 result = (arg1)->GetBackgroundColour();
37000
37001 wxPyEndAllowThreads(__tstate);
37002 if (PyErr_Occurred()) SWIG_fail;
37003 }
37004 {
37005 wxColour * resultptr;
093d3ff1 37006 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
37007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
37008 }
37009 return resultobj;
37010 fail:
37011 return NULL;
37012}
37013
37014
c32bde28 37015static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37016 PyObject *resultobj;
37017 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37018 wxBitmap *arg2 = 0 ;
37019 wxBitmap const &arg3_defvalue = wxNullBitmap ;
37020 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
37021 PyObject * obj0 = 0 ;
37022 PyObject * obj1 = 0 ;
37023 PyObject * obj2 = 0 ;
37024 char *kwnames[] = {
37025 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37026 };
37027
37028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
37029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37030 if (SWIG_arg_fail(1)) SWIG_fail;
37031 {
37032 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
37033 if (SWIG_arg_fail(2)) SWIG_fail;
37034 if (arg2 == NULL) {
37035 SWIG_null_ref("wxBitmap");
37036 }
37037 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
37038 }
37039 if (obj2) {
093d3ff1
RD
37040 {
37041 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
37042 if (SWIG_arg_fail(3)) SWIG_fail;
37043 if (arg3 == NULL) {
37044 SWIG_null_ref("wxBitmap");
37045 }
37046 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
37047 }
37048 }
37049 {
37050 PyThreadState* __tstate = wxPyBeginAllowThreads();
37051 (arg1)->SetBitmaps((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
37052
37053 wxPyEndAllowThreads(__tstate);
37054 if (PyErr_Occurred()) SWIG_fail;
37055 }
37056 Py_INCREF(Py_None); resultobj = Py_None;
37057 return resultobj;
37058 fail:
37059 return NULL;
37060}
37061
37062
c32bde28 37063static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37064 PyObject *resultobj;
37065 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37066 wxBitmap *arg2 = 0 ;
37067 PyObject * obj0 = 0 ;
37068 PyObject * obj1 = 0 ;
37069 char *kwnames[] = {
37070 (char *) "self",(char *) "bmpDisabled", NULL
37071 };
37072
37073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37075 if (SWIG_arg_fail(1)) SWIG_fail;
37076 {
37077 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
37078 if (SWIG_arg_fail(2)) SWIG_fail;
37079 if (arg2 == NULL) {
37080 SWIG_null_ref("wxBitmap");
37081 }
37082 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
37083 }
37084 {
37085 PyThreadState* __tstate = wxPyBeginAllowThreads();
37086 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
37087
37088 wxPyEndAllowThreads(__tstate);
37089 if (PyErr_Occurred()) SWIG_fail;
37090 }
37091 Py_INCREF(Py_None); resultobj = Py_None;
37092 return resultobj;
37093 fail:
37094 return NULL;
37095}
37096
37097
c32bde28 37098static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37099 PyObject *resultobj;
37100 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37101 wxBitmap *result;
37102 PyObject * obj0 = 0 ;
37103 char *kwnames[] = {
37104 (char *) "self", NULL
37105 };
37106
37107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
37108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37109 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37110 {
37111 PyThreadState* __tstate = wxPyBeginAllowThreads();
37112 {
37113 wxBitmap const &_result_ref = ((wxMenuItem const *)arg1)->GetDisabledBitmap();
37114 result = (wxBitmap *) &_result_ref;
37115 }
37116
37117 wxPyEndAllowThreads(__tstate);
37118 if (PyErr_Occurred()) SWIG_fail;
37119 }
37120 {
37121 wxBitmap* resultptr = new wxBitmap(*result);
37122 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
37123 }
37124 return resultobj;
37125 fail:
37126 return NULL;
37127}
37128
37129
c32bde28 37130static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37131 PyObject *resultobj;
37132 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37133 int arg2 ;
37134 PyObject * obj0 = 0 ;
37135 PyObject * obj1 = 0 ;
37136 char *kwnames[] = {
37137 (char *) "self",(char *) "nWidth", NULL
37138 };
37139
37140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37142 if (SWIG_arg_fail(1)) SWIG_fail;
37143 {
37144 arg2 = (int)(SWIG_As_int(obj1));
37145 if (SWIG_arg_fail(2)) SWIG_fail;
37146 }
d55e5bfc
RD
37147 {
37148 PyThreadState* __tstate = wxPyBeginAllowThreads();
37149 (arg1)->SetMarginWidth(arg2);
37150
37151 wxPyEndAllowThreads(__tstate);
37152 if (PyErr_Occurred()) SWIG_fail;
37153 }
37154 Py_INCREF(Py_None); resultobj = Py_None;
37155 return resultobj;
37156 fail:
37157 return NULL;
37158}
37159
37160
c32bde28 37161static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37162 PyObject *resultobj;
37163 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37164 int result;
37165 PyObject * obj0 = 0 ;
37166 char *kwnames[] = {
37167 (char *) "self", NULL
37168 };
37169
37170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
37171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37172 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37173 {
37174 PyThreadState* __tstate = wxPyBeginAllowThreads();
37175 result = (int)(arg1)->GetMarginWidth();
37176
37177 wxPyEndAllowThreads(__tstate);
37178 if (PyErr_Occurred()) SWIG_fail;
37179 }
093d3ff1
RD
37180 {
37181 resultobj = SWIG_From_int((int)(result));
37182 }
d55e5bfc
RD
37183 return resultobj;
37184 fail:
37185 return NULL;
37186}
37187
37188
c32bde28 37189static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37190 PyObject *resultobj;
37191 int result;
37192 char *kwnames[] = {
37193 NULL
37194 };
37195
37196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
37197 {
37198 PyThreadState* __tstate = wxPyBeginAllowThreads();
37199 result = (int)wxMenuItem::GetDefaultMarginWidth();
37200
37201 wxPyEndAllowThreads(__tstate);
37202 if (PyErr_Occurred()) SWIG_fail;
37203 }
093d3ff1
RD
37204 {
37205 resultobj = SWIG_From_int((int)(result));
37206 }
d55e5bfc
RD
37207 return resultobj;
37208 fail:
37209 return NULL;
37210}
37211
37212
c32bde28 37213static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37214 PyObject *resultobj;
37215 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37216 bool result;
37217 PyObject * obj0 = 0 ;
37218 char *kwnames[] = {
37219 (char *) "self", NULL
37220 };
37221
37222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail;
093d3ff1
RD
37223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37225 {
37226 PyThreadState* __tstate = wxPyBeginAllowThreads();
37227 result = (bool)(arg1)->IsOwnerDrawn();
37228
37229 wxPyEndAllowThreads(__tstate);
37230 if (PyErr_Occurred()) SWIG_fail;
37231 }
37232 {
37233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37234 }
37235 return resultobj;
37236 fail:
37237 return NULL;
37238}
37239
37240
c32bde28 37241static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37242 PyObject *resultobj;
37243 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 37244 bool arg2 = (bool) true ;
d55e5bfc
RD
37245 PyObject * obj0 = 0 ;
37246 PyObject * obj1 = 0 ;
37247 char *kwnames[] = {
37248 (char *) "self",(char *) "ownerDrawn", NULL
37249 };
37250
37251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 37254 if (obj1) {
093d3ff1
RD
37255 {
37256 arg2 = (bool)(SWIG_As_bool(obj1));
37257 if (SWIG_arg_fail(2)) SWIG_fail;
37258 }
d55e5bfc
RD
37259 }
37260 {
37261 PyThreadState* __tstate = wxPyBeginAllowThreads();
37262 (arg1)->SetOwnerDrawn(arg2);
37263
37264 wxPyEndAllowThreads(__tstate);
37265 if (PyErr_Occurred()) SWIG_fail;
37266 }
37267 Py_INCREF(Py_None); resultobj = Py_None;
37268 return resultobj;
37269 fail:
37270 return NULL;
37271}
37272
37273
c32bde28 37274static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37275 PyObject *resultobj;
37276 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37277 PyObject * obj0 = 0 ;
37278 char *kwnames[] = {
37279 (char *) "self", NULL
37280 };
37281
37282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail;
093d3ff1
RD
37283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37285 {
37286 PyThreadState* __tstate = wxPyBeginAllowThreads();
37287 (arg1)->ResetOwnerDrawn();
37288
37289 wxPyEndAllowThreads(__tstate);
37290 if (PyErr_Occurred()) SWIG_fail;
37291 }
37292 Py_INCREF(Py_None); resultobj = Py_None;
37293 return resultobj;
37294 fail:
37295 return NULL;
37296}
37297
37298
c32bde28 37299static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37300 PyObject *resultobj;
37301 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37302 wxBitmap *arg2 = 0 ;
37303 PyObject * obj0 = 0 ;
37304 PyObject * obj1 = 0 ;
37305 char *kwnames[] = {
37306 (char *) "self",(char *) "bitmap", NULL
37307 };
37308
37309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37311 if (SWIG_arg_fail(1)) SWIG_fail;
37312 {
37313 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
37314 if (SWIG_arg_fail(2)) SWIG_fail;
37315 if (arg2 == NULL) {
37316 SWIG_null_ref("wxBitmap");
37317 }
37318 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
37319 }
37320 {
37321 PyThreadState* __tstate = wxPyBeginAllowThreads();
37322 (arg1)->SetBitmap((wxBitmap const &)*arg2);
37323
37324 wxPyEndAllowThreads(__tstate);
37325 if (PyErr_Occurred()) SWIG_fail;
37326 }
37327 Py_INCREF(Py_None); resultobj = Py_None;
37328 return resultobj;
37329 fail:
37330 return NULL;
37331}
37332
37333
c32bde28 37334static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37335 PyObject *resultobj;
37336 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37337 wxBitmap *result;
37338 PyObject * obj0 = 0 ;
37339 char *kwnames[] = {
37340 (char *) "self", NULL
37341 };
37342
37343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
37344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37346 {
37347 PyThreadState* __tstate = wxPyBeginAllowThreads();
37348 {
37349 wxBitmap const &_result_ref = (arg1)->GetBitmap();
37350 result = (wxBitmap *) &_result_ref;
37351 }
37352
37353 wxPyEndAllowThreads(__tstate);
37354 if (PyErr_Occurred()) SWIG_fail;
37355 }
37356 {
37357 wxBitmap* resultptr = new wxBitmap(*result);
37358 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
37359 }
37360 return resultobj;
37361 fail:
37362 return NULL;
37363}
37364
37365
c32bde28 37366static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
37367 PyObject *obj;
37368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37369 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
37370 Py_INCREF(obj);
37371 return Py_BuildValue((char *)"");
37372}
c32bde28 37373static int _wrap_ControlNameStr_set(PyObject *) {
d55e5bfc
RD
37374 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
37375 return 1;
37376}
37377
37378
093d3ff1 37379static PyObject *_wrap_ControlNameStr_get(void) {
d55e5bfc
RD
37380 PyObject *pyobj;
37381
37382 {
37383#if wxUSE_UNICODE
37384 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
37385#else
37386 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
37387#endif
37388 }
37389 return pyobj;
37390}
37391
37392
c32bde28 37393static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37394 PyObject *resultobj;
37395 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 37396 int arg2 = (int) -1 ;
d55e5bfc
RD
37397 wxPoint const &arg3_defvalue = wxDefaultPosition ;
37398 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
37399 wxSize const &arg4_defvalue = wxDefaultSize ;
37400 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
37401 long arg5 = (long) 0 ;
37402 wxValidator const &arg6_defvalue = wxDefaultValidator ;
37403 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
37404 wxString const &arg7_defvalue = wxPyControlNameStr ;
37405 wxString *arg7 = (wxString *) &arg7_defvalue ;
37406 wxControl *result;
37407 wxPoint temp3 ;
37408 wxSize temp4 ;
ae8162c8 37409 bool temp7 = false ;
d55e5bfc
RD
37410 PyObject * obj0 = 0 ;
37411 PyObject * obj1 = 0 ;
37412 PyObject * obj2 = 0 ;
37413 PyObject * obj3 = 0 ;
37414 PyObject * obj4 = 0 ;
37415 PyObject * obj5 = 0 ;
37416 PyObject * obj6 = 0 ;
37417 char *kwnames[] = {
37418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37419 };
37420
248ed943 37421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
37422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
37423 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 37424 if (obj1) {
093d3ff1
RD
37425 {
37426 arg2 = (int)(SWIG_As_int(obj1));
37427 if (SWIG_arg_fail(2)) SWIG_fail;
37428 }
248ed943 37429 }
d55e5bfc
RD
37430 if (obj2) {
37431 {
37432 arg3 = &temp3;
37433 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
37434 }
37435 }
37436 if (obj3) {
37437 {
37438 arg4 = &temp4;
37439 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
37440 }
37441 }
37442 if (obj4) {
093d3ff1
RD
37443 {
37444 arg5 = (long)(SWIG_As_long(obj4));
37445 if (SWIG_arg_fail(5)) SWIG_fail;
37446 }
d55e5bfc
RD
37447 }
37448 if (obj5) {
093d3ff1
RD
37449 {
37450 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
37451 if (SWIG_arg_fail(6)) SWIG_fail;
37452 if (arg6 == NULL) {
37453 SWIG_null_ref("wxValidator");
37454 }
37455 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
37456 }
37457 }
37458 if (obj6) {
37459 {
37460 arg7 = wxString_in_helper(obj6);
37461 if (arg7 == NULL) SWIG_fail;
ae8162c8 37462 temp7 = true;
d55e5bfc
RD
37463 }
37464 }
37465 {
0439c23b 37466 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
37467 PyThreadState* __tstate = wxPyBeginAllowThreads();
37468 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
37469
37470 wxPyEndAllowThreads(__tstate);
110da5b0 37471 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 37472 }
b0f7404b 37473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d55e5bfc
RD
37474 {
37475 if (temp7)
37476 delete arg7;
37477 }
37478 return resultobj;
37479 fail:
37480 {
37481 if (temp7)
37482 delete arg7;
37483 }
37484 return NULL;
37485}
37486
37487
c32bde28 37488static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37489 PyObject *resultobj;
37490 wxControl *result;
37491 char *kwnames[] = {
37492 NULL
37493 };
37494
37495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
37496 {
0439c23b 37497 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
37498 PyThreadState* __tstate = wxPyBeginAllowThreads();
37499 result = (wxControl *)new wxControl();
37500
37501 wxPyEndAllowThreads(__tstate);
110da5b0 37502 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 37503 }
b0f7404b 37504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d55e5bfc
RD
37505 return resultobj;
37506 fail:
37507 return NULL;
37508}
37509
37510
c32bde28 37511static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37512 PyObject *resultobj;
37513 wxControl *arg1 = (wxControl *) 0 ;
37514 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 37515 int arg3 = (int) -1 ;
d55e5bfc
RD
37516 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37517 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37518 wxSize const &arg5_defvalue = wxDefaultSize ;
37519 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37520 long arg6 = (long) 0 ;
37521 wxValidator const &arg7_defvalue = wxDefaultValidator ;
37522 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
37523 wxString const &arg8_defvalue = wxPyControlNameStr ;
37524 wxString *arg8 = (wxString *) &arg8_defvalue ;
37525 bool result;
37526 wxPoint temp4 ;
37527 wxSize temp5 ;
ae8162c8 37528 bool temp8 = false ;
d55e5bfc
RD
37529 PyObject * obj0 = 0 ;
37530 PyObject * obj1 = 0 ;
37531 PyObject * obj2 = 0 ;
37532 PyObject * obj3 = 0 ;
37533 PyObject * obj4 = 0 ;
37534 PyObject * obj5 = 0 ;
37535 PyObject * obj6 = 0 ;
37536 PyObject * obj7 = 0 ;
37537 char *kwnames[] = {
37538 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37539 };
37540
248ed943 37541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
37542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
37543 if (SWIG_arg_fail(1)) SWIG_fail;
37544 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
37545 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 37546 if (obj2) {
093d3ff1
RD
37547 {
37548 arg3 = (int)(SWIG_As_int(obj2));
37549 if (SWIG_arg_fail(3)) SWIG_fail;
37550 }
248ed943 37551 }
d55e5bfc
RD
37552 if (obj3) {
37553 {
37554 arg4 = &temp4;
37555 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
37556 }
37557 }
37558 if (obj4) {
37559 {
37560 arg5 = &temp5;
37561 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
37562 }
37563 }
37564 if (obj5) {
093d3ff1
RD
37565 {
37566 arg6 = (long)(SWIG_As_long(obj5));
37567 if (SWIG_arg_fail(6)) SWIG_fail;
37568 }
d55e5bfc
RD
37569 }
37570 if (obj6) {
093d3ff1
RD
37571 {
37572 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
37573 if (SWIG_arg_fail(7)) SWIG_fail;
37574 if (arg7 == NULL) {
37575 SWIG_null_ref("wxValidator");
37576 }
37577 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
37578 }
37579 }
37580 if (obj7) {
37581 {
37582 arg8 = wxString_in_helper(obj7);
37583 if (arg8 == NULL) SWIG_fail;
ae8162c8 37584 temp8 = true;
d55e5bfc
RD
37585 }
37586 }
37587 {
37588 PyThreadState* __tstate = wxPyBeginAllowThreads();
37589 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
37590
37591 wxPyEndAllowThreads(__tstate);
37592 if (PyErr_Occurred()) SWIG_fail;
37593 }
37594 {
37595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37596 }
37597 {
37598 if (temp8)
37599 delete arg8;
37600 }
37601 return resultobj;
37602 fail:
37603 {
37604 if (temp8)
37605 delete arg8;
37606 }
37607 return NULL;
37608}
37609
37610
c32bde28 37611static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37612 PyObject *resultobj;
37613 wxControl *arg1 = (wxControl *) 0 ;
37614 wxCommandEvent *arg2 = 0 ;
37615 PyObject * obj0 = 0 ;
37616 PyObject * obj1 = 0 ;
37617 char *kwnames[] = {
37618 (char *) "self",(char *) "event", NULL
37619 };
37620
37621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
37623 if (SWIG_arg_fail(1)) SWIG_fail;
37624 {
37625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
37626 if (SWIG_arg_fail(2)) SWIG_fail;
37627 if (arg2 == NULL) {
37628 SWIG_null_ref("wxCommandEvent");
37629 }
37630 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
37631 }
37632 {
37633 PyThreadState* __tstate = wxPyBeginAllowThreads();
37634 (arg1)->Command(*arg2);
37635
37636 wxPyEndAllowThreads(__tstate);
37637 if (PyErr_Occurred()) SWIG_fail;
37638 }
37639 Py_INCREF(Py_None); resultobj = Py_None;
37640 return resultobj;
37641 fail:
37642 return NULL;
37643}
37644
37645
c32bde28 37646static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37647 PyObject *resultobj;
37648 wxControl *arg1 = (wxControl *) 0 ;
37649 wxString result;
37650 PyObject * obj0 = 0 ;
37651 char *kwnames[] = {
37652 (char *) "self", NULL
37653 };
37654
37655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
37656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
37657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37658 {
37659 PyThreadState* __tstate = wxPyBeginAllowThreads();
37660 result = (arg1)->GetLabel();
37661
37662 wxPyEndAllowThreads(__tstate);
37663 if (PyErr_Occurred()) SWIG_fail;
37664 }
37665 {
37666#if wxUSE_UNICODE
37667 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37668#else
37669 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37670#endif
37671 }
37672 return resultobj;
37673 fail:
37674 return NULL;
37675}
37676
37677
c32bde28 37678static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37679 PyObject *resultobj;
37680 wxControl *arg1 = (wxControl *) 0 ;
37681 wxString *arg2 = 0 ;
ae8162c8 37682 bool temp2 = false ;
d55e5bfc
RD
37683 PyObject * obj0 = 0 ;
37684 PyObject * obj1 = 0 ;
37685 char *kwnames[] = {
37686 (char *) "self",(char *) "label", NULL
37687 };
37688
37689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
37691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37692 {
37693 arg2 = wxString_in_helper(obj1);
37694 if (arg2 == NULL) SWIG_fail;
ae8162c8 37695 temp2 = true;
d55e5bfc
RD
37696 }
37697 {
37698 PyThreadState* __tstate = wxPyBeginAllowThreads();
37699 (arg1)->SetLabel((wxString const &)*arg2);
37700
37701 wxPyEndAllowThreads(__tstate);
37702 if (PyErr_Occurred()) SWIG_fail;
37703 }
37704 Py_INCREF(Py_None); resultobj = Py_None;
37705 {
37706 if (temp2)
37707 delete arg2;
37708 }
37709 return resultobj;
37710 fail:
37711 {
37712 if (temp2)
37713 delete arg2;
37714 }
37715 return NULL;
37716}
37717
37718
c32bde28 37719static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 37720 PyObject *resultobj;
093d3ff1 37721 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
37722 wxVisualAttributes result;
37723 PyObject * obj0 = 0 ;
37724 char *kwnames[] = {
37725 (char *) "variant", NULL
37726 };
37727
37728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
37729 if (obj0) {
093d3ff1
RD
37730 {
37731 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
37732 if (SWIG_arg_fail(1)) SWIG_fail;
37733 }
d55e5bfc
RD
37734 }
37735 {
a001823c 37736 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
37737 PyThreadState* __tstate = wxPyBeginAllowThreads();
37738 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
37739
37740 wxPyEndAllowThreads(__tstate);
110da5b0 37741 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
37742 }
37743 {
37744 wxVisualAttributes * resultptr;
093d3ff1 37745 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
37746 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
37747 }
37748 return resultobj;
37749 fail:
37750 return NULL;
37751}
37752
37753
c32bde28 37754static PyObject * Control_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
37755 PyObject *obj;
37756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37757 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
37758 Py_INCREF(obj);
37759 return Py_BuildValue((char *)"");
37760}
c32bde28 37761static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37762 PyObject *resultobj;
37763 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
37764 wxString *arg2 = 0 ;
37765 PyObject *arg3 = (PyObject *) NULL ;
37766 int result;
ae8162c8 37767 bool temp2 = false ;
d55e5bfc
RD
37768 PyObject * obj0 = 0 ;
37769 PyObject * obj1 = 0 ;
37770 PyObject * obj2 = 0 ;
37771 char *kwnames[] = {
37772 (char *) "self",(char *) "item",(char *) "clientData", NULL
37773 };
37774
37775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
37776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
37777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37778 {
37779 arg2 = wxString_in_helper(obj1);
37780 if (arg2 == NULL) SWIG_fail;
ae8162c8 37781 temp2 = true;
d55e5bfc
RD
37782 }
37783 if (obj2) {
37784 arg3 = obj2;
37785 }
37786 {
37787 PyThreadState* __tstate = wxPyBeginAllowThreads();
37788 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
37789
37790 wxPyEndAllowThreads(__tstate);
37791 if (PyErr_Occurred()) SWIG_fail;
37792 }
093d3ff1
RD
37793 {
37794 resultobj = SWIG_From_int((int)(result));
37795 }
d55e5bfc
RD
37796 {
37797 if (temp2)
37798 delete arg2;
37799 }
37800 return resultobj;
37801 fail:
37802 {
37803 if (temp2)
37804 delete arg2;
37805 }
37806 return NULL;
37807}
37808
37809
c32bde28 37810static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37811 PyObject *resultobj;
37812 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
37813 wxArrayString *arg2 = 0 ;
ae8162c8 37814 bool temp2 = false ;
d55e5bfc
RD
37815 PyObject * obj0 = 0 ;
37816 PyObject * obj1 = 0 ;
37817 char *kwnames[] = {
37818 (char *) "self",(char *) "strings", NULL
37819 };
37820
37821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
37823 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37824 {
37825 if (! PySequence_Check(obj1)) {
37826 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
37827 SWIG_fail;
37828 }
37829 arg2 = new wxArrayString;
ae8162c8 37830 temp2 = true;
d55e5bfc
RD
37831 int i, len=PySequence_Length(obj1);
37832 for (i=0; i<len; i++) {
37833 PyObject* item = PySequence_GetItem(obj1, i);
37834#if wxUSE_UNICODE
37835 PyObject* str = PyObject_Unicode(item);
37836#else
37837 PyObject* str = PyObject_Str(item);
37838#endif
37839 if (PyErr_Occurred()) SWIG_fail;
37840 arg2->Add(Py2wxString(str));
37841 Py_DECREF(item);
37842 Py_DECREF(str);
37843 }
37844 }
37845 {
37846 PyThreadState* __tstate = wxPyBeginAllowThreads();
37847 (arg1)->Append((wxArrayString const &)*arg2);
37848
37849 wxPyEndAllowThreads(__tstate);
37850 if (PyErr_Occurred()) SWIG_fail;
37851 }
37852 Py_INCREF(Py_None); resultobj = Py_None;
37853 {
37854 if (temp2) delete arg2;
37855 }
37856 return resultobj;
37857 fail:
37858 {
37859 if (temp2) delete arg2;
37860 }
37861 return NULL;
37862}
37863
37864
c32bde28 37865static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37866 PyObject *resultobj;
37867 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
37868 wxString *arg2 = 0 ;
37869 int arg3 ;
37870 PyObject *arg4 = (PyObject *) NULL ;
37871 int result;
ae8162c8 37872 bool temp2 = false ;
d55e5bfc
RD
37873 PyObject * obj0 = 0 ;
37874 PyObject * obj1 = 0 ;
37875 PyObject * obj2 = 0 ;
37876 PyObject * obj3 = 0 ;
37877 char *kwnames[] = {
37878 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37879 };
37880
37881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
37882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
37883 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37884 {
37885 arg2 = wxString_in_helper(obj1);
37886 if (arg2 == NULL) SWIG_fail;
ae8162c8 37887 temp2 = true;
d55e5bfc 37888 }
093d3ff1
RD
37889 {
37890 arg3 = (int)(SWIG_As_int(obj2));
37891 if (SWIG_arg_fail(3)) SWIG_fail;
37892 }
d55e5bfc
RD
37893 if (obj3) {
37894 arg4 = obj3;
37895 }
37896 {
37897 PyThreadState* __tstate = wxPyBeginAllowThreads();
37898 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
37899
37900 wxPyEndAllowThreads(__tstate);
37901 if (PyErr_Occurred()) SWIG_fail;
37902 }
093d3ff1
RD
37903 {
37904 resultobj = SWIG_From_int((int)(result));
37905 }
d55e5bfc
RD
37906 {
37907 if (temp2)
37908 delete arg2;
37909 }
37910 return resultobj;
37911 fail:
37912 {
37913 if (temp2)
37914 delete arg2;
37915 }
37916 return NULL;
37917}
37918
37919
c32bde28 37920static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37921 PyObject *resultobj;
37922 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
37923 PyObject * obj0 = 0 ;
37924 char *kwnames[] = {
37925 (char *) "self", NULL
37926 };
37927
37928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
37929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
37930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
37931 {
37932 PyThreadState* __tstate = wxPyBeginAllowThreads();
37933 (arg1)->Clear();
37934
37935 wxPyEndAllowThreads(__tstate);
37936 if (PyErr_Occurred()) SWIG_fail;
37937 }
37938 Py_INCREF(Py_None); resultobj = Py_None;
37939 return resultobj;
37940 fail:
37941 return NULL;
37942}
37943
37944
c32bde28 37945static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37946 PyObject *resultobj;
37947 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
37948 int arg2 ;
37949 PyObject * obj0 = 0 ;
37950 PyObject * obj1 = 0 ;
37951 char *kwnames[] = {
37952 (char *) "self",(char *) "n", NULL
37953 };
37954
37955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
37957 if (SWIG_arg_fail(1)) SWIG_fail;
37958 {
37959 arg2 = (int)(SWIG_As_int(obj1));
37960 if (SWIG_arg_fail(2)) SWIG_fail;
37961 }
d55e5bfc
RD
37962 {
37963 PyThreadState* __tstate = wxPyBeginAllowThreads();
37964 (arg1)->Delete(arg2);
37965
37966 wxPyEndAllowThreads(__tstate);
37967 if (PyErr_Occurred()) SWIG_fail;
37968 }
37969 Py_INCREF(Py_None); resultobj = Py_None;
37970 return resultobj;
37971 fail:
37972 return NULL;
37973}
37974
37975
53aa7709
RD
37976static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
37977 PyObject *resultobj;
37978 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
37979 int arg2 ;
37980 PyObject *result;
37981 PyObject * obj0 = 0 ;
37982 PyObject * obj1 = 0 ;
37983 char *kwnames[] = {
37984 (char *) "self",(char *) "n", NULL
37985 };
37986
37987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
37988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
37989 if (SWIG_arg_fail(1)) SWIG_fail;
37990 {
37991 arg2 = (int)(SWIG_As_int(obj1));
37992 if (SWIG_arg_fail(2)) SWIG_fail;
37993 }
37994 {
37995 PyThreadState* __tstate = wxPyBeginAllowThreads();
37996 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
37997
37998 wxPyEndAllowThreads(__tstate);
37999 if (PyErr_Occurred()) SWIG_fail;
38000 }
38001 resultobj = result;
38002 return resultobj;
38003 fail:
38004 return NULL;
38005}
38006
38007
38008static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
38009 PyObject *resultobj;
38010 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38011 int arg2 ;
38012 PyObject *arg3 = (PyObject *) 0 ;
38013 PyObject * obj0 = 0 ;
38014 PyObject * obj1 = 0 ;
38015 PyObject * obj2 = 0 ;
38016 char *kwnames[] = {
38017 (char *) "self",(char *) "n",(char *) "clientData", NULL
38018 };
38019
38020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
38021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38022 if (SWIG_arg_fail(1)) SWIG_fail;
38023 {
38024 arg2 = (int)(SWIG_As_int(obj1));
38025 if (SWIG_arg_fail(2)) SWIG_fail;
38026 }
38027 arg3 = obj2;
38028 {
38029 PyThreadState* __tstate = wxPyBeginAllowThreads();
38030 wxItemContainer_SetClientData(arg1,arg2,arg3);
38031
38032 wxPyEndAllowThreads(__tstate);
38033 if (PyErr_Occurred()) SWIG_fail;
38034 }
38035 Py_INCREF(Py_None); resultobj = Py_None;
38036 return resultobj;
38037 fail:
38038 return NULL;
38039}
38040
38041
c32bde28 38042static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38043 PyObject *resultobj;
38044 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38045 int result;
38046 PyObject * obj0 = 0 ;
38047 char *kwnames[] = {
38048 (char *) "self", NULL
38049 };
38050
38051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
38052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38053 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38054 {
38055 PyThreadState* __tstate = wxPyBeginAllowThreads();
38056 result = (int)((wxItemContainer const *)arg1)->GetCount();
38057
38058 wxPyEndAllowThreads(__tstate);
38059 if (PyErr_Occurred()) SWIG_fail;
38060 }
093d3ff1
RD
38061 {
38062 resultobj = SWIG_From_int((int)(result));
38063 }
d55e5bfc
RD
38064 return resultobj;
38065 fail:
38066 return NULL;
38067}
38068
38069
c32bde28 38070static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38071 PyObject *resultobj;
38072 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38073 bool result;
38074 PyObject * obj0 = 0 ;
38075 char *kwnames[] = {
38076 (char *) "self", NULL
38077 };
38078
38079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
093d3ff1
RD
38080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38081 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38082 {
38083 PyThreadState* __tstate = wxPyBeginAllowThreads();
38084 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
38085
38086 wxPyEndAllowThreads(__tstate);
38087 if (PyErr_Occurred()) SWIG_fail;
38088 }
38089 {
38090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38091 }
38092 return resultobj;
38093 fail:
38094 return NULL;
38095}
38096
38097
c32bde28 38098static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38099 PyObject *resultobj;
38100 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38101 int arg2 ;
38102 wxString result;
38103 PyObject * obj0 = 0 ;
38104 PyObject * obj1 = 0 ;
38105 char *kwnames[] = {
38106 (char *) "self",(char *) "n", NULL
38107 };
38108
38109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38111 if (SWIG_arg_fail(1)) SWIG_fail;
38112 {
38113 arg2 = (int)(SWIG_As_int(obj1));
38114 if (SWIG_arg_fail(2)) SWIG_fail;
38115 }
d55e5bfc
RD
38116 {
38117 PyThreadState* __tstate = wxPyBeginAllowThreads();
38118 result = ((wxItemContainer const *)arg1)->GetString(arg2);
38119
38120 wxPyEndAllowThreads(__tstate);
38121 if (PyErr_Occurred()) SWIG_fail;
38122 }
38123 {
38124#if wxUSE_UNICODE
38125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38126#else
38127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38128#endif
38129 }
38130 return resultobj;
38131 fail:
38132 return NULL;
38133}
38134
38135
c32bde28 38136static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38137 PyObject *resultobj;
38138 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38139 wxArrayString result;
38140 PyObject * obj0 = 0 ;
38141 char *kwnames[] = {
38142 (char *) "self", NULL
38143 };
38144
38145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
093d3ff1
RD
38146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38148 {
38149 PyThreadState* __tstate = wxPyBeginAllowThreads();
38150 result = ((wxItemContainer const *)arg1)->GetStrings();
38151
38152 wxPyEndAllowThreads(__tstate);
38153 if (PyErr_Occurred()) SWIG_fail;
38154 }
38155 {
38156 resultobj = wxArrayString2PyList_helper(result);
38157 }
38158 return resultobj;
38159 fail:
38160 return NULL;
38161}
38162
38163
c32bde28 38164static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38165 PyObject *resultobj;
38166 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38167 int arg2 ;
38168 wxString *arg3 = 0 ;
ae8162c8 38169 bool temp3 = false ;
d55e5bfc
RD
38170 PyObject * obj0 = 0 ;
38171 PyObject * obj1 = 0 ;
38172 PyObject * obj2 = 0 ;
38173 char *kwnames[] = {
38174 (char *) "self",(char *) "n",(char *) "s", NULL
38175 };
38176
38177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
38178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38179 if (SWIG_arg_fail(1)) SWIG_fail;
38180 {
38181 arg2 = (int)(SWIG_As_int(obj1));
38182 if (SWIG_arg_fail(2)) SWIG_fail;
38183 }
d55e5bfc
RD
38184 {
38185 arg3 = wxString_in_helper(obj2);
38186 if (arg3 == NULL) SWIG_fail;
ae8162c8 38187 temp3 = true;
d55e5bfc
RD
38188 }
38189 {
38190 PyThreadState* __tstate = wxPyBeginAllowThreads();
38191 (arg1)->SetString(arg2,(wxString const &)*arg3);
38192
38193 wxPyEndAllowThreads(__tstate);
38194 if (PyErr_Occurred()) SWIG_fail;
38195 }
38196 Py_INCREF(Py_None); resultobj = Py_None;
38197 {
38198 if (temp3)
38199 delete arg3;
38200 }
38201 return resultobj;
38202 fail:
38203 {
38204 if (temp3)
38205 delete arg3;
38206 }
38207 return NULL;
38208}
38209
38210
c32bde28 38211static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38212 PyObject *resultobj;
38213 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38214 wxString *arg2 = 0 ;
38215 int result;
ae8162c8 38216 bool temp2 = false ;
d55e5bfc
RD
38217 PyObject * obj0 = 0 ;
38218 PyObject * obj1 = 0 ;
38219 char *kwnames[] = {
38220 (char *) "self",(char *) "s", NULL
38221 };
38222
38223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38225 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38226 {
38227 arg2 = wxString_in_helper(obj1);
38228 if (arg2 == NULL) SWIG_fail;
ae8162c8 38229 temp2 = true;
d55e5bfc
RD
38230 }
38231 {
38232 PyThreadState* __tstate = wxPyBeginAllowThreads();
38233 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
38234
38235 wxPyEndAllowThreads(__tstate);
38236 if (PyErr_Occurred()) SWIG_fail;
38237 }
093d3ff1
RD
38238 {
38239 resultobj = SWIG_From_int((int)(result));
38240 }
d55e5bfc
RD
38241 {
38242 if (temp2)
38243 delete arg2;
38244 }
38245 return resultobj;
38246 fail:
38247 {
38248 if (temp2)
38249 delete arg2;
38250 }
38251 return NULL;
38252}
38253
38254
53aa7709 38255static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38256 PyObject *resultobj;
38257 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38258 int arg2 ;
38259 PyObject * obj0 = 0 ;
38260 PyObject * obj1 = 0 ;
38261 char *kwnames[] = {
38262 (char *) "self",(char *) "n", NULL
38263 };
38264
53aa7709 38265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38267 if (SWIG_arg_fail(1)) SWIG_fail;
38268 {
38269 arg2 = (int)(SWIG_As_int(obj1));
38270 if (SWIG_arg_fail(2)) SWIG_fail;
38271 }
d55e5bfc
RD
38272 {
38273 PyThreadState* __tstate = wxPyBeginAllowThreads();
53aa7709 38274 (arg1)->SetSelection(arg2);
d55e5bfc
RD
38275
38276 wxPyEndAllowThreads(__tstate);
38277 if (PyErr_Occurred()) SWIG_fail;
38278 }
38279 Py_INCREF(Py_None); resultobj = Py_None;
38280 return resultobj;
38281 fail:
38282 return NULL;
38283}
38284
38285
c32bde28 38286static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38287 PyObject *resultobj;
38288 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38289 int result;
38290 PyObject * obj0 = 0 ;
38291 char *kwnames[] = {
38292 (char *) "self", NULL
38293 };
38294
38295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
38296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38298 {
38299 PyThreadState* __tstate = wxPyBeginAllowThreads();
38300 result = (int)((wxItemContainer const *)arg1)->GetSelection();
38301
38302 wxPyEndAllowThreads(__tstate);
38303 if (PyErr_Occurred()) SWIG_fail;
38304 }
093d3ff1
RD
38305 {
38306 resultobj = SWIG_From_int((int)(result));
38307 }
d55e5bfc
RD
38308 return resultobj;
38309 fail:
38310 return NULL;
38311}
38312
38313
53aa7709 38314static PyObject *_wrap_ItemContainer_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38315 PyObject *resultobj;
38316 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
53aa7709
RD
38317 wxString *arg2 = 0 ;
38318 bool result;
38319 bool temp2 = false ;
d55e5bfc 38320 PyObject * obj0 = 0 ;
53aa7709 38321 PyObject * obj1 = 0 ;
d55e5bfc 38322 char *kwnames[] = {
53aa7709 38323 (char *) "self",(char *) "s", NULL
d55e5bfc
RD
38324 };
38325
53aa7709 38326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38328 if (SWIG_arg_fail(1)) SWIG_fail;
53aa7709
RD
38329 {
38330 arg2 = wxString_in_helper(obj1);
38331 if (arg2 == NULL) SWIG_fail;
38332 temp2 = true;
38333 }
d55e5bfc
RD
38334 {
38335 PyThreadState* __tstate = wxPyBeginAllowThreads();
53aa7709 38336 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d55e5bfc
RD
38337
38338 wxPyEndAllowThreads(__tstate);
38339 if (PyErr_Occurred()) SWIG_fail;
38340 }
38341 {
53aa7709
RD
38342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38343 }
38344 {
38345 if (temp2)
38346 delete arg2;
d55e5bfc
RD
38347 }
38348 return resultobj;
38349 fail:
53aa7709
RD
38350 {
38351 if (temp2)
38352 delete arg2;
38353 }
d55e5bfc
RD
38354 return NULL;
38355}
38356
38357
53aa7709 38358static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38359 PyObject *resultobj;
38360 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
53aa7709 38361 wxString result;
d55e5bfc 38362 PyObject * obj0 = 0 ;
d55e5bfc 38363 char *kwnames[] = {
53aa7709 38364 (char *) "self", NULL
d55e5bfc
RD
38365 };
38366
53aa7709 38367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
38368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38370 {
38371 PyThreadState* __tstate = wxPyBeginAllowThreads();
53aa7709 38372 result = ((wxItemContainer const *)arg1)->GetStringSelection();
d55e5bfc
RD
38373
38374 wxPyEndAllowThreads(__tstate);
38375 if (PyErr_Occurred()) SWIG_fail;
38376 }
53aa7709
RD
38377 {
38378#if wxUSE_UNICODE
38379 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38380#else
38381 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38382#endif
38383 }
d55e5bfc
RD
38384 return resultobj;
38385 fail:
38386 return NULL;
38387}
38388
38389
53aa7709 38390static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38391 PyObject *resultobj;
38392 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38393 int arg2 ;
d55e5bfc
RD
38394 PyObject * obj0 = 0 ;
38395 PyObject * obj1 = 0 ;
d55e5bfc 38396 char *kwnames[] = {
53aa7709 38397 (char *) "self",(char *) "n", NULL
d55e5bfc
RD
38398 };
38399
53aa7709 38400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38402 if (SWIG_arg_fail(1)) SWIG_fail;
38403 {
38404 arg2 = (int)(SWIG_As_int(obj1));
38405 if (SWIG_arg_fail(2)) SWIG_fail;
38406 }
d55e5bfc
RD
38407 {
38408 PyThreadState* __tstate = wxPyBeginAllowThreads();
53aa7709 38409 (arg1)->Select(arg2);
d55e5bfc
RD
38410
38411 wxPyEndAllowThreads(__tstate);
38412 if (PyErr_Occurred()) SWIG_fail;
38413 }
38414 Py_INCREF(Py_None); resultobj = Py_None;
38415 return resultobj;
38416 fail:
38417 return NULL;
38418}
38419
38420
c32bde28 38421static PyObject * ItemContainer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
38422 PyObject *obj;
38423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38424 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
38425 Py_INCREF(obj);
38426 return Py_BuildValue((char *)"");
38427}
c32bde28 38428static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
38429 PyObject *obj;
38430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38431 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
38432 Py_INCREF(obj);
38433 return Py_BuildValue((char *)"");
38434}
c32bde28 38435static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38436 PyObject *resultobj;
38437 wxSizerItem *result;
38438 char *kwnames[] = {
38439 NULL
38440 };
38441
38442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
38443 {
38444 PyThreadState* __tstate = wxPyBeginAllowThreads();
38445 result = (wxSizerItem *)new wxSizerItem();
38446
38447 wxPyEndAllowThreads(__tstate);
38448 if (PyErr_Occurred()) SWIG_fail;
38449 }
38450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
38451 return resultobj;
38452 fail:
38453 return NULL;
38454}
38455
38456
c32bde28 38457static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 38458 PyObject *resultobj;
248ed943 38459 wxWindow *arg1 = (wxWindow *) 0 ;
d55e5bfc
RD
38460 int arg2 ;
38461 int arg3 ;
38462 int arg4 ;
248ed943 38463 PyObject *arg5 = (PyObject *) NULL ;
d55e5bfc
RD
38464 wxSizerItem *result;
38465 PyObject * obj0 = 0 ;
38466 PyObject * obj1 = 0 ;
38467 PyObject * obj2 = 0 ;
38468 PyObject * obj3 = 0 ;
38469 PyObject * obj4 = 0 ;
d55e5bfc 38470 char *kwnames[] = {
248ed943 38471 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d55e5bfc
RD
38472 };
38473
248ed943 38474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
38475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
38476 if (SWIG_arg_fail(1)) SWIG_fail;
38477 {
38478 arg2 = (int)(SWIG_As_int(obj1));
38479 if (SWIG_arg_fail(2)) SWIG_fail;
38480 }
38481 {
38482 arg3 = (int)(SWIG_As_int(obj2));
38483 if (SWIG_arg_fail(3)) SWIG_fail;
38484 }
38485 {
38486 arg4 = (int)(SWIG_As_int(obj3));
38487 if (SWIG_arg_fail(4)) SWIG_fail;
38488 }
248ed943
RD
38489 if (obj4) {
38490 arg5 = obj4;
38491 }
d55e5bfc
RD
38492 {
38493 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38494 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d55e5bfc
RD
38495
38496 wxPyEndAllowThreads(__tstate);
38497 if (PyErr_Occurred()) SWIG_fail;
38498 }
38499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
38500 return resultobj;
38501 fail:
38502 return NULL;
38503}
38504
38505
c32bde28 38506static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 38507 PyObject *resultobj;
248ed943 38508 int arg1 ;
d55e5bfc
RD
38509 int arg2 ;
38510 int arg3 ;
38511 int arg4 ;
248ed943
RD
38512 int arg5 ;
38513 PyObject *arg6 = (PyObject *) NULL ;
d55e5bfc
RD
38514 wxSizerItem *result;
38515 PyObject * obj0 = 0 ;
38516 PyObject * obj1 = 0 ;
38517 PyObject * obj2 = 0 ;
38518 PyObject * obj3 = 0 ;
38519 PyObject * obj4 = 0 ;
248ed943 38520 PyObject * obj5 = 0 ;
d55e5bfc 38521 char *kwnames[] = {
248ed943 38522 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d55e5bfc
RD
38523 };
38524
248ed943 38525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
38526 {
38527 arg1 = (int)(SWIG_As_int(obj0));
38528 if (SWIG_arg_fail(1)) SWIG_fail;
38529 }
38530 {
38531 arg2 = (int)(SWIG_As_int(obj1));
38532 if (SWIG_arg_fail(2)) SWIG_fail;
38533 }
38534 {
38535 arg3 = (int)(SWIG_As_int(obj2));
38536 if (SWIG_arg_fail(3)) SWIG_fail;
38537 }
38538 {
38539 arg4 = (int)(SWIG_As_int(obj3));
38540 if (SWIG_arg_fail(4)) SWIG_fail;
38541 }
38542 {
38543 arg5 = (int)(SWIG_As_int(obj4));
38544 if (SWIG_arg_fail(5)) SWIG_fail;
38545 }
248ed943
RD
38546 if (obj5) {
38547 arg6 = obj5;
38548 }
d55e5bfc
RD
38549 {
38550 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38551 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
38552
38553 wxPyEndAllowThreads(__tstate);
38554 if (PyErr_Occurred()) SWIG_fail;
38555 }
38556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
38557 return resultobj;
38558 fail:
38559 return NULL;
38560}
38561
38562
c32bde28 38563static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38564 PyObject *resultobj;
38565 wxSizer *arg1 = (wxSizer *) 0 ;
38566 int arg2 ;
38567 int arg3 ;
38568 int arg4 ;
248ed943 38569 PyObject *arg5 = (PyObject *) NULL ;
d55e5bfc
RD
38570 wxSizerItem *result;
38571 PyObject * obj0 = 0 ;
38572 PyObject * obj1 = 0 ;
38573 PyObject * obj2 = 0 ;
38574 PyObject * obj3 = 0 ;
38575 PyObject * obj4 = 0 ;
38576 char *kwnames[] = {
38577 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38578 };
38579
248ed943 38580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
38581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
38582 if (SWIG_arg_fail(1)) SWIG_fail;
38583 {
38584 arg2 = (int)(SWIG_As_int(obj1));
38585 if (SWIG_arg_fail(2)) SWIG_fail;
38586 }
38587 {
38588 arg3 = (int)(SWIG_As_int(obj2));
38589 if (SWIG_arg_fail(3)) SWIG_fail;
38590 }
38591 {
38592 arg4 = (int)(SWIG_As_int(obj3));
38593 if (SWIG_arg_fail(4)) SWIG_fail;
38594 }
248ed943
RD
38595 if (obj4) {
38596 arg5 = obj4;
38597 }
d55e5bfc
RD
38598 {
38599 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38600 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d55e5bfc
RD
38601
38602 wxPyEndAllowThreads(__tstate);
38603 if (PyErr_Occurred()) SWIG_fail;
38604 }
38605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
38606 return resultobj;
38607 fail:
38608 return NULL;
38609}
38610
38611
c32bde28 38612static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38613 PyObject *resultobj;
38614 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38615 PyObject * obj0 = 0 ;
38616 char *kwnames[] = {
38617 (char *) "self", NULL
38618 };
38619
38620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
38621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38623 {
38624 PyThreadState* __tstate = wxPyBeginAllowThreads();
38625 (arg1)->DeleteWindows();
38626
38627 wxPyEndAllowThreads(__tstate);
38628 if (PyErr_Occurred()) SWIG_fail;
38629 }
38630 Py_INCREF(Py_None); resultobj = Py_None;
38631 return resultobj;
38632 fail:
38633 return NULL;
38634}
38635
38636
c32bde28 38637static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38638 PyObject *resultobj;
38639 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38640 PyObject * obj0 = 0 ;
38641 char *kwnames[] = {
38642 (char *) "self", NULL
38643 };
38644
38645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
38646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38647 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38648 {
38649 PyThreadState* __tstate = wxPyBeginAllowThreads();
38650 (arg1)->DetachSizer();
38651
38652 wxPyEndAllowThreads(__tstate);
38653 if (PyErr_Occurred()) SWIG_fail;
38654 }
38655 Py_INCREF(Py_None); resultobj = Py_None;
38656 return resultobj;
38657 fail:
38658 return NULL;
38659}
38660
38661
c32bde28 38662static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38663 PyObject *resultobj;
38664 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38665 wxSize result;
38666 PyObject * obj0 = 0 ;
38667 char *kwnames[] = {
38668 (char *) "self", NULL
38669 };
38670
38671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
38672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38674 {
38675 PyThreadState* __tstate = wxPyBeginAllowThreads();
38676 result = (arg1)->GetSize();
38677
38678 wxPyEndAllowThreads(__tstate);
38679 if (PyErr_Occurred()) SWIG_fail;
38680 }
38681 {
38682 wxSize * resultptr;
093d3ff1 38683 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
38684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38685 }
38686 return resultobj;
38687 fail:
38688 return NULL;
38689}
38690
38691
c32bde28 38692static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38693 PyObject *resultobj;
38694 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38695 wxSize result;
38696 PyObject * obj0 = 0 ;
38697 char *kwnames[] = {
38698 (char *) "self", NULL
38699 };
38700
38701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
38702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38703 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38704 {
38705 PyThreadState* __tstate = wxPyBeginAllowThreads();
38706 result = (arg1)->CalcMin();
38707
38708 wxPyEndAllowThreads(__tstate);
38709 if (PyErr_Occurred()) SWIG_fail;
38710 }
38711 {
38712 wxSize * resultptr;
093d3ff1 38713 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
38714 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38715 }
38716 return resultobj;
38717 fail:
38718 return NULL;
38719}
38720
38721
c32bde28 38722static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38723 PyObject *resultobj;
38724 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38725 wxPoint arg2 ;
38726 wxSize arg3 ;
d55e5bfc
RD
38727 PyObject * obj0 = 0 ;
38728 PyObject * obj1 = 0 ;
38729 PyObject * obj2 = 0 ;
38730 char *kwnames[] = {
38731 (char *) "self",(char *) "pos",(char *) "size", NULL
38732 };
38733
38734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
38735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38736 if (SWIG_arg_fail(1)) SWIG_fail;
38737 {
38738 wxPoint * argp;
38739 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION);
38740 if (SWIG_arg_fail(2)) SWIG_fail;
38741 if (argp == NULL) {
38742 SWIG_null_ref("wxPoint");
38743 }
38744 if (SWIG_arg_fail(2)) SWIG_fail;
38745 arg2 = *argp;
38746 }
38747 {
38748 wxSize * argp;
38749 SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION);
38750 if (SWIG_arg_fail(3)) SWIG_fail;
38751 if (argp == NULL) {
38752 SWIG_null_ref("wxSize");
38753 }
38754 if (SWIG_arg_fail(3)) SWIG_fail;
38755 arg3 = *argp;
38756 }
d55e5bfc
RD
38757 {
38758 PyThreadState* __tstate = wxPyBeginAllowThreads();
38759 (arg1)->SetDimension(arg2,arg3);
38760
38761 wxPyEndAllowThreads(__tstate);
38762 if (PyErr_Occurred()) SWIG_fail;
38763 }
38764 Py_INCREF(Py_None); resultobj = Py_None;
38765 return resultobj;
38766 fail:
38767 return NULL;
38768}
38769
38770
c32bde28 38771static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38772 PyObject *resultobj;
38773 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38774 wxSize result;
38775 PyObject * obj0 = 0 ;
38776 char *kwnames[] = {
38777 (char *) "self", NULL
38778 };
38779
38780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
38781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38782 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38783 {
38784 PyThreadState* __tstate = wxPyBeginAllowThreads();
38785 result = (arg1)->GetMinSize();
38786
38787 wxPyEndAllowThreads(__tstate);
38788 if (PyErr_Occurred()) SWIG_fail;
38789 }
38790 {
38791 wxSize * resultptr;
093d3ff1 38792 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
38793 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38794 }
38795 return resultobj;
38796 fail:
38797 return NULL;
38798}
38799
38800
c32bde28 38801static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) {
a001823c
RD
38802 PyObject *resultobj;
38803 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38804 wxSize result;
38805 PyObject * obj0 = 0 ;
38806 char *kwnames[] = {
38807 (char *) "self", NULL
38808 };
38809
38810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
093d3ff1
RD
38811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38812 if (SWIG_arg_fail(1)) SWIG_fail;
a001823c
RD
38813 {
38814 PyThreadState* __tstate = wxPyBeginAllowThreads();
38815 result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
38816
38817 wxPyEndAllowThreads(__tstate);
38818 if (PyErr_Occurred()) SWIG_fail;
38819 }
38820 {
38821 wxSize * resultptr;
093d3ff1 38822 resultptr = new wxSize((wxSize &)(result));
a001823c
RD
38823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38824 }
38825 return resultobj;
38826 fail:
38827 return NULL;
38828}
38829
38830
c32bde28 38831static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38832 PyObject *resultobj;
38833 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38834 int arg2 ;
38835 int arg3 ;
38836 PyObject * obj0 = 0 ;
38837 PyObject * obj1 = 0 ;
38838 PyObject * obj2 = 0 ;
38839 char *kwnames[] = {
38840 (char *) "self",(char *) "x",(char *) "y", NULL
38841 };
38842
38843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
38844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38845 if (SWIG_arg_fail(1)) SWIG_fail;
38846 {
38847 arg2 = (int)(SWIG_As_int(obj1));
38848 if (SWIG_arg_fail(2)) SWIG_fail;
38849 }
38850 {
38851 arg3 = (int)(SWIG_As_int(obj2));
38852 if (SWIG_arg_fail(3)) SWIG_fail;
38853 }
d55e5bfc
RD
38854 {
38855 PyThreadState* __tstate = wxPyBeginAllowThreads();
38856 (arg1)->SetInitSize(arg2,arg3);
38857
38858 wxPyEndAllowThreads(__tstate);
38859 if (PyErr_Occurred()) SWIG_fail;
38860 }
38861 Py_INCREF(Py_None); resultobj = Py_None;
38862 return resultobj;
38863 fail:
38864 return NULL;
38865}
38866
38867
c32bde28 38868static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38869 PyObject *resultobj;
38870 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38871 int arg2 ;
38872 int arg3 ;
38873 PyObject * obj0 = 0 ;
38874 PyObject * obj1 = 0 ;
38875 PyObject * obj2 = 0 ;
38876 char *kwnames[] = {
38877 (char *) "self",(char *) "width",(char *) "height", NULL
38878 };
38879
38880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
38881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38882 if (SWIG_arg_fail(1)) SWIG_fail;
38883 {
38884 arg2 = (int)(SWIG_As_int(obj1));
38885 if (SWIG_arg_fail(2)) SWIG_fail;
38886 }
38887 {
38888 arg3 = (int)(SWIG_As_int(obj2));
38889 if (SWIG_arg_fail(3)) SWIG_fail;
38890 }
d55e5bfc
RD
38891 {
38892 PyThreadState* __tstate = wxPyBeginAllowThreads();
38893 (arg1)->SetRatio(arg2,arg3);
38894
38895 wxPyEndAllowThreads(__tstate);
38896 if (PyErr_Occurred()) SWIG_fail;
38897 }
38898 Py_INCREF(Py_None); resultobj = Py_None;
38899 return resultobj;
38900 fail:
38901 return NULL;
38902}
38903
38904
c32bde28 38905static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38906 PyObject *resultobj;
38907 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
88c6b281
RD
38908 wxSize *arg2 = 0 ;
38909 wxSize temp2 ;
d55e5bfc
RD
38910 PyObject * obj0 = 0 ;
38911 PyObject * obj1 = 0 ;
38912 char *kwnames[] = {
38913 (char *) "self",(char *) "size", NULL
38914 };
38915
38916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38918 if (SWIG_arg_fail(1)) SWIG_fail;
38919 {
88c6b281
RD
38920 arg2 = &temp2;
38921 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
093d3ff1 38922 }
d55e5bfc
RD
38923 {
38924 PyThreadState* __tstate = wxPyBeginAllowThreads();
88c6b281 38925 (arg1)->SetRatio((wxSize const &)*arg2);
d55e5bfc
RD
38926
38927 wxPyEndAllowThreads(__tstate);
38928 if (PyErr_Occurred()) SWIG_fail;
38929 }
38930 Py_INCREF(Py_None); resultobj = Py_None;
38931 return resultobj;
38932 fail:
38933 return NULL;
38934}
38935
38936
c32bde28 38937static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38938 PyObject *resultobj;
38939 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38940 float arg2 ;
38941 PyObject * obj0 = 0 ;
38942 PyObject * obj1 = 0 ;
38943 char *kwnames[] = {
38944 (char *) "self",(char *) "ratio", NULL
38945 };
38946
38947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38949 if (SWIG_arg_fail(1)) SWIG_fail;
38950 {
38951 arg2 = (float)(SWIG_As_float(obj1));
38952 if (SWIG_arg_fail(2)) SWIG_fail;
38953 }
d55e5bfc
RD
38954 {
38955 PyThreadState* __tstate = wxPyBeginAllowThreads();
38956 (arg1)->SetRatio(arg2);
38957
38958 wxPyEndAllowThreads(__tstate);
38959 if (PyErr_Occurred()) SWIG_fail;
38960 }
38961 Py_INCREF(Py_None); resultobj = Py_None;
38962 return resultobj;
38963 fail:
38964 return NULL;
38965}
38966
38967
c32bde28 38968static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38969 PyObject *resultobj;
38970 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38971 float result;
38972 PyObject * obj0 = 0 ;
38973 char *kwnames[] = {
38974 (char *) "self", NULL
38975 };
38976
38977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
093d3ff1
RD
38978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
38979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
38980 {
38981 PyThreadState* __tstate = wxPyBeginAllowThreads();
38982 result = (float)(arg1)->GetRatio();
38983
38984 wxPyEndAllowThreads(__tstate);
38985 if (PyErr_Occurred()) SWIG_fail;
38986 }
093d3ff1
RD
38987 {
38988 resultobj = SWIG_From_float((float)(result));
38989 }
d55e5bfc
RD
38990 return resultobj;
38991 fail:
38992 return NULL;
38993}
38994
38995
c1cb24a4
RD
38996static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
38997 PyObject *resultobj;
38998 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
38999 wxRect result;
39000 PyObject * obj0 = 0 ;
39001 char *kwnames[] = {
39002 (char *) "self", NULL
39003 };
39004
39005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
39006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39007 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
39008 {
39009 PyThreadState* __tstate = wxPyBeginAllowThreads();
39010 result = (arg1)->GetRect();
39011
39012 wxPyEndAllowThreads(__tstate);
39013 if (PyErr_Occurred()) SWIG_fail;
39014 }
39015 {
39016 wxRect * resultptr;
093d3ff1 39017 resultptr = new wxRect((wxRect &)(result));
c1cb24a4
RD
39018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
39019 }
39020 return resultobj;
39021 fail:
39022 return NULL;
39023}
39024
39025
c32bde28 39026static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39027 PyObject *resultobj;
39028 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39029 bool result;
39030 PyObject * obj0 = 0 ;
39031 char *kwnames[] = {
39032 (char *) "self", NULL
39033 };
39034
39035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
39036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39037 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39038 {
39039 PyThreadState* __tstate = wxPyBeginAllowThreads();
39040 result = (bool)(arg1)->IsWindow();
39041
39042 wxPyEndAllowThreads(__tstate);
39043 if (PyErr_Occurred()) SWIG_fail;
39044 }
39045 {
39046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39047 }
39048 return resultobj;
39049 fail:
39050 return NULL;
39051}
39052
39053
c32bde28 39054static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39055 PyObject *resultobj;
39056 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39057 bool result;
39058 PyObject * obj0 = 0 ;
39059 char *kwnames[] = {
39060 (char *) "self", NULL
39061 };
39062
39063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
39064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39065 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39066 {
39067 PyThreadState* __tstate = wxPyBeginAllowThreads();
39068 result = (bool)(arg1)->IsSizer();
39069
39070 wxPyEndAllowThreads(__tstate);
39071 if (PyErr_Occurred()) SWIG_fail;
39072 }
39073 {
39074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39075 }
39076 return resultobj;
39077 fail:
39078 return NULL;
39079}
39080
39081
c32bde28 39082static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39083 PyObject *resultobj;
39084 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39085 bool result;
39086 PyObject * obj0 = 0 ;
39087 char *kwnames[] = {
39088 (char *) "self", NULL
39089 };
39090
39091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
093d3ff1
RD
39092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39093 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39094 {
39095 PyThreadState* __tstate = wxPyBeginAllowThreads();
39096 result = (bool)(arg1)->IsSpacer();
39097
39098 wxPyEndAllowThreads(__tstate);
39099 if (PyErr_Occurred()) SWIG_fail;
39100 }
39101 {
39102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39103 }
39104 return resultobj;
39105 fail:
39106 return NULL;
39107}
39108
39109
c32bde28 39110static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39111 PyObject *resultobj;
39112 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39113 int arg2 ;
39114 PyObject * obj0 = 0 ;
39115 PyObject * obj1 = 0 ;
39116 char *kwnames[] = {
39117 (char *) "self",(char *) "proportion", NULL
39118 };
39119
39120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39122 if (SWIG_arg_fail(1)) SWIG_fail;
39123 {
39124 arg2 = (int)(SWIG_As_int(obj1));
39125 if (SWIG_arg_fail(2)) SWIG_fail;
39126 }
d55e5bfc
RD
39127 {
39128 PyThreadState* __tstate = wxPyBeginAllowThreads();
39129 (arg1)->SetProportion(arg2);
39130
39131 wxPyEndAllowThreads(__tstate);
39132 if (PyErr_Occurred()) SWIG_fail;
39133 }
39134 Py_INCREF(Py_None); resultobj = Py_None;
39135 return resultobj;
39136 fail:
39137 return NULL;
39138}
39139
39140
c32bde28 39141static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39142 PyObject *resultobj;
39143 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39144 int result;
39145 PyObject * obj0 = 0 ;
39146 char *kwnames[] = {
39147 (char *) "self", NULL
39148 };
39149
39150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
093d3ff1
RD
39151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39153 {
39154 PyThreadState* __tstate = wxPyBeginAllowThreads();
39155 result = (int)(arg1)->GetProportion();
39156
39157 wxPyEndAllowThreads(__tstate);
39158 if (PyErr_Occurred()) SWIG_fail;
39159 }
093d3ff1
RD
39160 {
39161 resultobj = SWIG_From_int((int)(result));
39162 }
d55e5bfc
RD
39163 return resultobj;
39164 fail:
39165 return NULL;
39166}
39167
39168
c32bde28 39169static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39170 PyObject *resultobj;
39171 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39172 int arg2 ;
39173 PyObject * obj0 = 0 ;
39174 PyObject * obj1 = 0 ;
39175 char *kwnames[] = {
39176 (char *) "self",(char *) "flag", NULL
39177 };
39178
39179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39181 if (SWIG_arg_fail(1)) SWIG_fail;
39182 {
39183 arg2 = (int)(SWIG_As_int(obj1));
39184 if (SWIG_arg_fail(2)) SWIG_fail;
39185 }
d55e5bfc
RD
39186 {
39187 PyThreadState* __tstate = wxPyBeginAllowThreads();
39188 (arg1)->SetFlag(arg2);
39189
39190 wxPyEndAllowThreads(__tstate);
39191 if (PyErr_Occurred()) SWIG_fail;
39192 }
39193 Py_INCREF(Py_None); resultobj = Py_None;
39194 return resultobj;
39195 fail:
39196 return NULL;
39197}
39198
39199
c32bde28 39200static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39201 PyObject *resultobj;
39202 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39203 int result;
39204 PyObject * obj0 = 0 ;
39205 char *kwnames[] = {
39206 (char *) "self", NULL
39207 };
39208
39209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
093d3ff1
RD
39210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39211 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39212 {
39213 PyThreadState* __tstate = wxPyBeginAllowThreads();
39214 result = (int)(arg1)->GetFlag();
39215
39216 wxPyEndAllowThreads(__tstate);
39217 if (PyErr_Occurred()) SWIG_fail;
39218 }
093d3ff1
RD
39219 {
39220 resultobj = SWIG_From_int((int)(result));
39221 }
d55e5bfc
RD
39222 return resultobj;
39223 fail:
39224 return NULL;
39225}
39226
39227
c32bde28 39228static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39229 PyObject *resultobj;
39230 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39231 int arg2 ;
39232 PyObject * obj0 = 0 ;
39233 PyObject * obj1 = 0 ;
39234 char *kwnames[] = {
39235 (char *) "self",(char *) "border", NULL
39236 };
39237
39238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39240 if (SWIG_arg_fail(1)) SWIG_fail;
39241 {
39242 arg2 = (int)(SWIG_As_int(obj1));
39243 if (SWIG_arg_fail(2)) SWIG_fail;
39244 }
d55e5bfc
RD
39245 {
39246 PyThreadState* __tstate = wxPyBeginAllowThreads();
39247 (arg1)->SetBorder(arg2);
39248
39249 wxPyEndAllowThreads(__tstate);
39250 if (PyErr_Occurred()) SWIG_fail;
39251 }
39252 Py_INCREF(Py_None); resultobj = Py_None;
39253 return resultobj;
39254 fail:
39255 return NULL;
39256}
39257
39258
c32bde28 39259static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39260 PyObject *resultobj;
39261 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39262 int result;
39263 PyObject * obj0 = 0 ;
39264 char *kwnames[] = {
39265 (char *) "self", NULL
39266 };
39267
39268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
093d3ff1
RD
39269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39271 {
39272 PyThreadState* __tstate = wxPyBeginAllowThreads();
39273 result = (int)(arg1)->GetBorder();
39274
39275 wxPyEndAllowThreads(__tstate);
39276 if (PyErr_Occurred()) SWIG_fail;
39277 }
093d3ff1
RD
39278 {
39279 resultobj = SWIG_From_int((int)(result));
39280 }
d55e5bfc
RD
39281 return resultobj;
39282 fail:
39283 return NULL;
39284}
39285
39286
c32bde28 39287static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39288 PyObject *resultobj;
39289 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39290 wxWindow *result;
39291 PyObject * obj0 = 0 ;
39292 char *kwnames[] = {
39293 (char *) "self", NULL
39294 };
39295
39296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
39297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39299 {
39300 PyThreadState* __tstate = wxPyBeginAllowThreads();
39301 result = (wxWindow *)(arg1)->GetWindow();
39302
39303 wxPyEndAllowThreads(__tstate);
39304 if (PyErr_Occurred()) SWIG_fail;
39305 }
39306 {
412d302d 39307 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
39308 }
39309 return resultobj;
39310 fail:
39311 return NULL;
39312}
39313
39314
c32bde28 39315static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39316 PyObject *resultobj;
39317 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39318 wxWindow *arg2 = (wxWindow *) 0 ;
39319 PyObject * obj0 = 0 ;
39320 PyObject * obj1 = 0 ;
39321 char *kwnames[] = {
39322 (char *) "self",(char *) "window", NULL
39323 };
39324
39325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39327 if (SWIG_arg_fail(1)) SWIG_fail;
39328 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
39329 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
39330 {
39331 PyThreadState* __tstate = wxPyBeginAllowThreads();
39332 (arg1)->SetWindow(arg2);
39333
39334 wxPyEndAllowThreads(__tstate);
39335 if (PyErr_Occurred()) SWIG_fail;
39336 }
39337 Py_INCREF(Py_None); resultobj = Py_None;
39338 return resultobj;
39339 fail:
39340 return NULL;
39341}
39342
39343
c32bde28 39344static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39345 PyObject *resultobj;
39346 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39347 wxSizer *result;
39348 PyObject * obj0 = 0 ;
39349 char *kwnames[] = {
39350 (char *) "self", NULL
39351 };
39352
39353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
39354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39355 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39356 {
39357 PyThreadState* __tstate = wxPyBeginAllowThreads();
39358 result = (wxSizer *)(arg1)->GetSizer();
39359
39360 wxPyEndAllowThreads(__tstate);
39361 if (PyErr_Occurred()) SWIG_fail;
39362 }
39363 {
7a27cf7c 39364 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
39365 }
39366 return resultobj;
39367 fail:
39368 return NULL;
39369}
39370
39371
c32bde28 39372static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39373 PyObject *resultobj;
39374 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39375 wxSizer *arg2 = (wxSizer *) 0 ;
39376 PyObject * obj0 = 0 ;
39377 PyObject * obj1 = 0 ;
39378 char *kwnames[] = {
39379 (char *) "self",(char *) "sizer", NULL
39380 };
39381
39382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39384 if (SWIG_arg_fail(1)) SWIG_fail;
39385 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39386 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
39387 {
39388 PyThreadState* __tstate = wxPyBeginAllowThreads();
39389 (arg1)->SetSizer(arg2);
39390
39391 wxPyEndAllowThreads(__tstate);
39392 if (PyErr_Occurred()) SWIG_fail;
39393 }
39394 Py_INCREF(Py_None); resultobj = Py_None;
39395 return resultobj;
39396 fail:
39397 return NULL;
39398}
39399
39400
c32bde28 39401static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39402 PyObject *resultobj;
39403 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39404 wxSize *result;
39405 PyObject * obj0 = 0 ;
39406 char *kwnames[] = {
39407 (char *) "self", NULL
39408 };
39409
39410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
093d3ff1
RD
39411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39412 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39413 {
39414 PyThreadState* __tstate = wxPyBeginAllowThreads();
39415 {
39416 wxSize const &_result_ref = (arg1)->GetSpacer();
39417 result = (wxSize *) &_result_ref;
39418 }
39419
39420 wxPyEndAllowThreads(__tstate);
39421 if (PyErr_Occurred()) SWIG_fail;
39422 }
39423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
39424 return resultobj;
39425 fail:
39426 return NULL;
39427}
39428
39429
c32bde28 39430static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39431 PyObject *resultobj;
39432 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39433 wxSize *arg2 = 0 ;
39434 wxSize temp2 ;
39435 PyObject * obj0 = 0 ;
39436 PyObject * obj1 = 0 ;
39437 char *kwnames[] = {
39438 (char *) "self",(char *) "size", NULL
39439 };
39440
39441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39443 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39444 {
39445 arg2 = &temp2;
39446 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
39447 }
39448 {
39449 PyThreadState* __tstate = wxPyBeginAllowThreads();
39450 (arg1)->SetSpacer((wxSize const &)*arg2);
39451
39452 wxPyEndAllowThreads(__tstate);
39453 if (PyErr_Occurred()) SWIG_fail;
39454 }
39455 Py_INCREF(Py_None); resultobj = Py_None;
39456 return resultobj;
39457 fail:
39458 return NULL;
39459}
39460
39461
c32bde28 39462static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39463 PyObject *resultobj;
39464 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39465 bool arg2 ;
39466 PyObject * obj0 = 0 ;
39467 PyObject * obj1 = 0 ;
39468 char *kwnames[] = {
39469 (char *) "self",(char *) "show", NULL
39470 };
39471
39472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39474 if (SWIG_arg_fail(1)) SWIG_fail;
39475 {
39476 arg2 = (bool)(SWIG_As_bool(obj1));
39477 if (SWIG_arg_fail(2)) SWIG_fail;
39478 }
d55e5bfc
RD
39479 {
39480 PyThreadState* __tstate = wxPyBeginAllowThreads();
39481 (arg1)->Show(arg2);
39482
39483 wxPyEndAllowThreads(__tstate);
39484 if (PyErr_Occurred()) SWIG_fail;
39485 }
39486 Py_INCREF(Py_None); resultobj = Py_None;
39487 return resultobj;
39488 fail:
39489 return NULL;
39490}
39491
39492
c32bde28 39493static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39494 PyObject *resultobj;
39495 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39496 bool result;
39497 PyObject * obj0 = 0 ;
39498 char *kwnames[] = {
39499 (char *) "self", NULL
39500 };
39501
39502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
093d3ff1
RD
39503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39504 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39505 {
39506 PyThreadState* __tstate = wxPyBeginAllowThreads();
39507 result = (bool)(arg1)->IsShown();
39508
39509 wxPyEndAllowThreads(__tstate);
39510 if (PyErr_Occurred()) SWIG_fail;
39511 }
39512 {
39513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39514 }
39515 return resultobj;
39516 fail:
39517 return NULL;
39518}
39519
39520
c32bde28 39521static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39522 PyObject *resultobj;
39523 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39524 wxPoint result;
39525 PyObject * obj0 = 0 ;
39526 char *kwnames[] = {
39527 (char *) "self", NULL
39528 };
39529
39530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
39531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39533 {
39534 PyThreadState* __tstate = wxPyBeginAllowThreads();
39535 result = (arg1)->GetPosition();
39536
39537 wxPyEndAllowThreads(__tstate);
39538 if (PyErr_Occurred()) SWIG_fail;
39539 }
39540 {
39541 wxPoint * resultptr;
093d3ff1 39542 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
39543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
39544 }
39545 return resultobj;
39546 fail:
39547 return NULL;
39548}
39549
39550
c32bde28 39551static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39552 PyObject *resultobj;
39553 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39554 PyObject *result;
39555 PyObject * obj0 = 0 ;
39556 char *kwnames[] = {
39557 (char *) "self", NULL
39558 };
39559
39560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
093d3ff1
RD
39561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39562 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39563 {
39564 PyThreadState* __tstate = wxPyBeginAllowThreads();
39565 result = (PyObject *)wxSizerItem_GetUserData(arg1);
39566
39567 wxPyEndAllowThreads(__tstate);
39568 if (PyErr_Occurred()) SWIG_fail;
39569 }
39570 resultobj = result;
39571 return resultobj;
39572 fail:
39573 return NULL;
39574}
39575
39576
c32bde28 39577static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
39578 PyObject *obj;
39579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39580 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
39581 Py_INCREF(obj);
39582 return Py_BuildValue((char *)"");
39583}
c32bde28 39584static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39585 PyObject *resultobj;
39586 wxSizer *arg1 = (wxSizer *) 0 ;
39587 PyObject *arg2 = (PyObject *) 0 ;
39588 PyObject * obj0 = 0 ;
39589 PyObject * obj1 = 0 ;
39590 char *kwnames[] = {
39591 (char *) "self",(char *) "_self", NULL
39592 };
39593
39594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39597 arg2 = obj1;
39598 {
39599 PyThreadState* __tstate = wxPyBeginAllowThreads();
39600 wxSizer__setOORInfo(arg1,arg2);
39601
39602 wxPyEndAllowThreads(__tstate);
39603 if (PyErr_Occurred()) SWIG_fail;
39604 }
39605 Py_INCREF(Py_None); resultobj = Py_None;
39606 return resultobj;
39607 fail:
39608 return NULL;
39609}
39610
39611
c32bde28 39612static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39613 PyObject *resultobj;
39614 wxSizer *arg1 = (wxSizer *) 0 ;
39615 PyObject *arg2 = (PyObject *) 0 ;
39616 int arg3 = (int) 0 ;
39617 int arg4 = (int) 0 ;
39618 int arg5 = (int) 0 ;
39619 PyObject *arg6 = (PyObject *) NULL ;
c1cb24a4 39620 wxSizerItem *result;
d55e5bfc
RD
39621 PyObject * obj0 = 0 ;
39622 PyObject * obj1 = 0 ;
39623 PyObject * obj2 = 0 ;
39624 PyObject * obj3 = 0 ;
39625 PyObject * obj4 = 0 ;
39626 PyObject * obj5 = 0 ;
39627 char *kwnames[] = {
39628 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39629 };
39630
39631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
39632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39634 arg2 = obj1;
39635 if (obj2) {
093d3ff1
RD
39636 {
39637 arg3 = (int)(SWIG_As_int(obj2));
39638 if (SWIG_arg_fail(3)) SWIG_fail;
39639 }
d55e5bfc
RD
39640 }
39641 if (obj3) {
093d3ff1
RD
39642 {
39643 arg4 = (int)(SWIG_As_int(obj3));
39644 if (SWIG_arg_fail(4)) SWIG_fail;
39645 }
d55e5bfc
RD
39646 }
39647 if (obj4) {
093d3ff1
RD
39648 {
39649 arg5 = (int)(SWIG_As_int(obj4));
39650 if (SWIG_arg_fail(5)) SWIG_fail;
39651 }
d55e5bfc
RD
39652 }
39653 if (obj5) {
39654 arg6 = obj5;
39655 }
39656 {
39657 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 39658 result = (wxSizerItem *)wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
39659
39660 wxPyEndAllowThreads(__tstate);
39661 if (PyErr_Occurred()) SWIG_fail;
39662 }
c1cb24a4 39663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d55e5bfc
RD
39664 return resultobj;
39665 fail:
39666 return NULL;
39667}
39668
39669
c32bde28 39670static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39671 PyObject *resultobj;
39672 wxSizer *arg1 = (wxSizer *) 0 ;
39673 int arg2 ;
39674 PyObject *arg3 = (PyObject *) 0 ;
39675 int arg4 = (int) 0 ;
39676 int arg5 = (int) 0 ;
39677 int arg6 = (int) 0 ;
39678 PyObject *arg7 = (PyObject *) NULL ;
c1cb24a4 39679 wxSizerItem *result;
d55e5bfc
RD
39680 PyObject * obj0 = 0 ;
39681 PyObject * obj1 = 0 ;
39682 PyObject * obj2 = 0 ;
39683 PyObject * obj3 = 0 ;
39684 PyObject * obj4 = 0 ;
39685 PyObject * obj5 = 0 ;
39686 PyObject * obj6 = 0 ;
39687 char *kwnames[] = {
39688 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39689 };
39690
39691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
39692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39693 if (SWIG_arg_fail(1)) SWIG_fail;
39694 {
39695 arg2 = (int)(SWIG_As_int(obj1));
39696 if (SWIG_arg_fail(2)) SWIG_fail;
39697 }
d55e5bfc
RD
39698 arg3 = obj2;
39699 if (obj3) {
093d3ff1
RD
39700 {
39701 arg4 = (int)(SWIG_As_int(obj3));
39702 if (SWIG_arg_fail(4)) SWIG_fail;
39703 }
d55e5bfc
RD
39704 }
39705 if (obj4) {
093d3ff1
RD
39706 {
39707 arg5 = (int)(SWIG_As_int(obj4));
39708 if (SWIG_arg_fail(5)) SWIG_fail;
39709 }
d55e5bfc
RD
39710 }
39711 if (obj5) {
093d3ff1
RD
39712 {
39713 arg6 = (int)(SWIG_As_int(obj5));
39714 if (SWIG_arg_fail(6)) SWIG_fail;
39715 }
d55e5bfc
RD
39716 }
39717 if (obj6) {
39718 arg7 = obj6;
39719 }
39720 {
39721 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 39722 result = (wxSizerItem *)wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
39723
39724 wxPyEndAllowThreads(__tstate);
39725 if (PyErr_Occurred()) SWIG_fail;
39726 }
c1cb24a4 39727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d55e5bfc
RD
39728 return resultobj;
39729 fail:
39730 return NULL;
39731}
39732
39733
c32bde28 39734static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39735 PyObject *resultobj;
39736 wxSizer *arg1 = (wxSizer *) 0 ;
39737 PyObject *arg2 = (PyObject *) 0 ;
39738 int arg3 = (int) 0 ;
39739 int arg4 = (int) 0 ;
39740 int arg5 = (int) 0 ;
39741 PyObject *arg6 = (PyObject *) NULL ;
c1cb24a4 39742 wxSizerItem *result;
d55e5bfc
RD
39743 PyObject * obj0 = 0 ;
39744 PyObject * obj1 = 0 ;
39745 PyObject * obj2 = 0 ;
39746 PyObject * obj3 = 0 ;
39747 PyObject * obj4 = 0 ;
39748 PyObject * obj5 = 0 ;
39749 char *kwnames[] = {
39750 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39751 };
39752
39753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
39754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39756 arg2 = obj1;
39757 if (obj2) {
093d3ff1
RD
39758 {
39759 arg3 = (int)(SWIG_As_int(obj2));
39760 if (SWIG_arg_fail(3)) SWIG_fail;
39761 }
d55e5bfc
RD
39762 }
39763 if (obj3) {
093d3ff1
RD
39764 {
39765 arg4 = (int)(SWIG_As_int(obj3));
39766 if (SWIG_arg_fail(4)) SWIG_fail;
39767 }
d55e5bfc
RD
39768 }
39769 if (obj4) {
093d3ff1
RD
39770 {
39771 arg5 = (int)(SWIG_As_int(obj4));
39772 if (SWIG_arg_fail(5)) SWIG_fail;
39773 }
d55e5bfc
RD
39774 }
39775 if (obj5) {
39776 arg6 = obj5;
39777 }
39778 {
39779 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 39780 result = (wxSizerItem *)wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
39781
39782 wxPyEndAllowThreads(__tstate);
39783 if (PyErr_Occurred()) SWIG_fail;
39784 }
c1cb24a4 39785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d55e5bfc
RD
39786 return resultobj;
39787 fail:
39788 return NULL;
39789}
39790
39791
c32bde28 39792static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39793 PyObject *resultobj;
39794 wxSizer *arg1 = (wxSizer *) 0 ;
39795 PyObject *arg2 = (PyObject *) 0 ;
39796 bool result;
39797 PyObject * obj0 = 0 ;
39798 PyObject * obj1 = 0 ;
39799 char *kwnames[] = {
39800 (char *) "self",(char *) "item", NULL
39801 };
39802
39803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39805 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39806 arg2 = obj1;
39807 {
39808 PyThreadState* __tstate = wxPyBeginAllowThreads();
39809 result = (bool)wxSizer_Remove(arg1,arg2);
39810
39811 wxPyEndAllowThreads(__tstate);
39812 if (PyErr_Occurred()) SWIG_fail;
39813 }
39814 {
39815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39816 }
39817 return resultobj;
39818 fail:
39819 return NULL;
39820}
39821
39822
c32bde28 39823static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
1a6bba1e
RD
39824 PyObject *resultobj;
39825 wxSizer *arg1 = (wxSizer *) 0 ;
39826 PyObject *arg2 = (PyObject *) 0 ;
39827 bool result;
39828 PyObject * obj0 = 0 ;
39829 PyObject * obj1 = 0 ;
39830 char *kwnames[] = {
39831 (char *) "self",(char *) "item", NULL
39832 };
39833
39834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39836 if (SWIG_arg_fail(1)) SWIG_fail;
1a6bba1e
RD
39837 arg2 = obj1;
39838 {
39839 PyThreadState* __tstate = wxPyBeginAllowThreads();
39840 result = (bool)wxSizer_Detach(arg1,arg2);
39841
39842 wxPyEndAllowThreads(__tstate);
39843 if (PyErr_Occurred()) SWIG_fail;
39844 }
39845 {
39846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39847 }
39848 return resultobj;
39849 fail:
39850 return NULL;
39851}
39852
39853
c1cb24a4
RD
39854static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
39855 PyObject *resultobj;
39856 wxSizer *arg1 = (wxSizer *) 0 ;
39857 PyObject *arg2 = (PyObject *) 0 ;
39858 wxSizerItem *result;
39859 PyObject * obj0 = 0 ;
39860 PyObject * obj1 = 0 ;
39861 char *kwnames[] = {
39862 (char *) "self",(char *) "item", NULL
39863 };
39864
39865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_GetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39867 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
39868 arg2 = obj1;
39869 {
39870 PyThreadState* __tstate = wxPyBeginAllowThreads();
39871 result = (wxSizerItem *)wxSizer_GetItem(arg1,arg2);
39872
39873 wxPyEndAllowThreads(__tstate);
39874 if (PyErr_Occurred()) SWIG_fail;
39875 }
39876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
39877 return resultobj;
39878 fail:
39879 return NULL;
39880}
39881
39882
c32bde28 39883static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39884 PyObject *resultobj;
39885 wxSizer *arg1 = (wxSizer *) 0 ;
39886 PyObject *arg2 = (PyObject *) 0 ;
39887 wxSize *arg3 = 0 ;
39888 wxSize temp3 ;
39889 PyObject * obj0 = 0 ;
39890 PyObject * obj1 = 0 ;
39891 PyObject * obj2 = 0 ;
39892 char *kwnames[] = {
39893 (char *) "self",(char *) "item",(char *) "size", NULL
39894 };
39895
39896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
39897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
39899 arg2 = obj1;
39900 {
39901 arg3 = &temp3;
39902 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
39903 }
39904 {
39905 PyThreadState* __tstate = wxPyBeginAllowThreads();
39906 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
39907
39908 wxPyEndAllowThreads(__tstate);
39909 if (PyErr_Occurred()) SWIG_fail;
39910 }
39911 Py_INCREF(Py_None); resultobj = Py_None;
39912 return resultobj;
39913 fail:
39914 return NULL;
39915}
39916
39917
c32bde28 39918static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39919 PyObject *resultobj;
39920 wxSizer *arg1 = (wxSizer *) 0 ;
39921 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
c1cb24a4 39922 wxSizerItem *result;
d55e5bfc
RD
39923 PyObject * obj0 = 0 ;
39924 PyObject * obj1 = 0 ;
39925 char *kwnames[] = {
39926 (char *) "self",(char *) "item", NULL
39927 };
39928
39929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39931 if (SWIG_arg_fail(1)) SWIG_fail;
39932 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39933 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
39934 {
39935 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 39936 result = (wxSizerItem *)(arg1)->Add(arg2);
d55e5bfc
RD
39937
39938 wxPyEndAllowThreads(__tstate);
39939 if (PyErr_Occurred()) SWIG_fail;
39940 }
c1cb24a4 39941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d55e5bfc
RD
39942 return resultobj;
39943 fail:
39944 return NULL;
39945}
39946
39947
c32bde28 39948static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39949 PyObject *resultobj;
39950 wxSizer *arg1 = (wxSizer *) 0 ;
39951 size_t arg2 ;
39952 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
c1cb24a4 39953 wxSizerItem *result;
d55e5bfc
RD
39954 PyObject * obj0 = 0 ;
39955 PyObject * obj1 = 0 ;
39956 PyObject * obj2 = 0 ;
39957 char *kwnames[] = {
39958 (char *) "self",(char *) "index",(char *) "item", NULL
39959 };
39960
39961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
39962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39963 if (SWIG_arg_fail(1)) SWIG_fail;
39964 {
39965 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
39966 if (SWIG_arg_fail(2)) SWIG_fail;
39967 }
39968 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39969 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
39970 {
39971 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 39972 result = (wxSizerItem *)(arg1)->Insert(arg2,arg3);
d55e5bfc
RD
39973
39974 wxPyEndAllowThreads(__tstate);
39975 if (PyErr_Occurred()) SWIG_fail;
39976 }
c1cb24a4 39977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d55e5bfc
RD
39978 return resultobj;
39979 fail:
39980 return NULL;
39981}
39982
39983
c32bde28 39984static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39985 PyObject *resultobj;
39986 wxSizer *arg1 = (wxSizer *) 0 ;
39987 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
c1cb24a4 39988 wxSizerItem *result;
d55e5bfc
RD
39989 PyObject * obj0 = 0 ;
39990 PyObject * obj1 = 0 ;
39991 char *kwnames[] = {
39992 (char *) "self",(char *) "item", NULL
39993 };
39994
39995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
39997 if (SWIG_arg_fail(1)) SWIG_fail;
39998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39999 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
40000 {
40001 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 40002 result = (wxSizerItem *)(arg1)->Prepend(arg2);
d55e5bfc
RD
40003
40004 wxPyEndAllowThreads(__tstate);
40005 if (PyErr_Occurred()) SWIG_fail;
40006 }
c1cb24a4 40007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d55e5bfc
RD
40008 return resultobj;
40009 fail:
40010 return NULL;
40011}
40012
40013
c32bde28 40014static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40015 PyObject *resultobj;
40016 wxSizer *arg1 = (wxSizer *) 0 ;
40017 int arg2 ;
40018 int arg3 ;
40019 int arg4 ;
40020 int arg5 ;
40021 PyObject * obj0 = 0 ;
40022 PyObject * obj1 = 0 ;
40023 PyObject * obj2 = 0 ;
40024 PyObject * obj3 = 0 ;
40025 PyObject * obj4 = 0 ;
40026 char *kwnames[] = {
40027 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40028 };
40029
40030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
40031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40032 if (SWIG_arg_fail(1)) SWIG_fail;
40033 {
40034 arg2 = (int)(SWIG_As_int(obj1));
40035 if (SWIG_arg_fail(2)) SWIG_fail;
40036 }
40037 {
40038 arg3 = (int)(SWIG_As_int(obj2));
40039 if (SWIG_arg_fail(3)) SWIG_fail;
40040 }
40041 {
40042 arg4 = (int)(SWIG_As_int(obj3));
40043 if (SWIG_arg_fail(4)) SWIG_fail;
40044 }
40045 {
40046 arg5 = (int)(SWIG_As_int(obj4));
40047 if (SWIG_arg_fail(5)) SWIG_fail;
40048 }
d55e5bfc
RD
40049 {
40050 PyThreadState* __tstate = wxPyBeginAllowThreads();
40051 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
40052
40053 wxPyEndAllowThreads(__tstate);
40054 if (PyErr_Occurred()) SWIG_fail;
40055 }
40056 Py_INCREF(Py_None); resultobj = Py_None;
40057 return resultobj;
40058 fail:
40059 return NULL;
40060}
40061
40062
c32bde28 40063static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40064 PyObject *resultobj;
40065 wxSizer *arg1 = (wxSizer *) 0 ;
40066 wxSize *arg2 = 0 ;
40067 wxSize temp2 ;
40068 PyObject * obj0 = 0 ;
40069 PyObject * obj1 = 0 ;
40070 char *kwnames[] = {
40071 (char *) "self",(char *) "size", NULL
40072 };
40073
40074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40077 {
40078 arg2 = &temp2;
40079 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
40080 }
40081 {
40082 PyThreadState* __tstate = wxPyBeginAllowThreads();
40083 (arg1)->SetMinSize((wxSize const &)*arg2);
40084
40085 wxPyEndAllowThreads(__tstate);
40086 if (PyErr_Occurred()) SWIG_fail;
40087 }
40088 Py_INCREF(Py_None); resultobj = Py_None;
40089 return resultobj;
40090 fail:
40091 return NULL;
40092}
40093
40094
c32bde28 40095static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40096 PyObject *resultobj;
40097 wxSizer *arg1 = (wxSizer *) 0 ;
40098 wxSize result;
40099 PyObject * obj0 = 0 ;
40100 char *kwnames[] = {
40101 (char *) "self", NULL
40102 };
40103
40104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
40105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40107 {
40108 PyThreadState* __tstate = wxPyBeginAllowThreads();
40109 result = (arg1)->GetSize();
40110
40111 wxPyEndAllowThreads(__tstate);
40112 if (PyErr_Occurred()) SWIG_fail;
40113 }
40114 {
40115 wxSize * resultptr;
093d3ff1 40116 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
40117 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
40118 }
40119 return resultobj;
40120 fail:
40121 return NULL;
40122}
40123
40124
c32bde28 40125static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40126 PyObject *resultobj;
40127 wxSizer *arg1 = (wxSizer *) 0 ;
40128 wxPoint result;
40129 PyObject * obj0 = 0 ;
40130 char *kwnames[] = {
40131 (char *) "self", NULL
40132 };
40133
40134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
40135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40136 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40137 {
40138 PyThreadState* __tstate = wxPyBeginAllowThreads();
40139 result = (arg1)->GetPosition();
40140
40141 wxPyEndAllowThreads(__tstate);
40142 if (PyErr_Occurred()) SWIG_fail;
40143 }
40144 {
40145 wxPoint * resultptr;
093d3ff1 40146 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
40147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
40148 }
40149 return resultobj;
40150 fail:
40151 return NULL;
40152}
40153
40154
c32bde28 40155static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40156 PyObject *resultobj;
40157 wxSizer *arg1 = (wxSizer *) 0 ;
40158 wxSize result;
40159 PyObject * obj0 = 0 ;
40160 char *kwnames[] = {
40161 (char *) "self", NULL
40162 };
40163
40164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
40165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40167 {
40168 PyThreadState* __tstate = wxPyBeginAllowThreads();
40169 result = (arg1)->GetMinSize();
40170
40171 wxPyEndAllowThreads(__tstate);
40172 if (PyErr_Occurred()) SWIG_fail;
40173 }
40174 {
40175 wxSize * resultptr;
093d3ff1 40176 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
40177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
40178 }
40179 return resultobj;
40180 fail:
40181 return NULL;
40182}
40183
40184
c32bde28 40185static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40186 PyObject *resultobj;
40187 wxSizer *arg1 = (wxSizer *) 0 ;
40188 PyObject * obj0 = 0 ;
40189 char *kwnames[] = {
40190 (char *) "self", NULL
40191 };
40192
40193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
40194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40195 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40196 {
40197 PyThreadState* __tstate = wxPyBeginAllowThreads();
40198 (arg1)->RecalcSizes();
40199
40200 wxPyEndAllowThreads(__tstate);
40201 if (PyErr_Occurred()) SWIG_fail;
40202 }
40203 Py_INCREF(Py_None); resultobj = Py_None;
40204 return resultobj;
40205 fail:
40206 return NULL;
40207}
40208
40209
c32bde28 40210static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40211 PyObject *resultobj;
40212 wxSizer *arg1 = (wxSizer *) 0 ;
40213 wxSize result;
40214 PyObject * obj0 = 0 ;
40215 char *kwnames[] = {
40216 (char *) "self", NULL
40217 };
40218
40219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
40220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40221 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40222 {
40223 PyThreadState* __tstate = wxPyBeginAllowThreads();
40224 result = (arg1)->CalcMin();
40225
40226 wxPyEndAllowThreads(__tstate);
40227 if (PyErr_Occurred()) SWIG_fail;
40228 }
40229 {
40230 wxSize * resultptr;
093d3ff1 40231 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
40232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
40233 }
40234 return resultobj;
40235 fail:
40236 return NULL;
40237}
40238
40239
c32bde28 40240static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40241 PyObject *resultobj;
40242 wxSizer *arg1 = (wxSizer *) 0 ;
40243 PyObject * obj0 = 0 ;
40244 char *kwnames[] = {
40245 (char *) "self", NULL
40246 };
40247
40248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
093d3ff1
RD
40249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40250 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40251 {
40252 PyThreadState* __tstate = wxPyBeginAllowThreads();
40253 (arg1)->Layout();
40254
40255 wxPyEndAllowThreads(__tstate);
40256 if (PyErr_Occurred()) SWIG_fail;
40257 }
40258 Py_INCREF(Py_None); resultobj = Py_None;
40259 return resultobj;
40260 fail:
40261 return NULL;
40262}
40263
40264
c32bde28 40265static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40266 PyObject *resultobj;
40267 wxSizer *arg1 = (wxSizer *) 0 ;
40268 wxWindow *arg2 = (wxWindow *) 0 ;
40269 wxSize result;
40270 PyObject * obj0 = 0 ;
40271 PyObject * obj1 = 0 ;
40272 char *kwnames[] = {
40273 (char *) "self",(char *) "window", NULL
40274 };
40275
40276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40278 if (SWIG_arg_fail(1)) SWIG_fail;
40279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
40280 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
40281 {
40282 PyThreadState* __tstate = wxPyBeginAllowThreads();
40283 result = (arg1)->Fit(arg2);
40284
40285 wxPyEndAllowThreads(__tstate);
40286 if (PyErr_Occurred()) SWIG_fail;
40287 }
40288 {
40289 wxSize * resultptr;
093d3ff1 40290 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
40291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
40292 }
40293 return resultobj;
40294 fail:
40295 return NULL;
40296}
40297
40298
c32bde28 40299static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40300 PyObject *resultobj;
40301 wxSizer *arg1 = (wxSizer *) 0 ;
40302 wxWindow *arg2 = (wxWindow *) 0 ;
40303 PyObject * obj0 = 0 ;
40304 PyObject * obj1 = 0 ;
40305 char *kwnames[] = {
40306 (char *) "self",(char *) "window", NULL
40307 };
40308
40309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40311 if (SWIG_arg_fail(1)) SWIG_fail;
40312 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
40313 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
40314 {
40315 PyThreadState* __tstate = wxPyBeginAllowThreads();
40316 (arg1)->FitInside(arg2);
40317
40318 wxPyEndAllowThreads(__tstate);
40319 if (PyErr_Occurred()) SWIG_fail;
40320 }
40321 Py_INCREF(Py_None); resultobj = Py_None;
40322 return resultobj;
40323 fail:
40324 return NULL;
40325}
40326
40327
c32bde28 40328static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40329 PyObject *resultobj;
40330 wxSizer *arg1 = (wxSizer *) 0 ;
40331 wxWindow *arg2 = (wxWindow *) 0 ;
40332 PyObject * obj0 = 0 ;
40333 PyObject * obj1 = 0 ;
40334 char *kwnames[] = {
40335 (char *) "self",(char *) "window", NULL
40336 };
40337
40338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40340 if (SWIG_arg_fail(1)) SWIG_fail;
40341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
40342 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
40343 {
40344 PyThreadState* __tstate = wxPyBeginAllowThreads();
40345 (arg1)->SetSizeHints(arg2);
40346
40347 wxPyEndAllowThreads(__tstate);
40348 if (PyErr_Occurred()) SWIG_fail;
40349 }
40350 Py_INCREF(Py_None); resultobj = Py_None;
40351 return resultobj;
40352 fail:
40353 return NULL;
40354}
40355
40356
c32bde28 40357static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40358 PyObject *resultobj;
40359 wxSizer *arg1 = (wxSizer *) 0 ;
40360 wxWindow *arg2 = (wxWindow *) 0 ;
40361 PyObject * obj0 = 0 ;
40362 PyObject * obj1 = 0 ;
40363 char *kwnames[] = {
40364 (char *) "self",(char *) "window", NULL
40365 };
40366
40367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40369 if (SWIG_arg_fail(1)) SWIG_fail;
40370 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
40371 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
40372 {
40373 PyThreadState* __tstate = wxPyBeginAllowThreads();
40374 (arg1)->SetVirtualSizeHints(arg2);
40375
40376 wxPyEndAllowThreads(__tstate);
40377 if (PyErr_Occurred()) SWIG_fail;
40378 }
40379 Py_INCREF(Py_None); resultobj = Py_None;
40380 return resultobj;
40381 fail:
40382 return NULL;
40383}
40384
40385
c32bde28 40386static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40387 PyObject *resultobj;
40388 wxSizer *arg1 = (wxSizer *) 0 ;
ae8162c8 40389 bool arg2 = (bool) false ;
d55e5bfc
RD
40390 PyObject * obj0 = 0 ;
40391 PyObject * obj1 = 0 ;
40392 char *kwnames[] = {
248ed943 40393 (char *) "self",(char *) "deleteWindows", NULL
d55e5bfc
RD
40394 };
40395
40396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40398 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 40399 if (obj1) {
093d3ff1
RD
40400 {
40401 arg2 = (bool)(SWIG_As_bool(obj1));
40402 if (SWIG_arg_fail(2)) SWIG_fail;
40403 }
d55e5bfc
RD
40404 }
40405 {
40406 PyThreadState* __tstate = wxPyBeginAllowThreads();
40407 (arg1)->Clear(arg2);
40408
40409 wxPyEndAllowThreads(__tstate);
40410 if (PyErr_Occurred()) SWIG_fail;
40411 }
40412 Py_INCREF(Py_None); resultobj = Py_None;
40413 return resultobj;
40414 fail:
40415 return NULL;
40416}
40417
40418
c32bde28 40419static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40420 PyObject *resultobj;
40421 wxSizer *arg1 = (wxSizer *) 0 ;
40422 PyObject * obj0 = 0 ;
40423 char *kwnames[] = {
40424 (char *) "self", NULL
40425 };
40426
40427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
40428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40430 {
40431 PyThreadState* __tstate = wxPyBeginAllowThreads();
40432 (arg1)->DeleteWindows();
40433
40434 wxPyEndAllowThreads(__tstate);
40435 if (PyErr_Occurred()) SWIG_fail;
40436 }
40437 Py_INCREF(Py_None); resultobj = Py_None;
40438 return resultobj;
40439 fail:
40440 return NULL;
40441}
40442
40443
c32bde28 40444static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40445 PyObject *resultobj;
40446 wxSizer *arg1 = (wxSizer *) 0 ;
40447 PyObject *result;
40448 PyObject * obj0 = 0 ;
40449 char *kwnames[] = {
40450 (char *) "self", NULL
40451 };
40452
40453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
40454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40455 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40456 {
40457 PyThreadState* __tstate = wxPyBeginAllowThreads();
40458 result = (PyObject *)wxSizer_GetChildren(arg1);
40459
40460 wxPyEndAllowThreads(__tstate);
40461 if (PyErr_Occurred()) SWIG_fail;
40462 }
40463 resultobj = result;
40464 return resultobj;
40465 fail:
40466 return NULL;
40467}
40468
40469
c32bde28 40470static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40471 PyObject *resultobj;
40472 wxSizer *arg1 = (wxSizer *) 0 ;
40473 PyObject *arg2 = (PyObject *) 0 ;
ae8162c8
RD
40474 bool arg3 = (bool) true ;
40475 bool arg4 = (bool) false ;
7e63a440 40476 bool result;
d55e5bfc
RD
40477 PyObject * obj0 = 0 ;
40478 PyObject * obj1 = 0 ;
40479 PyObject * obj2 = 0 ;
7e63a440 40480 PyObject * obj3 = 0 ;
d55e5bfc 40481 char *kwnames[] = {
7e63a440 40482 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
d55e5bfc
RD
40483 };
40484
7e63a440 40485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Sizer_Show",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
40486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40488 arg2 = obj1;
40489 if (obj2) {
093d3ff1
RD
40490 {
40491 arg3 = (bool)(SWIG_As_bool(obj2));
40492 if (SWIG_arg_fail(3)) SWIG_fail;
40493 }
d55e5bfc 40494 }
7e63a440 40495 if (obj3) {
093d3ff1
RD
40496 {
40497 arg4 = (bool)(SWIG_As_bool(obj3));
40498 if (SWIG_arg_fail(4)) SWIG_fail;
40499 }
7e63a440 40500 }
d55e5bfc
RD
40501 {
40502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e63a440 40503 result = (bool)wxSizer_Show(arg1,arg2,arg3,arg4);
d55e5bfc
RD
40504
40505 wxPyEndAllowThreads(__tstate);
40506 if (PyErr_Occurred()) SWIG_fail;
40507 }
7e63a440
RD
40508 {
40509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40510 }
d55e5bfc
RD
40511 return resultobj;
40512 fail:
40513 return NULL;
40514}
40515
40516
c32bde28 40517static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40518 PyObject *resultobj;
40519 wxSizer *arg1 = (wxSizer *) 0 ;
40520 PyObject *arg2 = (PyObject *) 0 ;
40521 bool result;
40522 PyObject * obj0 = 0 ;
40523 PyObject * obj1 = 0 ;
40524 char *kwnames[] = {
40525 (char *) "self",(char *) "item", NULL
40526 };
40527
40528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40531 arg2 = obj1;
40532 {
40533 PyThreadState* __tstate = wxPyBeginAllowThreads();
40534 result = (bool)wxSizer_IsShown(arg1,arg2);
40535
40536 wxPyEndAllowThreads(__tstate);
40537 if (PyErr_Occurred()) SWIG_fail;
40538 }
40539 {
40540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40541 }
40542 return resultobj;
40543 fail:
40544 return NULL;
40545}
40546
40547
c32bde28 40548static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40549 PyObject *resultobj;
40550 wxSizer *arg1 = (wxSizer *) 0 ;
40551 bool arg2 ;
40552 PyObject * obj0 = 0 ;
40553 PyObject * obj1 = 0 ;
40554 char *kwnames[] = {
40555 (char *) "self",(char *) "show", NULL
40556 };
40557
40558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40560 if (SWIG_arg_fail(1)) SWIG_fail;
40561 {
40562 arg2 = (bool)(SWIG_As_bool(obj1));
40563 if (SWIG_arg_fail(2)) SWIG_fail;
40564 }
d55e5bfc
RD
40565 {
40566 PyThreadState* __tstate = wxPyBeginAllowThreads();
40567 (arg1)->ShowItems(arg2);
40568
40569 wxPyEndAllowThreads(__tstate);
40570 if (PyErr_Occurred()) SWIG_fail;
40571 }
40572 Py_INCREF(Py_None); resultobj = Py_None;
40573 return resultobj;
40574 fail:
40575 return NULL;
40576}
40577
40578
c32bde28 40579static PyObject * Sizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
40580 PyObject *obj;
40581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40582 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
40583 Py_INCREF(obj);
40584 return Py_BuildValue((char *)"");
40585}
c32bde28 40586static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40587 PyObject *resultobj;
40588 wxPySizer *result;
40589 char *kwnames[] = {
40590 NULL
40591 };
40592
40593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
40594 {
40595 PyThreadState* __tstate = wxPyBeginAllowThreads();
40596 result = (wxPySizer *)new wxPySizer();
40597
40598 wxPyEndAllowThreads(__tstate);
40599 if (PyErr_Occurred()) SWIG_fail;
40600 }
40601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
40602 return resultobj;
40603 fail:
40604 return NULL;
40605}
40606
40607
c32bde28 40608static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40609 PyObject *resultobj;
40610 wxPySizer *arg1 = (wxPySizer *) 0 ;
40611 PyObject *arg2 = (PyObject *) 0 ;
40612 PyObject *arg3 = (PyObject *) 0 ;
40613 PyObject * obj0 = 0 ;
40614 PyObject * obj1 = 0 ;
40615 PyObject * obj2 = 0 ;
40616 char *kwnames[] = {
40617 (char *) "self",(char *) "self",(char *) "_class", NULL
40618 };
40619
40620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
40621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPySizer, SWIG_POINTER_EXCEPTION | 0);
40622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40623 arg2 = obj1;
40624 arg3 = obj2;
40625 {
40626 PyThreadState* __tstate = wxPyBeginAllowThreads();
40627 (arg1)->_setCallbackInfo(arg2,arg3);
40628
40629 wxPyEndAllowThreads(__tstate);
40630 if (PyErr_Occurred()) SWIG_fail;
40631 }
40632 Py_INCREF(Py_None); resultobj = Py_None;
40633 return resultobj;
40634 fail:
40635 return NULL;
40636}
40637
40638
c32bde28 40639static PyObject * PySizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
40640 PyObject *obj;
40641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40642 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
40643 Py_INCREF(obj);
40644 return Py_BuildValue((char *)"");
40645}
c32bde28 40646static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40647 PyObject *resultobj;
40648 int arg1 = (int) wxHORIZONTAL ;
40649 wxBoxSizer *result;
40650 PyObject * obj0 = 0 ;
40651 char *kwnames[] = {
40652 (char *) "orient", NULL
40653 };
40654
40655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
40656 if (obj0) {
093d3ff1
RD
40657 {
40658 arg1 = (int)(SWIG_As_int(obj0));
40659 if (SWIG_arg_fail(1)) SWIG_fail;
40660 }
d55e5bfc
RD
40661 }
40662 {
40663 PyThreadState* __tstate = wxPyBeginAllowThreads();
40664 result = (wxBoxSizer *)new wxBoxSizer(arg1);
40665
40666 wxPyEndAllowThreads(__tstate);
40667 if (PyErr_Occurred()) SWIG_fail;
40668 }
40669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
40670 return resultobj;
40671 fail:
40672 return NULL;
40673}
40674
40675
c32bde28 40676static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40677 PyObject *resultobj;
40678 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
40679 int result;
40680 PyObject * obj0 = 0 ;
40681 char *kwnames[] = {
40682 (char *) "self", NULL
40683 };
40684
40685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
40686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0);
40687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40688 {
40689 PyThreadState* __tstate = wxPyBeginAllowThreads();
40690 result = (int)(arg1)->GetOrientation();
40691
40692 wxPyEndAllowThreads(__tstate);
40693 if (PyErr_Occurred()) SWIG_fail;
40694 }
093d3ff1
RD
40695 {
40696 resultobj = SWIG_From_int((int)(result));
40697 }
d55e5bfc
RD
40698 return resultobj;
40699 fail:
40700 return NULL;
40701}
40702
40703
c32bde28 40704static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40705 PyObject *resultobj;
40706 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
40707 int arg2 ;
40708 PyObject * obj0 = 0 ;
40709 PyObject * obj1 = 0 ;
40710 char *kwnames[] = {
40711 (char *) "self",(char *) "orient", NULL
40712 };
40713
40714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0);
40716 if (SWIG_arg_fail(1)) SWIG_fail;
40717 {
40718 arg2 = (int)(SWIG_As_int(obj1));
40719 if (SWIG_arg_fail(2)) SWIG_fail;
40720 }
d55e5bfc
RD
40721 {
40722 PyThreadState* __tstate = wxPyBeginAllowThreads();
40723 (arg1)->SetOrientation(arg2);
40724
40725 wxPyEndAllowThreads(__tstate);
40726 if (PyErr_Occurred()) SWIG_fail;
40727 }
40728 Py_INCREF(Py_None); resultobj = Py_None;
40729 return resultobj;
40730 fail:
40731 return NULL;
40732}
40733
40734
c32bde28 40735static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
40736 PyObject *obj;
40737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40738 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
40739 Py_INCREF(obj);
40740 return Py_BuildValue((char *)"");
40741}
c32bde28 40742static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40743 PyObject *resultobj;
40744 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
40745 int arg2 = (int) wxHORIZONTAL ;
40746 wxStaticBoxSizer *result;
40747 PyObject * obj0 = 0 ;
40748 PyObject * obj1 = 0 ;
40749 char *kwnames[] = {
40750 (char *) "box",(char *) "orient", NULL
40751 };
40752
40753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
40755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 40756 if (obj1) {
093d3ff1
RD
40757 {
40758 arg2 = (int)(SWIG_As_int(obj1));
40759 if (SWIG_arg_fail(2)) SWIG_fail;
40760 }
d55e5bfc
RD
40761 }
40762 {
40763 PyThreadState* __tstate = wxPyBeginAllowThreads();
40764 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
40765
40766 wxPyEndAllowThreads(__tstate);
40767 if (PyErr_Occurred()) SWIG_fail;
40768 }
40769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
40770 return resultobj;
40771 fail:
40772 return NULL;
40773}
40774
40775
c32bde28 40776static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40777 PyObject *resultobj;
40778 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
40779 wxStaticBox *result;
40780 PyObject * obj0 = 0 ;
40781 char *kwnames[] = {
40782 (char *) "self", NULL
40783 };
40784
40785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
093d3ff1
RD
40786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBoxSizer, SWIG_POINTER_EXCEPTION | 0);
40787 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
40788 {
40789 PyThreadState* __tstate = wxPyBeginAllowThreads();
40790 result = (wxStaticBox *)(arg1)->GetStaticBox();
40791
40792 wxPyEndAllowThreads(__tstate);
40793 if (PyErr_Occurred()) SWIG_fail;
40794 }
40795 {
412d302d 40796 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
40797 }
40798 return resultobj;
40799 fail:
40800 return NULL;
40801}
40802
40803
c32bde28 40804static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
40805 PyObject *obj;
40806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40807 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
40808 Py_INCREF(obj);
40809 return Py_BuildValue((char *)"");
40810}
c32bde28 40811static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40812 PyObject *resultobj;
40813 int arg1 = (int) 1 ;
40814 int arg2 = (int) 0 ;
40815 int arg3 = (int) 0 ;
40816 int arg4 = (int) 0 ;
40817 wxGridSizer *result;
40818 PyObject * obj0 = 0 ;
40819 PyObject * obj1 = 0 ;
40820 PyObject * obj2 = 0 ;
40821 PyObject * obj3 = 0 ;
40822 char *kwnames[] = {
40823 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40824 };
40825
40826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
40827 if (obj0) {
093d3ff1
RD
40828 {
40829 arg1 = (int)(SWIG_As_int(obj0));
40830 if (SWIG_arg_fail(1)) SWIG_fail;
40831 }
d55e5bfc
RD
40832 }
40833 if (obj1) {
093d3ff1
RD
40834 {
40835 arg2 = (int)(SWIG_As_int(obj1));
40836 if (SWIG_arg_fail(2)) SWIG_fail;
40837 }
d55e5bfc
RD
40838 }
40839 if (obj2) {
093d3ff1
RD
40840 {
40841 arg3 = (int)(SWIG_As_int(obj2));
40842 if (SWIG_arg_fail(3)) SWIG_fail;
40843 }
d55e5bfc
RD
40844 }
40845 if (obj3) {
093d3ff1
RD
40846 {
40847 arg4 = (int)(SWIG_As_int(obj3));
40848 if (SWIG_arg_fail(4)) SWIG_fail;
40849 }
d55e5bfc
RD
40850 }
40851 {
40852 PyThreadState* __tstate = wxPyBeginAllowThreads();
40853 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
40854
40855 wxPyEndAllowThreads(__tstate);
40856 if (PyErr_Occurred()) SWIG_fail;
40857 }
40858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
40859 return resultobj;
40860 fail:
40861 return NULL;
40862}
40863
40864
c32bde28 40865static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40866 PyObject *resultobj;
40867 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
40868 int arg2 ;
40869 PyObject * obj0 = 0 ;
40870 PyObject * obj1 = 0 ;
40871 char *kwnames[] = {
40872 (char *) "self",(char *) "cols", NULL
40873 };
40874
40875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
40877 if (SWIG_arg_fail(1)) SWIG_fail;
40878 {
40879 arg2 = (int)(SWIG_As_int(obj1));
40880 if (SWIG_arg_fail(2)) SWIG_fail;
40881 }
d55e5bfc
RD
40882 {
40883 PyThreadState* __tstate = wxPyBeginAllowThreads();
40884 (arg1)->SetCols(arg2);
40885
40886 wxPyEndAllowThreads(__tstate);
40887 if (PyErr_Occurred()) SWIG_fail;
40888 }
40889 Py_INCREF(Py_None); resultobj = Py_None;
40890 return resultobj;
40891 fail:
40892 return NULL;
40893}
40894
40895
c32bde28 40896static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40897 PyObject *resultobj;
40898 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
40899 int arg2 ;
40900 PyObject * obj0 = 0 ;
40901 PyObject * obj1 = 0 ;
40902 char *kwnames[] = {
40903 (char *) "self",(char *) "rows", NULL
40904 };
40905
40906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
40908 if (SWIG_arg_fail(1)) SWIG_fail;
40909 {
40910 arg2 = (int)(SWIG_As_int(obj1));
40911 if (SWIG_arg_fail(2)) SWIG_fail;
40912 }
d55e5bfc
RD
40913 {
40914 PyThreadState* __tstate = wxPyBeginAllowThreads();
40915 (arg1)->SetRows(arg2);
40916
40917 wxPyEndAllowThreads(__tstate);
40918 if (PyErr_Occurred()) SWIG_fail;
40919 }
40920 Py_INCREF(Py_None); resultobj = Py_None;
40921 return resultobj;
40922 fail:
40923 return NULL;
40924}
40925
40926
c32bde28 40927static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40928 PyObject *resultobj;
40929 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
40930 int arg2 ;
40931 PyObject * obj0 = 0 ;
40932 PyObject * obj1 = 0 ;
40933 char *kwnames[] = {
40934 (char *) "self",(char *) "gap", NULL
40935 };
40936
40937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
40939 if (SWIG_arg_fail(1)) SWIG_fail;
40940 {
40941 arg2 = (int)(SWIG_As_int(obj1));
40942 if (SWIG_arg_fail(2)) SWIG_fail;
40943 }
d55e5bfc
RD
40944 {
40945 PyThreadState* __tstate = wxPyBeginAllowThreads();
40946 (arg1)->SetVGap(arg2);
40947
40948 wxPyEndAllowThreads(__tstate);
40949 if (PyErr_Occurred()) SWIG_fail;
40950 }
40951 Py_INCREF(Py_None); resultobj = Py_None;
40952 return resultobj;
40953 fail:
40954 return NULL;
40955}
40956
40957
c32bde28 40958static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40959 PyObject *resultobj;
40960 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
40961 int arg2 ;
40962 PyObject * obj0 = 0 ;
40963 PyObject * obj1 = 0 ;
40964 char *kwnames[] = {
40965 (char *) "self",(char *) "gap", NULL
40966 };
40967
40968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
40970 if (SWIG_arg_fail(1)) SWIG_fail;
40971 {
40972 arg2 = (int)(SWIG_As_int(obj1));
40973 if (SWIG_arg_fail(2)) SWIG_fail;
40974 }
d55e5bfc
RD
40975 {
40976 PyThreadState* __tstate = wxPyBeginAllowThreads();
40977 (arg1)->SetHGap(arg2);
40978
40979 wxPyEndAllowThreads(__tstate);
40980 if (PyErr_Occurred()) SWIG_fail;
40981 }
40982 Py_INCREF(Py_None); resultobj = Py_None;
40983 return resultobj;
40984 fail:
40985 return NULL;
40986}
40987
40988
c32bde28 40989static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40990 PyObject *resultobj;
40991 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
40992 int result;
40993 PyObject * obj0 = 0 ;
40994 char *kwnames[] = {
40995 (char *) "self", NULL
40996 };
40997
40998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
40999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41000 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41001 {
41002 PyThreadState* __tstate = wxPyBeginAllowThreads();
41003 result = (int)(arg1)->GetCols();
41004
41005 wxPyEndAllowThreads(__tstate);
41006 if (PyErr_Occurred()) SWIG_fail;
41007 }
093d3ff1
RD
41008 {
41009 resultobj = SWIG_From_int((int)(result));
41010 }
d55e5bfc
RD
41011 return resultobj;
41012 fail:
41013 return NULL;
41014}
41015
41016
c32bde28 41017static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41018 PyObject *resultobj;
41019 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41020 int result;
41021 PyObject * obj0 = 0 ;
41022 char *kwnames[] = {
41023 (char *) "self", NULL
41024 };
41025
41026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
41027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41029 {
41030 PyThreadState* __tstate = wxPyBeginAllowThreads();
41031 result = (int)(arg1)->GetRows();
41032
41033 wxPyEndAllowThreads(__tstate);
41034 if (PyErr_Occurred()) SWIG_fail;
41035 }
093d3ff1
RD
41036 {
41037 resultobj = SWIG_From_int((int)(result));
41038 }
d55e5bfc
RD
41039 return resultobj;
41040 fail:
41041 return NULL;
41042}
41043
41044
c32bde28 41045static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41046 PyObject *resultobj;
41047 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41048 int result;
41049 PyObject * obj0 = 0 ;
41050 char *kwnames[] = {
41051 (char *) "self", NULL
41052 };
41053
41054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
093d3ff1
RD
41055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41057 {
41058 PyThreadState* __tstate = wxPyBeginAllowThreads();
41059 result = (int)(arg1)->GetVGap();
41060
41061 wxPyEndAllowThreads(__tstate);
41062 if (PyErr_Occurred()) SWIG_fail;
41063 }
093d3ff1
RD
41064 {
41065 resultobj = SWIG_From_int((int)(result));
41066 }
d55e5bfc
RD
41067 return resultobj;
41068 fail:
41069 return NULL;
41070}
41071
41072
c32bde28 41073static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41074 PyObject *resultobj;
41075 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41076 int result;
41077 PyObject * obj0 = 0 ;
41078 char *kwnames[] = {
41079 (char *) "self", NULL
41080 };
41081
41082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
093d3ff1
RD
41083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41084 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41085 {
41086 PyThreadState* __tstate = wxPyBeginAllowThreads();
41087 result = (int)(arg1)->GetHGap();
41088
41089 wxPyEndAllowThreads(__tstate);
41090 if (PyErr_Occurred()) SWIG_fail;
41091 }
093d3ff1
RD
41092 {
41093 resultobj = SWIG_From_int((int)(result));
41094 }
d55e5bfc
RD
41095 return resultobj;
41096 fail:
41097 return NULL;
41098}
41099
41100
c32bde28 41101static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
41102 PyObject *obj;
41103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41104 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
41105 Py_INCREF(obj);
41106 return Py_BuildValue((char *)"");
41107}
c32bde28 41108static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41109 PyObject *resultobj;
41110 int arg1 = (int) 1 ;
41111 int arg2 = (int) 0 ;
41112 int arg3 = (int) 0 ;
41113 int arg4 = (int) 0 ;
41114 wxFlexGridSizer *result;
41115 PyObject * obj0 = 0 ;
41116 PyObject * obj1 = 0 ;
41117 PyObject * obj2 = 0 ;
41118 PyObject * obj3 = 0 ;
41119 char *kwnames[] = {
41120 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41121 };
41122
41123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
41124 if (obj0) {
093d3ff1
RD
41125 {
41126 arg1 = (int)(SWIG_As_int(obj0));
41127 if (SWIG_arg_fail(1)) SWIG_fail;
41128 }
d55e5bfc
RD
41129 }
41130 if (obj1) {
093d3ff1
RD
41131 {
41132 arg2 = (int)(SWIG_As_int(obj1));
41133 if (SWIG_arg_fail(2)) SWIG_fail;
41134 }
d55e5bfc
RD
41135 }
41136 if (obj2) {
093d3ff1
RD
41137 {
41138 arg3 = (int)(SWIG_As_int(obj2));
41139 if (SWIG_arg_fail(3)) SWIG_fail;
41140 }
d55e5bfc
RD
41141 }
41142 if (obj3) {
093d3ff1
RD
41143 {
41144 arg4 = (int)(SWIG_As_int(obj3));
41145 if (SWIG_arg_fail(4)) SWIG_fail;
41146 }
d55e5bfc
RD
41147 }
41148 {
41149 PyThreadState* __tstate = wxPyBeginAllowThreads();
41150 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
41151
41152 wxPyEndAllowThreads(__tstate);
41153 if (PyErr_Occurred()) SWIG_fail;
41154 }
41155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
41156 return resultobj;
41157 fail:
41158 return NULL;
41159}
41160
41161
c32bde28 41162static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41163 PyObject *resultobj;
41164 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41165 size_t arg2 ;
41166 int arg3 = (int) 0 ;
41167 PyObject * obj0 = 0 ;
41168 PyObject * obj1 = 0 ;
41169 PyObject * obj2 = 0 ;
41170 char *kwnames[] = {
41171 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41172 };
41173
41174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
41175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41176 if (SWIG_arg_fail(1)) SWIG_fail;
41177 {
41178 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
41179 if (SWIG_arg_fail(2)) SWIG_fail;
41180 }
d55e5bfc 41181 if (obj2) {
093d3ff1
RD
41182 {
41183 arg3 = (int)(SWIG_As_int(obj2));
41184 if (SWIG_arg_fail(3)) SWIG_fail;
41185 }
d55e5bfc
RD
41186 }
41187 {
41188 PyThreadState* __tstate = wxPyBeginAllowThreads();
41189 (arg1)->AddGrowableRow(arg2,arg3);
41190
41191 wxPyEndAllowThreads(__tstate);
41192 if (PyErr_Occurred()) SWIG_fail;
41193 }
41194 Py_INCREF(Py_None); resultobj = Py_None;
41195 return resultobj;
41196 fail:
41197 return NULL;
41198}
41199
41200
c32bde28 41201static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41202 PyObject *resultobj;
41203 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41204 size_t arg2 ;
41205 PyObject * obj0 = 0 ;
41206 PyObject * obj1 = 0 ;
41207 char *kwnames[] = {
41208 (char *) "self",(char *) "idx", NULL
41209 };
41210
41211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41213 if (SWIG_arg_fail(1)) SWIG_fail;
41214 {
41215 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
41216 if (SWIG_arg_fail(2)) SWIG_fail;
41217 }
d55e5bfc
RD
41218 {
41219 PyThreadState* __tstate = wxPyBeginAllowThreads();
41220 (arg1)->RemoveGrowableRow(arg2);
41221
41222 wxPyEndAllowThreads(__tstate);
41223 if (PyErr_Occurred()) SWIG_fail;
41224 }
41225 Py_INCREF(Py_None); resultobj = Py_None;
41226 return resultobj;
41227 fail:
41228 return NULL;
41229}
41230
41231
c32bde28 41232static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41233 PyObject *resultobj;
41234 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41235 size_t arg2 ;
41236 int arg3 = (int) 0 ;
41237 PyObject * obj0 = 0 ;
41238 PyObject * obj1 = 0 ;
41239 PyObject * obj2 = 0 ;
41240 char *kwnames[] = {
41241 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41242 };
41243
41244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
41245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41246 if (SWIG_arg_fail(1)) SWIG_fail;
41247 {
41248 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
41249 if (SWIG_arg_fail(2)) SWIG_fail;
41250 }
d55e5bfc 41251 if (obj2) {
093d3ff1
RD
41252 {
41253 arg3 = (int)(SWIG_As_int(obj2));
41254 if (SWIG_arg_fail(3)) SWIG_fail;
41255 }
d55e5bfc
RD
41256 }
41257 {
41258 PyThreadState* __tstate = wxPyBeginAllowThreads();
41259 (arg1)->AddGrowableCol(arg2,arg3);
41260
41261 wxPyEndAllowThreads(__tstate);
41262 if (PyErr_Occurred()) SWIG_fail;
41263 }
41264 Py_INCREF(Py_None); resultobj = Py_None;
41265 return resultobj;
41266 fail:
41267 return NULL;
41268}
41269
41270
c32bde28 41271static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41272 PyObject *resultobj;
41273 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41274 size_t arg2 ;
41275 PyObject * obj0 = 0 ;
41276 PyObject * obj1 = 0 ;
41277 char *kwnames[] = {
41278 (char *) "self",(char *) "idx", NULL
41279 };
41280
41281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41283 if (SWIG_arg_fail(1)) SWIG_fail;
41284 {
41285 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
41286 if (SWIG_arg_fail(2)) SWIG_fail;
41287 }
d55e5bfc
RD
41288 {
41289 PyThreadState* __tstate = wxPyBeginAllowThreads();
41290 (arg1)->RemoveGrowableCol(arg2);
41291
41292 wxPyEndAllowThreads(__tstate);
41293 if (PyErr_Occurred()) SWIG_fail;
41294 }
41295 Py_INCREF(Py_None); resultobj = Py_None;
41296 return resultobj;
41297 fail:
41298 return NULL;
41299}
41300
41301
c32bde28 41302static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41303 PyObject *resultobj;
41304 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41305 int arg2 ;
41306 PyObject * obj0 = 0 ;
41307 PyObject * obj1 = 0 ;
41308 char *kwnames[] = {
41309 (char *) "self",(char *) "direction", NULL
41310 };
41311
41312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41314 if (SWIG_arg_fail(1)) SWIG_fail;
41315 {
41316 arg2 = (int)(SWIG_As_int(obj1));
41317 if (SWIG_arg_fail(2)) SWIG_fail;
41318 }
d55e5bfc
RD
41319 {
41320 PyThreadState* __tstate = wxPyBeginAllowThreads();
41321 (arg1)->SetFlexibleDirection(arg2);
41322
41323 wxPyEndAllowThreads(__tstate);
41324 if (PyErr_Occurred()) SWIG_fail;
41325 }
41326 Py_INCREF(Py_None); resultobj = Py_None;
41327 return resultobj;
41328 fail:
41329 return NULL;
41330}
41331
41332
c32bde28 41333static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41334 PyObject *resultobj;
41335 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41336 int result;
41337 PyObject * obj0 = 0 ;
41338 char *kwnames[] = {
41339 (char *) "self", NULL
41340 };
41341
41342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
093d3ff1
RD
41343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41345 {
41346 PyThreadState* __tstate = wxPyBeginAllowThreads();
41347 result = (int)(arg1)->GetFlexibleDirection();
41348
41349 wxPyEndAllowThreads(__tstate);
41350 if (PyErr_Occurred()) SWIG_fail;
41351 }
093d3ff1
RD
41352 {
41353 resultobj = SWIG_From_int((int)(result));
41354 }
d55e5bfc
RD
41355 return resultobj;
41356 fail:
41357 return NULL;
41358}
41359
41360
c32bde28 41361static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41362 PyObject *resultobj;
41363 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
093d3ff1 41364 wxFlexSizerGrowMode arg2 ;
d55e5bfc
RD
41365 PyObject * obj0 = 0 ;
41366 PyObject * obj1 = 0 ;
41367 char *kwnames[] = {
41368 (char *) "self",(char *) "mode", NULL
41369 };
41370
41371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41373 if (SWIG_arg_fail(1)) SWIG_fail;
41374 {
41375 arg2 = (wxFlexSizerGrowMode)(SWIG_As_int(obj1));
41376 if (SWIG_arg_fail(2)) SWIG_fail;
41377 }
d55e5bfc
RD
41378 {
41379 PyThreadState* __tstate = wxPyBeginAllowThreads();
41380 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
41381
41382 wxPyEndAllowThreads(__tstate);
41383 if (PyErr_Occurred()) SWIG_fail;
41384 }
41385 Py_INCREF(Py_None); resultobj = Py_None;
41386 return resultobj;
41387 fail:
41388 return NULL;
41389}
41390
41391
c32bde28 41392static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41393 PyObject *resultobj;
41394 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
093d3ff1 41395 wxFlexSizerGrowMode result;
d55e5bfc
RD
41396 PyObject * obj0 = 0 ;
41397 char *kwnames[] = {
41398 (char *) "self", NULL
41399 };
41400
41401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
41402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41403 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41404 {
41405 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 41406 result = (wxFlexSizerGrowMode)(arg1)->GetNonFlexibleGrowMode();
d55e5bfc
RD
41407
41408 wxPyEndAllowThreads(__tstate);
41409 if (PyErr_Occurred()) SWIG_fail;
41410 }
093d3ff1 41411 resultobj = SWIG_From_int((result));
d55e5bfc
RD
41412 return resultobj;
41413 fail:
41414 return NULL;
41415}
41416
41417
c32bde28 41418static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41419 PyObject *resultobj;
41420 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41421 wxArrayInt *result;
41422 PyObject * obj0 = 0 ;
41423 char *kwnames[] = {
41424 (char *) "self", NULL
41425 };
41426
41427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
093d3ff1
RD
41428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41430 {
41431 PyThreadState* __tstate = wxPyBeginAllowThreads();
41432 {
41433 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
41434 result = (wxArrayInt *) &_result_ref;
41435 }
41436
41437 wxPyEndAllowThreads(__tstate);
41438 if (PyErr_Occurred()) SWIG_fail;
41439 }
41440 {
41441 resultobj = PyList_New(0);
41442 size_t idx;
41443 for (idx = 0; idx < result->GetCount(); idx += 1) {
41444 PyObject* val = PyInt_FromLong( result->Item(idx) );
41445 PyList_Append(resultobj, val);
41446 Py_DECREF(val);
41447 }
41448 }
41449 return resultobj;
41450 fail:
41451 return NULL;
41452}
41453
41454
c32bde28 41455static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41456 PyObject *resultobj;
41457 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
41458 wxArrayInt *result;
41459 PyObject * obj0 = 0 ;
41460 char *kwnames[] = {
41461 (char *) "self", NULL
41462 };
41463
41464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
093d3ff1
RD
41465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
41466 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41467 {
41468 PyThreadState* __tstate = wxPyBeginAllowThreads();
41469 {
41470 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
41471 result = (wxArrayInt *) &_result_ref;
41472 }
41473
41474 wxPyEndAllowThreads(__tstate);
41475 if (PyErr_Occurred()) SWIG_fail;
41476 }
41477 {
41478 resultobj = PyList_New(0);
41479 size_t idx;
41480 for (idx = 0; idx < result->GetCount(); idx += 1) {
41481 PyObject* val = PyInt_FromLong( result->Item(idx) );
41482 PyList_Append(resultobj, val);
41483 Py_DECREF(val);
41484 }
41485 }
41486 return resultobj;
41487 fail:
41488 return NULL;
41489}
41490
41491
c32bde28 41492static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
41493 PyObject *obj;
41494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41495 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
41496 Py_INCREF(obj);
41497 return Py_BuildValue((char *)"");
41498}
62d32a5f
RD
41499static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
41500 PyObject *resultobj;
41501 wxStdDialogButtonSizer *result;
41502 char *kwnames[] = {
41503 NULL
41504 };
41505
41506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StdDialogButtonSizer",kwnames)) goto fail;
41507 {
41508 PyThreadState* __tstate = wxPyBeginAllowThreads();
41509 result = (wxStdDialogButtonSizer *)new wxStdDialogButtonSizer();
41510
41511 wxPyEndAllowThreads(__tstate);
41512 if (PyErr_Occurred()) SWIG_fail;
41513 }
41514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 1);
41515 return resultobj;
41516 fail:
41517 return NULL;
41518}
41519
41520
41521static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args, PyObject *kwargs) {
41522 PyObject *resultobj;
41523 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41524 wxButton *arg2 = (wxButton *) 0 ;
41525 PyObject * obj0 = 0 ;
41526 PyObject * obj1 = 0 ;
41527 char *kwnames[] = {
41528 (char *) "self",(char *) "button", NULL
41529 };
41530
41531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames,&obj0,&obj1)) goto fail;
41532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41533 if (SWIG_arg_fail(1)) SWIG_fail;
41534 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
41535 if (SWIG_arg_fail(2)) SWIG_fail;
41536 {
41537 PyThreadState* __tstate = wxPyBeginAllowThreads();
41538 (arg1)->AddButton(arg2);
41539
41540 wxPyEndAllowThreads(__tstate);
41541 if (PyErr_Occurred()) SWIG_fail;
41542 }
41543 Py_INCREF(Py_None); resultobj = Py_None;
41544 return resultobj;
41545 fail:
41546 return NULL;
41547}
41548
41549
53aa7709 41550static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
62d32a5f
RD
41551 PyObject *resultobj;
41552 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41553 PyObject * obj0 = 0 ;
41554 char *kwnames[] = {
41555 (char *) "self", NULL
41556 };
41557
53aa7709 41558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_Realize",kwnames,&obj0)) goto fail;
62d32a5f
RD
41559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41560 if (SWIG_arg_fail(1)) SWIG_fail;
41561 {
41562 PyThreadState* __tstate = wxPyBeginAllowThreads();
53aa7709 41563 (arg1)->Realize();
62d32a5f
RD
41564
41565 wxPyEndAllowThreads(__tstate);
41566 if (PyErr_Occurred()) SWIG_fail;
41567 }
41568 Py_INCREF(Py_None); resultobj = Py_None;
41569 return resultobj;
41570 fail:
41571 return NULL;
41572}
41573
41574
51b83b37
RD
41575static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
41576 PyObject *resultobj;
41577 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41578 wxButton *arg2 = (wxButton *) 0 ;
41579 PyObject * obj0 = 0 ;
41580 PyObject * obj1 = 0 ;
41581 char *kwnames[] = {
41582 (char *) "self",(char *) "button", NULL
41583 };
41584
41585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames,&obj0,&obj1)) goto fail;
41586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41587 if (SWIG_arg_fail(1)) SWIG_fail;
41588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
41589 if (SWIG_arg_fail(2)) SWIG_fail;
41590 {
41591 PyThreadState* __tstate = wxPyBeginAllowThreads();
41592 (arg1)->SetAffirmativeButton(arg2);
41593
41594 wxPyEndAllowThreads(__tstate);
41595 if (PyErr_Occurred()) SWIG_fail;
41596 }
41597 Py_INCREF(Py_None); resultobj = Py_None;
41598 return resultobj;
41599 fail:
41600 return NULL;
41601}
41602
41603
41604static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
41605 PyObject *resultobj;
41606 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41607 wxButton *arg2 = (wxButton *) 0 ;
41608 PyObject * obj0 = 0 ;
41609 PyObject * obj1 = 0 ;
41610 char *kwnames[] = {
41611 (char *) "self",(char *) "button", NULL
41612 };
41613
41614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames,&obj0,&obj1)) goto fail;
41615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41616 if (SWIG_arg_fail(1)) SWIG_fail;
41617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
41618 if (SWIG_arg_fail(2)) SWIG_fail;
41619 {
41620 PyThreadState* __tstate = wxPyBeginAllowThreads();
41621 (arg1)->SetNegativeButton(arg2);
41622
41623 wxPyEndAllowThreads(__tstate);
41624 if (PyErr_Occurred()) SWIG_fail;
41625 }
41626 Py_INCREF(Py_None); resultobj = Py_None;
41627 return resultobj;
41628 fail:
41629 return NULL;
41630}
41631
41632
41633static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) {
41634 PyObject *resultobj;
41635 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41636 wxButton *arg2 = (wxButton *) 0 ;
41637 PyObject * obj0 = 0 ;
41638 PyObject * obj1 = 0 ;
41639 char *kwnames[] = {
41640 (char *) "self",(char *) "button", NULL
41641 };
41642
41643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames,&obj0,&obj1)) goto fail;
41644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41645 if (SWIG_arg_fail(1)) SWIG_fail;
41646 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
41647 if (SWIG_arg_fail(2)) SWIG_fail;
41648 {
41649 PyThreadState* __tstate = wxPyBeginAllowThreads();
41650 (arg1)->SetCancelButton(arg2);
41651
41652 wxPyEndAllowThreads(__tstate);
41653 if (PyErr_Occurred()) SWIG_fail;
41654 }
41655 Py_INCREF(Py_None); resultobj = Py_None;
41656 return resultobj;
41657 fail:
41658 return NULL;
41659}
41660
41661
62d32a5f
RD
41662static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
41663 PyObject *resultobj;
41664 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41665 wxButton *result;
41666 PyObject * obj0 = 0 ;
41667 char *kwnames[] = {
41668 (char *) "self", NULL
41669 };
41670
41671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames,&obj0)) goto fail;
41672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41673 if (SWIG_arg_fail(1)) SWIG_fail;
41674 {
41675 PyThreadState* __tstate = wxPyBeginAllowThreads();
41676 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetAffirmativeButton();
41677
41678 wxPyEndAllowThreads(__tstate);
41679 if (PyErr_Occurred()) SWIG_fail;
41680 }
41681 {
41682 resultobj = wxPyMake_wxObject(result, 0);
41683 }
41684 return resultobj;
41685 fail:
41686 return NULL;
41687}
41688
41689
41690static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject *args, PyObject *kwargs) {
41691 PyObject *resultobj;
41692 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41693 wxButton *result;
41694 PyObject * obj0 = 0 ;
41695 char *kwnames[] = {
41696 (char *) "self", NULL
41697 };
41698
41699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames,&obj0)) goto fail;
41700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41701 if (SWIG_arg_fail(1)) SWIG_fail;
41702 {
41703 PyThreadState* __tstate = wxPyBeginAllowThreads();
41704 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetApplyButton();
41705
41706 wxPyEndAllowThreads(__tstate);
41707 if (PyErr_Occurred()) SWIG_fail;
41708 }
41709 {
41710 resultobj = wxPyMake_wxObject(result, 0);
41711 }
41712 return resultobj;
41713 fail:
41714 return NULL;
41715}
41716
41717
41718static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
41719 PyObject *resultobj;
41720 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41721 wxButton *result;
41722 PyObject * obj0 = 0 ;
41723 char *kwnames[] = {
41724 (char *) "self", NULL
41725 };
41726
41727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames,&obj0)) goto fail;
41728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41729 if (SWIG_arg_fail(1)) SWIG_fail;
41730 {
41731 PyThreadState* __tstate = wxPyBeginAllowThreads();
41732 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetNegativeButton();
41733
41734 wxPyEndAllowThreads(__tstate);
41735 if (PyErr_Occurred()) SWIG_fail;
41736 }
41737 {
41738 resultobj = wxPyMake_wxObject(result, 0);
41739 }
41740 return resultobj;
41741 fail:
41742 return NULL;
41743}
41744
41745
41746static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) {
41747 PyObject *resultobj;
41748 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41749 wxButton *result;
41750 PyObject * obj0 = 0 ;
41751 char *kwnames[] = {
41752 (char *) "self", NULL
41753 };
41754
41755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames,&obj0)) goto fail;
41756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41757 if (SWIG_arg_fail(1)) SWIG_fail;
41758 {
41759 PyThreadState* __tstate = wxPyBeginAllowThreads();
41760 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetCancelButton();
41761
41762 wxPyEndAllowThreads(__tstate);
41763 if (PyErr_Occurred()) SWIG_fail;
41764 }
41765 {
41766 resultobj = wxPyMake_wxObject(result, 0);
41767 }
41768 return resultobj;
41769 fail:
41770 return NULL;
41771}
41772
41773
41774static PyObject *_wrap_StdDialogButtonSizer_GetHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
41775 PyObject *resultobj;
41776 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
41777 wxButton *result;
41778 PyObject * obj0 = 0 ;
41779 char *kwnames[] = {
41780 (char *) "self", NULL
41781 };
41782
41783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames,&obj0)) goto fail;
41784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
41785 if (SWIG_arg_fail(1)) SWIG_fail;
41786 {
41787 PyThreadState* __tstate = wxPyBeginAllowThreads();
41788 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetHelpButton();
41789
41790 wxPyEndAllowThreads(__tstate);
41791 if (PyErr_Occurred()) SWIG_fail;
41792 }
41793 {
41794 resultobj = wxPyMake_wxObject(result, 0);
41795 }
41796 return resultobj;
41797 fail:
41798 return NULL;
41799}
41800
41801
41802static PyObject * StdDialogButtonSizer_swigregister(PyObject *, PyObject *args) {
41803 PyObject *obj;
41804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41805 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer, obj);
41806 Py_INCREF(obj);
41807 return Py_BuildValue((char *)"");
41808}
c32bde28 41809static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41810 PyObject *resultobj;
41811 int arg1 = (int) 0 ;
41812 int arg2 = (int) 0 ;
41813 wxGBPosition *result;
41814 PyObject * obj0 = 0 ;
41815 PyObject * obj1 = 0 ;
41816 char *kwnames[] = {
41817 (char *) "row",(char *) "col", NULL
41818 };
41819
41820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
41821 if (obj0) {
093d3ff1
RD
41822 {
41823 arg1 = (int)(SWIG_As_int(obj0));
41824 if (SWIG_arg_fail(1)) SWIG_fail;
41825 }
d55e5bfc
RD
41826 }
41827 if (obj1) {
093d3ff1
RD
41828 {
41829 arg2 = (int)(SWIG_As_int(obj1));
41830 if (SWIG_arg_fail(2)) SWIG_fail;
41831 }
d55e5bfc
RD
41832 }
41833 {
41834 PyThreadState* __tstate = wxPyBeginAllowThreads();
41835 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
41836
41837 wxPyEndAllowThreads(__tstate);
41838 if (PyErr_Occurred()) SWIG_fail;
41839 }
41840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
41841 return resultobj;
41842 fail:
41843 return NULL;
41844}
41845
41846
c32bde28 41847static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41848 PyObject *resultobj;
41849 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
41850 int result;
41851 PyObject * obj0 = 0 ;
41852 char *kwnames[] = {
41853 (char *) "self", NULL
41854 };
41855
41856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
093d3ff1
RD
41857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
41858 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41859 {
41860 PyThreadState* __tstate = wxPyBeginAllowThreads();
41861 result = (int)((wxGBPosition const *)arg1)->GetRow();
41862
41863 wxPyEndAllowThreads(__tstate);
41864 if (PyErr_Occurred()) SWIG_fail;
41865 }
093d3ff1
RD
41866 {
41867 resultobj = SWIG_From_int((int)(result));
41868 }
d55e5bfc
RD
41869 return resultobj;
41870 fail:
41871 return NULL;
41872}
41873
41874
c32bde28 41875static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41876 PyObject *resultobj;
41877 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
41878 int result;
41879 PyObject * obj0 = 0 ;
41880 char *kwnames[] = {
41881 (char *) "self", NULL
41882 };
41883
41884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
093d3ff1
RD
41885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
41886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41887 {
41888 PyThreadState* __tstate = wxPyBeginAllowThreads();
41889 result = (int)((wxGBPosition const *)arg1)->GetCol();
41890
41891 wxPyEndAllowThreads(__tstate);
41892 if (PyErr_Occurred()) SWIG_fail;
41893 }
093d3ff1
RD
41894 {
41895 resultobj = SWIG_From_int((int)(result));
41896 }
d55e5bfc
RD
41897 return resultobj;
41898 fail:
41899 return NULL;
41900}
41901
41902
c32bde28 41903static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41904 PyObject *resultobj;
41905 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
41906 int arg2 ;
41907 PyObject * obj0 = 0 ;
41908 PyObject * obj1 = 0 ;
41909 char *kwnames[] = {
41910 (char *) "self",(char *) "row", NULL
41911 };
41912
41913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
41915 if (SWIG_arg_fail(1)) SWIG_fail;
41916 {
41917 arg2 = (int)(SWIG_As_int(obj1));
41918 if (SWIG_arg_fail(2)) SWIG_fail;
41919 }
d55e5bfc
RD
41920 {
41921 PyThreadState* __tstate = wxPyBeginAllowThreads();
41922 (arg1)->SetRow(arg2);
41923
41924 wxPyEndAllowThreads(__tstate);
41925 if (PyErr_Occurred()) SWIG_fail;
41926 }
41927 Py_INCREF(Py_None); resultobj = Py_None;
41928 return resultobj;
41929 fail:
41930 return NULL;
41931}
41932
41933
c32bde28 41934static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41935 PyObject *resultobj;
41936 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
41937 int arg2 ;
41938 PyObject * obj0 = 0 ;
41939 PyObject * obj1 = 0 ;
41940 char *kwnames[] = {
41941 (char *) "self",(char *) "col", NULL
41942 };
41943
41944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
41946 if (SWIG_arg_fail(1)) SWIG_fail;
41947 {
41948 arg2 = (int)(SWIG_As_int(obj1));
41949 if (SWIG_arg_fail(2)) SWIG_fail;
41950 }
d55e5bfc
RD
41951 {
41952 PyThreadState* __tstate = wxPyBeginAllowThreads();
41953 (arg1)->SetCol(arg2);
41954
41955 wxPyEndAllowThreads(__tstate);
41956 if (PyErr_Occurred()) SWIG_fail;
41957 }
41958 Py_INCREF(Py_None); resultobj = Py_None;
41959 return resultobj;
41960 fail:
41961 return NULL;
41962}
41963
41964
c32bde28 41965static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41966 PyObject *resultobj;
41967 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
41968 wxGBPosition *arg2 = 0 ;
41969 bool result;
41970 wxGBPosition temp2 ;
41971 PyObject * obj0 = 0 ;
41972 PyObject * obj1 = 0 ;
41973 char *kwnames[] = {
41974 (char *) "self",(char *) "other", NULL
41975 };
41976
41977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
41979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
41980 {
41981 arg2 = &temp2;
41982 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
41983 }
41984 {
41985 PyThreadState* __tstate = wxPyBeginAllowThreads();
41986 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
41987
41988 wxPyEndAllowThreads(__tstate);
41989 if (PyErr_Occurred()) SWIG_fail;
41990 }
41991 {
41992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41993 }
41994 return resultobj;
41995 fail:
41996 return NULL;
41997}
41998
41999
c32bde28 42000static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42001 PyObject *resultobj;
42002 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42003 wxGBPosition *arg2 = 0 ;
42004 bool result;
42005 wxGBPosition temp2 ;
42006 PyObject * obj0 = 0 ;
42007 PyObject * obj1 = 0 ;
42008 char *kwnames[] = {
42009 (char *) "self",(char *) "other", NULL
42010 };
42011
42012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42015 {
42016 arg2 = &temp2;
42017 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42018 }
42019 {
42020 PyThreadState* __tstate = wxPyBeginAllowThreads();
42021 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
42022
42023 wxPyEndAllowThreads(__tstate);
42024 if (PyErr_Occurred()) SWIG_fail;
42025 }
42026 {
42027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42028 }
42029 return resultobj;
42030 fail:
42031 return NULL;
42032}
42033
42034
c32bde28 42035static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42036 PyObject *resultobj;
42037 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42038 int arg2 = (int) 0 ;
42039 int arg3 = (int) 0 ;
42040 PyObject * obj0 = 0 ;
42041 PyObject * obj1 = 0 ;
42042 PyObject * obj2 = 0 ;
42043 char *kwnames[] = {
42044 (char *) "self",(char *) "row",(char *) "col", NULL
42045 };
42046
42047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
42048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 42050 if (obj1) {
093d3ff1
RD
42051 {
42052 arg2 = (int)(SWIG_As_int(obj1));
42053 if (SWIG_arg_fail(2)) SWIG_fail;
42054 }
d55e5bfc
RD
42055 }
42056 if (obj2) {
093d3ff1
RD
42057 {
42058 arg3 = (int)(SWIG_As_int(obj2));
42059 if (SWIG_arg_fail(3)) SWIG_fail;
42060 }
d55e5bfc
RD
42061 }
42062 {
42063 PyThreadState* __tstate = wxPyBeginAllowThreads();
42064 wxGBPosition_Set(arg1,arg2,arg3);
42065
42066 wxPyEndAllowThreads(__tstate);
42067 if (PyErr_Occurred()) SWIG_fail;
42068 }
42069 Py_INCREF(Py_None); resultobj = Py_None;
42070 return resultobj;
42071 fail:
42072 return NULL;
42073}
42074
42075
c32bde28 42076static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42077 PyObject *resultobj;
42078 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42079 PyObject *result;
42080 PyObject * obj0 = 0 ;
42081 char *kwnames[] = {
42082 (char *) "self", NULL
42083 };
42084
42085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
42086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42088 {
42089 PyThreadState* __tstate = wxPyBeginAllowThreads();
42090 result = (PyObject *)wxGBPosition_Get(arg1);
42091
42092 wxPyEndAllowThreads(__tstate);
42093 if (PyErr_Occurred()) SWIG_fail;
42094 }
42095 resultobj = result;
42096 return resultobj;
42097 fail:
42098 return NULL;
42099}
42100
42101
c32bde28 42102static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
42103 PyObject *obj;
42104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
42105 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
42106 Py_INCREF(obj);
42107 return Py_BuildValue((char *)"");
42108}
c32bde28 42109static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42110 PyObject *resultobj;
42111 int arg1 = (int) 1 ;
42112 int arg2 = (int) 1 ;
42113 wxGBSpan *result;
42114 PyObject * obj0 = 0 ;
42115 PyObject * obj1 = 0 ;
42116 char *kwnames[] = {
42117 (char *) "rowspan",(char *) "colspan", NULL
42118 };
42119
42120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
42121 if (obj0) {
093d3ff1
RD
42122 {
42123 arg1 = (int)(SWIG_As_int(obj0));
42124 if (SWIG_arg_fail(1)) SWIG_fail;
42125 }
d55e5bfc
RD
42126 }
42127 if (obj1) {
093d3ff1
RD
42128 {
42129 arg2 = (int)(SWIG_As_int(obj1));
42130 if (SWIG_arg_fail(2)) SWIG_fail;
42131 }
d55e5bfc
RD
42132 }
42133 {
42134 PyThreadState* __tstate = wxPyBeginAllowThreads();
42135 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
42136
42137 wxPyEndAllowThreads(__tstate);
42138 if (PyErr_Occurred()) SWIG_fail;
42139 }
42140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
42141 return resultobj;
42142 fail:
42143 return NULL;
42144}
42145
42146
c32bde28 42147static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42148 PyObject *resultobj;
42149 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42150 int result;
42151 PyObject * obj0 = 0 ;
42152 char *kwnames[] = {
42153 (char *) "self", NULL
42154 };
42155
42156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
093d3ff1
RD
42157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42159 {
42160 PyThreadState* __tstate = wxPyBeginAllowThreads();
42161 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
42162
42163 wxPyEndAllowThreads(__tstate);
42164 if (PyErr_Occurred()) SWIG_fail;
42165 }
093d3ff1
RD
42166 {
42167 resultobj = SWIG_From_int((int)(result));
42168 }
d55e5bfc
RD
42169 return resultobj;
42170 fail:
42171 return NULL;
42172}
42173
42174
c32bde28 42175static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42176 PyObject *resultobj;
42177 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42178 int result;
42179 PyObject * obj0 = 0 ;
42180 char *kwnames[] = {
42181 (char *) "self", NULL
42182 };
42183
42184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
093d3ff1
RD
42185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42186 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42187 {
42188 PyThreadState* __tstate = wxPyBeginAllowThreads();
42189 result = (int)((wxGBSpan const *)arg1)->GetColspan();
42190
42191 wxPyEndAllowThreads(__tstate);
42192 if (PyErr_Occurred()) SWIG_fail;
42193 }
093d3ff1
RD
42194 {
42195 resultobj = SWIG_From_int((int)(result));
42196 }
d55e5bfc
RD
42197 return resultobj;
42198 fail:
42199 return NULL;
42200}
42201
42202
c32bde28 42203static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42204 PyObject *resultobj;
42205 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42206 int arg2 ;
42207 PyObject * obj0 = 0 ;
42208 PyObject * obj1 = 0 ;
42209 char *kwnames[] = {
42210 (char *) "self",(char *) "rowspan", NULL
42211 };
42212
42213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42215 if (SWIG_arg_fail(1)) SWIG_fail;
42216 {
42217 arg2 = (int)(SWIG_As_int(obj1));
42218 if (SWIG_arg_fail(2)) SWIG_fail;
42219 }
d55e5bfc
RD
42220 {
42221 PyThreadState* __tstate = wxPyBeginAllowThreads();
42222 (arg1)->SetRowspan(arg2);
42223
42224 wxPyEndAllowThreads(__tstate);
42225 if (PyErr_Occurred()) SWIG_fail;
42226 }
42227 Py_INCREF(Py_None); resultobj = Py_None;
42228 return resultobj;
42229 fail:
42230 return NULL;
42231}
42232
42233
c32bde28 42234static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42235 PyObject *resultobj;
42236 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42237 int arg2 ;
42238 PyObject * obj0 = 0 ;
42239 PyObject * obj1 = 0 ;
42240 char *kwnames[] = {
42241 (char *) "self",(char *) "colspan", NULL
42242 };
42243
42244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42246 if (SWIG_arg_fail(1)) SWIG_fail;
42247 {
42248 arg2 = (int)(SWIG_As_int(obj1));
42249 if (SWIG_arg_fail(2)) SWIG_fail;
42250 }
d55e5bfc
RD
42251 {
42252 PyThreadState* __tstate = wxPyBeginAllowThreads();
42253 (arg1)->SetColspan(arg2);
42254
42255 wxPyEndAllowThreads(__tstate);
42256 if (PyErr_Occurred()) SWIG_fail;
42257 }
42258 Py_INCREF(Py_None); resultobj = Py_None;
42259 return resultobj;
42260 fail:
42261 return NULL;
42262}
42263
42264
c32bde28 42265static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42266 PyObject *resultobj;
42267 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42268 wxGBSpan *arg2 = 0 ;
42269 bool result;
42270 wxGBSpan temp2 ;
42271 PyObject * obj0 = 0 ;
42272 PyObject * obj1 = 0 ;
42273 char *kwnames[] = {
42274 (char *) "self",(char *) "other", NULL
42275 };
42276
42277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42279 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42280 {
42281 arg2 = &temp2;
42282 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
42283 }
42284 {
42285 PyThreadState* __tstate = wxPyBeginAllowThreads();
42286 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
42287
42288 wxPyEndAllowThreads(__tstate);
42289 if (PyErr_Occurred()) SWIG_fail;
42290 }
42291 {
42292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42293 }
42294 return resultobj;
42295 fail:
42296 return NULL;
42297}
42298
42299
c32bde28 42300static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42301 PyObject *resultobj;
42302 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42303 wxGBSpan *arg2 = 0 ;
42304 bool result;
42305 wxGBSpan temp2 ;
42306 PyObject * obj0 = 0 ;
42307 PyObject * obj1 = 0 ;
42308 char *kwnames[] = {
42309 (char *) "self",(char *) "other", NULL
42310 };
42311
42312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42314 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42315 {
42316 arg2 = &temp2;
42317 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
42318 }
42319 {
42320 PyThreadState* __tstate = wxPyBeginAllowThreads();
42321 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
42322
42323 wxPyEndAllowThreads(__tstate);
42324 if (PyErr_Occurred()) SWIG_fail;
42325 }
42326 {
42327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42328 }
42329 return resultobj;
42330 fail:
42331 return NULL;
42332}
42333
42334
c32bde28 42335static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42336 PyObject *resultobj;
42337 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42338 int arg2 = (int) 1 ;
42339 int arg3 = (int) 1 ;
42340 PyObject * obj0 = 0 ;
42341 PyObject * obj1 = 0 ;
42342 PyObject * obj2 = 0 ;
42343 char *kwnames[] = {
42344 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42345 };
42346
42347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
42348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 42350 if (obj1) {
093d3ff1
RD
42351 {
42352 arg2 = (int)(SWIG_As_int(obj1));
42353 if (SWIG_arg_fail(2)) SWIG_fail;
42354 }
d55e5bfc
RD
42355 }
42356 if (obj2) {
093d3ff1
RD
42357 {
42358 arg3 = (int)(SWIG_As_int(obj2));
42359 if (SWIG_arg_fail(3)) SWIG_fail;
42360 }
d55e5bfc
RD
42361 }
42362 {
42363 PyThreadState* __tstate = wxPyBeginAllowThreads();
42364 wxGBSpan_Set(arg1,arg2,arg3);
42365
42366 wxPyEndAllowThreads(__tstate);
42367 if (PyErr_Occurred()) SWIG_fail;
42368 }
42369 Py_INCREF(Py_None); resultobj = Py_None;
42370 return resultobj;
42371 fail:
42372 return NULL;
42373}
42374
42375
c32bde28 42376static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42377 PyObject *resultobj;
42378 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
42379 PyObject *result;
42380 PyObject * obj0 = 0 ;
42381 char *kwnames[] = {
42382 (char *) "self", NULL
42383 };
42384
42385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
42386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
42387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42388 {
42389 PyThreadState* __tstate = wxPyBeginAllowThreads();
42390 result = (PyObject *)wxGBSpan_Get(arg1);
42391
42392 wxPyEndAllowThreads(__tstate);
42393 if (PyErr_Occurred()) SWIG_fail;
42394 }
42395 resultobj = result;
42396 return resultobj;
42397 fail:
42398 return NULL;
42399}
42400
42401
c32bde28 42402static PyObject * GBSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
42403 PyObject *obj;
42404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
42405 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
42406 Py_INCREF(obj);
42407 return Py_BuildValue((char *)"");
42408}
c32bde28 42409static int _wrap_DefaultSpan_set(PyObject *) {
d55e5bfc
RD
42410 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
42411 return 1;
42412}
42413
42414
093d3ff1 42415static PyObject *_wrap_DefaultSpan_get(void) {
d55e5bfc
RD
42416 PyObject *pyobj;
42417
42418 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
42419 return pyobj;
42420}
42421
42422
c32bde28 42423static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42424 PyObject *resultobj;
42425 wxGBSizerItem *result;
42426 char *kwnames[] = {
42427 NULL
42428 };
42429
42430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
42431 {
42432 PyThreadState* __tstate = wxPyBeginAllowThreads();
42433 result = (wxGBSizerItem *)new wxGBSizerItem();
42434
42435 wxPyEndAllowThreads(__tstate);
42436 if (PyErr_Occurred()) SWIG_fail;
42437 }
42438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
42439 return resultobj;
42440 fail:
42441 return NULL;
42442}
42443
42444
c32bde28 42445static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42446 PyObject *resultobj;
42447 wxWindow *arg1 = (wxWindow *) 0 ;
42448 wxGBPosition *arg2 = 0 ;
42449 wxGBSpan *arg3 = 0 ;
42450 int arg4 ;
42451 int arg5 ;
248ed943 42452 PyObject *arg6 = (PyObject *) NULL ;
d55e5bfc
RD
42453 wxGBSizerItem *result;
42454 wxGBPosition temp2 ;
42455 wxGBSpan temp3 ;
42456 PyObject * obj0 = 0 ;
42457 PyObject * obj1 = 0 ;
42458 PyObject * obj2 = 0 ;
42459 PyObject * obj3 = 0 ;
42460 PyObject * obj4 = 0 ;
42461 PyObject * obj5 = 0 ;
42462 char *kwnames[] = {
42463 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42464 };
42465
248ed943 42466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
42467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
42468 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42469 {
42470 arg2 = &temp2;
42471 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42472 }
42473 {
42474 arg3 = &temp3;
42475 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
42476 }
093d3ff1
RD
42477 {
42478 arg4 = (int)(SWIG_As_int(obj3));
42479 if (SWIG_arg_fail(4)) SWIG_fail;
42480 }
42481 {
42482 arg5 = (int)(SWIG_As_int(obj4));
42483 if (SWIG_arg_fail(5)) SWIG_fail;
42484 }
248ed943
RD
42485 if (obj5) {
42486 arg6 = obj5;
42487 }
d55e5bfc
RD
42488 {
42489 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 42490 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d55e5bfc
RD
42491
42492 wxPyEndAllowThreads(__tstate);
42493 if (PyErr_Occurred()) SWIG_fail;
42494 }
42495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
42496 return resultobj;
42497 fail:
42498 return NULL;
42499}
42500
42501
c32bde28 42502static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42503 PyObject *resultobj;
42504 wxSizer *arg1 = (wxSizer *) 0 ;
42505 wxGBPosition *arg2 = 0 ;
42506 wxGBSpan *arg3 = 0 ;
42507 int arg4 ;
42508 int arg5 ;
248ed943 42509 PyObject *arg6 = (PyObject *) NULL ;
d55e5bfc
RD
42510 wxGBSizerItem *result;
42511 wxGBPosition temp2 ;
42512 wxGBSpan temp3 ;
42513 PyObject * obj0 = 0 ;
42514 PyObject * obj1 = 0 ;
42515 PyObject * obj2 = 0 ;
42516 PyObject * obj3 = 0 ;
42517 PyObject * obj4 = 0 ;
42518 PyObject * obj5 = 0 ;
42519 char *kwnames[] = {
42520 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42521 };
42522
248ed943 42523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
42524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
42525 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42526 {
42527 arg2 = &temp2;
42528 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42529 }
42530 {
42531 arg3 = &temp3;
42532 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
42533 }
093d3ff1
RD
42534 {
42535 arg4 = (int)(SWIG_As_int(obj3));
42536 if (SWIG_arg_fail(4)) SWIG_fail;
42537 }
42538 {
42539 arg5 = (int)(SWIG_As_int(obj4));
42540 if (SWIG_arg_fail(5)) SWIG_fail;
42541 }
248ed943
RD
42542 if (obj5) {
42543 arg6 = obj5;
42544 }
d55e5bfc
RD
42545 {
42546 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 42547 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d55e5bfc
RD
42548
42549 wxPyEndAllowThreads(__tstate);
42550 if (PyErr_Occurred()) SWIG_fail;
42551 }
42552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
42553 return resultobj;
42554 fail:
42555 return NULL;
42556}
42557
42558
c32bde28 42559static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42560 PyObject *resultobj;
42561 int arg1 ;
42562 int arg2 ;
42563 wxGBPosition *arg3 = 0 ;
42564 wxGBSpan *arg4 = 0 ;
42565 int arg5 ;
42566 int arg6 ;
248ed943 42567 PyObject *arg7 = (PyObject *) NULL ;
d55e5bfc
RD
42568 wxGBSizerItem *result;
42569 wxGBPosition temp3 ;
42570 wxGBSpan temp4 ;
42571 PyObject * obj0 = 0 ;
42572 PyObject * obj1 = 0 ;
42573 PyObject * obj2 = 0 ;
42574 PyObject * obj3 = 0 ;
42575 PyObject * obj4 = 0 ;
42576 PyObject * obj5 = 0 ;
42577 PyObject * obj6 = 0 ;
42578 char *kwnames[] = {
42579 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42580 };
42581
248ed943 42582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
42583 {
42584 arg1 = (int)(SWIG_As_int(obj0));
42585 if (SWIG_arg_fail(1)) SWIG_fail;
42586 }
42587 {
42588 arg2 = (int)(SWIG_As_int(obj1));
42589 if (SWIG_arg_fail(2)) SWIG_fail;
42590 }
d55e5bfc
RD
42591 {
42592 arg3 = &temp3;
42593 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
42594 }
42595 {
42596 arg4 = &temp4;
42597 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
42598 }
093d3ff1
RD
42599 {
42600 arg5 = (int)(SWIG_As_int(obj4));
42601 if (SWIG_arg_fail(5)) SWIG_fail;
42602 }
42603 {
42604 arg6 = (int)(SWIG_As_int(obj5));
42605 if (SWIG_arg_fail(6)) SWIG_fail;
42606 }
248ed943
RD
42607 if (obj6) {
42608 arg7 = obj6;
42609 }
d55e5bfc
RD
42610 {
42611 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 42612 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d55e5bfc
RD
42613
42614 wxPyEndAllowThreads(__tstate);
42615 if (PyErr_Occurred()) SWIG_fail;
42616 }
42617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
42618 return resultobj;
42619 fail:
42620 return NULL;
42621}
42622
42623
c32bde28 42624static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42625 PyObject *resultobj;
42626 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42627 wxGBPosition result;
42628 PyObject * obj0 = 0 ;
42629 char *kwnames[] = {
42630 (char *) "self", NULL
42631 };
42632
42633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
42634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42635 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42636 {
42637 PyThreadState* __tstate = wxPyBeginAllowThreads();
42638 result = ((wxGBSizerItem const *)arg1)->GetPos();
42639
42640 wxPyEndAllowThreads(__tstate);
42641 if (PyErr_Occurred()) SWIG_fail;
42642 }
42643 {
42644 wxGBPosition * resultptr;
093d3ff1 42645 resultptr = new wxGBPosition((wxGBPosition &)(result));
d55e5bfc
RD
42646 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
42647 }
42648 return resultobj;
42649 fail:
42650 return NULL;
42651}
42652
42653
c32bde28 42654static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42655 PyObject *resultobj;
42656 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42657 wxGBSpan result;
42658 PyObject * obj0 = 0 ;
42659 char *kwnames[] = {
42660 (char *) "self", NULL
42661 };
42662
42663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
42664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42666 {
42667 PyThreadState* __tstate = wxPyBeginAllowThreads();
42668 result = ((wxGBSizerItem const *)arg1)->GetSpan();
42669
42670 wxPyEndAllowThreads(__tstate);
42671 if (PyErr_Occurred()) SWIG_fail;
42672 }
42673 {
42674 wxGBSpan * resultptr;
093d3ff1 42675 resultptr = new wxGBSpan((wxGBSpan &)(result));
d55e5bfc
RD
42676 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
42677 }
42678 return resultobj;
42679 fail:
42680 return NULL;
42681}
42682
42683
c32bde28 42684static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42685 PyObject *resultobj;
42686 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42687 wxGBPosition *arg2 = 0 ;
42688 bool result;
42689 wxGBPosition temp2 ;
42690 PyObject * obj0 = 0 ;
42691 PyObject * obj1 = 0 ;
42692 char *kwnames[] = {
42693 (char *) "self",(char *) "pos", NULL
42694 };
42695
42696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42698 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42699 {
42700 arg2 = &temp2;
42701 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42702 }
42703 {
42704 PyThreadState* __tstate = wxPyBeginAllowThreads();
42705 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
42706
42707 wxPyEndAllowThreads(__tstate);
42708 if (PyErr_Occurred()) SWIG_fail;
42709 }
42710 {
42711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42712 }
42713 return resultobj;
42714 fail:
42715 return NULL;
42716}
42717
42718
c32bde28 42719static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42720 PyObject *resultobj;
42721 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42722 wxGBSpan *arg2 = 0 ;
42723 bool result;
42724 wxGBSpan temp2 ;
42725 PyObject * obj0 = 0 ;
42726 PyObject * obj1 = 0 ;
42727 char *kwnames[] = {
42728 (char *) "self",(char *) "span", NULL
42729 };
42730
42731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42733 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42734 {
42735 arg2 = &temp2;
42736 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
42737 }
42738 {
42739 PyThreadState* __tstate = wxPyBeginAllowThreads();
42740 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
42741
42742 wxPyEndAllowThreads(__tstate);
42743 if (PyErr_Occurred()) SWIG_fail;
42744 }
42745 {
42746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42747 }
42748 return resultobj;
42749 fail:
42750 return NULL;
42751}
42752
42753
c32bde28 42754static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42755 PyObject *resultobj;
42756 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42757 wxGBSizerItem *arg2 = 0 ;
42758 bool result;
42759 PyObject * obj0 = 0 ;
42760 PyObject * obj1 = 0 ;
248ed943
RD
42761 char *kwnames[] = {
42762 (char *) "self",(char *) "other", NULL
42763 };
d55e5bfc 42764
248ed943 42765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42767 if (SWIG_arg_fail(1)) SWIG_fail;
42768 {
42769 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42770 if (SWIG_arg_fail(2)) SWIG_fail;
42771 if (arg2 == NULL) {
42772 SWIG_null_ref("wxGBSizerItem");
42773 }
42774 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
42775 }
42776 {
42777 PyThreadState* __tstate = wxPyBeginAllowThreads();
42778 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
42779
42780 wxPyEndAllowThreads(__tstate);
42781 if (PyErr_Occurred()) SWIG_fail;
42782 }
42783 {
42784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42785 }
42786 return resultobj;
42787 fail:
42788 return NULL;
42789}
42790
42791
c32bde28 42792static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42793 PyObject *resultobj;
42794 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42795 wxGBPosition *arg2 = 0 ;
42796 wxGBSpan *arg3 = 0 ;
42797 bool result;
42798 wxGBPosition temp2 ;
42799 wxGBSpan temp3 ;
42800 PyObject * obj0 = 0 ;
42801 PyObject * obj1 = 0 ;
42802 PyObject * obj2 = 0 ;
248ed943
RD
42803 char *kwnames[] = {
42804 (char *) "self",(char *) "pos",(char *) "span", NULL
42805 };
d55e5bfc 42806
248ed943 42807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
42808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42810 {
42811 arg2 = &temp2;
42812 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
42813 }
42814 {
42815 arg3 = &temp3;
42816 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
42817 }
42818 {
42819 PyThreadState* __tstate = wxPyBeginAllowThreads();
42820 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
42821
42822 wxPyEndAllowThreads(__tstate);
42823 if (PyErr_Occurred()) SWIG_fail;
42824 }
42825 {
42826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42827 }
42828 return resultobj;
42829 fail:
42830 return NULL;
42831}
42832
42833
c32bde28 42834static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42835 PyObject *resultobj;
42836 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
248ed943 42837 wxGBPosition result;
d55e5bfc 42838 PyObject * obj0 = 0 ;
d55e5bfc 42839 char *kwnames[] = {
248ed943 42840 (char *) "self", NULL
d55e5bfc
RD
42841 };
42842
248ed943 42843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
42844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42845 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42846 {
42847 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 42848 result = wxGBSizerItem_GetEndPos(arg1);
d55e5bfc
RD
42849
42850 wxPyEndAllowThreads(__tstate);
42851 if (PyErr_Occurred()) SWIG_fail;
42852 }
248ed943
RD
42853 {
42854 wxGBPosition * resultptr;
093d3ff1 42855 resultptr = new wxGBPosition((wxGBPosition &)(result));
248ed943
RD
42856 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
42857 }
d55e5bfc
RD
42858 return resultobj;
42859 fail:
42860 return NULL;
42861}
42862
42863
c32bde28 42864static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42865 PyObject *resultobj;
42866 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42867 wxGridBagSizer *result;
42868 PyObject * obj0 = 0 ;
42869 char *kwnames[] = {
42870 (char *) "self", NULL
42871 };
42872
42873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
42874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42876 {
42877 PyThreadState* __tstate = wxPyBeginAllowThreads();
42878 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
42879
42880 wxPyEndAllowThreads(__tstate);
42881 if (PyErr_Occurred()) SWIG_fail;
42882 }
42883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
42884 return resultobj;
42885 fail:
42886 return NULL;
42887}
42888
42889
c32bde28 42890static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42891 PyObject *resultobj;
42892 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
42893 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
42894 PyObject * obj0 = 0 ;
42895 PyObject * obj1 = 0 ;
42896 char *kwnames[] = {
42897 (char *) "self",(char *) "sizer", NULL
42898 };
42899
42900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
42902 if (SWIG_arg_fail(1)) SWIG_fail;
42903 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
42904 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
42905 {
42906 PyThreadState* __tstate = wxPyBeginAllowThreads();
42907 (arg1)->SetGBSizer(arg2);
42908
42909 wxPyEndAllowThreads(__tstate);
42910 if (PyErr_Occurred()) SWIG_fail;
42911 }
42912 Py_INCREF(Py_None); resultobj = Py_None;
42913 return resultobj;
42914 fail:
42915 return NULL;
42916}
42917
42918
c32bde28 42919static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
42920 PyObject *obj;
42921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
42922 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
42923 Py_INCREF(obj);
42924 return Py_BuildValue((char *)"");
42925}
c32bde28 42926static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42927 PyObject *resultobj;
42928 int arg1 = (int) 0 ;
42929 int arg2 = (int) 0 ;
42930 wxGridBagSizer *result;
42931 PyObject * obj0 = 0 ;
42932 PyObject * obj1 = 0 ;
42933 char *kwnames[] = {
42934 (char *) "vgap",(char *) "hgap", NULL
42935 };
42936
42937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
42938 if (obj0) {
093d3ff1
RD
42939 {
42940 arg1 = (int)(SWIG_As_int(obj0));
42941 if (SWIG_arg_fail(1)) SWIG_fail;
42942 }
d55e5bfc
RD
42943 }
42944 if (obj1) {
093d3ff1
RD
42945 {
42946 arg2 = (int)(SWIG_As_int(obj1));
42947 if (SWIG_arg_fail(2)) SWIG_fail;
42948 }
d55e5bfc
RD
42949 }
42950 {
42951 PyThreadState* __tstate = wxPyBeginAllowThreads();
42952 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
42953
42954 wxPyEndAllowThreads(__tstate);
42955 if (PyErr_Occurred()) SWIG_fail;
42956 }
42957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
42958 return resultobj;
42959 fail:
42960 return NULL;
42961}
42962
42963
c32bde28 42964static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
42965 PyObject *resultobj;
42966 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
42967 PyObject *arg2 = (PyObject *) 0 ;
42968 wxGBPosition *arg3 = 0 ;
42969 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
42970 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
42971 int arg5 = (int) 0 ;
42972 int arg6 = (int) 0 ;
42973 PyObject *arg7 = (PyObject *) NULL ;
c1cb24a4 42974 wxGBSizerItem *result;
d55e5bfc
RD
42975 wxGBPosition temp3 ;
42976 wxGBSpan temp4 ;
42977 PyObject * obj0 = 0 ;
42978 PyObject * obj1 = 0 ;
42979 PyObject * obj2 = 0 ;
42980 PyObject * obj3 = 0 ;
42981 PyObject * obj4 = 0 ;
42982 PyObject * obj5 = 0 ;
42983 PyObject * obj6 = 0 ;
42984 char *kwnames[] = {
42985 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42986 };
42987
42988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
42989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
42990 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
42991 arg2 = obj1;
42992 {
42993 arg3 = &temp3;
42994 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
42995 }
42996 if (obj3) {
42997 {
42998 arg4 = &temp4;
42999 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
43000 }
43001 }
43002 if (obj4) {
093d3ff1
RD
43003 {
43004 arg5 = (int)(SWIG_As_int(obj4));
43005 if (SWIG_arg_fail(5)) SWIG_fail;
43006 }
d55e5bfc
RD
43007 }
43008 if (obj5) {
093d3ff1
RD
43009 {
43010 arg6 = (int)(SWIG_As_int(obj5));
43011 if (SWIG_arg_fail(6)) SWIG_fail;
43012 }
d55e5bfc
RD
43013 }
43014 if (obj6) {
43015 arg7 = obj6;
43016 }
43017 {
43018 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 43019 result = (wxGBSizerItem *)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d55e5bfc
RD
43020
43021 wxPyEndAllowThreads(__tstate);
43022 if (PyErr_Occurred()) SWIG_fail;
43023 }
c1cb24a4 43024 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d55e5bfc
RD
43025 return resultobj;
43026 fail:
43027 return NULL;
43028}
43029
43030
c32bde28 43031static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
43032 PyObject *resultobj;
43033 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43034 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
c1cb24a4 43035 wxGBSizerItem *result;
d55e5bfc
RD
43036 PyObject * obj0 = 0 ;
43037 PyObject * obj1 = 0 ;
43038 char *kwnames[] = {
43039 (char *) "self",(char *) "item", NULL
43040 };
43041
43042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43044 if (SWIG_arg_fail(1)) SWIG_fail;
43045 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43046 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43047 {
43048 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 43049 result = (wxGBSizerItem *)(arg1)->Add(arg2);
d55e5bfc
RD
43050
43051 wxPyEndAllowThreads(__tstate);
43052 if (PyErr_Occurred()) SWIG_fail;
43053 }
c1cb24a4 43054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d55e5bfc
RD
43055 return resultobj;
43056 fail:
43057 return NULL;
43058}
43059
43060
84f85550
RD
43061static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
43062 PyObject *resultobj;
43063 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43064 int arg2 ;
43065 int arg3 ;
43066 wxSize result;
43067 PyObject * obj0 = 0 ;
43068 PyObject * obj1 = 0 ;
43069 PyObject * obj2 = 0 ;
43070 char *kwnames[] = {
43071 (char *) "self",(char *) "row",(char *) "col", NULL
43072 };
43073
43074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridBagSizer_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
43075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43076 if (SWIG_arg_fail(1)) SWIG_fail;
43077 {
43078 arg2 = (int)(SWIG_As_int(obj1));
43079 if (SWIG_arg_fail(2)) SWIG_fail;
43080 }
43081 {
43082 arg3 = (int)(SWIG_As_int(obj2));
43083 if (SWIG_arg_fail(3)) SWIG_fail;
43084 }
84f85550
RD
43085 {
43086 PyThreadState* __tstate = wxPyBeginAllowThreads();
43087 result = ((wxGridBagSizer const *)arg1)->GetCellSize(arg2,arg3);
43088
43089 wxPyEndAllowThreads(__tstate);
43090 if (PyErr_Occurred()) SWIG_fail;
43091 }
43092 {
43093 wxSize * resultptr;
093d3ff1 43094 resultptr = new wxSize((wxSize &)(result));
84f85550
RD
43095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
43096 }
43097 return resultobj;
43098 fail:
43099 return NULL;
43100}
43101
43102
c32bde28 43103static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
43104 PyObject *resultobj;
43105 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43106 wxSize result;
43107 PyObject * obj0 = 0 ;
43108 char *kwnames[] = {
43109 (char *) "self", NULL
43110 };
43111
43112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
43113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43114 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
43115 {
43116 PyThreadState* __tstate = wxPyBeginAllowThreads();
43117 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
43118
43119 wxPyEndAllowThreads(__tstate);
43120 if (PyErr_Occurred()) SWIG_fail;
43121 }
43122 {
43123 wxSize * resultptr;
093d3ff1 43124 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
43125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
43126 }
43127 return resultobj;
43128 fail:
43129 return NULL;
43130}
43131
43132
c32bde28 43133static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
43134 PyObject *resultobj;
43135 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43136 wxSize *arg2 = 0 ;
43137 wxSize temp2 ;
43138 PyObject * obj0 = 0 ;
43139 PyObject * obj1 = 0 ;
43140 char *kwnames[] = {
43141 (char *) "self",(char *) "sz", NULL
43142 };
43143
43144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43146 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
43147 {
43148 arg2 = &temp2;
43149 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
43150 }
43151 {
43152 PyThreadState* __tstate = wxPyBeginAllowThreads();
43153 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
43154
43155 wxPyEndAllowThreads(__tstate);
43156 if (PyErr_Occurred()) SWIG_fail;
43157 }
43158 Py_INCREF(Py_None); resultobj = Py_None;
43159 return resultobj;
43160 fail:
43161 return NULL;
43162}
43163
43164
c32bde28 43165static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
43166 PyObject *resultobj;
43167 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43168 wxWindow *arg2 = (wxWindow *) 0 ;
43169 wxGBPosition result;
43170 PyObject * obj0 = 0 ;
43171 PyObject * obj1 = 0 ;
43172
43173 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
43174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43175 if (SWIG_arg_fail(1)) SWIG_fail;
43176 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
43177 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43178 {
43179 PyThreadState* __tstate = wxPyBeginAllowThreads();
43180 result = (arg1)->GetItemPosition(arg2);
43181
43182 wxPyEndAllowThreads(__tstate);
43183 if (PyErr_Occurred()) SWIG_fail;
43184 }
43185 {
43186 wxGBPosition * resultptr;
093d3ff1 43187 resultptr = new wxGBPosition((wxGBPosition &)(result));
d55e5bfc
RD
43188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
43189 }
43190 return resultobj;
43191 fail:
43192 return NULL;
43193}
43194
43195
c32bde28 43196static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
43197 PyObject *resultobj;
43198 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43199 wxSizer *arg2 = (wxSizer *) 0 ;
43200 wxGBPosition result;
43201 PyObject * obj0 = 0 ;
43202 PyObject * obj1 = 0 ;
43203
43204 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
43205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43206 if (SWIG_arg_fail(1)) SWIG_fail;
43207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
43208 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43209 {
43210 PyThreadState* __tstate = wxPyBeginAllowThreads();
43211 result = (arg1)->GetItemPosition(arg2);
43212
43213 wxPyEndAllowThreads(__tstate);
43214 if (PyErr_Occurred()) SWIG_fail;
43215 }
43216 {
43217 wxGBPosition * resultptr;
093d3ff1 43218 resultptr = new wxGBPosition((wxGBPosition &)(result));
d55e5bfc
RD
43219 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
43220 }
43221 return resultobj;
43222 fail:
43223 return NULL;
43224}
43225
43226
c32bde28 43227static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
43228 PyObject *resultobj;
43229 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43230 size_t arg2 ;
43231 wxGBPosition result;
43232 PyObject * obj0 = 0 ;
43233 PyObject * obj1 = 0 ;
43234
43235 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
43236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43237 if (SWIG_arg_fail(1)) SWIG_fail;
43238 {
43239 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
43240 if (SWIG_arg_fail(2)) SWIG_fail;
43241 }
d55e5bfc
RD
43242 {
43243 PyThreadState* __tstate = wxPyBeginAllowThreads();
43244 result = (arg1)->GetItemPosition(arg2);
43245
43246 wxPyEndAllowThreads(__tstate);
43247 if (PyErr_Occurred()) SWIG_fail;
43248 }
43249 {
43250 wxGBPosition * resultptr;
093d3ff1 43251 resultptr = new wxGBPosition((wxGBPosition &)(result));
d55e5bfc
RD
43252 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
43253 }
43254 return resultobj;
43255 fail:
43256 return NULL;
43257}
43258
43259
43260static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
43261 int argc;
43262 PyObject *argv[3];
43263 int ii;
43264
43265 argc = PyObject_Length(args);
43266 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
43267 argv[ii] = PyTuple_GetItem(args,ii);
43268 }
43269 if (argc == 2) {
43270 int _v;
43271 {
43272 void *ptr;
43273 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43274 _v = 0;
43275 PyErr_Clear();
43276 } else {
43277 _v = 1;
43278 }
43279 }
43280 if (_v) {
43281 {
43282 void *ptr;
43283 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
43284 _v = 0;
43285 PyErr_Clear();
43286 } else {
43287 _v = 1;
43288 }
43289 }
43290 if (_v) {
43291 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
43292 }
43293 }
43294 }
43295 if (argc == 2) {
43296 int _v;
43297 {
43298 void *ptr;
43299 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43300 _v = 0;
43301 PyErr_Clear();
43302 } else {
43303 _v = 1;
43304 }
43305 }
43306 if (_v) {
43307 {
43308 void *ptr;
43309 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
43310 _v = 0;
43311 PyErr_Clear();
43312 } else {
43313 _v = 1;
43314 }
43315 }
43316 if (_v) {
43317 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
43318 }
43319 }
43320 }
43321 if (argc == 2) {
43322 int _v;
43323 {
43324 void *ptr;
43325 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43326 _v = 0;
43327 PyErr_Clear();
43328 } else {
43329 _v = 1;
43330 }
43331 }
43332 if (_v) {
c32bde28 43333 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d55e5bfc
RD
43334 if (_v) {
43335 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
43336 }
43337 }
43338 }
43339
093d3ff1 43340 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
d55e5bfc
RD
43341 return NULL;
43342}
43343
43344
c32bde28 43345static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
43346 PyObject *resultobj;
43347 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43348 wxWindow *arg2 = (wxWindow *) 0 ;
43349 wxGBPosition *arg3 = 0 ;
43350 bool result;
43351 wxGBPosition temp3 ;
43352 PyObject * obj0 = 0 ;
43353 PyObject * obj1 = 0 ;
43354 PyObject * obj2 = 0 ;
43355
43356 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
43357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43358 if (SWIG_arg_fail(1)) SWIG_fail;
43359 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
43360 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43361 {
43362 arg3 = &temp3;
43363 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
43364 }
43365 {
43366 PyThreadState* __tstate = wxPyBeginAllowThreads();
43367 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
43368
43369 wxPyEndAllowThreads(__tstate);
43370 if (PyErr_Occurred()) SWIG_fail;
43371 }
43372 {
43373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43374 }
43375 return resultobj;
43376 fail:
43377 return NULL;
43378}
43379
43380
c32bde28 43381static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
43382 PyObject *resultobj;
43383 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43384 wxSizer *arg2 = (wxSizer *) 0 ;
43385 wxGBPosition *arg3 = 0 ;
43386 bool result;
43387 wxGBPosition temp3 ;
43388 PyObject * obj0 = 0 ;
43389 PyObject * obj1 = 0 ;
43390 PyObject * obj2 = 0 ;
43391
43392 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
43393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43394 if (SWIG_arg_fail(1)) SWIG_fail;
43395 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
43396 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43397 {
43398 arg3 = &temp3;
43399 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
43400 }
43401 {
43402 PyThreadState* __tstate = wxPyBeginAllowThreads();
43403 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
43404
43405 wxPyEndAllowThreads(__tstate);
43406 if (PyErr_Occurred()) SWIG_fail;
43407 }
43408 {
43409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43410 }
43411 return resultobj;
43412 fail:
43413 return NULL;
43414}
43415
43416
c32bde28 43417static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
43418 PyObject *resultobj;
43419 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43420 size_t arg2 ;
43421 wxGBPosition *arg3 = 0 ;
43422 bool result;
43423 wxGBPosition temp3 ;
43424 PyObject * obj0 = 0 ;
43425 PyObject * obj1 = 0 ;
43426 PyObject * obj2 = 0 ;
43427
43428 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
43429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43430 if (SWIG_arg_fail(1)) SWIG_fail;
43431 {
43432 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
43433 if (SWIG_arg_fail(2)) SWIG_fail;
43434 }
d55e5bfc
RD
43435 {
43436 arg3 = &temp3;
43437 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
43438 }
43439 {
43440 PyThreadState* __tstate = wxPyBeginAllowThreads();
43441 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
43442
43443 wxPyEndAllowThreads(__tstate);
43444 if (PyErr_Occurred()) SWIG_fail;
43445 }
43446 {
43447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43448 }
43449 return resultobj;
43450 fail:
43451 return NULL;
43452}
43453
43454
43455static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
43456 int argc;
43457 PyObject *argv[4];
43458 int ii;
43459
43460 argc = PyObject_Length(args);
43461 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
43462 argv[ii] = PyTuple_GetItem(args,ii);
43463 }
43464 if (argc == 3) {
43465 int _v;
43466 {
43467 void *ptr;
43468 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43469 _v = 0;
43470 PyErr_Clear();
43471 } else {
43472 _v = 1;
43473 }
43474 }
43475 if (_v) {
43476 {
43477 void *ptr;
43478 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
43479 _v = 0;
43480 PyErr_Clear();
43481 } else {
43482 _v = 1;
43483 }
43484 }
43485 if (_v) {
43486 {
43487 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
43488 }
43489 if (_v) {
43490 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
43491 }
43492 }
43493 }
43494 }
43495 if (argc == 3) {
43496 int _v;
43497 {
43498 void *ptr;
43499 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43500 _v = 0;
43501 PyErr_Clear();
43502 } else {
43503 _v = 1;
43504 }
43505 }
43506 if (_v) {
43507 {
43508 void *ptr;
43509 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
43510 _v = 0;
43511 PyErr_Clear();
43512 } else {
43513 _v = 1;
43514 }
43515 }
43516 if (_v) {
43517 {
43518 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
43519 }
43520 if (_v) {
43521 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
43522 }
43523 }
43524 }
43525 }
43526 if (argc == 3) {
43527 int _v;
43528 {
43529 void *ptr;
43530 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43531 _v = 0;
43532 PyErr_Clear();
43533 } else {
43534 _v = 1;
43535 }
43536 }
43537 if (_v) {
c32bde28 43538 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d55e5bfc
RD
43539 if (_v) {
43540 {
43541 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
43542 }
43543 if (_v) {
43544 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
43545 }
43546 }
43547 }
43548 }
43549
093d3ff1 43550 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
d55e5bfc
RD
43551 return NULL;
43552}
43553
43554
c32bde28 43555static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
43556 PyObject *resultobj;
43557 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43558 wxWindow *arg2 = (wxWindow *) 0 ;
43559 wxGBSpan result;
43560 PyObject * obj0 = 0 ;
43561 PyObject * obj1 = 0 ;
43562
43563 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
093d3ff1
RD
43564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43565 if (SWIG_arg_fail(1)) SWIG_fail;
43566 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
43567 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43568 {
43569 PyThreadState* __tstate = wxPyBeginAllowThreads();
43570 result = (arg1)->GetItemSpan(arg2);
43571
43572 wxPyEndAllowThreads(__tstate);
43573 if (PyErr_Occurred()) SWIG_fail;
43574 }
43575 {
43576 wxGBSpan * resultptr;
093d3ff1 43577 resultptr = new wxGBSpan((wxGBSpan &)(result));
d55e5bfc
RD
43578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
43579 }
43580 return resultobj;
43581 fail:
43582 return NULL;
43583}
43584
43585
c32bde28 43586static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
43587 PyObject *resultobj;
43588 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43589 wxSizer *arg2 = (wxSizer *) 0 ;
43590 wxGBSpan result;
43591 PyObject * obj0 = 0 ;
43592 PyObject * obj1 = 0 ;
43593
43594 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
093d3ff1
RD
43595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43596 if (SWIG_arg_fail(1)) SWIG_fail;
43597 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
43598 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43599 {
43600 PyThreadState* __tstate = wxPyBeginAllowThreads();
43601 result = (arg1)->GetItemSpan(arg2);
43602
43603 wxPyEndAllowThreads(__tstate);
43604 if (PyErr_Occurred()) SWIG_fail;
43605 }
43606 {
43607 wxGBSpan * resultptr;
093d3ff1 43608 resultptr = new wxGBSpan((wxGBSpan &)(result));
d55e5bfc
RD
43609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
43610 }
43611 return resultobj;
43612 fail:
43613 return NULL;
43614}
43615
43616
c32bde28 43617static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
43618 PyObject *resultobj;
43619 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43620 size_t arg2 ;
43621 wxGBSpan result;
43622 PyObject * obj0 = 0 ;
43623 PyObject * obj1 = 0 ;
43624
43625 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
093d3ff1
RD
43626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43627 if (SWIG_arg_fail(1)) SWIG_fail;
43628 {
43629 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
43630 if (SWIG_arg_fail(2)) SWIG_fail;
43631 }
d55e5bfc
RD
43632 {
43633 PyThreadState* __tstate = wxPyBeginAllowThreads();
43634 result = (arg1)->GetItemSpan(arg2);
43635
43636 wxPyEndAllowThreads(__tstate);
43637 if (PyErr_Occurred()) SWIG_fail;
43638 }
43639 {
43640 wxGBSpan * resultptr;
093d3ff1 43641 resultptr = new wxGBSpan((wxGBSpan &)(result));
d55e5bfc
RD
43642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
43643 }
43644 return resultobj;
43645 fail:
43646 return NULL;
43647}
43648
43649
43650static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
43651 int argc;
43652 PyObject *argv[3];
43653 int ii;
43654
43655 argc = PyObject_Length(args);
43656 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
43657 argv[ii] = PyTuple_GetItem(args,ii);
43658 }
43659 if (argc == 2) {
43660 int _v;
43661 {
43662 void *ptr;
43663 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43664 _v = 0;
43665 PyErr_Clear();
43666 } else {
43667 _v = 1;
43668 }
43669 }
43670 if (_v) {
43671 {
43672 void *ptr;
43673 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
43674 _v = 0;
43675 PyErr_Clear();
43676 } else {
43677 _v = 1;
43678 }
43679 }
43680 if (_v) {
43681 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
43682 }
43683 }
43684 }
43685 if (argc == 2) {
43686 int _v;
43687 {
43688 void *ptr;
43689 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43690 _v = 0;
43691 PyErr_Clear();
43692 } else {
43693 _v = 1;
43694 }
43695 }
43696 if (_v) {
43697 {
43698 void *ptr;
43699 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
43700 _v = 0;
43701 PyErr_Clear();
43702 } else {
43703 _v = 1;
43704 }
43705 }
43706 if (_v) {
43707 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
43708 }
43709 }
43710 }
43711 if (argc == 2) {
43712 int _v;
43713 {
43714 void *ptr;
43715 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43716 _v = 0;
43717 PyErr_Clear();
43718 } else {
43719 _v = 1;
43720 }
43721 }
43722 if (_v) {
c32bde28 43723 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d55e5bfc
RD
43724 if (_v) {
43725 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
43726 }
43727 }
43728 }
43729
093d3ff1 43730 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
d55e5bfc
RD
43731 return NULL;
43732}
43733
43734
c32bde28 43735static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
43736 PyObject *resultobj;
43737 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43738 wxWindow *arg2 = (wxWindow *) 0 ;
43739 wxGBSpan *arg3 = 0 ;
43740 bool result;
43741 wxGBSpan temp3 ;
43742 PyObject * obj0 = 0 ;
43743 PyObject * obj1 = 0 ;
43744 PyObject * obj2 = 0 ;
43745
43746 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
43747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43748 if (SWIG_arg_fail(1)) SWIG_fail;
43749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
43750 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43751 {
43752 arg3 = &temp3;
43753 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
43754 }
43755 {
43756 PyThreadState* __tstate = wxPyBeginAllowThreads();
43757 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
43758
43759 wxPyEndAllowThreads(__tstate);
43760 if (PyErr_Occurred()) SWIG_fail;
43761 }
43762 {
43763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43764 }
43765 return resultobj;
43766 fail:
43767 return NULL;
43768}
43769
43770
c32bde28 43771static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
43772 PyObject *resultobj;
43773 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43774 wxSizer *arg2 = (wxSizer *) 0 ;
43775 wxGBSpan *arg3 = 0 ;
43776 bool result;
43777 wxGBSpan temp3 ;
43778 PyObject * obj0 = 0 ;
43779 PyObject * obj1 = 0 ;
43780 PyObject * obj2 = 0 ;
43781
43782 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
43783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43784 if (SWIG_arg_fail(1)) SWIG_fail;
43785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
43786 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43787 {
43788 arg3 = &temp3;
43789 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
43790 }
43791 {
43792 PyThreadState* __tstate = wxPyBeginAllowThreads();
43793 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
43794
43795 wxPyEndAllowThreads(__tstate);
43796 if (PyErr_Occurred()) SWIG_fail;
43797 }
43798 {
43799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43800 }
43801 return resultobj;
43802 fail:
43803 return NULL;
43804}
43805
43806
c32bde28 43807static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
43808 PyObject *resultobj;
43809 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43810 size_t arg2 ;
43811 wxGBSpan *arg3 = 0 ;
43812 bool result;
43813 wxGBSpan temp3 ;
43814 PyObject * obj0 = 0 ;
43815 PyObject * obj1 = 0 ;
43816 PyObject * obj2 = 0 ;
43817
43818 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
43819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43820 if (SWIG_arg_fail(1)) SWIG_fail;
43821 {
43822 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
43823 if (SWIG_arg_fail(2)) SWIG_fail;
43824 }
d55e5bfc
RD
43825 {
43826 arg3 = &temp3;
43827 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
43828 }
43829 {
43830 PyThreadState* __tstate = wxPyBeginAllowThreads();
43831 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
43832
43833 wxPyEndAllowThreads(__tstate);
43834 if (PyErr_Occurred()) SWIG_fail;
43835 }
43836 {
43837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43838 }
43839 return resultobj;
43840 fail:
43841 return NULL;
43842}
43843
43844
43845static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
43846 int argc;
43847 PyObject *argv[4];
43848 int ii;
43849
43850 argc = PyObject_Length(args);
43851 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
43852 argv[ii] = PyTuple_GetItem(args,ii);
43853 }
43854 if (argc == 3) {
43855 int _v;
43856 {
43857 void *ptr;
43858 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43859 _v = 0;
43860 PyErr_Clear();
43861 } else {
43862 _v = 1;
43863 }
43864 }
43865 if (_v) {
43866 {
43867 void *ptr;
43868 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
43869 _v = 0;
43870 PyErr_Clear();
43871 } else {
43872 _v = 1;
43873 }
43874 }
43875 if (_v) {
43876 {
43877 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
43878 }
43879 if (_v) {
43880 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
43881 }
43882 }
43883 }
43884 }
43885 if (argc == 3) {
43886 int _v;
43887 {
43888 void *ptr;
43889 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43890 _v = 0;
43891 PyErr_Clear();
43892 } else {
43893 _v = 1;
43894 }
43895 }
43896 if (_v) {
43897 {
43898 void *ptr;
43899 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
43900 _v = 0;
43901 PyErr_Clear();
43902 } else {
43903 _v = 1;
43904 }
43905 }
43906 if (_v) {
43907 {
43908 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
43909 }
43910 if (_v) {
43911 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
43912 }
43913 }
43914 }
43915 }
43916 if (argc == 3) {
43917 int _v;
43918 {
43919 void *ptr;
43920 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
43921 _v = 0;
43922 PyErr_Clear();
43923 } else {
43924 _v = 1;
43925 }
43926 }
43927 if (_v) {
c32bde28 43928 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d55e5bfc
RD
43929 if (_v) {
43930 {
43931 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
43932 }
43933 if (_v) {
43934 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
43935 }
43936 }
43937 }
43938 }
43939
093d3ff1 43940 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
d55e5bfc
RD
43941 return NULL;
43942}
43943
43944
c32bde28 43945static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
43946 PyObject *resultobj;
43947 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43948 wxWindow *arg2 = (wxWindow *) 0 ;
43949 wxGBSizerItem *result;
43950 PyObject * obj0 = 0 ;
43951 PyObject * obj1 = 0 ;
43952
43953 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
093d3ff1
RD
43954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43955 if (SWIG_arg_fail(1)) SWIG_fail;
43956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
43957 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43958 {
43959 PyThreadState* __tstate = wxPyBeginAllowThreads();
43960 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
43961
43962 wxPyEndAllowThreads(__tstate);
43963 if (PyErr_Occurred()) SWIG_fail;
43964 }
43965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
43966 return resultobj;
43967 fail:
43968 return NULL;
43969}
43970
43971
c32bde28 43972static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
43973 PyObject *resultobj;
43974 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
43975 wxSizer *arg2 = (wxSizer *) 0 ;
43976 wxGBSizerItem *result;
43977 PyObject * obj0 = 0 ;
43978 PyObject * obj1 = 0 ;
43979
43980 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
093d3ff1
RD
43981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43982 if (SWIG_arg_fail(1)) SWIG_fail;
43983 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
43984 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
43985 {
43986 PyThreadState* __tstate = wxPyBeginAllowThreads();
43987 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
43988
43989 wxPyEndAllowThreads(__tstate);
43990 if (PyErr_Occurred()) SWIG_fail;
43991 }
43992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
43993 return resultobj;
43994 fail:
43995 return NULL;
43996}
43997
43998
43999static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
44000 int argc;
44001 PyObject *argv[3];
44002 int ii;
44003
44004 argc = PyObject_Length(args);
44005 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
44006 argv[ii] = PyTuple_GetItem(args,ii);
44007 }
44008 if (argc == 2) {
44009 int _v;
44010 {
44011 void *ptr;
44012 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
44013 _v = 0;
44014 PyErr_Clear();
44015 } else {
44016 _v = 1;
44017 }
44018 }
44019 if (_v) {
44020 {
44021 void *ptr;
44022 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
44023 _v = 0;
44024 PyErr_Clear();
44025 } else {
44026 _v = 1;
44027 }
44028 }
44029 if (_v) {
44030 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
44031 }
44032 }
44033 }
44034 if (argc == 2) {
44035 int _v;
44036 {
44037 void *ptr;
44038 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
44039 _v = 0;
44040 PyErr_Clear();
44041 } else {
44042 _v = 1;
44043 }
44044 }
44045 if (_v) {
44046 {
44047 void *ptr;
44048 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
44049 _v = 0;
44050 PyErr_Clear();
44051 } else {
44052 _v = 1;
44053 }
44054 }
44055 if (_v) {
44056 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
44057 }
44058 }
44059 }
44060
093d3ff1 44061 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_FindItem'");
d55e5bfc
RD
44062 return NULL;
44063}
44064
44065
c32bde28 44066static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44067 PyObject *resultobj;
44068 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44069 wxGBPosition *arg2 = 0 ;
44070 wxGBSizerItem *result;
44071 wxGBPosition temp2 ;
44072 PyObject * obj0 = 0 ;
44073 PyObject * obj1 = 0 ;
44074 char *kwnames[] = {
44075 (char *) "self",(char *) "pos", NULL
44076 };
44077
44078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44081 {
44082 arg2 = &temp2;
44083 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
44084 }
44085 {
44086 PyThreadState* __tstate = wxPyBeginAllowThreads();
44087 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
44088
44089 wxPyEndAllowThreads(__tstate);
44090 if (PyErr_Occurred()) SWIG_fail;
44091 }
44092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
44093 return resultobj;
44094 fail:
44095 return NULL;
44096}
44097
44098
c32bde28 44099static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44100 PyObject *resultobj;
44101 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44102 wxPoint *arg2 = 0 ;
44103 wxGBSizerItem *result;
44104 wxPoint temp2 ;
44105 PyObject * obj0 = 0 ;
44106 PyObject * obj1 = 0 ;
44107 char *kwnames[] = {
44108 (char *) "self",(char *) "pt", NULL
44109 };
44110
44111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44114 {
44115 arg2 = &temp2;
44116 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
44117 }
44118 {
44119 PyThreadState* __tstate = wxPyBeginAllowThreads();
44120 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
44121
44122 wxPyEndAllowThreads(__tstate);
44123 if (PyErr_Occurred()) SWIG_fail;
44124 }
44125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
44126 return resultobj;
44127 fail:
44128 return NULL;
44129}
44130
44131
c32bde28 44132static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44133 PyObject *resultobj;
44134 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44135 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
44136 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
44137 bool result;
44138 PyObject * obj0 = 0 ;
44139 PyObject * obj1 = 0 ;
44140 PyObject * obj2 = 0 ;
248ed943
RD
44141 char *kwnames[] = {
44142 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44143 };
d55e5bfc 44144
248ed943 44145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44147 if (SWIG_arg_fail(1)) SWIG_fail;
44148 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
44149 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 44150 if (obj2) {
093d3ff1
RD
44151 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
44152 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
44153 }
44154 {
44155 PyThreadState* __tstate = wxPyBeginAllowThreads();
44156 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
44157
44158 wxPyEndAllowThreads(__tstate);
44159 if (PyErr_Occurred()) SWIG_fail;
44160 }
44161 {
44162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44163 }
44164 return resultobj;
44165 fail:
44166 return NULL;
44167}
44168
44169
c32bde28 44170static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44171 PyObject *resultobj;
44172 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44173 wxGBPosition *arg2 = 0 ;
44174 wxGBSpan *arg3 = 0 ;
44175 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
44176 bool result;
44177 wxGBPosition temp2 ;
44178 wxGBSpan temp3 ;
44179 PyObject * obj0 = 0 ;
44180 PyObject * obj1 = 0 ;
44181 PyObject * obj2 = 0 ;
44182 PyObject * obj3 = 0 ;
248ed943
RD
44183 char *kwnames[] = {
44184 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44185 };
d55e5bfc 44186
248ed943 44187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
44188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44190 {
44191 arg2 = &temp2;
44192 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
44193 }
44194 {
44195 arg3 = &temp3;
44196 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
44197 }
44198 if (obj3) {
093d3ff1
RD
44199 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
44200 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
44201 }
44202 {
44203 PyThreadState* __tstate = wxPyBeginAllowThreads();
44204 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
44205
44206 wxPyEndAllowThreads(__tstate);
44207 if (PyErr_Occurred()) SWIG_fail;
44208 }
44209 {
44210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44211 }
44212 return resultobj;
44213 fail:
44214 return NULL;
44215}
44216
44217
c32bde28 44218static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
44219 PyObject *obj;
44220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
44221 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
44222 Py_INCREF(obj);
44223 return Py_BuildValue((char *)"");
44224}
c32bde28 44225static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44226 PyObject *resultobj;
44227 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 44228 wxRelationship arg2 ;
d55e5bfc 44229 wxWindow *arg3 = (wxWindow *) 0 ;
093d3ff1 44230 wxEdge arg4 ;
d55e5bfc
RD
44231 int arg5 = (int) 0 ;
44232 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
44233 PyObject * obj0 = 0 ;
44234 PyObject * obj1 = 0 ;
44235 PyObject * obj2 = 0 ;
44236 PyObject * obj3 = 0 ;
44237 PyObject * obj4 = 0 ;
44238 PyObject * obj5 = 0 ;
44239 char *kwnames[] = {
44240 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44241 };
44242
44243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
44244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44245 if (SWIG_arg_fail(1)) SWIG_fail;
44246 {
44247 arg2 = (wxRelationship)(SWIG_As_int(obj1));
44248 if (SWIG_arg_fail(2)) SWIG_fail;
44249 }
44250 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44251 if (SWIG_arg_fail(3)) SWIG_fail;
44252 {
44253 arg4 = (wxEdge)(SWIG_As_int(obj3));
44254 if (SWIG_arg_fail(4)) SWIG_fail;
44255 }
d55e5bfc 44256 if (obj4) {
093d3ff1
RD
44257 {
44258 arg5 = (int)(SWIG_As_int(obj4));
44259 if (SWIG_arg_fail(5)) SWIG_fail;
44260 }
d55e5bfc
RD
44261 }
44262 if (obj5) {
093d3ff1
RD
44263 {
44264 arg6 = (int)(SWIG_As_int(obj5));
44265 if (SWIG_arg_fail(6)) SWIG_fail;
44266 }
d55e5bfc
RD
44267 }
44268 {
44269 PyThreadState* __tstate = wxPyBeginAllowThreads();
44270 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
44271
44272 wxPyEndAllowThreads(__tstate);
44273 if (PyErr_Occurred()) SWIG_fail;
44274 }
44275 Py_INCREF(Py_None); resultobj = Py_None;
44276 return resultobj;
44277 fail:
44278 return NULL;
44279}
44280
44281
c32bde28 44282static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44283 PyObject *resultobj;
44284 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44285 wxWindow *arg2 = (wxWindow *) 0 ;
44286 int arg3 = (int) 0 ;
44287 PyObject * obj0 = 0 ;
44288 PyObject * obj1 = 0 ;
44289 PyObject * obj2 = 0 ;
44290 char *kwnames[] = {
44291 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44292 };
44293
44294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44296 if (SWIG_arg_fail(1)) SWIG_fail;
44297 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44298 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 44299 if (obj2) {
093d3ff1
RD
44300 {
44301 arg3 = (int)(SWIG_As_int(obj2));
44302 if (SWIG_arg_fail(3)) SWIG_fail;
44303 }
d55e5bfc
RD
44304 }
44305 {
44306 PyThreadState* __tstate = wxPyBeginAllowThreads();
44307 (arg1)->LeftOf(arg2,arg3);
44308
44309 wxPyEndAllowThreads(__tstate);
44310 if (PyErr_Occurred()) SWIG_fail;
44311 }
44312 Py_INCREF(Py_None); resultobj = Py_None;
44313 return resultobj;
44314 fail:
44315 return NULL;
44316}
44317
44318
c32bde28 44319static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44320 PyObject *resultobj;
44321 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44322 wxWindow *arg2 = (wxWindow *) 0 ;
44323 int arg3 = (int) 0 ;
44324 PyObject * obj0 = 0 ;
44325 PyObject * obj1 = 0 ;
44326 PyObject * obj2 = 0 ;
44327 char *kwnames[] = {
44328 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44329 };
44330
44331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44333 if (SWIG_arg_fail(1)) SWIG_fail;
44334 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44335 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 44336 if (obj2) {
093d3ff1
RD
44337 {
44338 arg3 = (int)(SWIG_As_int(obj2));
44339 if (SWIG_arg_fail(3)) SWIG_fail;
44340 }
d55e5bfc
RD
44341 }
44342 {
44343 PyThreadState* __tstate = wxPyBeginAllowThreads();
44344 (arg1)->RightOf(arg2,arg3);
44345
44346 wxPyEndAllowThreads(__tstate);
44347 if (PyErr_Occurred()) SWIG_fail;
44348 }
44349 Py_INCREF(Py_None); resultobj = Py_None;
44350 return resultobj;
44351 fail:
44352 return NULL;
44353}
44354
44355
c32bde28 44356static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44357 PyObject *resultobj;
44358 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44359 wxWindow *arg2 = (wxWindow *) 0 ;
44360 int arg3 = (int) 0 ;
44361 PyObject * obj0 = 0 ;
44362 PyObject * obj1 = 0 ;
44363 PyObject * obj2 = 0 ;
44364 char *kwnames[] = {
44365 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44366 };
44367
44368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44370 if (SWIG_arg_fail(1)) SWIG_fail;
44371 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44372 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 44373 if (obj2) {
093d3ff1
RD
44374 {
44375 arg3 = (int)(SWIG_As_int(obj2));
44376 if (SWIG_arg_fail(3)) SWIG_fail;
44377 }
d55e5bfc
RD
44378 }
44379 {
44380 PyThreadState* __tstate = wxPyBeginAllowThreads();
44381 (arg1)->Above(arg2,arg3);
44382
44383 wxPyEndAllowThreads(__tstate);
44384 if (PyErr_Occurred()) SWIG_fail;
44385 }
44386 Py_INCREF(Py_None); resultobj = Py_None;
44387 return resultobj;
44388 fail:
44389 return NULL;
44390}
44391
44392
c32bde28 44393static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44394 PyObject *resultobj;
44395 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44396 wxWindow *arg2 = (wxWindow *) 0 ;
44397 int arg3 = (int) 0 ;
44398 PyObject * obj0 = 0 ;
44399 PyObject * obj1 = 0 ;
44400 PyObject * obj2 = 0 ;
44401 char *kwnames[] = {
44402 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44403 };
44404
44405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44407 if (SWIG_arg_fail(1)) SWIG_fail;
44408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44409 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 44410 if (obj2) {
093d3ff1
RD
44411 {
44412 arg3 = (int)(SWIG_As_int(obj2));
44413 if (SWIG_arg_fail(3)) SWIG_fail;
44414 }
d55e5bfc
RD
44415 }
44416 {
44417 PyThreadState* __tstate = wxPyBeginAllowThreads();
44418 (arg1)->Below(arg2,arg3);
44419
44420 wxPyEndAllowThreads(__tstate);
44421 if (PyErr_Occurred()) SWIG_fail;
44422 }
44423 Py_INCREF(Py_None); resultobj = Py_None;
44424 return resultobj;
44425 fail:
44426 return NULL;
44427}
44428
44429
c32bde28 44430static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44431 PyObject *resultobj;
44432 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44433 wxWindow *arg2 = (wxWindow *) 0 ;
093d3ff1 44434 wxEdge arg3 ;
d55e5bfc
RD
44435 int arg4 = (int) 0 ;
44436 PyObject * obj0 = 0 ;
44437 PyObject * obj1 = 0 ;
44438 PyObject * obj2 = 0 ;
44439 PyObject * obj3 = 0 ;
44440 char *kwnames[] = {
44441 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44442 };
44443
44444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
44445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44446 if (SWIG_arg_fail(1)) SWIG_fail;
44447 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44448 if (SWIG_arg_fail(2)) SWIG_fail;
44449 {
44450 arg3 = (wxEdge)(SWIG_As_int(obj2));
44451 if (SWIG_arg_fail(3)) SWIG_fail;
44452 }
d55e5bfc 44453 if (obj3) {
093d3ff1
RD
44454 {
44455 arg4 = (int)(SWIG_As_int(obj3));
44456 if (SWIG_arg_fail(4)) SWIG_fail;
44457 }
d55e5bfc
RD
44458 }
44459 {
44460 PyThreadState* __tstate = wxPyBeginAllowThreads();
44461 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
44462
44463 wxPyEndAllowThreads(__tstate);
44464 if (PyErr_Occurred()) SWIG_fail;
44465 }
44466 Py_INCREF(Py_None); resultobj = Py_None;
44467 return resultobj;
44468 fail:
44469 return NULL;
44470}
44471
44472
c32bde28 44473static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44474 PyObject *resultobj;
44475 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44476 wxWindow *arg2 = (wxWindow *) 0 ;
093d3ff1 44477 wxEdge arg3 ;
d55e5bfc
RD
44478 int arg4 ;
44479 PyObject * obj0 = 0 ;
44480 PyObject * obj1 = 0 ;
44481 PyObject * obj2 = 0 ;
44482 PyObject * obj3 = 0 ;
44483 char *kwnames[] = {
44484 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44485 };
44486
44487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
44488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44489 if (SWIG_arg_fail(1)) SWIG_fail;
44490 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44491 if (SWIG_arg_fail(2)) SWIG_fail;
44492 {
44493 arg3 = (wxEdge)(SWIG_As_int(obj2));
44494 if (SWIG_arg_fail(3)) SWIG_fail;
44495 }
44496 {
44497 arg4 = (int)(SWIG_As_int(obj3));
44498 if (SWIG_arg_fail(4)) SWIG_fail;
44499 }
d55e5bfc
RD
44500 {
44501 PyThreadState* __tstate = wxPyBeginAllowThreads();
44502 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
44503
44504 wxPyEndAllowThreads(__tstate);
44505 if (PyErr_Occurred()) SWIG_fail;
44506 }
44507 Py_INCREF(Py_None); resultobj = Py_None;
44508 return resultobj;
44509 fail:
44510 return NULL;
44511}
44512
44513
c32bde28 44514static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44515 PyObject *resultobj;
44516 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44517 int arg2 ;
44518 PyObject * obj0 = 0 ;
44519 PyObject * obj1 = 0 ;
44520 char *kwnames[] = {
44521 (char *) "self",(char *) "val", NULL
44522 };
44523
44524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44526 if (SWIG_arg_fail(1)) SWIG_fail;
44527 {
44528 arg2 = (int)(SWIG_As_int(obj1));
44529 if (SWIG_arg_fail(2)) SWIG_fail;
44530 }
d55e5bfc
RD
44531 {
44532 PyThreadState* __tstate = wxPyBeginAllowThreads();
44533 (arg1)->Absolute(arg2);
44534
44535 wxPyEndAllowThreads(__tstate);
44536 if (PyErr_Occurred()) SWIG_fail;
44537 }
44538 Py_INCREF(Py_None); resultobj = Py_None;
44539 return resultobj;
44540 fail:
44541 return NULL;
44542}
44543
44544
c32bde28 44545static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44546 PyObject *resultobj;
44547 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44548 PyObject * obj0 = 0 ;
44549 char *kwnames[] = {
44550 (char *) "self", NULL
44551 };
44552
44553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
093d3ff1
RD
44554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44556 {
44557 PyThreadState* __tstate = wxPyBeginAllowThreads();
44558 (arg1)->Unconstrained();
44559
44560 wxPyEndAllowThreads(__tstate);
44561 if (PyErr_Occurred()) SWIG_fail;
44562 }
44563 Py_INCREF(Py_None); resultobj = Py_None;
44564 return resultobj;
44565 fail:
44566 return NULL;
44567}
44568
44569
c32bde28 44570static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44571 PyObject *resultobj;
44572 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44573 PyObject * obj0 = 0 ;
44574 char *kwnames[] = {
44575 (char *) "self", NULL
44576 };
44577
44578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
093d3ff1
RD
44579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44581 {
44582 PyThreadState* __tstate = wxPyBeginAllowThreads();
44583 (arg1)->AsIs();
44584
44585 wxPyEndAllowThreads(__tstate);
44586 if (PyErr_Occurred()) SWIG_fail;
44587 }
44588 Py_INCREF(Py_None); resultobj = Py_None;
44589 return resultobj;
44590 fail:
44591 return NULL;
44592}
44593
44594
c32bde28 44595static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44596 PyObject *resultobj;
44597 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44598 wxWindow *result;
44599 PyObject * obj0 = 0 ;
44600 char *kwnames[] = {
44601 (char *) "self", NULL
44602 };
44603
44604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
44605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44607 {
44608 PyThreadState* __tstate = wxPyBeginAllowThreads();
44609 result = (wxWindow *)(arg1)->GetOtherWindow();
44610
44611 wxPyEndAllowThreads(__tstate);
44612 if (PyErr_Occurred()) SWIG_fail;
44613 }
44614 {
412d302d 44615 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
44616 }
44617 return resultobj;
44618 fail:
44619 return NULL;
44620}
44621
44622
c32bde28 44623static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44624 PyObject *resultobj;
44625 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 44626 wxEdge result;
d55e5bfc
RD
44627 PyObject * obj0 = 0 ;
44628 char *kwnames[] = {
44629 (char *) "self", NULL
44630 };
44631
44632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
44633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44635 {
44636 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 44637 result = (wxEdge)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
d55e5bfc
RD
44638
44639 wxPyEndAllowThreads(__tstate);
44640 if (PyErr_Occurred()) SWIG_fail;
44641 }
093d3ff1 44642 resultobj = SWIG_From_int((result));
d55e5bfc
RD
44643 return resultobj;
44644 fail:
44645 return NULL;
44646}
44647
44648
c32bde28 44649static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44650 PyObject *resultobj;
44651 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 44652 wxEdge arg2 ;
d55e5bfc
RD
44653 PyObject * obj0 = 0 ;
44654 PyObject * obj1 = 0 ;
44655 char *kwnames[] = {
44656 (char *) "self",(char *) "which", NULL
44657 };
44658
44659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44661 if (SWIG_arg_fail(1)) SWIG_fail;
44662 {
44663 arg2 = (wxEdge)(SWIG_As_int(obj1));
44664 if (SWIG_arg_fail(2)) SWIG_fail;
44665 }
d55e5bfc
RD
44666 {
44667 PyThreadState* __tstate = wxPyBeginAllowThreads();
44668 (arg1)->SetEdge((wxEdge )arg2);
44669
44670 wxPyEndAllowThreads(__tstate);
44671 if (PyErr_Occurred()) SWIG_fail;
44672 }
44673 Py_INCREF(Py_None); resultobj = Py_None;
44674 return resultobj;
44675 fail:
44676 return NULL;
44677}
44678
44679
c32bde28 44680static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44681 PyObject *resultobj;
44682 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44683 int arg2 ;
44684 PyObject * obj0 = 0 ;
44685 PyObject * obj1 = 0 ;
44686 char *kwnames[] = {
44687 (char *) "self",(char *) "v", NULL
44688 };
44689
44690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44692 if (SWIG_arg_fail(1)) SWIG_fail;
44693 {
44694 arg2 = (int)(SWIG_As_int(obj1));
44695 if (SWIG_arg_fail(2)) SWIG_fail;
44696 }
d55e5bfc
RD
44697 {
44698 PyThreadState* __tstate = wxPyBeginAllowThreads();
44699 (arg1)->SetValue(arg2);
44700
44701 wxPyEndAllowThreads(__tstate);
44702 if (PyErr_Occurred()) SWIG_fail;
44703 }
44704 Py_INCREF(Py_None); resultobj = Py_None;
44705 return resultobj;
44706 fail:
44707 return NULL;
44708}
44709
44710
c32bde28 44711static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44712 PyObject *resultobj;
44713 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44714 int result;
44715 PyObject * obj0 = 0 ;
44716 char *kwnames[] = {
44717 (char *) "self", NULL
44718 };
44719
44720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
093d3ff1
RD
44721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44722 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44723 {
44724 PyThreadState* __tstate = wxPyBeginAllowThreads();
44725 result = (int)(arg1)->GetMargin();
44726
44727 wxPyEndAllowThreads(__tstate);
44728 if (PyErr_Occurred()) SWIG_fail;
44729 }
093d3ff1
RD
44730 {
44731 resultobj = SWIG_From_int((int)(result));
44732 }
d55e5bfc
RD
44733 return resultobj;
44734 fail:
44735 return NULL;
44736}
44737
44738
c32bde28 44739static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44740 PyObject *resultobj;
44741 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44742 int arg2 ;
44743 PyObject * obj0 = 0 ;
44744 PyObject * obj1 = 0 ;
44745 char *kwnames[] = {
44746 (char *) "self",(char *) "m", NULL
44747 };
44748
44749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44751 if (SWIG_arg_fail(1)) SWIG_fail;
44752 {
44753 arg2 = (int)(SWIG_As_int(obj1));
44754 if (SWIG_arg_fail(2)) SWIG_fail;
44755 }
d55e5bfc
RD
44756 {
44757 PyThreadState* __tstate = wxPyBeginAllowThreads();
44758 (arg1)->SetMargin(arg2);
44759
44760 wxPyEndAllowThreads(__tstate);
44761 if (PyErr_Occurred()) SWIG_fail;
44762 }
44763 Py_INCREF(Py_None); resultobj = Py_None;
44764 return resultobj;
44765 fail:
44766 return NULL;
44767}
44768
44769
c32bde28 44770static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44771 PyObject *resultobj;
44772 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44773 int result;
44774 PyObject * obj0 = 0 ;
44775 char *kwnames[] = {
44776 (char *) "self", NULL
44777 };
44778
44779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
44780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44781 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44782 {
44783 PyThreadState* __tstate = wxPyBeginAllowThreads();
44784 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
44785
44786 wxPyEndAllowThreads(__tstate);
44787 if (PyErr_Occurred()) SWIG_fail;
44788 }
093d3ff1
RD
44789 {
44790 resultobj = SWIG_From_int((int)(result));
44791 }
d55e5bfc
RD
44792 return resultobj;
44793 fail:
44794 return NULL;
44795}
44796
44797
c32bde28 44798static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44799 PyObject *resultobj;
44800 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44801 int result;
44802 PyObject * obj0 = 0 ;
44803 char *kwnames[] = {
44804 (char *) "self", NULL
44805 };
44806
44807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
093d3ff1
RD
44808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44810 {
44811 PyThreadState* __tstate = wxPyBeginAllowThreads();
44812 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
44813
44814 wxPyEndAllowThreads(__tstate);
44815 if (PyErr_Occurred()) SWIG_fail;
44816 }
093d3ff1
RD
44817 {
44818 resultobj = SWIG_From_int((int)(result));
44819 }
d55e5bfc
RD
44820 return resultobj;
44821 fail:
44822 return NULL;
44823}
44824
44825
c32bde28 44826static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44827 PyObject *resultobj;
44828 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44829 int result;
44830 PyObject * obj0 = 0 ;
44831 char *kwnames[] = {
44832 (char *) "self", NULL
44833 };
44834
44835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
44836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44838 {
44839 PyThreadState* __tstate = wxPyBeginAllowThreads();
44840 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
44841
44842 wxPyEndAllowThreads(__tstate);
44843 if (PyErr_Occurred()) SWIG_fail;
44844 }
093d3ff1
RD
44845 {
44846 resultobj = SWIG_From_int((int)(result));
44847 }
d55e5bfc
RD
44848 return resultobj;
44849 fail:
44850 return NULL;
44851}
44852
44853
c32bde28 44854static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44855 PyObject *resultobj;
44856 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44857 bool result;
44858 PyObject * obj0 = 0 ;
44859 char *kwnames[] = {
44860 (char *) "self", NULL
44861 };
44862
44863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
093d3ff1
RD
44864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44865 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44866 {
44867 PyThreadState* __tstate = wxPyBeginAllowThreads();
44868 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
44869
44870 wxPyEndAllowThreads(__tstate);
44871 if (PyErr_Occurred()) SWIG_fail;
44872 }
44873 {
44874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44875 }
44876 return resultobj;
44877 fail:
44878 return NULL;
44879}
44880
44881
c32bde28 44882static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44883 PyObject *resultobj;
44884 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44885 bool arg2 ;
44886 PyObject * obj0 = 0 ;
44887 PyObject * obj1 = 0 ;
44888 char *kwnames[] = {
44889 (char *) "self",(char *) "d", NULL
44890 };
44891
44892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44894 if (SWIG_arg_fail(1)) SWIG_fail;
44895 {
44896 arg2 = (bool)(SWIG_As_bool(obj1));
44897 if (SWIG_arg_fail(2)) SWIG_fail;
44898 }
d55e5bfc
RD
44899 {
44900 PyThreadState* __tstate = wxPyBeginAllowThreads();
44901 (arg1)->SetDone(arg2);
44902
44903 wxPyEndAllowThreads(__tstate);
44904 if (PyErr_Occurred()) SWIG_fail;
44905 }
44906 Py_INCREF(Py_None); resultobj = Py_None;
44907 return resultobj;
44908 fail:
44909 return NULL;
44910}
44911
44912
c32bde28 44913static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44914 PyObject *resultobj;
44915 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 44916 wxRelationship result;
d55e5bfc
RD
44917 PyObject * obj0 = 0 ;
44918 char *kwnames[] = {
44919 (char *) "self", NULL
44920 };
44921
44922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
093d3ff1
RD
44923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44924 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
44925 {
44926 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 44927 result = (wxRelationship)(arg1)->GetRelationship();
d55e5bfc
RD
44928
44929 wxPyEndAllowThreads(__tstate);
44930 if (PyErr_Occurred()) SWIG_fail;
44931 }
093d3ff1 44932 resultobj = SWIG_From_int((result));
d55e5bfc
RD
44933 return resultobj;
44934 fail:
44935 return NULL;
44936}
44937
44938
c32bde28 44939static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44940 PyObject *resultobj;
44941 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 44942 wxRelationship arg2 ;
d55e5bfc
RD
44943 PyObject * obj0 = 0 ;
44944 PyObject * obj1 = 0 ;
44945 char *kwnames[] = {
44946 (char *) "self",(char *) "r", NULL
44947 };
44948
44949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44951 if (SWIG_arg_fail(1)) SWIG_fail;
44952 {
44953 arg2 = (wxRelationship)(SWIG_As_int(obj1));
44954 if (SWIG_arg_fail(2)) SWIG_fail;
44955 }
d55e5bfc
RD
44956 {
44957 PyThreadState* __tstate = wxPyBeginAllowThreads();
44958 (arg1)->SetRelationship((wxRelationship )arg2);
44959
44960 wxPyEndAllowThreads(__tstate);
44961 if (PyErr_Occurred()) SWIG_fail;
44962 }
44963 Py_INCREF(Py_None); resultobj = Py_None;
44964 return resultobj;
44965 fail:
44966 return NULL;
44967}
44968
44969
c32bde28 44970static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
44971 PyObject *resultobj;
44972 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
44973 wxWindow *arg2 = (wxWindow *) 0 ;
44974 bool result;
44975 PyObject * obj0 = 0 ;
44976 PyObject * obj1 = 0 ;
44977 char *kwnames[] = {
44978 (char *) "self",(char *) "otherW", NULL
44979 };
44980
44981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
44983 if (SWIG_arg_fail(1)) SWIG_fail;
44984 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44985 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
44986 {
44987 PyThreadState* __tstate = wxPyBeginAllowThreads();
44988 result = (bool)(arg1)->ResetIfWin(arg2);
44989
44990 wxPyEndAllowThreads(__tstate);
44991 if (PyErr_Occurred()) SWIG_fail;
44992 }
44993 {
44994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44995 }
44996 return resultobj;
44997 fail:
44998 return NULL;
44999}
45000
45001
c32bde28 45002static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45003 PyObject *resultobj;
45004 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45005 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
45006 wxWindow *arg3 = (wxWindow *) 0 ;
45007 bool result;
45008 PyObject * obj0 = 0 ;
45009 PyObject * obj1 = 0 ;
45010 PyObject * obj2 = 0 ;
45011 char *kwnames[] = {
45012 (char *) "self",(char *) "constraints",(char *) "win", NULL
45013 };
45014
45015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
45016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45017 if (SWIG_arg_fail(1)) SWIG_fail;
45018 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45019 if (SWIG_arg_fail(2)) SWIG_fail;
45020 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45021 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
45022 {
45023 PyThreadState* __tstate = wxPyBeginAllowThreads();
45024 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
45025
45026 wxPyEndAllowThreads(__tstate);
45027 if (PyErr_Occurred()) SWIG_fail;
45028 }
45029 {
45030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45031 }
45032 return resultobj;
45033 fail:
45034 return NULL;
45035}
45036
45037
c32bde28 45038static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45039 PyObject *resultobj;
45040 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 45041 wxEdge arg2 ;
d55e5bfc
RD
45042 wxWindow *arg3 = (wxWindow *) 0 ;
45043 wxWindow *arg4 = (wxWindow *) 0 ;
45044 int result;
45045 PyObject * obj0 = 0 ;
45046 PyObject * obj1 = 0 ;
45047 PyObject * obj2 = 0 ;
45048 PyObject * obj3 = 0 ;
45049 char *kwnames[] = {
45050 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45051 };
45052
45053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
45054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45055 if (SWIG_arg_fail(1)) SWIG_fail;
45056 {
45057 arg2 = (wxEdge)(SWIG_As_int(obj1));
45058 if (SWIG_arg_fail(2)) SWIG_fail;
45059 }
45060 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45061 if (SWIG_arg_fail(3)) SWIG_fail;
45062 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45063 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
45064 {
45065 PyThreadState* __tstate = wxPyBeginAllowThreads();
45066 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
45067
45068 wxPyEndAllowThreads(__tstate);
45069 if (PyErr_Occurred()) SWIG_fail;
45070 }
093d3ff1
RD
45071 {
45072 resultobj = SWIG_From_int((int)(result));
45073 }
d55e5bfc
RD
45074 return resultobj;
45075 fail:
45076 return NULL;
45077}
45078
45079
c32bde28 45080static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
45081 PyObject *obj;
45082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
45083 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
45084 Py_INCREF(obj);
45085 return Py_BuildValue((char *)"");
45086}
c32bde28 45087static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45088 PyObject *resultobj;
45089 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45090 wxIndividualLayoutConstraint *result;
45091 PyObject * obj0 = 0 ;
45092 char *kwnames[] = {
45093 (char *) "self", NULL
45094 };
45095
45096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
45097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
45099 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
45100
45101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45102 return resultobj;
45103 fail:
45104 return NULL;
45105}
45106
45107
c32bde28 45108static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45109 PyObject *resultobj;
45110 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45111 wxIndividualLayoutConstraint *result;
45112 PyObject * obj0 = 0 ;
45113 char *kwnames[] = {
45114 (char *) "self", NULL
45115 };
45116
45117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
45118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
45120 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
45121
45122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45123 return resultobj;
45124 fail:
45125 return NULL;
45126}
45127
45128
c32bde28 45129static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45130 PyObject *resultobj;
45131 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45132 wxIndividualLayoutConstraint *result;
45133 PyObject * obj0 = 0 ;
45134 char *kwnames[] = {
45135 (char *) "self", NULL
45136 };
45137
45138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
45139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
45141 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
45142
45143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45144 return resultobj;
45145 fail:
45146 return NULL;
45147}
45148
45149
c32bde28 45150static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45151 PyObject *resultobj;
45152 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45153 wxIndividualLayoutConstraint *result;
45154 PyObject * obj0 = 0 ;
45155 char *kwnames[] = {
45156 (char *) "self", NULL
45157 };
45158
45159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
45160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
45162 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
45163
45164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45165 return resultobj;
45166 fail:
45167 return NULL;
45168}
45169
45170
c32bde28 45171static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45172 PyObject *resultobj;
45173 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45174 wxIndividualLayoutConstraint *result;
45175 PyObject * obj0 = 0 ;
45176 char *kwnames[] = {
45177 (char *) "self", NULL
45178 };
45179
45180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
45181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45182 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
45183 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
45184
45185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45186 return resultobj;
45187 fail:
45188 return NULL;
45189}
45190
45191
c32bde28 45192static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45193 PyObject *resultobj;
45194 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45195 wxIndividualLayoutConstraint *result;
45196 PyObject * obj0 = 0 ;
45197 char *kwnames[] = {
45198 (char *) "self", NULL
45199 };
45200
45201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
45202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45203 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
45204 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
45205
45206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45207 return resultobj;
45208 fail:
45209 return NULL;
45210}
45211
45212
c32bde28 45213static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45214 PyObject *resultobj;
45215 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45216 wxIndividualLayoutConstraint *result;
45217 PyObject * obj0 = 0 ;
45218 char *kwnames[] = {
45219 (char *) "self", NULL
45220 };
45221
45222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
45223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
45225 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
45226
45227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45228 return resultobj;
45229 fail:
45230 return NULL;
45231}
45232
45233
c32bde28 45234static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45235 PyObject *resultobj;
45236 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45237 wxIndividualLayoutConstraint *result;
45238 PyObject * obj0 = 0 ;
45239 char *kwnames[] = {
45240 (char *) "self", NULL
45241 };
45242
45243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
45244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45245 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
45246 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
45247
45248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
45249 return resultobj;
45250 fail:
45251 return NULL;
45252}
45253
45254
c32bde28 45255static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45256 PyObject *resultobj;
45257 wxLayoutConstraints *result;
45258 char *kwnames[] = {
45259 NULL
45260 };
45261
45262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
45263 {
45264 PyThreadState* __tstate = wxPyBeginAllowThreads();
45265 result = (wxLayoutConstraints *)new wxLayoutConstraints();
45266
45267 wxPyEndAllowThreads(__tstate);
45268 if (PyErr_Occurred()) SWIG_fail;
45269 }
45270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
45271 return resultobj;
45272 fail:
45273 return NULL;
45274}
45275
45276
c32bde28 45277static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45278 PyObject *resultobj;
45279 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45280 wxWindow *arg2 = (wxWindow *) 0 ;
45281 int *arg3 = (int *) 0 ;
45282 bool result;
45283 int temp3 ;
c32bde28 45284 int res3 = 0 ;
d55e5bfc
RD
45285 PyObject * obj0 = 0 ;
45286 PyObject * obj1 = 0 ;
45287 char *kwnames[] = {
45288 (char *) "self",(char *) "win", NULL
45289 };
45290
c32bde28 45291 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 45292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
45293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45294 if (SWIG_arg_fail(1)) SWIG_fail;
45295 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45296 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
45297 {
45298 PyThreadState* __tstate = wxPyBeginAllowThreads();
45299 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
45300
45301 wxPyEndAllowThreads(__tstate);
45302 if (PyErr_Occurred()) SWIG_fail;
45303 }
45304 {
45305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45306 }
c32bde28
RD
45307 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
45308 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
45309 return resultobj;
45310 fail:
45311 return NULL;
45312}
45313
45314
c32bde28 45315static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
45316 PyObject *resultobj;
45317 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
45318 bool result;
45319 PyObject * obj0 = 0 ;
45320 char *kwnames[] = {
45321 (char *) "self", NULL
45322 };
45323
45324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
093d3ff1
RD
45325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
45326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
45327 {
45328 PyThreadState* __tstate = wxPyBeginAllowThreads();
45329 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
45330
45331 wxPyEndAllowThreads(__tstate);
45332 if (PyErr_Occurred()) SWIG_fail;
45333 }
45334 {
45335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45336 }
45337 return resultobj;
45338 fail:
45339 return NULL;
45340}
45341
45342
c32bde28 45343static PyObject * LayoutConstraints_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
45344 PyObject *obj;
45345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
45346 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
45347 Py_INCREF(obj);
45348 return Py_BuildValue((char *)"");
45349}
45350static PyMethodDef SwigMethods[] = {
093d3ff1
RD
45351 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS, NULL},
45352 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS, NULL},
45353 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL},
45354 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
45355 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL},
45356 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
45357 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
45358 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS, NULL},
45359 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS, NULL},
45360 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS, NULL},
45361 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS, NULL},
45362 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45363 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45364 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS, NULL},
45365 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
45366 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL},
45367 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL},
45368 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45369 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45370 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
45371 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45372 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
45373 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS, NULL},
45374 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
45375 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS, NULL},
45376 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS, NULL},
45377 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45378 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45379 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45380 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45381 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45382 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45383 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45384 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45385 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL},
45386 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
45387 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45388 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL},
45389 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS, NULL},
45390 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45391 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45392 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45393 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45394 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS, NULL},
45395 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS, NULL},
45396 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45397 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45398 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS, NULL},
45399 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
45400 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
45401 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
45402 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45403 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS, NULL},
45404 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS, NULL},
45405 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL},
45406 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL},
45407 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL},
45408 { (char *)"new_RectS", (PyCFunction) _wrap_new_RectS, METH_VARARGS | METH_KEYWORDS, NULL},
45409 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL},
45410 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
45411 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
45412 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
45413 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
45414 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45415 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45416 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
45417 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
45418 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45419 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45420 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45421 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
aff4cc5c 45422 { (char *)"Rect_IsEmpty", (PyCFunction) _wrap_Rect_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45423 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
45424 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
45425 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
45426 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
45427 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL},
45428 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL},
45429 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL},
45430 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL},
45431 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL},
45432 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL},
45433 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL},
45434 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL},
45435 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL},
45436 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL},
45437 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL},
45438 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS, NULL},
45439 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL},
45440 { (char *)"Rect_Union", (PyCFunction) _wrap_Rect_Union, METH_VARARGS | METH_KEYWORDS, NULL},
45441 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS, NULL},
45442 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
45443 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45444 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45445 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL},
45446 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL},
45447 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL},
45448 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45449 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45450 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45451 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45452 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
45453 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
45454 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS, NULL},
45455 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS, NULL},
45456 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45457 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS, NULL},
45458 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS, NULL},
45459 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL},
45460 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS, NULL},
45461 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS, NULL},
45462 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45463 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL},
45464 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL},
45465 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL},
45466 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL},
45467 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL},
45468 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL},
45469 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL},
45470 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL},
45471 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL},
45472 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL},
45473 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
45474 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
45475 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
45476 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
45477 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL},
45478 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45479 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45480 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45481 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45482 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45483 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45484 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45485 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS, NULL},
45486 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS, NULL},
45487 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL},
45488 { (char *)"delete_InputStream", (PyCFunction) _wrap_delete_InputStream, METH_VARARGS | METH_KEYWORDS, NULL},
45489 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS, NULL},
45490 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS, NULL},
45491 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS, NULL},
45492 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS, NULL},
45493 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS, NULL},
45494 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS, NULL},
45495 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS, NULL},
45496 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS, NULL},
45497 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS, NULL},
45498 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS, NULL},
45499 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS, NULL},
45500 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS, NULL},
45501 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS, NULL},
45502 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS, NULL},
45503 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS, NULL},
45504 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS, NULL},
45505 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS, NULL},
45506 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL},
45507 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS, NULL},
45508 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS, NULL},
45509 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS, NULL},
45510 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL},
45511 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
45512 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL},
45513 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
45514 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL},
45515 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS, NULL},
45516 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS, NULL},
45517 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45518 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45519 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
45520 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
45521 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
45522 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
45523 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS, NULL},
45524 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS, NULL},
45525 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
45526 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS, NULL},
45527 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS, NULL},
45528 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS, NULL},
45529 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
45530 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
45531 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL},
45532 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45533 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
45534 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
45535 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
45536 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45537 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL},
45538 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL},
45539 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL},
45540 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL},
45541 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45542 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
45543 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
45544 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS, NULL},
45545 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45546 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
45547 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
45548 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
45549 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
45550 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS, NULL},
45551 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS, NULL},
45552 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45553 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS, NULL},
45554 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45555 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL},
45556 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
45557 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
45558 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
45559 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
45560 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS, NULL},
45561 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
45562 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL},
45563 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
45564 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
45565 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL},
45566 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
45567 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL},
45568 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
45569 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
45570 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL},
45571 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL},
45572 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL},
45573 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL},
f1cbd8fa
RD
45574 { (char *)"ImageHistogram_GetCount", (PyCFunction) _wrap_ImageHistogram_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
45575 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction) _wrap_ImageHistogram_GetCountRGB, METH_VARARGS | METH_KEYWORDS, NULL},
45576 { (char *)"ImageHistogram_GetCountColour", (PyCFunction) _wrap_ImageHistogram_GetCountColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45577 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL},
45578 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL},
45579 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL},
45580 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL},
45581 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS, NULL},
45582 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS, NULL},
45583 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS, NULL},
45584 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45585 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS, NULL},
45586 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction) _wrap_new_ImageFromDataWithAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
45587 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45588 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
45589 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS, NULL},
45590 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL},
45591 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS, NULL},
aff4cc5c 45592 { (char *)"Image_Resize", (PyCFunction) _wrap_Image_Resize, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 45593 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL},
aff4cc5c 45594 { (char *)"Image_SetRGBRect", (PyCFunction) _wrap_Image_SetRGBRect, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45595 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS, NULL},
45596 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL},
45597 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL},
45598 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
45599 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
45600 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
68350608 45601 { (char *)"Image_InitAlpha", (PyCFunction) _wrap_Image_InitAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
57133d5c 45602 { (char *)"Image_IsTransparent", (PyCFunction) _wrap_Image_IsTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45603 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL},
45604 { (char *)"Image_ConvertAlphaToMask", (PyCFunction) _wrap_Image_ConvertAlphaToMask, METH_VARARGS | METH_KEYWORDS, NULL},
45605 { (char *)"Image_ConvertColourToAlpha", (PyCFunction) _wrap_Image_ConvertColourToAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
45606 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL},
45607 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS, NULL},
45608 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL},
45609 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
45610 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL},
45611 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
45612 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL},
45613 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL},
45614 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL},
45615 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL},
45616 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
45617 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45618 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
45619 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45620 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL},
aff4cc5c 45621 { (char *)"Image_Size", (PyCFunction) _wrap_Image_Size, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45622 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
45623 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
45624 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
45625 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
45626 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
45627 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
45628 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL},
45629 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL},
45630 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
45631 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
45632 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL},
aff4cc5c 45633 { (char *)"Image_GetOrFindMaskColour", (PyCFunction) _wrap_Image_GetOrFindMaskColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45634 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL},
45635 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL},
45636 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL},
45637 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
45638 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS, NULL},
45639 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS, NULL},
45640 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL},
45641 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL},
45642 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45643 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL},
45644 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
45645 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
45646 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
45647 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
45648 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
45649 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS, NULL},
45650 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL},
45651 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45652 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45653 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45654 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
45655 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45656 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45657 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL},
45658 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45659 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL},
45660 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45661 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS, NULL},
45662 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45663 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS, NULL},
45664 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45665 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS, NULL},
45666 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45667 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS, NULL},
45668 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45669 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS, NULL},
45670 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45671 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS, NULL},
45672 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45673 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS, NULL},
45674 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45675 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS, NULL},
45676 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45677 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS, NULL},
45678 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45679 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS, NULL},
45680 { (char *)"Quantize_Quantize", (PyCFunction) _wrap_Quantize_Quantize, METH_VARARGS | METH_KEYWORDS, NULL},
45681 { (char *)"Quantize_swigregister", Quantize_swigregister, METH_VARARGS, NULL},
45682 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45683 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45684 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45685 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45686 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL},
45687 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45688 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45689 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45690 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45691 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL},
45692 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL},
45693 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL},
45694 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45695 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS, NULL},
45696 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS, NULL},
45697 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS, NULL},
45698 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL},
45699 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL},
45700 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL},
45701 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL},
45702 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
45703 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
45704 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
45705 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
45706 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45707 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS, NULL},
45708 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL},
45709 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL},
45710 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL},
45711 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL},
45712 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
45713 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL},
45714 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
45715 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
45716 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS, NULL},
45717 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL},
45718 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL},
45719 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS, NULL},
45720 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45721 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45722 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45723 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45724 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
45725 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45726 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL},
45727 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL},
45728 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL},
45729 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL},
45730 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
45731 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS, NULL},
45732 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45733 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
45734 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL},
45735 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
45736 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS, NULL},
45737 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45738 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
45739 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45740 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
45741 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45742 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS, NULL},
45743 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45744 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
45745 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45746 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
45747 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45748 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS, NULL},
45749 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45750 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
45751 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
45752 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL},
45753 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
45754 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL},
45755 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
45756 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL},
45757 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
45758 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
45759 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
45760 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
45761 { (char *)"MouseEvent_CmdDown", (PyCFunction) _wrap_MouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL},
45762 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
45763 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
45764 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL},
45765 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL},
45766 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL},
45767 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL},
45768 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL},
45769 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL},
45770 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL},
45771 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
45772 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
45773 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
45774 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL},
45775 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL},
45776 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL},
45777 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL},
45778 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45779 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
45780 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45781 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
45782 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
45783 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL},
45784 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL},
45785 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL},
45786 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL},
45787 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45788 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45789 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45790 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45791 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45792 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45793 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45794 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45795 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45796 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45797 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45798 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45799 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45800 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45801 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45802 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45803 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45804 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45805 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL},
45806 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL},
45807 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL},
45808 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL},
45809 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL},
45810 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL},
45811 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS, NULL},
45812 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45813 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
45814 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
45815 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
45816 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
45817 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL},
45818 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS, NULL},
45819 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45820 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
45821 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
45822 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
45823 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
45824 { (char *)"KeyEvent_CmdDown", (PyCFunction) _wrap_KeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL},
45825 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
45826 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
45827 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS, NULL},
45828 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
45829 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL},
45830 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45831 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
45832 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
45833 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
45834 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
45835 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
45836 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
45837 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
45838 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL},
45839 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL},
45840 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45841 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45842 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45843 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45844 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45845 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45846 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
45847 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
45848 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL},
45849 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL},
45850 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL},
45851 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL},
45852 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL},
45853 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL},
45854 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS, NULL},
45855 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45856 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45857 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
45858 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
45859 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45860 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL},
45861 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL},
45862 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL},
45863 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL},
45864 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS, NULL},
45865 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45866 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45867 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
45868 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
45869 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45870 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS, NULL},
45871 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45872 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS, NULL},
45873 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45874 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS, NULL},
45875 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45876 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
45877 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS, NULL},
45878 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45879 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45880 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45881 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS, NULL},
45882 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45883 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45884 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS, NULL},
45885 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45886 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL},
45887 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS, NULL},
45888 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45889 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS, NULL},
45890 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45891 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL},
45892 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL},
45893 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
45894 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS, NULL},
45895 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45896 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
45897 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
45898 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
5ba5649b 45899 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45900 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
45901 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45902 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL},
45903 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45904 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL},
45905 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL},
45906 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS, NULL},
45907 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45908 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL},
45909 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS, NULL},
45910 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45911 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS, NULL},
45912 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45913 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL},
45914 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL},
45915 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS, NULL},
45916 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45917 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL},
45918 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45919 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
45920 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL},
45921 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL},
45922 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45923 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL},
45924 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
45925 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
45926 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL},
45927 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL},
45928 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL},
45929 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL},
45930 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL},
45931 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL},
45932 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS, NULL},
45933 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45934 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS, NULL},
45935 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45936 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45937 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL},
45938 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45939 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS, NULL},
45940 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45941 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45942 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45943 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS, NULL},
45944 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45945 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL},
45946 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL},
45947 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS, NULL},
45948 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45949 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL},
45950 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL},
45951 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL},
45952 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL},
68350608
RD
45953 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction) _wrap_NavigationKeyEvent_IsFromTab, METH_VARARGS | METH_KEYWORDS, NULL},
45954 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction) _wrap_NavigationKeyEvent_SetFromTab, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45955 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
45956 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL},
45957 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL},
45958 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS, NULL},
45959 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45960 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45961 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS, NULL},
45962 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45963 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45964 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS, NULL},
45965 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45966 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45967 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45968 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS, NULL},
45969 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45970 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL},
45971 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL},
45972 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL},
45973 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL},
45974 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL},
45975 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL},
45976 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45977 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
5ba5649b
RD
45978 { (char *)"PyEvent__SetSelf", (PyCFunction) _wrap_PyEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
45979 { (char *)"PyEvent__GetSelf", (PyCFunction) _wrap_PyEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
45980 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL},
45981 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45982 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
5ba5649b
RD
45983 { (char *)"PyCommandEvent__SetSelf", (PyCFunction) _wrap_PyCommandEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
45984 { (char *)"PyCommandEvent__GetSelf", (PyCFunction) _wrap_PyCommandEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 45985 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL},
53aa7709
RD
45986 { (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45987 { (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
45988 { (char *)"DateEvent_SetDate", (PyCFunction) _wrap_DateEvent_SetDate, METH_VARARGS | METH_KEYWORDS, NULL},
45989 { (char *)"DateEvent_swigregister", DateEvent_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
45990 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS, NULL},
45991 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS, NULL},
45992 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45993 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
45994 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
45995 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL},
45996 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL},
45997 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
45998 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
45999 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL},
46000 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL},
46001 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL},
46002 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL},
46003 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction) _wrap_PyApp_IsMainLoopRunning, METH_VARARGS | METH_KEYWORDS, NULL},
46004 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL},
46005 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL},
46006 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL},
46007 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL},
46008 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL},
46009 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL},
46010 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL},
46011 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
46012 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46013 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46014 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL},
46015 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL},
46016 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL},
46017 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL},
46018 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
46019 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
46020 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL},
46021 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL},
46022 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL},
46023 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46024 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46025 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46026 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL},
46027 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL},
46028 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46029 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46030 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
46031 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL},
46032 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL},
46033 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL},
46034 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL},
46035 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS, NULL},
46036 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS, NULL},
46037 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
46038 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS, NULL},
46039 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL},
46040 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46041 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL},
46042 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL},
46043 { (char *)"SetDefaultPyEncoding", (PyCFunction) _wrap_SetDefaultPyEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
46044 { (char *)"GetDefaultPyEncoding", (PyCFunction) _wrap_GetDefaultPyEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
46045 { (char *)"new_EventLoop", (PyCFunction) _wrap_new_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL},
46046 { (char *)"delete_EventLoop", (PyCFunction) _wrap_delete_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL},
46047 { (char *)"EventLoop_Run", (PyCFunction) _wrap_EventLoop_Run, METH_VARARGS | METH_KEYWORDS, NULL},
46048 { (char *)"EventLoop_Exit", (PyCFunction) _wrap_EventLoop_Exit, METH_VARARGS | METH_KEYWORDS, NULL},
46049 { (char *)"EventLoop_Pending", (PyCFunction) _wrap_EventLoop_Pending, METH_VARARGS | METH_KEYWORDS, NULL},
46050 { (char *)"EventLoop_Dispatch", (PyCFunction) _wrap_EventLoop_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL},
46051 { (char *)"EventLoop_IsRunning", (PyCFunction) _wrap_EventLoop_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
46052 { (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL},
46053 { (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL},
46054 { (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL},
46055 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL},
46056 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL},
46057 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46058 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
46059 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
46060 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
46061 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS, NULL},
46062 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
46063 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
46064 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
46065 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS, NULL},
46066 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL},
46067 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46068 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46069 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS, NULL},
46070 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS, NULL},
46071 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS, NULL},
46072 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS, NULL},
46073 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS, NULL},
46074 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS, NULL},
46075 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL},
46076 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL},
46077 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46078 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46079 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS, NULL},
46080 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
46081 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46082 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
46083 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
46084 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
46085 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46086 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46087 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
46088 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
46089 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL},
46090 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL},
46091 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46092 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
46093 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL},
46094 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL},
46095 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL},
46096 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46097 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL},
46098 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
46099 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
46100 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS, NULL},
46101 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
46102 { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL},
46103 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS, NULL},
46104 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS, NULL},
46105 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
46106 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
46107 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL},
46108 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46109 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46110 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46111 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46112 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
46113 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
46114 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46115 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
46116 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL},
46117 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46118 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46119 { (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46120 { (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL},
46121 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46122 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL},
46123 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
46124 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL},
46125 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS, NULL},
46126 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS, NULL},
46127 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
46128 { (char *)"Window_SetSizeHintsSz", (PyCFunction) _wrap_Window_SetSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL},
46129 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
46130 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction) _wrap_Window_SetVirtualSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL},
46131 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
46132 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46133 { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46134 { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
46135 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46136 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46137 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46138 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46139 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46140 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
46141 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46142 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46143 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46144 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS, NULL},
46145 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
46146 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46147 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS, NULL},
46148 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
46149 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46150 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46151 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46152 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46153 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL},
46154 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46155 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46156 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL},
46157 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46158 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46159 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46160 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL},
46161 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46162 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46163 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
46164 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
46165 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
46166 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
46167 { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL},
46168 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL},
46169 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction) _wrap_Window_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL},
46170 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46171 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
46172 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL},
46173 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL},
46174 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS, NULL},
46175 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
46176 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
46177 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL},
46178 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL},
46179 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46180 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46181 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46182 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46183 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46184 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL},
46185 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL},
46186 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
46187 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46188 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46189 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
46190 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
46191 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
46192 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL},
46193 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL},
46194 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL},
46195 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL},
46196 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL},
46197 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL},
46198 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL},
46199 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL},
46200 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL},
46201 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL},
46202 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL},
46203 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
46204 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL},
46205 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS, NULL},
46206 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL},
46207 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS, NULL},
46208 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL},
46209 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS, NULL},
46210 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS, NULL},
46211 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
46212 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL},
46213 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL},
46214 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL},
46215 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46216 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL},
46217 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46218 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46219 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46220 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction) _wrap_Window_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46221 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46222 { (char *)"Window_SetOwnForegroundColour", (PyCFunction) _wrap_Window_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46223 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46224 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
dcb8fc74
RD
46225 { (char *)"Window_InheritsBackgroundColour", (PyCFunction) _wrap_Window_InheritsBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46226 { (char *)"Window_UseBgCol", (PyCFunction) _wrap_Window_UseBgCol, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46227 { (char *)"Window_SetBackgroundStyle", (PyCFunction) _wrap_Window_SetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46228 { (char *)"Window_GetBackgroundStyle", (PyCFunction) _wrap_Window_GetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL},
51b83b37 46229 { (char *)"Window_HasTransparentBackground", (PyCFunction) _wrap_Window_HasTransparentBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46230 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
46231 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
46232 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46233 { (char *)"Window_SetOwnFont", (PyCFunction) _wrap_Window_SetOwnFont, METH_VARARGS | METH_KEYWORDS, NULL},
46234 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46235 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL},
46236 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL},
46237 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46238 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46239 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
46240 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
46241 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL},
46242 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL},
46243 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL},
46244 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL},
46245 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
46246 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46247 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS, NULL},
46248 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL},
46249 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL},
46250 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46251 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL},
46252 { (char *)"Window_AssociateHandle", (PyCFunction) _wrap_Window_AssociateHandle, METH_VARARGS | METH_KEYWORDS, NULL},
46253 { (char *)"Window_DissociateHandle", (PyCFunction) _wrap_Window_DissociateHandle, METH_VARARGS | METH_KEYWORDS, NULL},
46254 { (char *)"Window_OnPaint", (PyCFunction) _wrap_Window_OnPaint, METH_VARARGS | METH_KEYWORDS, NULL},
46255 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
46256 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
46257 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL},
46258 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL},
46259 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL},
46260 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL},
46261 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46262 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
46263 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
46264 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS, NULL},
46265 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS, NULL},
46266 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
46267 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
46268 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46269 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL},
46270 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46271 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL},
46272 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46273 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46274 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
46275 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
46276 { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS, NULL},
46277 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
46278 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
46279 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
46280 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
46281 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
46282 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46283 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL},
46284 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46285 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46286 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46287 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46288 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
46289 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS, NULL},
46290 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL},
46291 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL},
46292 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46293 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL},
3215336e 46294 { (char *)"GetTopLevelWindows", (PyCFunction) _wrap_GetTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46295 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS, NULL},
46296 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
46297 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
46298 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46299 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46300 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46301 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46302 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL},
46303 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL},
46304 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS, NULL},
46305 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS, NULL},
46306 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46307 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS, NULL},
46308 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS, NULL},
46309 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS, NULL},
46310 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46311 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL},
46312 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL},
46313 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46314 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
46315 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS, NULL},
46316 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46317 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46318 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46319 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL},
46320 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL},
46321 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46322 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
46323 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL},
46324 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46325 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL},
46326 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL},
46327 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46328 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46329 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL},
46330 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
46331 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
46332 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
46333 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL},
46334 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL},
46335 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
46336 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL},
46337 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
46338 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL},
46339 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46340 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46341 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46342 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46343 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46344 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46345 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46346 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
46347 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
46348 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
46349 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
46350 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46351 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46352 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46353 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46354 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46355 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL},
46356 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
46357 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
46358 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
46359 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL},
46360 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
46361 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
46362 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL},
46363 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
46364 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL},
46365 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46366 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL},
46367 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46368 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46369 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46370 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL},
46371 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL},
46372 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL},
46373 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL},
46374 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL},
46375 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL},
46376 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46377 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46378 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46379 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46380 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46381 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46382 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46383 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
46384 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
46385 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
46386 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL},
46387 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
46388 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
46389 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL},
46390 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL},
46391 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46392 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46393 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46394 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
46395 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46396 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
46397 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46398 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
46399 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL},
46400 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
46401 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS, NULL},
46402 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL},
46403 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL},
46404 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46405 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46406 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46407 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46408 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46409 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46410 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46411 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
46412 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46413 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46414 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL},
46415 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL},
46416 { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46417 { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46418 { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46419 { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46420 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46421 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46422 { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS, NULL},
46423 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46424 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46425 { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46426 { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46427 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46428 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
46429 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
46430 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
46431 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46432 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46433 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL},
46434 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL},
46435 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL},
46436 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46437 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL},
46438 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46439 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46440 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46441 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS, NULL},
46442 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL},
46443 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL},
46444 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46445 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
46446 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709
RD
46447 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46448 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46449 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
46450 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
46451 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46452 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
46453 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
46454 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 46455 { (char *)"ItemContainer_SetSelection", (PyCFunction) _wrap_ItemContainer_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 46456 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 46457 { (char *)"ItemContainer_SetStringSelection", (PyCFunction) _wrap_ItemContainer_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 46458 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 46459 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46460 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS, NULL},
46461 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS, NULL},
46462 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL},
46463 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46464 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
46465 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46466 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL},
46467 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46468 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46469 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
46470 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL},
46471 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46472 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46473 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL},
46474 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL},
46475 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL},
46476 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL},
46477 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL},
46478 { (char *)"SizerItem_GetRect", (PyCFunction) _wrap_SizerItem_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
46479 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46480 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46481 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
46482 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46483 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46484 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46485 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46486 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46487 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46488 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46489 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46490 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46491 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46492 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
46493 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
46494 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL},
46495 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
46496 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46497 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL},
46498 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL},
46499 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46500 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL},
46501 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46502 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL},
46503 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46504 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
46505 { (char *)"Sizer_GetItem", (PyCFunction) _wrap_Sizer_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46506 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46507 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL},
46508 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46509 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
46510 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL},
46511 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46512 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46513 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46514 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
46515 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
46516 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
46517 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
46518 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL},
46519 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL},
46520 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
46521 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
46522 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
46523 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL},
46524 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46525 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS, NULL},
46526 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
46527 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL},
46528 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS, NULL},
46529 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS, NULL},
46530 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46531 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS, NULL},
46532 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46533 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
46534 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
46535 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL},
46536 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46537 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
46538 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS, NULL},
46539 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46540 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL},
46541 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
46542 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL},
46543 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL},
46544 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL},
46545 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL},
46546 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL},
46547 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL},
46548 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS, NULL},
46549 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46550 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL},
46551 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL},
46552 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL},
46553 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL},
46554 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL},
46555 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL},
46556 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL},
46557 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL},
46558 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL},
46559 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL},
46560 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS, NULL},
62d32a5f
RD
46561 { (char *)"new_StdDialogButtonSizer", (PyCFunction) _wrap_new_StdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46562 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction) _wrap_StdDialogButtonSizer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 46563 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction) _wrap_StdDialogButtonSizer_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
51b83b37
RD
46564 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetAffirmativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
46565 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetNegativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
46566 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f
RD
46567 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetAffirmativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
46568 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetApplyButton, METH_VARARGS | METH_KEYWORDS, NULL},
46569 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetNegativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
46570 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
46571 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
46572 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
46573 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46574 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL},
46575 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL},
46576 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL},
46577 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL},
46578 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46579 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46580 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46581 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL},
46582 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS, NULL},
46583 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL},
46584 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL},
46585 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL},
46586 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL},
46587 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL},
46588 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46589 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46590 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46591 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL},
46592 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS, NULL},
46593 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL},
46594 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46595 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46596 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
46597 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL},
46598 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL},
46599 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
46600 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL},
46601 { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS, NULL},
46602 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS, NULL},
46603 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL},
46604 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46605 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46606 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS, NULL},
46607 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL},
46608 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL},
46609 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL},
46610 { (char *)"GridBagSizer_GetCellSize", (PyCFunction) _wrap_GridBagSizer_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
46611 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
46612 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
46613 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS, NULL},
46614 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS, NULL},
46615 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS, NULL},
46616 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS, NULL},
46617 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS, NULL},
46618 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46619 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46620 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS, NULL},
46621 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS, NULL},
46622 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS, NULL},
46623 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46624 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL},
46625 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL},
46626 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL},
46627 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL},
46628 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL},
46629 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL},
46630 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL},
46631 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL},
46632 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL},
46633 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46634 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL},
46635 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
46636 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46637 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46638 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46639 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46640 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL},
46641 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL},
46642 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL},
46643 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL},
46644 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL},
46645 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL},
46646 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL},
46647 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL},
46648 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
46649 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS, NULL},
46650 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL},
46651 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL},
46652 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL},
46653 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL},
46654 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
46655 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL},
46656 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL},
46657 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL},
46658 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
46659 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
46660 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL},
46661 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS, NULL},
c32bde28 46662 { NULL, NULL, 0, NULL }
d55e5bfc
RD
46663};
46664
46665
46666/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46667
46668static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
46669 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
46670}
46671static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
46672 return (void *)((wxSizer *) ((wxBoxSizer *) x));
46673}
46674static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
46675 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
46676}
62d32a5f
RD
46677static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
46678 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
46679}
d55e5bfc
RD
46680static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
46681 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
46682}
46683static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
46684 return (void *)((wxSizer *) ((wxGridSizer *) x));
46685}
46686static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
46687 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
46688}
46689static void *_p_wxPySizerTo_p_wxSizer(void *x) {
46690 return (void *)((wxSizer *) ((wxPySizer *) x));
46691}
46692static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
46693 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
46694}
62d32a5f
RD
46695static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x) {
46696 return (void *)((wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
46697}
d55e5bfc
RD
46698static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
46699 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
46700}
46701static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
46702 return (void *)((wxEvent *) ((wxMenuEvent *) x));
46703}
46704static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
46705 return (void *)((wxEvent *) ((wxCloseEvent *) x));
46706}
46707static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
46708 return (void *)((wxEvent *) ((wxMouseEvent *) x));
46709}
46710static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
46711 return (void *)((wxEvent *) ((wxEraseEvent *) x));
46712}
46713static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
46714 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
46715}
46716static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
46717 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
46718}
46719static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
46720 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
46721}
46722static void *_p_wxPyEventTo_p_wxEvent(void *x) {
46723 return (void *)((wxEvent *) ((wxPyEvent *) x));
46724}
46725static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
46726 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
46727}
46728static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
46729 return (void *)((wxEvent *) ((wxIdleEvent *) x));
46730}
46731static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
46732 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
46733}
46734static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
46735 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
46736}
46737static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
46738 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
46739}
46740static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
46741 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
46742}
46743static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
46744 return (void *)((wxEvent *) ((wxActivateEvent *) x));
46745}
46746static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
46747 return (void *)((wxEvent *) ((wxSizeEvent *) x));
46748}
46749static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
46750 return (void *)((wxEvent *) ((wxMoveEvent *) x));
46751}
53aa7709
RD
46752static void *_p_wxDateEventTo_p_wxEvent(void *x) {
46753 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
46754}
d55e5bfc
RD
46755static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
46756 return (void *)((wxEvent *) ((wxPaintEvent *) x));
46757}
46758static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
46759 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
46760}
46761static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
46762 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
46763}
46764static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
46765 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
46766}
46767static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
46768 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
46769}
46770static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
46771 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
46772}
46773static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
46774 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
46775}
46776static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
46777 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
46778}
46779static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
46780 return (void *)((wxEvent *) ((wxFocusEvent *) x));
46781}
46782static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
46783 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
46784}
46785static void *_p_wxShowEventTo_p_wxEvent(void *x) {
46786 return (void *)((wxEvent *) ((wxShowEvent *) x));
46787}
46788static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
46789 return (void *)((wxEvent *) ((wxCommandEvent *) x));
46790}
46791static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
46792 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
46793}
46794static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
46795 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46796}
46797static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
46798 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
46799}
46800static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
46801 return (void *)((wxEvent *) ((wxKeyEvent *) x));
46802}
46803static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
46804 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
46805}
46806static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
46807 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
46808}
46809static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
46810 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
46811}
46812static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
46813 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
46814}
46815static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
46816 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
46817}
46818static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
46819 return (void *)((wxControl *) ((wxControlWithItems *) x));
46820}
46821static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
46822 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
46823}
46824static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
46825 return (void *)((wxEvtHandler *) ((wxWindow *) x));
46826}
46827static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
46828 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
46829}
46830static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
46831 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
46832}
46833static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
46834 return (void *)((wxEvtHandler *) ((wxValidator *) x));
46835}
46836static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
46837 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
46838}
46839static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
46840 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
46841}
46842static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
46843 return (void *)((wxEvtHandler *) ((wxMenu *) x));
46844}
46845static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
46846 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
46847}
46848static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
46849 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
46850}
46851static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
46852 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
46853}
46854static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
46855 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
46856}
46857static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
46858 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
46859}
46860static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
46861 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
46862}
46863static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
46864 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
46865}
46866static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
46867 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
46868}
46869static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
46870 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
46871}
46872static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
46873 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
46874}
46875static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
46876 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
46877}
46878static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
46879 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
46880}
46881static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
46882 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
46883}
46884static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
46885 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
46886}
46887static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
46888 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
46889}
46890static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
46891 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
46892}
46893static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
46894 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
46895}
46896static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
46897 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
46898}
46899static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
46900 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
46901}
46902static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
46903 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
46904}
46905static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
46906 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
46907}
62d32a5f
RD
46908static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
46909 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
d55e5bfc 46910}
62d32a5f
RD
46911static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
46912 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
d55e5bfc 46913}
62d32a5f
RD
46914static void *_p_wxSizerItemTo_p_wxObject(void *x) {
46915 return (void *)((wxObject *) ((wxSizerItem *) x));
d55e5bfc 46916}
62d32a5f
RD
46917static void *_p_wxScrollEventTo_p_wxObject(void *x) {
46918 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
d55e5bfc 46919}
62d32a5f
RD
46920static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
46921 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
d55e5bfc 46922}
62d32a5f
RD
46923static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
46924 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
d55e5bfc 46925}
62d32a5f
RD
46926static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
46927 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
d55e5bfc
RD
46928}
46929static void *_p_wxSizerTo_p_wxObject(void *x) {
46930 return (void *)((wxObject *) ((wxSizer *) x));
46931}
62d32a5f
RD
46932static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
46933 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
d55e5bfc 46934}
62d32a5f
RD
46935static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
46936 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
d55e5bfc 46937}
62d32a5f
RD
46938static void *_p_wxEventTo_p_wxObject(void *x) {
46939 return (void *)((wxObject *) ((wxEvent *) x));
46940}
46941static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
46942 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
46943}
46944static void *_p_wxGridSizerTo_p_wxObject(void *x) {
46945 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
d55e5bfc
RD
46946}
46947static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
46948 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
46949}
62d32a5f
RD
46950static void *_p_wxPaintEventTo_p_wxObject(void *x) {
46951 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
d55e5bfc 46952}
62d32a5f
RD
46953static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
46954 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
d55e5bfc 46955}
62d32a5f
RD
46956static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
46957 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
d55e5bfc 46958}
62d32a5f
RD
46959static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
46960 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
d55e5bfc 46961}
62d32a5f
RD
46962static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
46963 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
46964}
46965static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
46966 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
d55e5bfc
RD
46967}
46968static void *_p_wxControlTo_p_wxObject(void *x) {
46969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
46970}
62d32a5f
RD
46971static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
46972 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
d55e5bfc 46973}
62d32a5f
RD
46974static void *_p_wxFSFileTo_p_wxObject(void *x) {
46975 return (void *)((wxObject *) ((wxFSFile *) x));
d55e5bfc 46976}
62d32a5f
RD
46977static void *_p_wxPySizerTo_p_wxObject(void *x) {
46978 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
d55e5bfc 46979}
62d32a5f
RD
46980static void *_p_wxPyEventTo_p_wxObject(void *x) {
46981 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
d55e5bfc 46982}
62d32a5f
RD
46983static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
46984 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
d55e5bfc 46985}
62d32a5f
RD
46986static void *_p_wxShowEventTo_p_wxObject(void *x) {
46987 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
d55e5bfc 46988}
62d32a5f
RD
46989static void *_p_wxMenuItemTo_p_wxObject(void *x) {
46990 return (void *)((wxObject *) ((wxMenuItem *) x));
d55e5bfc 46991}
53aa7709
RD
46992static void *_p_wxDateEventTo_p_wxObject(void *x) {
46993 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
46994}
62d32a5f
RD
46995static void *_p_wxIdleEventTo_p_wxObject(void *x) {
46996 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
d55e5bfc 46997}
62d32a5f
RD
46998static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
46999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
47000}
47001static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
47002 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
d55e5bfc
RD
47003}
47004static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
47005 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
47006}
62d32a5f
RD
47007static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
47008 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
d55e5bfc 47009}
62d32a5f
RD
47010static void *_p_wxSizeEventTo_p_wxObject(void *x) {
47011 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
d55e5bfc 47012}
62d32a5f
RD
47013static void *_p_wxMoveEventTo_p_wxObject(void *x) {
47014 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
d55e5bfc 47015}
62d32a5f
RD
47016static void *_p_wxActivateEventTo_p_wxObject(void *x) {
47017 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
d55e5bfc 47018}
62d32a5f
RD
47019static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
47020 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
d55e5bfc 47021}
62d32a5f
RD
47022static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
47023 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
d55e5bfc 47024}
62d32a5f
RD
47025static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
47026 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
d55e5bfc 47027}
62d32a5f
RD
47028static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
47029 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
d55e5bfc 47030}
62d32a5f
RD
47031static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
47032 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
d55e5bfc 47033}
62d32a5f
RD
47034static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
47035 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
d55e5bfc
RD
47036}
47037static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
47038 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
47039}
62d32a5f
RD
47040static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
47041 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
d55e5bfc 47042}
62d32a5f
RD
47043static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
47044 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
d55e5bfc 47045}
62d32a5f
RD
47046static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
47047 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
d55e5bfc 47048}
62d32a5f
RD
47049static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
47050 return (void *)((wxObject *) ((wxImageHandler *) x));
d55e5bfc 47051}
62d32a5f
RD
47052static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
47053 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
d55e5bfc 47054}
62d32a5f
RD
47055static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
47056 return (void *)((wxObject *) ((wxEvtHandler *) x));
d55e5bfc 47057}
62d32a5f
RD
47058static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
47059 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
d55e5bfc 47060}
62d32a5f
RD
47061static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
47062 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
d55e5bfc 47063}
62d32a5f
RD
47064static void *_p_wxImageTo_p_wxObject(void *x) {
47065 return (void *)((wxObject *) ((wxImage *) x));
d55e5bfc 47066}
62d32a5f
RD
47067static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
47068 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
d55e5bfc 47069}
62d32a5f
RD
47070static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
47071 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
d55e5bfc 47072}
62d32a5f
RD
47073static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
47074 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
d55e5bfc 47075}
62d32a5f
RD
47076static void *_p_wxKeyEventTo_p_wxObject(void *x) {
47077 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
d55e5bfc 47078}
62d32a5f
RD
47079static void *_p_wxWindowTo_p_wxObject(void *x) {
47080 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
d55e5bfc 47081}
62d32a5f
RD
47082static void *_p_wxMenuTo_p_wxObject(void *x) {
47083 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
d55e5bfc 47084}
62d32a5f
RD
47085static void *_p_wxMenuBarTo_p_wxObject(void *x) {
47086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
d55e5bfc 47087}
62d32a5f
RD
47088static void *_p_wxFileSystemTo_p_wxObject(void *x) {
47089 return (void *)((wxObject *) ((wxFileSystem *) x));
d55e5bfc 47090}
62d32a5f
RD
47091static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
47092 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
d55e5bfc 47093}
62d32a5f
RD
47094static void *_p_wxMenuEventTo_p_wxObject(void *x) {
47095 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
d55e5bfc 47096}
62d32a5f
RD
47097static void *_p_wxPyAppTo_p_wxObject(void *x) {
47098 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
d55e5bfc 47099}
62d32a5f
RD
47100static void *_p_wxCloseEventTo_p_wxObject(void *x) {
47101 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
d55e5bfc 47102}
62d32a5f
RD
47103static void *_p_wxMouseEventTo_p_wxObject(void *x) {
47104 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
d55e5bfc 47105}
62d32a5f
RD
47106static void *_p_wxEraseEventTo_p_wxObject(void *x) {
47107 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
d55e5bfc
RD
47108}
47109static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
47110 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
47111}
62d32a5f
RD
47112static void *_p_wxCommandEventTo_p_wxObject(void *x) {
47113 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
d55e5bfc 47114}
62d32a5f
RD
47115static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
47116 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
d55e5bfc 47117}
62d32a5f
RD
47118static void *_p_wxFocusEventTo_p_wxObject(void *x) {
47119 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
d55e5bfc 47120}
62d32a5f
RD
47121static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
47122 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
d55e5bfc 47123}
62d32a5f
RD
47124static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
47125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d55e5bfc 47126}
62d32a5f
RD
47127static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
47128 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
d55e5bfc 47129}
62d32a5f
RD
47130static void *_p_wxValidatorTo_p_wxObject(void *x) {
47131 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
d55e5bfc
RD
47132}
47133static void *_p_wxControlTo_p_wxWindow(void *x) {
47134 return (void *)((wxWindow *) ((wxControl *) x));
47135}
47136static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
47137 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
47138}
47139static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
47140 return (void *)((wxWindow *) ((wxMenuBar *) x));
47141}
47142static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
47143 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
47144}
47145static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
47146 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
47147}
47148static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
47149 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
47150}
53aa7709
RD
47151static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
47152 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
47153}
d55e5bfc
RD
47154static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
47155 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
47156}
47157static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
47158 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47159}
47160static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
47161 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
47162}
47163static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
47164 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
47165}
47166static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
47167 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
47168}
47169static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
47170 return (void *)((wxValidator *) ((wxPyValidator *) x));
47171}
47172static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47173static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47174static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47175static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47176static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
ae8162c8 47177static swig_type_info _swigt__p_wxEventLoop[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 47178static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
62d32a5f
RD
47179static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47180static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
47181static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47182static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47183static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47184static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 47185static 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_wxInitDialogEvent", _p_wxInitDialogEventTo_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_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_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_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_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_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},{0, 0, 0, 0, 0, 0, 0}};
ea939623 47186static swig_type_info _swigt__p_buffer[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 47187static 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}};
d55e5bfc
RD
47188static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47189static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47190static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47191static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47192static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47193static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47194static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47195static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47196static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47197static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47198static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47199static 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}};
47200static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47201static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47202static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47203static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
47204static 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}};
47205static 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}};
d55e5bfc
RD
47206static 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}};
47207static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47208static 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}};
47209static 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}};
47210static 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}};
47211static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47212static 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}};
47213static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47214static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47215static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 47216static 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}};
d55e5bfc
RD
47217static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47218static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47219static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47220static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
47221static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47222static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
47223static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47224static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c0de73ae 47225static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
47226static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47227static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47228static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 47229static swig_type_info _swigt__p_wxDateEvent[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
47230static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47231static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47232static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 47233static 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}};
d55e5bfc
RD
47234static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47235static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47236static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47237static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47238static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47239static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47240static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47241static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47242static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
47243static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47244static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47245static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
47246static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_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_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47247static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47248static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47249static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47250static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47251static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 47252static 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}};
62d32a5f 47253static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
47254static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47255static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47256static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
62d32a5f 47257static 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}};
d55e5bfc
RD
47258static 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}};
47259static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47260static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47261static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47262static 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}};
093d3ff1 47263static 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}};
d55e5bfc 47264static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
47265static 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}};
47266static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 47267static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_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_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_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_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_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_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_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_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_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_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_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_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_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_wxPyApp", _p_wxPyAppTo_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_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_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_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 47268static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
47269static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47270static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
47271static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47272static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47273static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47274static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 47275static 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}};
d55e5bfc
RD
47276static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47277static 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}};
47278static 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}};
47279static 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}};
093d3ff1
RD
47280static 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}};
47281static 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}};
d55e5bfc
RD
47282static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47283static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
7a27cf7c 47284static 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}};
d55e5bfc
RD
47285static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47286static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 47287static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 47288static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 47289static 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_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_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},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
47290static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47291static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c0de73ae 47292static swig_type_info _swigt__p_wxQuantize[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 47293static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
ea939623 47294static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
47295static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47296static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47297static 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}};
47298static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47299static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47300
47301static swig_type_info *swig_types_initial[] = {
47302_swigt__p_wxLayoutConstraints,
47303_swigt__p_wxRealPoint,
47304_swigt__p_wxSizerItem,
47305_swigt__p_wxGBSizerItem,
47306_swigt__p_wxScrollEvent,
ae8162c8 47307_swigt__p_wxEventLoop,
d55e5bfc
RD
47308_swigt__p_wxIndividualLayoutConstraint,
47309_swigt__p_wxSizer,
47310_swigt__p_wxBoxSizer,
47311_swigt__p_wxStaticBoxSizer,
47312_swigt__p_wxGridBagSizer,
47313_swigt__p_wxAcceleratorEntry,
47314_swigt__p_wxUpdateUIEvent,
d55e5bfc 47315_swigt__p_wxEvent,
ea939623 47316_swigt__p_buffer,
093d3ff1 47317_swigt__p_wxMenu,
d55e5bfc
RD
47318_swigt__p_wxGridSizer,
47319_swigt__p_wxFlexGridSizer,
47320_swigt__p_wxInitDialogEvent,
47321_swigt__p_wxItemContainer,
47322_swigt__p_wxNcPaintEvent,
47323_swigt__p_wxPaintEvent,
47324_swigt__p_wxSysColourChangedEvent,
47325_swigt__p_wxMouseCaptureChangedEvent,
47326_swigt__p_wxDisplayChangedEvent,
47327_swigt__p_wxPaletteChangedEvent,
47328_swigt__p_wxControl,
47329_swigt__p_wxFont,
47330_swigt__p_wxMenuBarBase,
47331_swigt__p_wxSetCursorEvent,
47332_swigt__p_wxFSFile,
47333_swigt__p_wxCaret,
093d3ff1
RD
47334_swigt__ptrdiff_t,
47335_swigt__std__ptrdiff_t,
d55e5bfc
RD
47336_swigt__p_wxRegion,
47337_swigt__p_wxPoint2D,
47338_swigt__p_int,
47339_swigt__p_wxSize,
47340_swigt__p_wxDC,
47341_swigt__p_wxPySizer,
47342_swigt__p_wxVisualAttributes,
47343_swigt__p_wxNotifyEvent,
47344_swigt__p_wxPyEvent,
47345_swigt__p_wxPropagationDisabler,
093d3ff1 47346_swigt__p_form_ops_t,
d55e5bfc
RD
47347_swigt__p_wxAppTraits,
47348_swigt__p_wxArrayString,
47349_swigt__p_wxShowEvent,
47350_swigt__p_wxToolTip,
d55e5bfc
RD
47351_swigt__p_wxMoveEvent,
47352_swigt__p_wxSizeEvent,
093d3ff1
RD
47353_swigt__p_wxActivateEvent,
47354_swigt__p_wxIconizeEvent,
c0de73ae 47355_swigt__p_wxMaximizeEvent,
d55e5bfc
RD
47356_swigt__p_wxQueryNewPaletteEvent,
47357_swigt__p_wxWindowCreateEvent,
47358_swigt__p_wxIdleEvent,
53aa7709 47359_swigt__p_wxDateEvent,
d55e5bfc
RD
47360_swigt__p_wxMenuItem,
47361_swigt__p_wxStaticBox,
47362_swigt__p_long,
093d3ff1 47363_swigt__p_wxDuplexMode,
d55e5bfc
RD
47364_swigt__p_wxTIFFHandler,
47365_swigt__p_wxXPMHandler,
47366_swigt__p_wxPNMHandler,
47367_swigt__p_wxJPEGHandler,
47368_swigt__p_wxPCXHandler,
47369_swigt__p_wxGIFHandler,
47370_swigt__p_wxPNGHandler,
47371_swigt__p_wxANIHandler,
47372_swigt__p_wxMemoryFSHandler,
093d3ff1
RD
47373_swigt__p_wxZipFSHandler,
47374_swigt__p_wxInternetFSHandler,
47375_swigt__p_wxPyFileSystemHandler,
d55e5bfc
RD
47376_swigt__p_wxEvtHandler,
47377_swigt__p_wxCURHandler,
47378_swigt__p_wxICOHandler,
47379_swigt__p_wxBMPHandler,
47380_swigt__p_wxImageHandler,
47381_swigt__p_wxFileSystemHandler,
d55e5bfc 47382_swigt__p_wxRect,
62d32a5f 47383_swigt__p_wxButton,
d55e5bfc
RD
47384_swigt__p_wxGBSpan,
47385_swigt__p_wxPropagateOnce,
47386_swigt__p_wxAcceleratorTable,
62d32a5f 47387_swigt__p_wxStdDialogButtonSizer,
d55e5bfc
RD
47388_swigt__p_char,
47389_swigt__p_wxGBPosition,
47390_swigt__p_wxImage,
47391_swigt__p_wxFrame,
47392_swigt__p_wxScrollWinEvent,
093d3ff1 47393_swigt__p_wxPaperSize,
d55e5bfc 47394_swigt__p_wxImageHistogram,
d55e5bfc
RD
47395_swigt__p_wxPoint,
47396_swigt__p_wxCursor,
47397_swigt__p_wxObject,
d55e5bfc 47398_swigt__p_wxInputStream,
093d3ff1
RD
47399_swigt__p_wxOutputStream,
47400_swigt__p_wxPyInputStream,
d55e5bfc
RD
47401_swigt__p_wxDateTime,
47402_swigt__p_wxKeyEvent,
47403_swigt__p_wxNavigationKeyEvent,
47404_swigt__p_wxWindowDestroyEvent,
093d3ff1 47405_swigt__p_unsigned_long,
d55e5bfc
RD
47406_swigt__p_wxWindow,
47407_swigt__p_wxMenuBar,
47408_swigt__p_wxFileSystem,
47409_swigt__p_wxBitmap,
093d3ff1
RD
47410_swigt__unsigned_int,
47411_swigt__p_unsigned_int,
d55e5bfc
RD
47412_swigt__p_wxMenuEvent,
47413_swigt__p_wxContextMenuEvent,
47414_swigt__p_unsigned_char,
d55e5bfc
RD
47415_swigt__p_wxEraseEvent,
47416_swigt__p_wxMouseEvent,
093d3ff1 47417_swigt__p_wxCloseEvent,
d55e5bfc
RD
47418_swigt__p_wxPyApp,
47419_swigt__p_wxCommandEvent,
47420_swigt__p_wxPyCommandEvent,
47421_swigt__p_wxPyDropTarget,
c0de73ae 47422_swigt__p_wxQuantize,
d55e5bfc 47423_swigt__p_wxFocusEvent,
ea939623 47424_swigt__p_wxChildFocusEvent,
d55e5bfc
RD
47425_swigt__p_wxDropFilesEvent,
47426_swigt__p_wxControlWithItems,
47427_swigt__p_wxColour,
47428_swigt__p_wxValidator,
47429_swigt__p_wxPyValidator,
474300
47431};
47432
47433
47434/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47435
47436static swig_const_info swig_const_table[] = {
c32bde28 47437{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
47438
47439#ifdef __cplusplus
47440}
47441#endif
47442
093d3ff1
RD
47443
47444#ifdef __cplusplus
47445extern "C" {
47446#endif
47447
47448 /* Python-specific SWIG API */
47449#define SWIG_newvarlink() SWIG_Python_newvarlink()
47450#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47451#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47452
47453 /* -----------------------------------------------------------------------------
47454 * global variable support code.
47455 * ----------------------------------------------------------------------------- */
47456
47457 typedef struct swig_globalvar {
47458 char *name; /* Name of global variable */
47459 PyObject *(*get_attr)(); /* Return the current value */
47460 int (*set_attr)(PyObject *); /* Set the value */
47461 struct swig_globalvar *next;
47462 } swig_globalvar;
47463
47464 typedef struct swig_varlinkobject {
47465 PyObject_HEAD
47466 swig_globalvar *vars;
47467 } swig_varlinkobject;
47468
47469 static PyObject *
47470 swig_varlink_repr(swig_varlinkobject *v) {
47471 v = v;
47472 return PyString_FromString("<Swig global variables>");
47473 }
47474
47475 static int
47476 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
47477 swig_globalvar *var;
47478 flags = flags;
47479 fprintf(fp,"Swig global variables { ");
47480 for (var = v->vars; var; var=var->next) {
47481 fprintf(fp,"%s", var->name);
47482 if (var->next) fprintf(fp,", ");
47483 }
47484 fprintf(fp," }\n");
47485 return 0;
47486 }
47487
47488 static PyObject *
47489 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
47490 swig_globalvar *var = v->vars;
47491 while (var) {
47492 if (strcmp(var->name,n) == 0) {
47493 return (*var->get_attr)();
47494 }
47495 var = var->next;
47496 }
47497 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
47498 return NULL;
47499 }
47500
47501 static int
47502 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
47503 swig_globalvar *var = v->vars;
47504 while (var) {
47505 if (strcmp(var->name,n) == 0) {
47506 return (*var->set_attr)(p);
47507 }
47508 var = var->next;
47509 }
47510 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
47511 return 1;
47512 }
47513
47514 static PyTypeObject varlinktype = {
47515 PyObject_HEAD_INIT(0)
47516 0, /* Number of items in variable part (ob_size) */
47517 (char *)"swigvarlink", /* Type name (tp_name) */
47518 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
47519 0, /* Itemsize (tp_itemsize) */
47520 0, /* Deallocator (tp_dealloc) */
47521 (printfunc) swig_varlink_print, /* Print (tp_print) */
47522 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
47523 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
47524 0, /* tp_compare */
47525 (reprfunc) swig_varlink_repr, /* tp_repr */
47526 0, /* tp_as_number */
47527 0, /* tp_as_sequence */
47528 0, /* tp_as_mapping */
47529 0, /* tp_hash */
47530 0, /* tp_call */
47531 0, /* tp_str */
47532 0, /* tp_getattro */
47533 0, /* tp_setattro */
47534 0, /* tp_as_buffer */
47535 0, /* tp_flags */
47536 0, /* tp_doc */
47537#if PY_VERSION_HEX >= 0x02000000
47538 0, /* tp_traverse */
47539 0, /* tp_clear */
47540#endif
47541#if PY_VERSION_HEX >= 0x02010000
47542 0, /* tp_richcompare */
47543 0, /* tp_weaklistoffset */
47544#endif
47545#if PY_VERSION_HEX >= 0x02020000
47546 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47547#endif
47548#if PY_VERSION_HEX >= 0x02030000
47549 0, /* tp_del */
47550#endif
47551#ifdef COUNT_ALLOCS
47552 0,0,0,0 /* tp_alloc -> tp_next */
47553#endif
47554 };
47555
47556 /* Create a variable linking object for use later */
47557 static PyObject *
47558 SWIG_Python_newvarlink(void) {
47559 swig_varlinkobject *result = 0;
47560 result = PyMem_NEW(swig_varlinkobject,1);
47561 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
47562 result->ob_type = &varlinktype;
47563 result->vars = 0;
47564 result->ob_refcnt = 0;
47565 Py_XINCREF((PyObject *) result);
47566 return ((PyObject*) result);
47567 }
47568
47569 static void
47570 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
47571 swig_varlinkobject *v;
47572 swig_globalvar *gv;
47573 v= (swig_varlinkobject *) p;
47574 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
47575 gv->name = (char *) malloc(strlen(name)+1);
47576 strcpy(gv->name,name);
47577 gv->get_attr = get_attr;
47578 gv->set_attr = set_attr;
47579 gv->next = v->vars;
47580 v->vars = gv;
47581 }
47582
47583 /* -----------------------------------------------------------------------------
47584 * constants/methods manipulation
47585 * ----------------------------------------------------------------------------- */
47586
47587 /* Install Constants */
47588 static void
47589 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
47590 PyObject *obj = 0;
47591 size_t i;
47592 for (i = 0; constants[i].type; i++) {
47593 switch(constants[i].type) {
47594 case SWIG_PY_INT:
47595 obj = PyInt_FromLong(constants[i].lvalue);
47596 break;
47597 case SWIG_PY_FLOAT:
47598 obj = PyFloat_FromDouble(constants[i].dvalue);
47599 break;
47600 case SWIG_PY_STRING:
47601 if (constants[i].pvalue) {
47602 obj = PyString_FromString((char *) constants[i].pvalue);
47603 } else {
47604 Py_INCREF(Py_None);
47605 obj = Py_None;
47606 }
47607 break;
47608 case SWIG_PY_POINTER:
47609 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
47610 break;
47611 case SWIG_PY_BINARY:
47612 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
47613 break;
47614 default:
47615 obj = 0;
47616 break;
47617 }
47618 if (obj) {
47619 PyDict_SetItemString(d,constants[i].name,obj);
47620 Py_DECREF(obj);
47621 }
47622 }
47623 }
47624
47625 /* -----------------------------------------------------------------------------*/
47626 /* Fix SwigMethods to carry the callback ptrs when needed */
47627 /* -----------------------------------------------------------------------------*/
47628
47629 static void
47630 SWIG_Python_FixMethods(PyMethodDef *methods,
47631 swig_const_info *const_table,
47632 swig_type_info **types,
47633 swig_type_info **types_initial) {
47634 size_t i;
47635 for (i = 0; methods[i].ml_name; ++i) {
47636 char *c = methods[i].ml_doc;
47637 if (c && (c = strstr(c, "swig_ptr: "))) {
47638 int j;
47639 swig_const_info *ci = 0;
47640 char *name = c + 10;
47641 for (j = 0; const_table[j].type; j++) {
47642 if (strncmp(const_table[j].name, name,
47643 strlen(const_table[j].name)) == 0) {
47644 ci = &(const_table[j]);
47645 break;
47646 }
47647 }
47648 if (ci) {
47649 size_t shift = (ci->ptype) - types;
47650 swig_type_info *ty = types_initial[shift];
47651 size_t ldoc = (c - methods[i].ml_doc);
47652 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
47653 char *ndoc = (char*)malloc(ldoc + lptr + 10);
47654 char *buff = ndoc;
47655 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
47656 strncpy(buff, methods[i].ml_doc, ldoc);
47657 buff += ldoc;
47658 strncpy(buff, "swig_ptr: ", 10);
47659 buff += 10;
47660 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
47661 methods[i].ml_doc = ndoc;
47662 }
47663 }
47664 }
47665 }
47666
47667 /* -----------------------------------------------------------------------------*
47668 * Initialize type list
47669 * -----------------------------------------------------------------------------*/
47670
47671#if PY_MAJOR_VERSION < 2
47672 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47673 is copied out of Python/modsupport.c in python version 2.3.4 */
47674 static int
47675 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
47676 {
47677 PyObject *dict;
47678 if (!PyModule_Check(m)) {
47679 PyErr_SetString(PyExc_TypeError,
47680 "PyModule_AddObject() needs module as first arg");
47681 return -1;
47682 }
47683 if (!o) {
47684 PyErr_SetString(PyExc_TypeError,
47685 "PyModule_AddObject() needs non-NULL value");
47686 return -1;
47687 }
47688
47689 dict = PyModule_GetDict(m);
47690 if (dict == NULL) {
47691 /* Internal error -- modules must have a dict! */
47692 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
47693 PyModule_GetName(m));
47694 return -1;
47695 }
47696 if (PyDict_SetItemString(dict, name, o))
47697 return -1;
47698 Py_DECREF(o);
47699 return 0;
47700 }
47701#endif
47702
47703 static swig_type_info **
47704 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
47705 static PyMethodDef swig_empty_runtime_method_table[] = {
47706 {
47707 NULL, NULL, 0, NULL
47708 }
47709 };/* Sentinel */
47710
47711 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
47712 swig_empty_runtime_method_table);
47713 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
47714 if (pointer && module) {
47715 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
47716 }
47717 return type_list_handle;
47718 }
47719
47720 static swig_type_info **
47721 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
47722 swig_type_info **type_pointer;
47723
47724 /* first check if module already created */
47725 type_pointer = SWIG_Python_GetTypeListHandle();
47726 if (type_pointer) {
47727 return type_pointer;
47728 } else {
47729 /* create a new module and variable */
47730 return SWIG_Python_SetTypeListHandle(type_list_handle);
47731 }
47732 }
47733
47734#ifdef __cplusplus
47735}
47736#endif
47737
47738/* -----------------------------------------------------------------------------*
47739 * Partial Init method
47740 * -----------------------------------------------------------------------------*/
47741
47742#ifdef SWIG_LINK_RUNTIME
47743#ifdef __cplusplus
47744extern "C"
47745#endif
47746SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47747#endif
47748
d55e5bfc
RD
47749#ifdef __cplusplus
47750extern "C"
47751#endif
47752SWIGEXPORT(void) SWIG_init(void) {
47753 static PyObject *SWIG_globals = 0;
47754 static int typeinit = 0;
47755 PyObject *m, *d;
47756 int i;
47757 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
47758
47759 /* Fix SwigMethods to carry the callback ptrs when needed */
47760 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
47761
d55e5bfc
RD
47762 m = Py_InitModule((char *) SWIG_name, SwigMethods);
47763 d = PyModule_GetDict(m);
47764
47765 if (!typeinit) {
093d3ff1
RD
47766#ifdef SWIG_LINK_RUNTIME
47767 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
47768#else
47769# ifndef SWIG_STATIC_RUNTIME
47770 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
47771# endif
47772#endif
d55e5bfc
RD
47773 for (i = 0; swig_types_initial[i]; i++) {
47774 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
47775 }
47776 typeinit = 1;
47777 }
47778 SWIG_InstallConstants(d,swig_const_table);
47779
47780
47781#ifndef wxPyUSE_EXPORT
47782 // Make our API structure a CObject so other modules can import it
47783 // from this module.
47784 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
47785 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
47786 Py_XDECREF(cobj);
47787#endif
47788
093d3ff1
RD
47789 {
47790 PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND)));
47791 }
47792 {
47793 PyDict_SetItemString(d,"VSCROLL", SWIG_From_int((int)(wxVSCROLL)));
47794 }
47795 {
47796 PyDict_SetItemString(d,"HSCROLL", SWIG_From_int((int)(wxHSCROLL)));
47797 }
47798 {
47799 PyDict_SetItemString(d,"CAPTION", SWIG_From_int((int)(wxCAPTION)));
47800 }
47801 {
47802 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER)));
47803 }
47804 {
47805 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER)));
47806 }
47807 {
47808 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER)));
47809 }
47810 {
47811 PyDict_SetItemString(d,"BORDER", SWIG_From_int((int)(wxBORDER)));
47812 }
47813 {
47814 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER)));
47815 }
47816 {
47817 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER)));
47818 }
47819 {
47820 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW)));
47821 }
47822 {
47823 PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER)));
47824 }
57133d5c
RD
47825 {
47826 PyDict_SetItemString(d,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER)));
47827 }
6d88e192
RD
47828 {
47829 PyDict_SetItemString(d,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE)));
47830 }
093d3ff1
RD
47831 {
47832 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL)));
47833 }
47834 {
47835 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS)));
47836 }
47837 {
47838 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW)));
47839 }
47840 {
47841 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME)));
47842 }
47843 {
47844 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN)));
47845 }
47846 {
47847 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN)));
47848 }
093d3ff1
RD
47849 {
47850 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN)));
47851 }
47852 {
47853 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS)));
47854 }
47855 {
47856 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB)));
47857 }
47858 {
47859 PyDict_SetItemString(d,"RETAINED", SWIG_From_int((int)(wxRETAINED)));
47860 }
47861 {
47862 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE)));
47863 }
47864 {
47865 PyDict_SetItemString(d,"COLOURED", SWIG_From_int((int)(wxCOLOURED)));
47866 }
47867 {
47868 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH)));
47869 }
47870 {
47871 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB)));
47872 }
47873 {
47874 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB)));
47875 }
47876 {
47877 PyDict_SetItemString(d,"LB_SORT", SWIG_From_int((int)(wxLB_SORT)));
47878 }
47879 {
47880 PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE)));
47881 }
47882 {
47883 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE)));
47884 }
47885 {
47886 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED)));
47887 }
47888 {
47889 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW)));
47890 }
47891 {
47892 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL)));
47893 }
47894 {
47895 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER)));
47896 }
47897 {
47898 PyDict_SetItemString(d,"PASSWORD", SWIG_From_int((int)(wxPASSWORD)));
47899 }
47900 {
47901 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE)));
47902 }
47903 {
47904 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN)));
47905 }
47906 {
47907 PyDict_SetItemString(d,"CB_SORT", SWIG_From_int((int)(wxCB_SORT)));
47908 }
47909 {
47910 PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY)));
47911 }
47912 {
47913 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL)));
47914 }
47915 {
47916 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL)));
47917 }
47918 {
47919 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS)));
47920 }
47921 {
47922 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS)));
47923 }
47924 {
fef4c27a 47925 PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX)));
093d3ff1
RD
47926 }
47927 {
fef4c27a 47928 PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP)));
093d3ff1
RD
47929 }
47930 {
fef4c27a 47931 PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE)));
093d3ff1
RD
47932 }
47933 {
47934 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL)));
47935 }
47936 {
47937 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL)));
47938 }
fef4c27a
RD
47939 {
47940 PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX)));
47941 }
093d3ff1
RD
47942 {
47943 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP)));
47944 }
47945 {
47946 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE)));
47947 }
47948 {
47949 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE)));
47950 }
47951 {
47952 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER)));
47953 }
47954 {
47955 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE)));
47956 }
47957 {
47958 PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE)));
47959 }
47960 {
47961 PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP)));
47962 }
47963 {
47964 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM)));
47965 }
47966 {
47967 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT)));
47968 }
47969 {
47970 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT)));
47971 }
47972 {
47973 PyDict_SetItemString(d,"OK", SWIG_From_int((int)(wxOK)));
47974 }
47975 {
47976 PyDict_SetItemString(d,"YES_NO", SWIG_From_int((int)(wxYES_NO)));
47977 }
47978 {
47979 PyDict_SetItemString(d,"CANCEL", SWIG_From_int((int)(wxCANCEL)));
47980 }
47981 {
47982 PyDict_SetItemString(d,"YES", SWIG_From_int((int)(wxYES)));
47983 }
47984 {
47985 PyDict_SetItemString(d,"NO", SWIG_From_int((int)(wxNO)));
47986 }
47987 {
47988 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT)));
47989 }
47990 {
47991 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT)));
47992 }
47993 {
47994 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION)));
47995 }
47996 {
47997 PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND)));
47998 }
47999 {
48000 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION)));
48001 }
48002 {
48003 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION)));
48004 }
48005 {
48006 PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP)));
48007 }
48008 {
48009 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK)));
48010 }
48011 {
48012 PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK)));
48013 }
48014 {
48015 PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING)));
48016 }
48017 {
48018 PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR)));
48019 }
48020 {
48021 PyDict_SetItemString(d,"FORWARD", SWIG_From_int((int)(wxFORWARD)));
48022 }
48023 {
48024 PyDict_SetItemString(d,"BACKWARD", SWIG_From_int((int)(wxBACKWARD)));
48025 }
48026 {
48027 PyDict_SetItemString(d,"RESET", SWIG_From_int((int)(wxRESET)));
48028 }
48029 {
48030 PyDict_SetItemString(d,"HELP", SWIG_From_int((int)(wxHELP)));
48031 }
48032 {
48033 PyDict_SetItemString(d,"MORE", SWIG_From_int((int)(wxMORE)));
48034 }
48035 {
48036 PyDict_SetItemString(d,"SETUP", SWIG_From_int((int)(wxSETUP)));
48037 }
48038 {
48039 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH)));
48040 }
48041 {
48042 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT)));
48043 }
48044 {
48045 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO)));
48046 }
48047 {
48048 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING)));
48049 }
48050 {
48051 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE)));
48052 }
48053 {
48054 PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT)));
48055 }
48056 {
48057 PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE)));
48058 }
48059 {
48060 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH)));
48061 }
48062 {
48063 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM)));
48064 }
48065 {
48066 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW)));
48067 }
48068 {
48069 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT)));
48070 }
48071 {
48072 PyDict_SetItemString(d,"ID_ANY", SWIG_From_int((int)(wxID_ANY)));
48073 }
48074 {
48075 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR)));
48076 }
48077 {
48078 PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST)));
48079 }
48080 {
48081 PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN)));
48082 }
48083 {
48084 PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE)));
48085 }
48086 {
48087 PyDict_SetItemString(d,"ID_NEW", SWIG_From_int((int)(wxID_NEW)));
48088 }
48089 {
48090 PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE)));
48091 }
48092 {
48093 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS)));
48094 }
48095 {
48096 PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT)));
48097 }
48098 {
48099 PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT)));
48100 }
48101 {
48102 PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO)));
48103 }
48104 {
48105 PyDict_SetItemString(d,"ID_REDO", SWIG_From_int((int)(wxID_REDO)));
48106 }
48107 {
48108 PyDict_SetItemString(d,"ID_HELP", SWIG_From_int((int)(wxID_HELP)));
48109 }
48110 {
48111 PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT)));
48112 }
48113 {
48114 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP)));
48115 }
48116 {
48117 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW)));
48118 }
48119 {
48120 PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT)));
48121 }
48122 {
48123 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS)));
48124 }
48125 {
48126 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS)));
48127 }
48128 {
48129 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES)));
48130 }
48131 {
48132 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT)));
48133 }
48134 {
48135 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL)));
48136 }
48137 {
48138 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES)));
48139 }
48140 {
48141 PyDict_SetItemString(d,"ID_CUT", SWIG_From_int((int)(wxID_CUT)));
48142 }
48143 {
48144 PyDict_SetItemString(d,"ID_COPY", SWIG_From_int((int)(wxID_COPY)));
48145 }
48146 {
48147 PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE)));
48148 }
48149 {
48150 PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR)));
48151 }
48152 {
48153 PyDict_SetItemString(d,"ID_FIND", SWIG_From_int((int)(wxID_FIND)));
48154 }
48155 {
48156 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE)));
48157 }
48158 {
48159 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL)));
48160 }
48161 {
48162 PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE)));
48163 }
48164 {
48165 PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE)));
48166 }
48167 {
48168 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL)));
48169 }
48170 {
48171 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES)));
48172 }
48173 {
48174 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS)));
48175 }
48176 {
48177 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS)));
48178 }
48179 {
48180 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS)));
48181 }
48182 {
48183 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST)));
48184 }
48185 {
48186 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE)));
48187 }
48188 {
48189 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME)));
48190 }
48191 {
48192 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE)));
48193 }
48194 {
48195 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE)));
48196 }
48197 {
48198 PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1)));
48199 }
48200 {
48201 PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2)));
48202 }
48203 {
48204 PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3)));
48205 }
48206 {
48207 PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4)));
48208 }
48209 {
48210 PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5)));
48211 }
48212 {
48213 PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6)));
48214 }
48215 {
48216 PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7)));
48217 }
48218 {
48219 PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8)));
48220 }
48221 {
48222 PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9)));
48223 }
48224 {
48225 PyDict_SetItemString(d,"ID_OK", SWIG_From_int((int)(wxID_OK)));
48226 }
48227 {
48228 PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL)));
48229 }
48230 {
48231 PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY)));
48232 }
48233 {
48234 PyDict_SetItemString(d,"ID_YES", SWIG_From_int((int)(wxID_YES)));
48235 }
48236 {
48237 PyDict_SetItemString(d,"ID_NO", SWIG_From_int((int)(wxID_NO)));
48238 }
48239 {
48240 PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC)));
48241 }
48242 {
48243 PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD)));
48244 }
48245 {
48246 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD)));
48247 }
48248 {
48249 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT)));
48250 }
48251 {
48252 PyDict_SetItemString(d,"ID_MORE", SWIG_From_int((int)(wxID_MORE)));
48253 }
48254 {
48255 PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP)));
48256 }
48257 {
48258 PyDict_SetItemString(d,"ID_RESET", SWIG_From_int((int)(wxID_RESET)));
48259 }
48260 {
48261 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP)));
48262 }
48263 {
48264 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL)));
48265 }
48266 {
48267 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL)));
48268 }
48269 {
48270 PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT)));
48271 }
48272 {
48273 PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY)));
48274 }
48275 {
48276 PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE)));
48277 }
48278 {
48279 PyDict_SetItemString(d,"ID_ADD", SWIG_From_int((int)(wxID_ADD)));
48280 }
48281 {
48282 PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE)));
48283 }
48284 {
48285 PyDict_SetItemString(d,"ID_UP", SWIG_From_int((int)(wxID_UP)));
48286 }
48287 {
48288 PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN)));
48289 }
48290 {
48291 PyDict_SetItemString(d,"ID_HOME", SWIG_From_int((int)(wxID_HOME)));
48292 }
48293 {
48294 PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH)));
48295 }
48296 {
48297 PyDict_SetItemString(d,"ID_STOP", SWIG_From_int((int)(wxID_STOP)));
48298 }
48299 {
48300 PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX)));
48301 }
48302 {
48303 PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD)));
48304 }
48305 {
48306 PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC)));
48307 }
48308 {
48309 PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER)));
48310 }
48311 {
48312 PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL)));
48313 }
48314 {
48315 PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT)));
48316 }
48317 {
48318 PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT)));
48319 }
48320 {
48321 PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE)));
48322 }
48323 {
48324 PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT)));
48325 }
48326 {
48327 PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT)));
48328 }
48329 {
48330 PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100)));
48331 }
48332 {
48333 PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT)));
48334 }
48335 {
48336 PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN)));
48337 }
48338 {
48339 PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT)));
48340 }
48341 {
48342 PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE)));
48343 }
48344 {
48345 PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED)));
48346 }
48347 {
48348 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST)));
48349 }
48350 {
48351 PyDict_SetItemString(d,"OPEN", SWIG_From_int((int)(wxOPEN)));
48352 }
48353 {
48354 PyDict_SetItemString(d,"SAVE", SWIG_From_int((int)(wxSAVE)));
48355 }
48356 {
48357 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY)));
48358 }
48359 {
48360 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT)));
48361 }
48362 {
48363 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST)));
48364 }
48365 {
48366 PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE)));
48367 }
48368 {
48369 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR)));
48370 }
48371 {
48372 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT)));
48373 }
48374 {
48375 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL)));
48376 }
48377 {
48378 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT)));
48379 }
48380 {
48381 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL)));
48382 }
48383 {
48384 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE)));
48385 }
48386 {
48387 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL)));
48388 }
48389 {
48390 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT)));
48391 }
48392 {
48393 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME)));
48394 }
48395 {
48396 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME)));
48397 }
48398 {
48399 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME)));
48400 }
62d32a5f
RD
48401 {
48402 PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH)));
48403 }
48404 {
48405 PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP)));
48406 }
093d3ff1
RD
48407 {
48408 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON)));
48409 }
48410 {
48411 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE)));
48412 }
48413 {
48414 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF)));
48415 }
48416 {
48417 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE)));
48418 }
48419 {
48420 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE)));
48421 }
48422 {
48423 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE)));
48424 }
48425 {
48426 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL)));
48427 }
48428 {
48429 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL)));
48430 }
48431 {
48432 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY)));
48433 }
48434 {
48435 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS)));
48436 }
48437 {
48438 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT)));
48439 }
48440 {
48441 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND)));
48442 }
48443 {
48444 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE)));
48445 }
48446 {
48447 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES)));
48448 }
48449 {
48450 PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT)));
48451 }
48452 {
48453 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC)));
48454 }
48455 {
48456 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC)));
48457 }
48458 {
48459 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH)));
48460 }
48461 {
48462 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH)));
48463 }
48464 {
48465 PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS)));
48466 }
48467 {
48468 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC)));
48469 }
48470 {
48471 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC)));
48472 }
48473 {
48474 PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS)));
48475 }
48476 {
48477 PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC)));
48478 }
48479 {
48480 PyDict_SetItemString(d,"CENTRE", SWIG_From_int((int)(wxCENTRE)));
48481 }
48482 {
48483 PyDict_SetItemString(d,"CENTER", SWIG_From_int((int)(wxCENTER)));
48484 }
48485 {
48486 PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL)));
48487 }
48488 {
48489 PyDict_SetItemString(d,"VERTICAL", SWIG_From_int((int)(wxVERTICAL)));
48490 }
48491 {
48492 PyDict_SetItemString(d,"BOTH", SWIG_From_int((int)(wxBOTH)));
48493 }
48494 {
48495 PyDict_SetItemString(d,"LEFT", SWIG_From_int((int)(wxLEFT)));
48496 }
48497 {
48498 PyDict_SetItemString(d,"RIGHT", SWIG_From_int((int)(wxRIGHT)));
48499 }
48500 {
48501 PyDict_SetItemString(d,"UP", SWIG_From_int((int)(wxUP)));
48502 }
48503 {
48504 PyDict_SetItemString(d,"DOWN", SWIG_From_int((int)(wxDOWN)));
48505 }
48506 {
48507 PyDict_SetItemString(d,"TOP", SWIG_From_int((int)(wxTOP)));
48508 }
48509 {
48510 PyDict_SetItemString(d,"BOTTOM", SWIG_From_int((int)(wxBOTTOM)));
48511 }
48512 {
48513 PyDict_SetItemString(d,"NORTH", SWIG_From_int((int)(wxNORTH)));
48514 }
48515 {
48516 PyDict_SetItemString(d,"SOUTH", SWIG_From_int((int)(wxSOUTH)));
48517 }
48518 {
48519 PyDict_SetItemString(d,"WEST", SWIG_From_int((int)(wxWEST)));
48520 }
48521 {
48522 PyDict_SetItemString(d,"EAST", SWIG_From_int((int)(wxEAST)));
48523 }
48524 {
48525 PyDict_SetItemString(d,"ALL", SWIG_From_int((int)(wxALL)));
48526 }
48527 {
48528 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT)));
48529 }
48530 {
48531 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL)));
48532 }
48533 {
48534 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL)));
48535 }
48536 {
48537 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT)));
48538 }
48539 {
48540 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP)));
48541 }
48542 {
48543 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT)));
48544 }
48545 {
48546 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM)));
48547 }
48548 {
48549 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL)));
48550 }
48551 {
48552 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL)));
48553 }
48554 {
48555 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER)));
48556 }
48557 {
48558 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE)));
48559 }
48560 {
48561 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK)));
48562 }
48563 {
48564 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT)));
48565 }
48566 {
48567 PyDict_SetItemString(d,"SHRINK", SWIG_From_int((int)(wxSHRINK)));
48568 }
48569 {
48570 PyDict_SetItemString(d,"GROW", SWIG_From_int((int)(wxGROW)));
48571 }
48572 {
48573 PyDict_SetItemString(d,"EXPAND", SWIG_From_int((int)(wxEXPAND)));
48574 }
48575 {
48576 PyDict_SetItemString(d,"SHAPED", SWIG_From_int((int)(wxSHAPED)));
48577 }
48578 {
48579 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE)));
48580 }
48581 {
48582 PyDict_SetItemString(d,"TILE", SWIG_From_int((int)(wxTILE)));
48583 }
48584 {
48585 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE)));
48586 }
48587 {
48588 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT)));
48589 }
48590 {
48591 PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE)));
48592 }
48593 {
48594 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC)));
48595 }
48596 {
48597 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE)));
48598 }
48599 {
48600 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED)));
48601 }
48602 {
48603 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN)));
48604 }
48605 {
48606 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE)));
48607 }
48608 {
48609 PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK)));
48610 }
48611 {
48612 PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM)));
48613 }
48614 {
48615 PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR)));
48616 }
48617 {
48618 PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM)));
48619 }
48620 {
48621 PyDict_SetItemString(d,"DEFAULT", SWIG_From_int((int)(wxDEFAULT)));
48622 }
48623 {
48624 PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE)));
48625 }
48626 {
48627 PyDict_SetItemString(d,"ROMAN", SWIG_From_int((int)(wxROMAN)));
48628 }
48629 {
48630 PyDict_SetItemString(d,"SCRIPT", SWIG_From_int((int)(wxSCRIPT)));
48631 }
48632 {
48633 PyDict_SetItemString(d,"SWISS", SWIG_From_int((int)(wxSWISS)));
48634 }
48635 {
48636 PyDict_SetItemString(d,"MODERN", SWIG_From_int((int)(wxMODERN)));
48637 }
48638 {
48639 PyDict_SetItemString(d,"TELETYPE", SWIG_From_int((int)(wxTELETYPE)));
48640 }
48641 {
48642 PyDict_SetItemString(d,"VARIABLE", SWIG_From_int((int)(wxVARIABLE)));
48643 }
48644 {
48645 PyDict_SetItemString(d,"FIXED", SWIG_From_int((int)(wxFIXED)));
48646 }
48647 {
48648 PyDict_SetItemString(d,"NORMAL", SWIG_From_int((int)(wxNORMAL)));
48649 }
48650 {
48651 PyDict_SetItemString(d,"LIGHT", SWIG_From_int((int)(wxLIGHT)));
48652 }
48653 {
48654 PyDict_SetItemString(d,"BOLD", SWIG_From_int((int)(wxBOLD)));
48655 }
48656 {
48657 PyDict_SetItemString(d,"ITALIC", SWIG_From_int((int)(wxITALIC)));
48658 }
48659 {
48660 PyDict_SetItemString(d,"SLANT", SWIG_From_int((int)(wxSLANT)));
48661 }
48662 {
48663 PyDict_SetItemString(d,"SOLID", SWIG_From_int((int)(wxSOLID)));
48664 }
48665 {
48666 PyDict_SetItemString(d,"DOT", SWIG_From_int((int)(wxDOT)));
48667 }
48668 {
48669 PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH)));
48670 }
48671 {
48672 PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH)));
48673 }
48674 {
48675 PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH)));
48676 }
48677 {
48678 PyDict_SetItemString(d,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH)));
48679 }
48680 {
48681 PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT)));
48682 }
48683 {
48684 PyDict_SetItemString(d,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE)));
48685 }
d04418a7
RD
48686 {
48687 PyDict_SetItemString(d,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK)));
48688 }
48689 {
48690 PyDict_SetItemString(d,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE)));
48691 }
093d3ff1
RD
48692 {
48693 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH)));
48694 }
48695 {
48696 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH)));
48697 }
48698 {
48699 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH)));
48700 }
48701 {
48702 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH)));
48703 }
48704 {
48705 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH)));
48706 }
48707 {
48708 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH)));
48709 }
48710 {
48711 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL)));
48712 }
48713 {
48714 PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER)));
48715 }
48716 {
48717 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND)));
48718 }
48719 {
48720 PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND)));
48721 }
48722 {
48723 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING)));
48724 }
48725 {
48726 PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT)));
48727 }
48728 {
48729 PyDict_SetItemString(d,"CLEAR", SWIG_From_int((int)(wxCLEAR)));
48730 }
48731 {
48732 PyDict_SetItemString(d,"XOR", SWIG_From_int((int)(wxXOR)));
48733 }
48734 {
48735 PyDict_SetItemString(d,"INVERT", SWIG_From_int((int)(wxINVERT)));
48736 }
48737 {
48738 PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE)));
48739 }
48740 {
48741 PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE)));
48742 }
48743 {
48744 PyDict_SetItemString(d,"COPY", SWIG_From_int((int)(wxCOPY)));
48745 }
48746 {
48747 PyDict_SetItemString(d,"AND", SWIG_From_int((int)(wxAND)));
48748 }
48749 {
48750 PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT)));
48751 }
48752 {
48753 PyDict_SetItemString(d,"NO_OP", SWIG_From_int((int)(wxNO_OP)));
48754 }
48755 {
48756 PyDict_SetItemString(d,"NOR", SWIG_From_int((int)(wxNOR)));
48757 }
48758 {
48759 PyDict_SetItemString(d,"EQUIV", SWIG_From_int((int)(wxEQUIV)));
48760 }
48761 {
48762 PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT)));
48763 }
48764 {
48765 PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT)));
48766 }
48767 {
48768 PyDict_SetItemString(d,"NAND", SWIG_From_int((int)(wxNAND)));
48769 }
48770 {
48771 PyDict_SetItemString(d,"OR", SWIG_From_int((int)(wxOR)));
48772 }
48773 {
48774 PyDict_SetItemString(d,"SET", SWIG_From_int((int)(wxSET)));
48775 }
48776 {
48777 PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int((int)(WXK_BACK)));
48778 }
48779 {
48780 PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int((int)(WXK_TAB)));
48781 }
48782 {
48783 PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN)));
48784 }
48785 {
48786 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE)));
48787 }
48788 {
48789 PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE)));
48790 }
48791 {
48792 PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE)));
48793 }
48794 {
48795 PyDict_SetItemString(d,"WXK_START", SWIG_From_int((int)(WXK_START)));
48796 }
48797 {
48798 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON)));
48799 }
48800 {
48801 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON)));
48802 }
48803 {
48804 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL)));
48805 }
48806 {
48807 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON)));
48808 }
48809 {
48810 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR)));
48811 }
48812 {
48813 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT)));
48814 }
48815 {
48816 PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int((int)(WXK_ALT)));
48817 }
48818 {
48819 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL)));
48820 }
48821 {
48822 PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int((int)(WXK_MENU)));
48823 }
48824 {
48825 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE)));
48826 }
48827 {
48828 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL)));
48829 }
48830 {
48831 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR)));
48832 }
48833 {
48834 PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT)));
48835 }
48836 {
48837 PyDict_SetItemString(d,"WXK_END", SWIG_From_int((int)(WXK_END)));
48838 }
48839 {
48840 PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int((int)(WXK_HOME)));
48841 }
48842 {
48843 PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT)));
48844 }
48845 {
48846 PyDict_SetItemString(d,"WXK_UP", SWIG_From_int((int)(WXK_UP)));
48847 }
48848 {
48849 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT)));
48850 }
48851 {
48852 PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN)));
48853 }
48854 {
48855 PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT)));
48856 }
48857 {
48858 PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT)));
48859 }
48860 {
48861 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE)));
48862 }
48863 {
48864 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT)));
48865 }
48866 {
48867 PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT)));
48868 }
48869 {
48870 PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int((int)(WXK_HELP)));
48871 }
48872 {
48873 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0)));
48874 }
48875 {
48876 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1)));
48877 }
48878 {
48879 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2)));
48880 }
48881 {
48882 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3)));
48883 }
48884 {
48885 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4)));
48886 }
48887 {
48888 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5)));
48889 }
48890 {
48891 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6)));
48892 }
48893 {
48894 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7)));
48895 }
48896 {
48897 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8)));
48898 }
48899 {
48900 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9)));
48901 }
48902 {
48903 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY)));
48904 }
48905 {
48906 PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int((int)(WXK_ADD)));
48907 }
48908 {
48909 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR)));
48910 }
48911 {
48912 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT)));
48913 }
48914 {
48915 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL)));
48916 }
48917 {
48918 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE)));
48919 }
48920 {
48921 PyDict_SetItemString(d,"WXK_F1", SWIG_From_int((int)(WXK_F1)));
48922 }
48923 {
48924 PyDict_SetItemString(d,"WXK_F2", SWIG_From_int((int)(WXK_F2)));
48925 }
48926 {
48927 PyDict_SetItemString(d,"WXK_F3", SWIG_From_int((int)(WXK_F3)));
48928 }
48929 {
48930 PyDict_SetItemString(d,"WXK_F4", SWIG_From_int((int)(WXK_F4)));
48931 }
48932 {
48933 PyDict_SetItemString(d,"WXK_F5", SWIG_From_int((int)(WXK_F5)));
48934 }
48935 {
48936 PyDict_SetItemString(d,"WXK_F6", SWIG_From_int((int)(WXK_F6)));
48937 }
48938 {
48939 PyDict_SetItemString(d,"WXK_F7", SWIG_From_int((int)(WXK_F7)));
48940 }
48941 {
48942 PyDict_SetItemString(d,"WXK_F8", SWIG_From_int((int)(WXK_F8)));
48943 }
48944 {
48945 PyDict_SetItemString(d,"WXK_F9", SWIG_From_int((int)(WXK_F9)));
48946 }
48947 {
48948 PyDict_SetItemString(d,"WXK_F10", SWIG_From_int((int)(WXK_F10)));
48949 }
48950 {
48951 PyDict_SetItemString(d,"WXK_F11", SWIG_From_int((int)(WXK_F11)));
48952 }
48953 {
48954 PyDict_SetItemString(d,"WXK_F12", SWIG_From_int((int)(WXK_F12)));
48955 }
48956 {
48957 PyDict_SetItemString(d,"WXK_F13", SWIG_From_int((int)(WXK_F13)));
48958 }
48959 {
48960 PyDict_SetItemString(d,"WXK_F14", SWIG_From_int((int)(WXK_F14)));
48961 }
48962 {
48963 PyDict_SetItemString(d,"WXK_F15", SWIG_From_int((int)(WXK_F15)));
48964 }
48965 {
48966 PyDict_SetItemString(d,"WXK_F16", SWIG_From_int((int)(WXK_F16)));
48967 }
48968 {
48969 PyDict_SetItemString(d,"WXK_F17", SWIG_From_int((int)(WXK_F17)));
48970 }
48971 {
48972 PyDict_SetItemString(d,"WXK_F18", SWIG_From_int((int)(WXK_F18)));
48973 }
48974 {
48975 PyDict_SetItemString(d,"WXK_F19", SWIG_From_int((int)(WXK_F19)));
48976 }
48977 {
48978 PyDict_SetItemString(d,"WXK_F20", SWIG_From_int((int)(WXK_F20)));
48979 }
48980 {
48981 PyDict_SetItemString(d,"WXK_F21", SWIG_From_int((int)(WXK_F21)));
48982 }
48983 {
48984 PyDict_SetItemString(d,"WXK_F22", SWIG_From_int((int)(WXK_F22)));
48985 }
48986 {
48987 PyDict_SetItemString(d,"WXK_F23", SWIG_From_int((int)(WXK_F23)));
48988 }
48989 {
48990 PyDict_SetItemString(d,"WXK_F24", SWIG_From_int((int)(WXK_F24)));
48991 }
48992 {
48993 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK)));
48994 }
48995 {
48996 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL)));
48997 }
48998 {
48999 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP)));
49000 }
49001 {
49002 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN)));
49003 }
49004 {
49005 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE)));
49006 }
49007 {
49008 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB)));
49009 }
49010 {
49011 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER)));
49012 }
49013 {
49014 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1)));
49015 }
49016 {
49017 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2)));
49018 }
49019 {
49020 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3)));
49021 }
49022 {
49023 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4)));
49024 }
49025 {
49026 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME)));
49027 }
49028 {
49029 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT)));
49030 }
49031 {
49032 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP)));
49033 }
49034 {
49035 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT)));
49036 }
49037 {
49038 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN)));
49039 }
49040 {
49041 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR)));
49042 }
49043 {
49044 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP)));
49045 }
49046 {
49047 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT)));
49048 }
49049 {
49050 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN)));
49051 }
49052 {
49053 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END)));
49054 }
49055 {
49056 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN)));
49057 }
49058 {
49059 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT)));
49060 }
49061 {
49062 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE)));
49063 }
49064 {
49065 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL)));
49066 }
49067 {
49068 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY)));
49069 }
49070 {
49071 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD)));
49072 }
49073 {
49074 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR)));
49075 }
49076 {
49077 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT)));
49078 }
49079 {
49080 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL)));
49081 }
49082 {
49083 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE)));
49084 }
49085 {
49086 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT)));
49087 }
49088 {
49089 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT)));
49090 }
49091 {
49092 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU)));
49093 }
88c6b281
RD
49094 {
49095 PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND)));
49096 }
49097 {
49098 PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1)));
49099 }
49100 {
49101 PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2)));
49102 }
49103 {
49104 PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3)));
49105 }
49106 {
49107 PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4)));
49108 }
49109 {
49110 PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5)));
49111 }
49112 {
49113 PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6)));
49114 }
49115 {
49116 PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7)));
49117 }
49118 {
49119 PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8)));
49120 }
49121 {
49122 PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9)));
49123 }
49124 {
49125 PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10)));
49126 }
49127 {
49128 PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11)));
49129 }
49130 {
49131 PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12)));
49132 }
49133 {
49134 PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13)));
49135 }
49136 {
49137 PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14)));
49138 }
49139 {
49140 PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15)));
49141 }
49142 {
49143 PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16)));
49144 }
49145 {
49146 PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17)));
49147 }
49148 {
49149 PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18)));
49150 }
49151 {
49152 PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19)));
49153 }
49154 {
49155 PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20)));
49156 }
093d3ff1
RD
49157 {
49158 PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE)));
49159 }
49160 {
49161 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER)));
49162 }
49163 {
49164 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL)));
49165 }
49166 {
49167 PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4)));
49168 }
49169 {
49170 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET)));
49171 }
49172 {
49173 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET)));
49174 }
49175 {
49176 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET)));
49177 }
49178 {
49179 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL)));
49180 }
49181 {
49182 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID)));
49183 }
49184 {
49185 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER)));
49186 }
49187 {
49188 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT)));
49189 }
49190 {
49191 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE)));
49192 }
49193 {
49194 PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3)));
49195 }
49196 {
49197 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL)));
49198 }
49199 {
49200 PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5)));
49201 }
49202 {
49203 PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4)));
49204 }
49205 {
49206 PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5)));
49207 }
49208 {
49209 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO)));
49210 }
49211 {
49212 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO)));
49213 }
49214 {
49215 PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14)));
49216 }
49217 {
49218 PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17)));
49219 }
49220 {
49221 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE)));
49222 }
49223 {
49224 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9)));
49225 }
49226 {
49227 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10)));
49228 }
49229 {
49230 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11)));
49231 }
49232 {
49233 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12)));
49234 }
49235 {
49236 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14)));
49237 }
49238 {
49239 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL)));
49240 }
49241 {
49242 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5)));
49243 }
49244 {
49245 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3)));
49246 }
49247 {
49248 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4)));
49249 }
49250 {
49251 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6)));
49252 }
49253 {
49254 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65)));
49255 }
49256 {
49257 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4)));
49258 }
49259 {
49260 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5)));
49261 }
49262 {
49263 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6)));
49264 }
49265 {
49266 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY)));
49267 }
49268 {
49269 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH)));
49270 }
49271 {
49272 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL)));
49273 }
49274 {
49275 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US)));
49276 }
49277 {
49278 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN)));
49279 }
49280 {
49281 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN)));
49282 }
49283 {
49284 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4)));
49285 }
49286 {
49287 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD)));
49288 }
49289 {
49290 PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11)));
49291 }
49292 {
49293 PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11)));
49294 }
49295 {
49296 PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11)));
49297 }
49298 {
49299 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE)));
49300 }
49301 {
49302 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA)));
49303 }
49304 {
49305 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA)));
49306 }
49307 {
49308 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA)));
49309 }
49310 {
49311 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA)));
49312 }
49313 {
49314 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE)));
49315 }
49316 {
49317 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE)));
49318 }
49319 {
49320 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE)));
49321 }
49322 {
49323 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS)));
49324 }
49325 {
49326 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS)));
49327 }
49328 {
49329 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS)));
49330 }
49331 {
49332 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS)));
49333 }
49334 {
49335 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE)));
49336 }
49337 {
49338 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE)));
49339 }
49340 {
49341 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA)));
49342 }
49343 {
49344 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA)));
49345 }
49346 {
49347 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA)));
49348 }
49349 {
49350 PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2)));
49351 }
49352 {
49353 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE)));
49354 }
49355 {
49356 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE)));
49357 }
49358 {
49359 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX)));
49360 }
49361 {
49362 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL)));
49363 }
49364 {
49365 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL)));
49366 }
49367 {
49368 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR)));
49369 }
49370 {
49371 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL)));
49372 }
49373 {
49374 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK)));
49375 }
49376 {
49377 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO)));
49378 }
49379 {
49380 PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX)));
49381 }
49382 {
49383 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE)));
49384 }
49385 {
49386 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST)));
49387 }
49388 {
49389 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1)));
49390 }
49391 {
49392 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2)));
49393 }
49394 {
49395 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1)));
49396 }
49397 {
49398 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2)));
49399 }
49400 {
49401 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB)));
49402 }
49403 {
49404 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1)));
49405 }
49406 {
49407 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2)));
49408 }
49409 {
49410 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST)));
49411 }
49412 {
49413 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE)));
49414 }
49415 {
49416 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE)));
49417 }
49418 {
49419 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR)));
49420 }
49421 {
49422 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR)));
49423 }
49424 {
49425 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER)));
49426 }
49427 {
49428 PyDict_SetItemString(d,"HT_MAX", SWIG_From_int((int)(wxHT_MAX)));
49429 }
49430 {
49431 PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE)));
49432 }
49433 {
49434 PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT)));
49435 }
49436 {
49437 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL)));
49438 }
49439 {
49440 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT)));
49441 }
49442 {
49443 PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN)));
49444 }
49445 {
49446 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE)));
49447 }
49448 {
49449 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE)));
49450 }
49451 {
49452 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE)));
49453 }
49454 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
49455 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
49456 {
49457 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID)));
49458 }
49459 {
49460 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP)));
49461 }
49462 {
49463 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO)));
49464 }
49465 {
49466 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR)));
49467 }
49468 {
49469 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM)));
49470 }
49471 {
49472 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA)));
49473 }
49474 {
49475 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM)));
49476 }
49477 {
49478 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA)));
49479 }
49480 {
49481 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF)));
49482 }
49483 {
49484 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF)));
49485 }
49486 {
49487 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG)));
49488 }
49489 {
49490 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG)));
49491 }
49492 {
49493 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM)));
49494 }
49495 {
49496 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX)));
49497 }
49498 {
49499 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT)));
49500 }
49501 {
49502 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON)));
49503 }
49504 {
49505 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI)));
49506 }
49507 {
49508 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF)));
49509 }
49510 {
49511 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR)));
49512 }
49513 {
49514 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY)));
49515 }
49516 {
49517 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE)));
49518 }
49519 {
49520 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW)));
49521 }
49522 {
49523 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW)));
49524 }
49525 {
49526 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE)));
49527 }
49528 {
49529 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR)));
49530 }
49531 {
49532 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS)));
49533 }
49534 {
49535 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND)));
49536 }
49537 {
49538 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM)));
49539 }
49540 {
49541 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON)));
49542 }
49543 {
49544 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER)));
49545 }
49546 {
49547 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON)));
49548 }
49549 {
49550 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY)));
49551 }
49552 {
49553 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH)));
49554 }
49555 {
49556 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL)));
49557 }
49558 {
49559 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT)));
49560 }
49561 {
49562 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT)));
49563 }
49564 {
49565 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW)));
49566 }
49567 {
49568 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON)));
49569 }
49570 {
49571 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW)));
49572 }
49573 {
49574 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS)));
49575 }
49576 {
49577 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE)));
49578 }
49579 {
49580 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE)));
49581 }
49582 {
49583 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING)));
49584 }
49585 {
49586 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN)));
49587 }
49588 {
49589 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT)));
49590 }
49591 {
49592 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH)));
49593 }
49594 {
49595 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK)));
49596 }
49597 {
49598 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT)));
49599 }
49600 {
49601 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW)));
49602 }
49603 {
49604 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT)));
49605 }
49606 {
49607 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX)));
49608 }
49609 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
49610 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
49611 {
49612 PyDict_SetItemString(d,"FromStart", SWIG_From_int((int)(wxFromStart)));
49613 }
49614 {
49615 PyDict_SetItemString(d,"FromCurrent", SWIG_From_int((int)(wxFromCurrent)));
49616 }
49617 {
49618 PyDict_SetItemString(d,"FromEnd", SWIG_From_int((int)(wxFromEnd)));
49619 }
49620
49621 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49622
49623
49624 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49625
57133d5c
RD
49626 {
49627 PyDict_SetItemString(d,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT)));
49628 }
49629 {
49630 PyDict_SetItemString(d,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD)));
49631 }
49632 {
49633 PyDict_SetItemString(d,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE)));
49634 }
093d3ff1 49635 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
68350608 49636 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get, _wrap_IMAGE_OPTION_FILENAME_set);
093d3ff1
RD
49637 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
49638 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
49639 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
49640 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
68350608
RD
49641 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get, _wrap_IMAGE_OPTION_RESOLUTIONX_set);
49642 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get, _wrap_IMAGE_OPTION_RESOLUTIONY_set);
093d3ff1 49643 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
24d7cbea 49644 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get, _wrap_IMAGE_OPTION_QUALITY_set);
093d3ff1
RD
49645 {
49646 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES)));
49647 }
49648 {
49649 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM)));
49650 }
68350608
RD
49651 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set);
49652 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set);
49653 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get, _wrap_IMAGE_OPTION_COMPRESSION_set);
49654 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set);
b9d6a5f3
RD
49655 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get, _wrap_IMAGE_OPTION_PNG_FORMAT_set);
49656 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set);
49657 {
49658 PyDict_SetItemString(d,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR)));
49659 }
49660 {
49661 PyDict_SetItemString(d,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY)));
49662 }
49663 {
49664 PyDict_SetItemString(d,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED)));
49665 }
093d3ff1
RD
49666 {
49667 PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP)));
49668 }
49669 {
49670 PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP)));
49671 }
49672 {
49673 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY)));
49674 }
49675 {
49676 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY)));
49677 }
49678 {
49679 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED)));
49680 }
49681 {
49682 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE)));
49683 }
49684 {
49685 PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP)));
49686 }
49687 {
49688 PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP)));
49689 }
49690 {
49691 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW)));
49692 }
49693 {
49694 PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS)));
49695 }
49696 {
49697 PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE)));
49698 }
49699 {
49700 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE)));
49701 }
49702 {
49703 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX)));
49704 }
49705 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
49706 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
49707 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
49708 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
49709 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
49710 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
49711 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
49712 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
49713 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
49714 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
49715 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
49716 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
49717 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
49718 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
49719 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
49720 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
49721 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
49722 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
49723 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
49724 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
49725 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
49726 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
49727 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
49728 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
49729 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
49730 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
49731 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
49732 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
49733 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
49734 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
49735 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
49736 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
49737 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
49738 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
49739 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
49740 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
49741 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
49742 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
49743 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
49744 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
49745 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
49746 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
49747 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
49748 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
49749 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
49750 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
49751 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
49752 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
49753 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
49754 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
49755 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
49756 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
49757 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
49758 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
49759 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
49760 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
49761 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
49762 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
49763 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
49764 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
49765 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
49766 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
49767 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
49768 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
49769 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
49770 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
49771 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
49772 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
49773 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
49774 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
49775 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
49776 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
49777 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
49778 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
49779 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
49780 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
49781 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
49782 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
49783 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
49784 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
49785 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
49786 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
49787 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
49788 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
49789 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
49790 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
49791 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
49792 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
49793 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
49794 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
49795 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
49796 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
49797 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
49798 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
49799 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
49800 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
49801 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
49802 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
49803 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
49804 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
49805 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
49806 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
49807 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
49808 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
49809 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
49810 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
49811 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
88c6b281 49812 PyDict_SetItemString(d, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE));
093d3ff1
RD
49813 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
49814 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
49815 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
49816 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
49817 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
49818 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
49819 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
49820 {
49821 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY)));
49822 }
49823 {
49824 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE)));
49825 }
49826 {
49827 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT)));
49828 }
49829 {
49830 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE)));
49831 }
49832 {
49833 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT)));
49834 }
49835 {
49836 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL)));
49837 }
49838 {
49839 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED)));
49840 }
49841 {
49842 PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward)));
49843 }
49844 {
49845 PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward)));
49846 }
49847 {
49848 PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange)));
49849 }
68350608
RD
49850 {
49851 PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab)));
49852 }
093d3ff1
RD
49853 {
49854 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL)));
49855 }
49856 {
49857 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED)));
49858 }
53aa7709 49859 PyDict_SetItemString(d, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED));
093d3ff1
RD
49860 {
49861 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS)));
49862 }
49863 {
49864 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION)));
49865 }
49866 {
49867 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG)));
49868 }
49869 {
49870 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG)));
49871 }
49872 {
49873 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS)));
49874 }
49875 {
49876 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT)));
49877 }
49878 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
49879 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
49880 {
49881 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL)));
49882 }
49883 {
49884 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL)));
49885 }
49886 {
49887 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI)));
49888 }
49889 {
49890 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE)));
49891 }
49892 {
49893 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX)));
49894 }
49895 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
49896 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
49897 {
49898 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE)));
49899 }
49900 {
49901 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED)));
49902 }
49903 {
49904 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL)));
49905 }
49906 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
49907 {
49908 PyDict_SetItemString(d,"Left", SWIG_From_int((int)(wxLeft)));
49909 }
49910 {
49911 PyDict_SetItemString(d,"Top", SWIG_From_int((int)(wxTop)));
49912 }
49913 {
49914 PyDict_SetItemString(d,"Right", SWIG_From_int((int)(wxRight)));
49915 }
49916 {
49917 PyDict_SetItemString(d,"Bottom", SWIG_From_int((int)(wxBottom)));
49918 }
49919 {
49920 PyDict_SetItemString(d,"Width", SWIG_From_int((int)(wxWidth)));
49921 }
49922 {
49923 PyDict_SetItemString(d,"Height", SWIG_From_int((int)(wxHeight)));
49924 }
49925 {
49926 PyDict_SetItemString(d,"Centre", SWIG_From_int((int)(wxCentre)));
49927 }
49928 {
49929 PyDict_SetItemString(d,"Center", SWIG_From_int((int)(wxCenter)));
49930 }
49931 {
49932 PyDict_SetItemString(d,"CentreX", SWIG_From_int((int)(wxCentreX)));
49933 }
49934 {
49935 PyDict_SetItemString(d,"CentreY", SWIG_From_int((int)(wxCentreY)));
49936 }
49937 {
49938 PyDict_SetItemString(d,"Unconstrained", SWIG_From_int((int)(wxUnconstrained)));
49939 }
49940 {
49941 PyDict_SetItemString(d,"AsIs", SWIG_From_int((int)(wxAsIs)));
49942 }
49943 {
49944 PyDict_SetItemString(d,"PercentOf", SWIG_From_int((int)(wxPercentOf)));
49945 }
49946 {
49947 PyDict_SetItemString(d,"Above", SWIG_From_int((int)(wxAbove)));
49948 }
49949 {
49950 PyDict_SetItemString(d,"Below", SWIG_From_int((int)(wxBelow)));
49951 }
49952 {
49953 PyDict_SetItemString(d,"LeftOf", SWIG_From_int((int)(wxLeftOf)));
49954 }
49955 {
49956 PyDict_SetItemString(d,"RightOf", SWIG_From_int((int)(wxRightOf)));
49957 }
49958 {
49959 PyDict_SetItemString(d,"SameAs", SWIG_From_int((int)(wxSameAs)));
49960 }
49961 {
49962 PyDict_SetItemString(d,"Absolute", SWIG_From_int((int)(wxAbsolute)));
49963 }
d55e5bfc
RD
49964
49965 // Initialize threading, some globals and such
49966 __wxPyPreStart(d);
49967
49968
49969 // Although these are defined in __version__ they need to be here too so
49970 // that an assert can be done to ensure that the wxPython and the wxWindows
49971 // versions match.
49972 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
49973 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
49974 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
49975
49976}
49977